libs/sensorml/src/lib/model/sml/ValueSetting.ts
Properties |
Methods |
value |
Type : boolean | number | string | Date
|
Decorators :
@DisplayName('Value')
|
ref |
Type : string
|
Decorators :
@DisplayName('Ref')
|
Inherited from
AbstractSetting
|
Defined in
AbstractSetting:8
|
value |
Type : any
|
Decorators :
@DisplayName('Value')
|
Inherited from
AbstractSetting
|
Defined in
AbstractSetting:5
|
toString |
toString()
|
Returns :
any
|
toString |
toString()
|
Inherited from
AbstractSetting
|
Defined in
AbstractSetting:10
|
Returns :
string
|
import { AbstractSetting } from './AbstractSetting';
import { DisplayName } from '../../common/decorators/DisplayName';
export class ValueSetting extends AbstractSetting {
@DisplayName('Value')
value: boolean | number | string | Date;
toString() {
return this.value !== null && this.value !== undefined ? this.value.toString() : 'Value setting';
}
}