aes70
Version:
A controller library for the AES70 protocol.
133 lines (130 loc) • 2.77 kB
JavaScript
/*
* This file has been generated.
*/
import { Enum } from './Enum.js';
/**
* Standard status codes returned from method calls.
* @class OcaStatus
*/
export class OcaStatus extends Enum({
OK: 0,
ProtocolVersionError: 1,
DeviceError: 2,
Locked: 3,
BadFormat: 4,
BadONo: 5,
ParameterError: 6,
ParameterOutOfRange: 7,
NotImplemented: 8,
InvalidRequest: 9,
ProcessingFailed: 10,
BadMethod: 11,
PartiallySucceeded: 12,
Timeout: 13,
BufferOverflow: 14,
}) {}
/**
* Singleton object corresponding to the entry with value ``0``.
* @type {OcaStatus}
* @member OK
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``1``.
* @type {OcaStatus}
* @member ProtocolVersionError
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``2``.
* @type {OcaStatus}
* @member DeviceError
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``3``.
* @type {OcaStatus}
* @member Locked
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``4``.
* @type {OcaStatus}
* @member BadFormat
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``5``.
* @type {OcaStatus}
* @member BadONo
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``6``.
* @type {OcaStatus}
* @member ParameterError
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``7``.
* @type {OcaStatus}
* @member ParameterOutOfRange
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``8``.
* @type {OcaStatus}
* @member NotImplemented
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``9``.
* @type {OcaStatus}
* @member InvalidRequest
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``10``.
* @type {OcaStatus}
* @member ProcessingFailed
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``11``.
* @type {OcaStatus}
* @member BadMethod
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``12``.
* @type {OcaStatus}
* @member PartiallySucceeded
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``13``.
* @type {OcaStatus}
* @member Timeout
* @memberof OcaStatus
* @static
*/
/**
* Singleton object corresponding to the entry with value ``14``.
* @type {OcaStatus}
* @member BufferOverflow
* @memberof OcaStatus
* @static
*/