libs/sensorml/src/lib/model/sml/Axis.ts
Properties |
Methods |
description |
Type : string
|
Decorators :
@DisplayName('Description')
|
Defined in libs/sensorml/src/lib/model/sml/Axis.ts:8
|
name |
Type : string
|
Decorators :
@DisplayName('Name')
|
Defined in libs/sensorml/src/lib/model/sml/Axis.ts:5
|
toString |
toString()
|
Defined in libs/sensorml/src/lib/model/sml/Axis.ts:10
|
Returns :
string
|
import { DisplayName } from '../../common/decorators/DisplayName';
export class Axis {
@DisplayName('Name')
name: string;
@DisplayName('Description')
description: string;
toString() {
if (this.name && this.name.length) {
return this.name;
}
return 'Axis';
}
}