File

libs/sensorml/src/lib/model/sml/InputOrOutputOrParameter.ts

Index

Properties
Methods

Properties

name
Type : string
Decorators :
@DisplayName('Name')
value
Type : SweDataComponent | ObservableProperty | DataInterface
Decorators :
@DisplayName('Value')

Methods

toString
toString()
Returns : any
import { SweDataComponent } from '../swe/SweDataComponent';
import { ObservableProperty } from './ObservableProperty';
import { DataInterface } from './DataInterface';
import { DisplayName } from '../../common/decorators/DisplayName';

export class InputOrOutputOrParameter {
    @DisplayName('Name')
    name: string;

    @DisplayName('Value')
    value: SweDataComponent | ObservableProperty | DataInterface;

    toString() {
        return this.name || this.value.toString();
    }
}

result-matching ""

    No results matching ""