File

libs/sensorml/src/lib/model/swe/SweBinaryComponent.ts

Description

Binary encoding parameters used for encoding a single data component.

Extends

AbstractSWE

Index

Properties
Methods

Properties

bitLength
Type : number
Decorators :
@DisplayName('Bit length')
byteLength
Type : number
Decorators :
@DisplayName('Byte length')

Byte length of this field when a custom data type is used

dataType
Type : string
Decorators :
@DisplayName('Data type')

Binary data type used to encode the value(s) of the referenced data component

encryption
Type : string
Decorators :
@DisplayName('Encryption')

Name of the encryption method used to encrypt the value of this field

ref
Type : string
Decorators :
@DisplayName('Ref')

Reference to the data component that these binary encoding settings apply to

significantBits
Type : number
Decorators :
@DisplayName('Significant bits')

Number of significant bits actually used for a binary encoded numerical value (all remaining bits shall be set to 0)

extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractSWE
Defined in AbstractSWE:12

Extension slot for future extensions to this standard.

id
Type : string
Decorators :
@DisplayName('Id')
Inherited from AbstractSWE
Defined in AbstractSWE:7

Methods

toString
toString()
Returns : string
toString
toString()
Inherited from AbstractSWE
Defined in AbstractSWE:14
Returns : string
import { AbstractSWE } from './AbstractSWE';
import { DisplayName } from '../../common/decorators/DisplayName';

/**
 * Binary encoding parameters used for encoding a single data component.
 */
export class SweBinaryComponent extends AbstractSWE {
    /**
     * Name of the encryption method used  to encrypt the value of this field
     */
    @DisplayName('Encryption')
    encryption: string;
    /**
     * Number of significant bits actually used for a binary encoded numerical
     * value (all remaining bits shall be set to 0)
     */
    @DisplayName('Significant bits')
    significantBits: number;

    @DisplayName('Bit length')
    bitLength: number;
    /**
     * Byte length of this field when a custom data type is used
     */
    @DisplayName('Byte length')
    byteLength: number;

    /**
     * Binary data type used to encode the value(s) of the referenced data
     * component
     */
    @DisplayName('Data type')
    dataType: string;

    /**
     * Reference to the data component that these binary encoding settings apply
     * to
     */
    @DisplayName('Ref')
    ref: string;

    toString() {
        return 'SWE binary component';
    }
}

result-matching ""

    No results matching ""