src/models/bulkio/precision-utc-time.ts
Serializable REDHAWK BULKIO Precision UTC Time model
Properties |
Methods |
deserialize | ||||||||
deserialize(input: any)
|
||||||||
Defined in src/models/bulkio/precision-utc-time.ts:19
|
||||||||
Deserializes a JSON object into this class
Parameters :
Returns :
this
|
tcmode |
tcmode:
|
Type : number
|
Defined in src/models/bulkio/precision-utc-time.ts:8
|
Time Code mode |
tcstatus |
tcstatus:
|
Type : number
|
Defined in src/models/bulkio/precision-utc-time.ts:10
|
Time Code status |
tfsec |
tfsec:
|
Type : number
|
Defined in src/models/bulkio/precision-utc-time.ts:16
|
Number of fractional seconds (0.0 to 1.0) to add to twsec |
toff |
toff:
|
Type : number
|
Defined in src/models/bulkio/precision-utc-time.ts:12
|
Fractional sample offset |
twsec |
twsec:
|
Type : number
|
Defined in src/models/bulkio/precision-utc-time.ts:14
|
Number of seconds since 12 AM 1 January 1970 |
import { ISerializable } from '../serialization/index';
/**
* Serializable REDHAWK BULKIO Precision UTC Time model
*/
export class PrecisionUTCTime implements ISerializable<PrecisionUTCTime> {
/** Time Code mode */
tcmode: number;
/** Time Code status */
tcstatus: number;
/** Fractional sample offset */
toff: number;
/** Number of seconds since 12 AM 1 January 1970 */
twsec: number;
/** Number of fractional seconds (0.0 to 1.0) to add to twsec */
tfsec: number;
/** Deserializes a JSON object into this class */
deserialize(input: any) {
this.tcmode = input.tcmode;
this.tcstatus = input.tcstatus;
this.toff = input.toff;
this.twsec = input.twsec;
this.tfsec = input.tfsec;
return this;
}
}