UNPKG

@corvina/device-example

Version:

Corvina Device Example base on @corvina/device-client

55 lines 1.97 kB
import { AlarmDesc, MultiLangString, NoiseSimulationProperties, NoiseSimulationType, NullableSimulationProperties, NullableSimulationStateMachine, SimulationDesc, SimulationType, PacketFormatEnum, TagDesc } from "@corvina/device-client"; import { DeviceConfig } from "@corvina/device-client"; export declare class NullableSimulationStateMachineDTO implements NullableSimulationStateMachine { nullifying: boolean; start: number; duration: number; } export declare class NullableSimulationPropertiesDTO implements NullableSimulationProperties { probability: number; dt_min: number; dt_max: number; state?: NullableSimulationStateMachineDTO; } export declare class NoiseSimulationPropertiesDTO implements NoiseSimulationProperties { type: NoiseSimulationType; amplitude: number; } export declare class SimulationDescDTO implements SimulationDesc { type: SimulationType; noise: NoiseSimulationPropertiesDTO; nullable: NullableSimulationPropertiesDTO; } export declare class TagDescDTO implements TagDesc { name: string; type: string; simulation?: SimulationDescDTO; } export declare class MultiLangStringDTO implements MultiLangString { [languageCode: string]: string; } export declare class AlarmDescDTO implements AlarmDesc { name: string; desc: MultiLangStringDTO; source: string; severity: number; ack_required: boolean; reset_required: boolean; enabled: boolean; simulation: SimulationDescDTO; } export declare class DeviceConfigDTO { activationKey?: string; pairingEndpoint?: string; availableTagsFile?: string; availableTags?: TagDescDTO[]; simulateTags?: boolean; availableAlarms?: AlarmDescDTO[]; simulateAlarms?: boolean; packetFormat?: PacketFormatEnum; private arrayToMap; private mapToArray; toDeviceConfig(): DeviceConfig; constructor(deviceConfig: DeviceConfig); } //# sourceMappingURL=deviceconfig.dto.d.ts.map