@sedni/cloud_common 2.1.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser-index.cjs +885 -0
- package/dist/browser-index.d.cts +377 -0
- package/dist/browser-index.d.ts +377 -0
- package/dist/browser-index.js +245 -0
- package/dist/chunk-FO3TASV6.js +805 -0
- package/dist/index.cjs +1665 -57
- package/dist/index.d.cts +923 -181
- package/dist/index.d.ts +923 -181
- package/dist/index.js +1080 -43
- package/dist/unit.types-BhezeBWA.d.cts +737 -0
- package/dist/unit.types-BhezeBWA.d.ts +737 -0
- package/package.json +8 -6
- package/dist/chunk-AOC7BD5E.js +0 -153
- package/dist/chunk-NCUZ3O3P.js +0 -152
- package/dist/node-entry.cjs +0 -1191
- package/dist/node-entry.d.cts +0 -53
- package/dist/node-entry.d.ts +0 -53
- package/dist/node-entry.js +0 -1078
package/dist/index.d.ts
CHANGED
|
@@ -1,197 +1,939 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
type DiamarAlarmState = (typeof DiamarAlarmStates)[keyof typeof DiamarAlarmStates];
|
|
15
|
-
declare const CloudAlarmStates: {
|
|
16
|
-
readonly INACTIVE: "Inactive";
|
|
17
|
-
readonly ALARM: "Active";
|
|
18
|
-
readonly ALARM_ACK: "Acknowledged";
|
|
19
|
-
readonly WARNING: "WarningActive";
|
|
20
|
-
readonly WARNING_ACK: "WarningAcknowledged";
|
|
21
|
-
readonly RETURN_NO_ACK: "Unacknowledged";
|
|
22
|
-
readonly INHIBITED: "Inhibited";
|
|
23
|
-
readonly OFFSCAN: "Offscan";
|
|
24
|
-
readonly UNDEFINED: "Undefined";
|
|
25
|
-
};
|
|
26
|
-
type CloudAlarmState = (typeof CloudAlarmStates)[keyof typeof CloudAlarmStates];
|
|
27
|
-
declare const AlarmTypes: {
|
|
28
|
-
readonly NORMAL: "Normal";
|
|
29
|
-
readonly ALARM_OPEN: "AlarmOpen";
|
|
30
|
-
readonly ALARM_CLOSE: "AlarmClose";
|
|
31
|
-
readonly ALARM_IFH: "AlarmIfh";
|
|
32
|
-
readonly ALARM_HH: "AlarmHh";
|
|
33
|
-
readonly ALARM_H: "AlarmH";
|
|
34
|
-
readonly ALARM_L: "AlarmL";
|
|
35
|
-
readonly ALARM_LL: "AlarmLl";
|
|
36
|
-
readonly ALARM_IFL: "AlarmIfl";
|
|
37
|
-
readonly ALARM_OFFSCAN: "AlarmOffScan";
|
|
38
|
-
readonly ALARM_FAIL: "AlarmFail";
|
|
39
|
-
readonly ALARM_INH: "AlarmInh";
|
|
40
|
-
readonly ALARM_UNK: "AlarmUnk";
|
|
1
|
+
import { aD as UnitTypes, aE as AlarmPriorities, aF as DiamarAlarmStates, aG as CloudAlarmStates, aH as AlarmTypes, aI as EventCategories, aJ as EventCriticalities, I as ImageAuxiliaryJsonSchema, L as LineAuxiliaryJsonSchema, a as LinkAuxiliaryJsonSchema, P as PolylineAuxiliaryJsonSchema, S as SquareAuxiliaryJsonSchema, T as TextAuxiliaryJsonSchema, C as ChannelJsonSchema, b as CompressorJsonSchema, D as DamperJsonSchema, c as DamperAutomatedJsonSchema, F as FanJsonSchema, d as PumpJsonSchema, e as PumpAutomatedJsonSchema, f as TankJsonSchema, V as ValveJsonSchema, g as ValveAutomatedJsonSchema, A as AlarmIndicatorJsonSchema, h as CommandJsonSchema, i as DialJsonSchema, j as DigitalJsonSchema, k as DisplayJsonSchema, l as DynamicTextJsonSchema, m as LevelBarJsonSchema, n as SliderJsonSchema, o as TextChannelJsonSchema, p as ToggleJsonSchema, q as CabinetJsonSchema, R as RepeaterJsonSchema, r as StationJsonSchema, U as UnitJsonSchema, s as AddedAlarmsJsonSchema, B as BackgroundJsonSchema, t as LineJsonSchema, u as LocalizedTextJsonSchema, v as LocationJsonSchema, w as LogicExpressionJsonSchema, x as LogicExpressionsJsonSchema, y as ScaleJsonSchema, z as TextAttributesJsonSchema, E as TitleJsonSchema, G as AutomaticSemiAutoJsonSchema, H as CommandsOpClJsonSchema, J as CommandsStartStopJsonSchema, K as ControlLockJsonSchema, M as FeedbackOpClJsonSchema, N as FeedbackRunningStoppedJsonSchema, O as OrderOpClJsonSchema, Q as OrderStartStopJsonSchema, W as RemoteLocalJsonSchema, X as TripResetJsonSchema, Y as BreakerJsonSchema, Z as BreakerPmsJsonSchema, _ as GeneratorJsonSchema, $ as GeneratorPmsJsonSchema, a0 as OperationModesJsonSchema, a1 as PriorityDataJsonSchema, a2 as PrioritiesJsonSchema, a3 as ShaftJsonSchema } from './unit.types-BhezeBWA.js';
|
|
2
|
+
import mongoose from 'mongoose';
|
|
3
|
+
import mongooseAutopopulate from 'mongoose-autopopulate';
|
|
4
|
+
import mongoosePaginate from 'mongoose-paginate-v2';
|
|
5
|
+
import mongooseAggregatePaginate from 'mongoose-aggregate-paginate-v2';
|
|
6
|
+
|
|
7
|
+
type UnitDocument = mongoose.Document & {
|
|
8
|
+
unit_id: string;
|
|
9
|
+
unit_enabled: boolean;
|
|
10
|
+
unit_type: typeof UnitTypes;
|
|
11
|
+
unit_internal_description: string;
|
|
12
|
+
unit_cabinet_id?: string;
|
|
41
13
|
};
|
|
42
|
-
type AlarmType = (typeof AlarmTypes)[keyof typeof AlarmTypes];
|
|
43
14
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
15
|
+
type HistoryDocument = mongoose.Document & {
|
|
16
|
+
channel_tag: string;
|
|
17
|
+
alarm_timestamp: Date;
|
|
18
|
+
alarm_priority: typeof AlarmPriorities;
|
|
19
|
+
alarm_original_state: typeof DiamarAlarmStates;
|
|
20
|
+
alarm_state: typeof CloudAlarmStates;
|
|
21
|
+
alarm_type: typeof AlarmTypes;
|
|
22
|
+
alarm_value?: number;
|
|
23
|
+
alarm_message?: string;
|
|
24
|
+
alarm_data?: Object;
|
|
50
25
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
readonly BROADCAST_COMMAND: "BroadcastCommand";
|
|
62
|
-
readonly SOFTWARE: "Software";
|
|
63
|
-
readonly ANALOG_TIMER: "AnalogTimer";
|
|
64
|
-
readonly SERIAL_DIGITAL_INPUT: "SerialDigitalInput";
|
|
65
|
-
readonly SERIAL_DIGITAL_OUTPUT: "SerialDigitalOutput";
|
|
66
|
-
readonly SERIAL_LINE_COMMAND: "SerialLineCommand";
|
|
67
|
-
readonly SERIAL_ANALOG_INPUT: "SerialAnalogInput";
|
|
68
|
-
readonly SERIAL_ANALOG_OUTPUT: "SerialAnalogOutput";
|
|
26
|
+
|
|
27
|
+
type EventDocument = mongoose.Document & {
|
|
28
|
+
event_message: string;
|
|
29
|
+
event_source: string;
|
|
30
|
+
event_user?: string;
|
|
31
|
+
event_category: typeof EventCategories;
|
|
32
|
+
event_criticality: typeof EventCriticalities;
|
|
33
|
+
event_type: string;
|
|
34
|
+
event_timestamp: Date;
|
|
35
|
+
event_data?: Object;
|
|
69
36
|
};
|
|
70
|
-
type ChannelSpecificType = (typeof ChannelSpecificTypes)[keyof typeof ChannelSpecificTypes];
|
|
71
37
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
readonly CONTROL: "ControlSystemEvents";
|
|
77
|
-
readonly BACKUP: "BackupAndRestoreEvents";
|
|
78
|
-
readonly CONFIG_CHANGE: "ConfigurationChanges";
|
|
79
|
-
readonly LOGS: "AuditLogEvents";
|
|
80
|
-
readonly POTENTIAL_ATTACK: "PotentialAttackActivity";
|
|
38
|
+
type ChannelDataPointDocument = mongoose.Document & {
|
|
39
|
+
c: string;
|
|
40
|
+
t: Date;
|
|
41
|
+
v: number;
|
|
81
42
|
};
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
43
|
+
|
|
44
|
+
type ChannelDataBucketDocument = mongoose.Document & {
|
|
45
|
+
start_date: Date;
|
|
46
|
+
end_date: Date;
|
|
47
|
+
data: {
|
|
48
|
+
channel_id: string;
|
|
49
|
+
timestamp: number;
|
|
50
|
+
value: number;
|
|
51
|
+
}[];
|
|
52
|
+
size: number;
|
|
53
|
+
synced: number;
|
|
54
|
+
sum: number;
|
|
89
55
|
};
|
|
90
|
-
type EventCriticality = (typeof EventCriticalities)[keyof typeof EventCriticalities];
|
|
91
56
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
readonly PMM: "Pmm";
|
|
99
|
-
readonly SLIM: "Slim";
|
|
100
|
-
readonly TIM28: "Tim28";
|
|
57
|
+
type ChannelDocument = mongoose.Document & {
|
|
58
|
+
channel_tag: string;
|
|
59
|
+
channel_description: string;
|
|
60
|
+
channel_unit_id: mongoose.Types.ObjectId;
|
|
61
|
+
channel_parsed: Object;
|
|
62
|
+
channel_last_bucket_sync?: Date;
|
|
101
63
|
};
|
|
102
|
-
type UnitType = (typeof UnitTypes)[keyof typeof UnitTypes];
|
|
103
64
|
|
|
104
|
-
declare const
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
65
|
+
declare const _default: {
|
|
66
|
+
Schemas: {
|
|
67
|
+
Channel: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
68
|
+
timestamps: {
|
|
69
|
+
createdAt: true;
|
|
70
|
+
updatedAt: true;
|
|
71
|
+
};
|
|
72
|
+
collection: string;
|
|
73
|
+
toJSON: {
|
|
74
|
+
transform: (doc: ChannelDocument, ret: any) => void;
|
|
75
|
+
};
|
|
76
|
+
}, {
|
|
77
|
+
createdAt: NativeDate;
|
|
78
|
+
updatedAt: NativeDate;
|
|
79
|
+
} & {
|
|
80
|
+
channel_tag: string;
|
|
81
|
+
channel_description: string;
|
|
82
|
+
channel_unit_id: mongoose.Types.ObjectId;
|
|
83
|
+
channel_parsed: any;
|
|
84
|
+
channel_last_bucket_sync?: NativeDate | null | undefined;
|
|
85
|
+
}, ChannelDocument>;
|
|
86
|
+
ChannelDataBucket: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
87
|
+
toJSON: {
|
|
88
|
+
transform: (doc: ChannelDataBucketDocument, ret: any) => void;
|
|
89
|
+
};
|
|
90
|
+
versionKey: false;
|
|
91
|
+
}, {
|
|
92
|
+
start_date: NativeDate;
|
|
93
|
+
end_date: NativeDate;
|
|
94
|
+
data: mongoose.Types.DocumentArray<{
|
|
95
|
+
channel_id: string;
|
|
96
|
+
timestamp: number;
|
|
97
|
+
value: number;
|
|
98
|
+
}, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
|
|
99
|
+
channel_id: string;
|
|
100
|
+
timestamp: number;
|
|
101
|
+
value: number;
|
|
102
|
+
}> & {
|
|
103
|
+
channel_id: string;
|
|
104
|
+
timestamp: number;
|
|
105
|
+
value: number;
|
|
106
|
+
}>;
|
|
107
|
+
size: number;
|
|
108
|
+
synced: number;
|
|
109
|
+
sum: number;
|
|
110
|
+
}, ChannelDataBucketDocument>;
|
|
111
|
+
ChannelDataPoint: mongoose.Schema<ChannelDataPointDocument, mongoose.Model<ChannelDataPointDocument, any, any, any, mongoose.Document<unknown, any, ChannelDataPointDocument, any, {}> & mongoose.Document<unknown, any, any, Record<string, any>, {}> & {
|
|
112
|
+
c: string;
|
|
113
|
+
t: Date;
|
|
114
|
+
v: number;
|
|
115
|
+
} & Required<{
|
|
116
|
+
_id: unknown;
|
|
117
|
+
}> & {
|
|
118
|
+
__v: number;
|
|
119
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ChannelDataPointDocument, mongoose.Document<unknown, {}, mongoose.FlatRecord<ChannelDataPointDocument>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ChannelDataPointDocument> & Required<{
|
|
120
|
+
_id: unknown;
|
|
121
|
+
}> & {
|
|
122
|
+
__v: number;
|
|
123
|
+
}> & {
|
|
124
|
+
addTTLIndex?: (expirationTimeInSeconds?: number, ttlField?: string) => void;
|
|
125
|
+
};
|
|
126
|
+
Event: mongoose.Schema<EventDocument, mongoose.Model<EventDocument, any, any, any, mongoose.Document<unknown, any, EventDocument, any, {}> & mongoose.Document<unknown, any, any, Record<string, any>, {}> & {
|
|
127
|
+
event_message: string;
|
|
128
|
+
event_source: string;
|
|
129
|
+
event_user?: string;
|
|
130
|
+
event_category: typeof EventCategories;
|
|
131
|
+
event_criticality: typeof EventCriticalities;
|
|
132
|
+
event_type: string;
|
|
133
|
+
event_timestamp: Date;
|
|
134
|
+
event_data?: Object;
|
|
135
|
+
} & Required<{
|
|
136
|
+
_id: unknown;
|
|
137
|
+
}> & {
|
|
138
|
+
__v: number;
|
|
139
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, EventDocument, mongoose.Document<unknown, {}, mongoose.FlatRecord<EventDocument>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<EventDocument> & Required<{
|
|
140
|
+
_id: unknown;
|
|
141
|
+
}> & {
|
|
142
|
+
__v: number;
|
|
143
|
+
}> & {
|
|
144
|
+
addTTLIndex?: (expirationTimeInSeconds?: number, ttlField?: string) => void;
|
|
145
|
+
};
|
|
146
|
+
History: mongoose.Schema<HistoryDocument, mongoose.Model<HistoryDocument, any, any, any, mongoose.Document<unknown, any, HistoryDocument, any, {}> & mongoose.Document<unknown, any, any, Record<string, any>, {}> & {
|
|
147
|
+
channel_tag: string;
|
|
148
|
+
alarm_timestamp: Date;
|
|
149
|
+
alarm_priority: typeof AlarmPriorities;
|
|
150
|
+
alarm_original_state: typeof DiamarAlarmStates;
|
|
151
|
+
alarm_state: typeof CloudAlarmStates;
|
|
152
|
+
alarm_type: typeof AlarmTypes;
|
|
153
|
+
alarm_value?: number;
|
|
154
|
+
alarm_message?: string;
|
|
155
|
+
alarm_data?: Object;
|
|
156
|
+
} & Required<{
|
|
157
|
+
_id: unknown;
|
|
158
|
+
}> & {
|
|
159
|
+
__v: number;
|
|
160
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, HistoryDocument, mongoose.Document<unknown, {}, mongoose.FlatRecord<HistoryDocument>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<HistoryDocument> & Required<{
|
|
161
|
+
_id: unknown;
|
|
162
|
+
}> & {
|
|
163
|
+
__v: number;
|
|
164
|
+
}> & {
|
|
165
|
+
addTTLIndex?: (expirationTimeInSeconds?: number, ttlField?: string) => void;
|
|
166
|
+
};
|
|
167
|
+
Unit: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
168
|
+
timestamps: true;
|
|
169
|
+
collection: string;
|
|
170
|
+
toJSON: {
|
|
171
|
+
transform: (doc: UnitDocument, ret: any) => void;
|
|
172
|
+
};
|
|
173
|
+
}, {
|
|
174
|
+
createdAt: NativeDate;
|
|
175
|
+
updatedAt: NativeDate;
|
|
176
|
+
} & {
|
|
177
|
+
unit_id: string;
|
|
178
|
+
unit_enabled: boolean;
|
|
179
|
+
unit_type: "Aim18" | "Dim36" | "Diom24" | "Klim" | "Lum" | "Pmm" | "Slim" | "Tim28";
|
|
180
|
+
unit_internal_description: string;
|
|
181
|
+
unit_cabinet_id?: string | null | undefined;
|
|
182
|
+
}, UnitDocument>;
|
|
167
183
|
};
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
184
|
+
Docs: {
|
|
185
|
+
ChannelDocs: {
|
|
186
|
+
components: {
|
|
187
|
+
schemas: {
|
|
188
|
+
Channel: {
|
|
189
|
+
type: string;
|
|
190
|
+
properties: {
|
|
191
|
+
id: {
|
|
192
|
+
type: string;
|
|
193
|
+
format: string;
|
|
194
|
+
description: string;
|
|
195
|
+
example: string;
|
|
196
|
+
readOnly: boolean;
|
|
197
|
+
};
|
|
198
|
+
channel_tag: {
|
|
199
|
+
type: string;
|
|
200
|
+
description: string;
|
|
201
|
+
example: string;
|
|
202
|
+
readOnly: boolean;
|
|
203
|
+
};
|
|
204
|
+
channel_description: {
|
|
205
|
+
type: string;
|
|
206
|
+
description: string;
|
|
207
|
+
example: string;
|
|
208
|
+
readOnly: boolean;
|
|
209
|
+
};
|
|
210
|
+
channel_unit_id: {
|
|
211
|
+
type: string;
|
|
212
|
+
format: string;
|
|
213
|
+
description: string;
|
|
214
|
+
example: string;
|
|
215
|
+
readOnly: boolean;
|
|
216
|
+
};
|
|
217
|
+
channel_parsed: {
|
|
218
|
+
type: string;
|
|
219
|
+
description: string;
|
|
220
|
+
readOnly: boolean;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
required: string[];
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
examples: {
|
|
227
|
+
Channel: {
|
|
228
|
+
value: {
|
|
229
|
+
id: string;
|
|
230
|
+
channel_tag: string;
|
|
231
|
+
channel_description: string;
|
|
232
|
+
channel_type: string;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
ChannelDataBucketDocs: {
|
|
239
|
+
components: {
|
|
240
|
+
schemas: {
|
|
241
|
+
ChannelData: {
|
|
242
|
+
type: string;
|
|
243
|
+
description: string;
|
|
244
|
+
properties: {
|
|
245
|
+
id: {
|
|
246
|
+
type: string;
|
|
247
|
+
format: string;
|
|
248
|
+
description: string;
|
|
249
|
+
example: string;
|
|
250
|
+
readOnly: boolean;
|
|
251
|
+
};
|
|
252
|
+
start_date: {
|
|
253
|
+
type: string;
|
|
254
|
+
format: string;
|
|
255
|
+
description: string;
|
|
256
|
+
example: string;
|
|
257
|
+
readOnly: boolean;
|
|
258
|
+
};
|
|
259
|
+
end_date: {
|
|
260
|
+
type: string;
|
|
261
|
+
format: string;
|
|
262
|
+
description: string;
|
|
263
|
+
example: string;
|
|
264
|
+
readOnly: boolean;
|
|
265
|
+
};
|
|
266
|
+
data: {
|
|
267
|
+
type: string;
|
|
268
|
+
description: string;
|
|
269
|
+
items: {
|
|
270
|
+
$ref: string;
|
|
271
|
+
};
|
|
272
|
+
readOnly: boolean;
|
|
273
|
+
};
|
|
274
|
+
size: {
|
|
275
|
+
type: string;
|
|
276
|
+
format: string;
|
|
277
|
+
description: string;
|
|
278
|
+
example: number;
|
|
279
|
+
readOnly: boolean;
|
|
280
|
+
};
|
|
281
|
+
synced: {
|
|
282
|
+
type: string;
|
|
283
|
+
description: string;
|
|
284
|
+
example: string;
|
|
285
|
+
readOnly: boolean;
|
|
286
|
+
};
|
|
287
|
+
sum: {
|
|
288
|
+
type: string;
|
|
289
|
+
format: string;
|
|
290
|
+
description: string;
|
|
291
|
+
example: number;
|
|
292
|
+
readOnly: boolean;
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
examples: {
|
|
298
|
+
ChannelData: {
|
|
299
|
+
id: string;
|
|
300
|
+
start_date: string;
|
|
301
|
+
end_date: string;
|
|
302
|
+
data: {
|
|
303
|
+
t: number;
|
|
304
|
+
v: number;
|
|
305
|
+
}[];
|
|
306
|
+
size: number;
|
|
307
|
+
synced: string;
|
|
308
|
+
sum: number;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
ChannelWithDataDocs: {
|
|
314
|
+
components: {
|
|
315
|
+
schemas: {
|
|
316
|
+
ChannelWithData: {
|
|
317
|
+
allOf: ({
|
|
318
|
+
$ref: string;
|
|
319
|
+
type?: undefined;
|
|
320
|
+
properties?: undefined;
|
|
321
|
+
} | {
|
|
322
|
+
type: string;
|
|
323
|
+
properties: {
|
|
324
|
+
channel_latest_value: {
|
|
325
|
+
type: string;
|
|
326
|
+
description: string;
|
|
327
|
+
example: string;
|
|
328
|
+
readOnly: boolean;
|
|
329
|
+
};
|
|
330
|
+
channel_latest_timestamp: {
|
|
331
|
+
type: string;
|
|
332
|
+
format: string;
|
|
333
|
+
description: string;
|
|
334
|
+
example: number;
|
|
335
|
+
readOnly: boolean;
|
|
336
|
+
};
|
|
337
|
+
channel_alarm_state: {
|
|
338
|
+
type: string;
|
|
339
|
+
description: string;
|
|
340
|
+
example: string;
|
|
341
|
+
readOnly: boolean;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
$ref?: undefined;
|
|
345
|
+
})[];
|
|
346
|
+
required: string[];
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
examples: {
|
|
350
|
+
ChannelWithData: {
|
|
351
|
+
value: {
|
|
352
|
+
id: string;
|
|
353
|
+
channel_tag: string;
|
|
354
|
+
channel_description: string;
|
|
355
|
+
channel_type: string;
|
|
356
|
+
channel_latest_value: number;
|
|
357
|
+
channel_latest_timestamp: number;
|
|
358
|
+
channel_alarm_state: string;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
ChannelDataPointDocs: {
|
|
365
|
+
components: {
|
|
366
|
+
schemas: {
|
|
367
|
+
ChannelDataPoint: {
|
|
368
|
+
type: string;
|
|
369
|
+
description: string;
|
|
370
|
+
properties: {
|
|
371
|
+
c: {
|
|
372
|
+
type: string;
|
|
373
|
+
description: string;
|
|
374
|
+
example: string;
|
|
375
|
+
readOnly: boolean;
|
|
376
|
+
};
|
|
377
|
+
t: {
|
|
378
|
+
type: string;
|
|
379
|
+
format: string;
|
|
380
|
+
description: string;
|
|
381
|
+
example: number;
|
|
382
|
+
readOnly: boolean;
|
|
383
|
+
};
|
|
384
|
+
v: {
|
|
385
|
+
type: string;
|
|
386
|
+
format: string;
|
|
387
|
+
description: string;
|
|
388
|
+
example: number;
|
|
389
|
+
readOnly: boolean;
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
examples: {
|
|
395
|
+
ChannelDataPoint: {
|
|
396
|
+
c: string;
|
|
397
|
+
t: number;
|
|
398
|
+
v: number;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
EventDocs: {
|
|
404
|
+
components: {
|
|
405
|
+
schemas: {
|
|
406
|
+
Event: {
|
|
407
|
+
type: string;
|
|
408
|
+
description: string;
|
|
409
|
+
properties: {
|
|
410
|
+
id: {
|
|
411
|
+
type: string;
|
|
412
|
+
format: string;
|
|
413
|
+
description: string;
|
|
414
|
+
example: string;
|
|
415
|
+
readOnly: boolean;
|
|
416
|
+
};
|
|
417
|
+
event_message: {
|
|
418
|
+
type: string;
|
|
419
|
+
format: string;
|
|
420
|
+
description: string;
|
|
421
|
+
example: string;
|
|
422
|
+
};
|
|
423
|
+
event_source: {
|
|
424
|
+
type: string;
|
|
425
|
+
format: string;
|
|
426
|
+
description: string;
|
|
427
|
+
example: string;
|
|
428
|
+
};
|
|
429
|
+
event_category: {
|
|
430
|
+
type: string;
|
|
431
|
+
format: string;
|
|
432
|
+
description: string;
|
|
433
|
+
example: string;
|
|
434
|
+
enum: string;
|
|
435
|
+
};
|
|
436
|
+
event_type: {
|
|
437
|
+
type: string;
|
|
438
|
+
format: string;
|
|
439
|
+
description: string;
|
|
440
|
+
example: string;
|
|
441
|
+
};
|
|
442
|
+
event_timestamp: {
|
|
443
|
+
type: string;
|
|
444
|
+
format: string;
|
|
445
|
+
description: string;
|
|
446
|
+
example: number;
|
|
447
|
+
};
|
|
448
|
+
event_data: {
|
|
449
|
+
type: string;
|
|
450
|
+
description: string;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
required: string[];
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
examples: {
|
|
457
|
+
Event: {
|
|
458
|
+
value: {
|
|
459
|
+
id: string;
|
|
460
|
+
event_message: string;
|
|
461
|
+
event_source: string;
|
|
462
|
+
event_category: string;
|
|
463
|
+
event_type: string;
|
|
464
|
+
event_timestamp: number;
|
|
465
|
+
event_data: {
|
|
466
|
+
profile: string;
|
|
467
|
+
duration: number;
|
|
468
|
+
replaced_profile: string;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
HistoryDocs: {
|
|
476
|
+
components: {
|
|
477
|
+
schemas: {
|
|
478
|
+
History: {
|
|
479
|
+
type: string;
|
|
480
|
+
properties: {
|
|
481
|
+
id: {
|
|
482
|
+
type: string;
|
|
483
|
+
format: string;
|
|
484
|
+
description: string;
|
|
485
|
+
example: string;
|
|
486
|
+
readOnly: boolean;
|
|
487
|
+
};
|
|
488
|
+
channel_tag: {
|
|
489
|
+
type: string;
|
|
490
|
+
format: string;
|
|
491
|
+
description: string;
|
|
492
|
+
example: string;
|
|
493
|
+
readOnly: boolean;
|
|
494
|
+
};
|
|
495
|
+
alarm_timestamp: {
|
|
496
|
+
type: string;
|
|
497
|
+
format: string;
|
|
498
|
+
description: string;
|
|
499
|
+
example: string;
|
|
500
|
+
readOnly: boolean;
|
|
501
|
+
};
|
|
502
|
+
alarm_priority: {
|
|
503
|
+
type: string;
|
|
504
|
+
format: string;
|
|
505
|
+
description: string;
|
|
506
|
+
example: string;
|
|
507
|
+
enum: string;
|
|
508
|
+
readOnly: boolean;
|
|
509
|
+
};
|
|
510
|
+
alarm_original_state: {
|
|
511
|
+
type: string;
|
|
512
|
+
format: string;
|
|
513
|
+
description: string;
|
|
514
|
+
example: string;
|
|
515
|
+
enum: string;
|
|
516
|
+
readOnly: boolean;
|
|
517
|
+
};
|
|
518
|
+
alarm_state: {
|
|
519
|
+
type: string;
|
|
520
|
+
format: string;
|
|
521
|
+
description: string;
|
|
522
|
+
example: string;
|
|
523
|
+
enum: string;
|
|
524
|
+
readOnly: boolean;
|
|
525
|
+
};
|
|
526
|
+
alarm_type: {
|
|
527
|
+
type: string;
|
|
528
|
+
format: string;
|
|
529
|
+
description: string;
|
|
530
|
+
example: string;
|
|
531
|
+
enum: string;
|
|
532
|
+
readOnly: boolean;
|
|
533
|
+
};
|
|
534
|
+
alarm_value: {
|
|
535
|
+
type: string;
|
|
536
|
+
format: string;
|
|
537
|
+
description: string;
|
|
538
|
+
example: number;
|
|
539
|
+
readOnly: boolean;
|
|
540
|
+
};
|
|
541
|
+
alarm_message: {
|
|
542
|
+
type: string;
|
|
543
|
+
format: string;
|
|
544
|
+
description: string;
|
|
545
|
+
example: string;
|
|
546
|
+
readOnly: boolean;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
required: string[];
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
examples: {
|
|
553
|
+
History: {
|
|
554
|
+
value: {
|
|
555
|
+
id: string;
|
|
556
|
+
channel_tag: string;
|
|
557
|
+
alarm_timestamp: string;
|
|
558
|
+
alarm_priority: string;
|
|
559
|
+
alarm_original_state: string;
|
|
560
|
+
alarm_state: string;
|
|
561
|
+
alarm_type: string;
|
|
562
|
+
alarm_value: number;
|
|
563
|
+
alarm_message: string;
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
UnitDocs: {
|
|
570
|
+
components: {
|
|
571
|
+
schemas: {
|
|
572
|
+
Unit: {
|
|
573
|
+
type: string;
|
|
574
|
+
properties: {
|
|
575
|
+
id: {
|
|
576
|
+
type: string;
|
|
577
|
+
format: string;
|
|
578
|
+
description: string;
|
|
579
|
+
example: string;
|
|
580
|
+
readOnly: boolean;
|
|
581
|
+
};
|
|
582
|
+
unit_id: {
|
|
583
|
+
type: string;
|
|
584
|
+
description: string;
|
|
585
|
+
example: string;
|
|
586
|
+
readOnly: boolean;
|
|
587
|
+
};
|
|
588
|
+
unit_internal_description: {
|
|
589
|
+
type: string;
|
|
590
|
+
description: string;
|
|
591
|
+
example: string;
|
|
592
|
+
readOnly: boolean;
|
|
593
|
+
};
|
|
594
|
+
unit_enabled: {
|
|
595
|
+
type: string;
|
|
596
|
+
description: string;
|
|
597
|
+
example: boolean;
|
|
598
|
+
readOnly: boolean;
|
|
599
|
+
};
|
|
600
|
+
unit_type: {
|
|
601
|
+
type: string;
|
|
602
|
+
description: string;
|
|
603
|
+
example: string;
|
|
604
|
+
readOnly: boolean;
|
|
605
|
+
};
|
|
606
|
+
unit_cabinet_id: {
|
|
607
|
+
type: string;
|
|
608
|
+
description: string;
|
|
609
|
+
example: string;
|
|
610
|
+
readOnly: boolean;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
required: string[];
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
examples: {
|
|
617
|
+
Unit: {
|
|
618
|
+
value: {
|
|
619
|
+
id: string;
|
|
620
|
+
unit_id: string;
|
|
621
|
+
unit_internal_description: string;
|
|
622
|
+
unit_enabled: boolean;
|
|
623
|
+
unit_type: string;
|
|
624
|
+
unit_cabinet_id: string;
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
};
|
|
177
630
|
};
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
631
|
+
Mimics: {
|
|
632
|
+
ImageAuxiliaryJson: ImageAuxiliaryJsonSchema;
|
|
633
|
+
LineAuxiliaryJson: LineAuxiliaryJsonSchema;
|
|
634
|
+
LinkAuxiliaryJson: LinkAuxiliaryJsonSchema;
|
|
635
|
+
PolylineAuxiliaryJson: PolylineAuxiliaryJsonSchema;
|
|
636
|
+
SquareAuxiliaryJson: SquareAuxiliaryJsonSchema;
|
|
637
|
+
TextAuxiliaryJson: TextAuxiliaryJsonSchema;
|
|
638
|
+
ChannelJson: ChannelJsonSchema;
|
|
639
|
+
CompressorJson: CompressorJsonSchema;
|
|
640
|
+
DamperJson: DamperJsonSchema;
|
|
641
|
+
DamperAutomatedJson: DamperAutomatedJsonSchema;
|
|
642
|
+
FanJson: FanJsonSchema;
|
|
643
|
+
PumpJson: PumpJsonSchema;
|
|
644
|
+
PumpAutomatedJson: PumpAutomatedJsonSchema;
|
|
645
|
+
TankJson: TankJsonSchema;
|
|
646
|
+
ValveJson: ValveJsonSchema;
|
|
647
|
+
ValveAutomatedJson: ValveAutomatedJsonSchema;
|
|
648
|
+
AlarmIndicatorJson: AlarmIndicatorJsonSchema;
|
|
649
|
+
CommandJson: CommandJsonSchema;
|
|
650
|
+
DialJson: DialJsonSchema;
|
|
651
|
+
DigitalJson: DigitalJsonSchema;
|
|
652
|
+
DisplayJson: DisplayJsonSchema;
|
|
653
|
+
DynamicTextJson: DynamicTextJsonSchema;
|
|
654
|
+
LevelBarJson: LevelBarJsonSchema;
|
|
655
|
+
SliderJson: SliderJsonSchema;
|
|
656
|
+
TextChannelJson: TextChannelJsonSchema;
|
|
657
|
+
ToggleJson: ToggleJsonSchema;
|
|
658
|
+
CabinetJson: CabinetJsonSchema;
|
|
659
|
+
RepeaterJson: RepeaterJsonSchema;
|
|
660
|
+
StationJson: StationJsonSchema;
|
|
661
|
+
UnitJson: UnitJsonSchema;
|
|
662
|
+
AddedAlarmsJson: AddedAlarmsJsonSchema;
|
|
663
|
+
BackgroundJson: BackgroundJsonSchema;
|
|
664
|
+
LineJson: LineJsonSchema;
|
|
665
|
+
LocalizedTextJson: LocalizedTextJsonSchema;
|
|
666
|
+
LocationJson: LocationJsonSchema;
|
|
667
|
+
LogicExpressionJson: LogicExpressionJsonSchema;
|
|
668
|
+
LogicExpressionsJson: LogicExpressionsJsonSchema;
|
|
669
|
+
ScaleJson: ScaleJsonSchema;
|
|
670
|
+
TextAttributesJson: TextAttributesJsonSchema;
|
|
671
|
+
TitleJson: TitleJsonSchema;
|
|
672
|
+
AutomaticSemiAutoJson: AutomaticSemiAutoJsonSchema;
|
|
673
|
+
CommandsOpClJson: CommandsOpClJsonSchema;
|
|
674
|
+
CommandsStartStopJson: CommandsStartStopJsonSchema;
|
|
675
|
+
ControlLockJson: ControlLockJsonSchema;
|
|
676
|
+
FeedbackOpClJson: FeedbackOpClJsonSchema;
|
|
677
|
+
FeedbackRunningStoppedJson: FeedbackRunningStoppedJsonSchema;
|
|
678
|
+
OrderOpClJson: OrderOpClJsonSchema;
|
|
679
|
+
OrderStartStopJson: OrderStartStopJsonSchema;
|
|
680
|
+
RemoteLocalJson: RemoteLocalJsonSchema;
|
|
681
|
+
TripResetJson: TripResetJsonSchema;
|
|
682
|
+
BreakerJson: BreakerJsonSchema;
|
|
683
|
+
BreakerPmsJson: BreakerPmsJsonSchema;
|
|
684
|
+
GeneratorJson: GeneratorJsonSchema;
|
|
685
|
+
GeneratorPmsJson: GeneratorPmsJsonSchema;
|
|
686
|
+
OperationModesJson: OperationModesJsonSchema;
|
|
687
|
+
PriorityDataJson: PriorityDataJsonSchema;
|
|
688
|
+
PrioritiesJson: PrioritiesJsonSchema;
|
|
689
|
+
ShaftJson: ShaftJsonSchema;
|
|
184
690
|
};
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
691
|
+
Types: {
|
|
692
|
+
AlarmTypes: {
|
|
693
|
+
readonly NORMAL: "Normal";
|
|
694
|
+
readonly ALARM_OPEN: "AlarmOpen";
|
|
695
|
+
readonly ALARM_CLOSE: "AlarmClose";
|
|
696
|
+
readonly ALARM_IFH: "AlarmIfh";
|
|
697
|
+
readonly ALARM_HH: "AlarmHh";
|
|
698
|
+
readonly ALARM_H: "AlarmH";
|
|
699
|
+
readonly ALARM_L: "AlarmL";
|
|
700
|
+
readonly ALARM_LL: "AlarmLl";
|
|
701
|
+
readonly ALARM_IFL: "AlarmIfl";
|
|
702
|
+
readonly ALARM_OFFSCAN: "AlarmOffScan";
|
|
703
|
+
readonly ALARM_FAIL: "AlarmFail";
|
|
704
|
+
readonly ALARM_INH: "AlarmInh";
|
|
705
|
+
readonly ALARM_UNK: "AlarmUnk";
|
|
706
|
+
};
|
|
707
|
+
AlarmPriorities: {
|
|
708
|
+
readonly CRITICAL: "Critical";
|
|
709
|
+
readonly ALARM: "Alarm";
|
|
710
|
+
readonly WARNING: "Warning";
|
|
711
|
+
};
|
|
712
|
+
CloudAlarmStates: {
|
|
713
|
+
readonly INACTIVE: "Inactive";
|
|
714
|
+
readonly ALARM: "Active";
|
|
715
|
+
readonly ALARM_ACK: "Acknowledged";
|
|
716
|
+
readonly WARNING: "WarningActive";
|
|
717
|
+
readonly WARNING_ACK: "WarningAcknowledged";
|
|
718
|
+
readonly RETURN_NO_ACK: "Unacknowledged";
|
|
719
|
+
readonly INHIBITED: "Inhibited";
|
|
720
|
+
readonly OFFSCAN: "Offscan";
|
|
721
|
+
readonly UNDEFINED: "Undefined";
|
|
722
|
+
};
|
|
723
|
+
DiamarAlarmStates: {
|
|
724
|
+
readonly INACTIVE: "Inactive";
|
|
725
|
+
readonly ACKNOWLEDGED: "Acknowledged";
|
|
726
|
+
readonly ACTIVE: "Active";
|
|
727
|
+
readonly UNACKNOWLEDGED: "Unacknowledged";
|
|
728
|
+
readonly UNDEFINED: "Undefined";
|
|
729
|
+
};
|
|
730
|
+
EventCategories: {
|
|
731
|
+
readonly ACCESS_CONTROL: "AccessControl";
|
|
732
|
+
readonly REQUEST_ERROR: "RequestErrors";
|
|
733
|
+
readonly OS: "OperatingSystemEvents";
|
|
734
|
+
readonly CONTROL: "ControlSystemEvents";
|
|
735
|
+
readonly BACKUP: "BackupAndRestoreEvents";
|
|
736
|
+
readonly CONFIG_CHANGE: "ConfigurationChanges";
|
|
737
|
+
readonly LOGS: "AuditLogEvents";
|
|
738
|
+
readonly POTENTIAL_ATTACK: "PotentialAttackActivity";
|
|
739
|
+
};
|
|
740
|
+
Mimics: {
|
|
741
|
+
MimicElementTypes: {
|
|
742
|
+
readonly IMAGE: "Image";
|
|
743
|
+
readonly LINE: "Line";
|
|
744
|
+
readonly SQUARE: "Square";
|
|
745
|
+
readonly LINK: "Link";
|
|
746
|
+
readonly POLYLINE: "Polyline";
|
|
747
|
+
readonly TEXT: "Text";
|
|
748
|
+
readonly ALARM_INDICATOR: "AlarmIndicator";
|
|
749
|
+
readonly BREAKER: "Breaker";
|
|
750
|
+
readonly COMMAND: "Command";
|
|
751
|
+
readonly COMPRESSOR: "Compressor";
|
|
752
|
+
readonly DAMPER: "Damper";
|
|
753
|
+
readonly DIAL: "Dial";
|
|
754
|
+
readonly DIGITAL: "Digital";
|
|
755
|
+
readonly DISPLAY: "Display";
|
|
756
|
+
readonly FAN: "Fan";
|
|
757
|
+
readonly GENERATOR: "Generator";
|
|
758
|
+
readonly LEVEL_BAR: "LevelBar";
|
|
759
|
+
readonly PUMP: "Pump";
|
|
760
|
+
readonly SHAFT: "Shaft";
|
|
761
|
+
readonly TEXT_CHANNEL: "TextChannel";
|
|
762
|
+
readonly DYNAMIC_TEXT: "DynamicText";
|
|
763
|
+
readonly TANK: "Tank";
|
|
764
|
+
readonly VALVE: "Valve";
|
|
765
|
+
readonly SLIDER: "Slider";
|
|
766
|
+
readonly TOGGLE: "Toggle";
|
|
767
|
+
readonly UNIT: "Unit";
|
|
768
|
+
readonly REPEATER: "Repeater";
|
|
769
|
+
readonly STATION: "Station";
|
|
770
|
+
readonly CABINET: "Cabinet";
|
|
771
|
+
readonly BREAKER_PMS: "BreakerPms";
|
|
772
|
+
readonly GENERATOR_PMS: "GeneratorPms";
|
|
773
|
+
readonly OPERATION_MODES_PMS: "OperationModesPms";
|
|
774
|
+
readonly PMS_PRIORITIES: "PmsPriorities";
|
|
775
|
+
readonly VALVE_AUTOMATED: "ValveAutomated";
|
|
776
|
+
readonly DAMPER_AUTOMATED: "DamperAutomated";
|
|
777
|
+
readonly PUMP_AUTOMATED: "PumpAutomated";
|
|
778
|
+
};
|
|
779
|
+
ZDepths: {
|
|
780
|
+
readonly BACKGROUND: "Background";
|
|
781
|
+
readonly LOW: "Low";
|
|
782
|
+
readonly NORMAL: "Normal";
|
|
783
|
+
readonly HIGH: "High";
|
|
784
|
+
};
|
|
785
|
+
TitleAligns: {
|
|
786
|
+
readonly BOTTOM: "Bottom";
|
|
787
|
+
readonly LEFT: "Left";
|
|
788
|
+
readonly RIGHT: "Right";
|
|
789
|
+
readonly TOP: "Top";
|
|
790
|
+
};
|
|
791
|
+
DigitalStates: {
|
|
792
|
+
readonly NO_VALUE: "NoValue";
|
|
793
|
+
readonly OPEN: "Open";
|
|
794
|
+
readonly CLOSE: "Close";
|
|
795
|
+
readonly UNDEFINED: "Undefined";
|
|
796
|
+
};
|
|
797
|
+
DigitalAlarmStates: {
|
|
798
|
+
readonly NO_ALARM: "NoAlarm";
|
|
799
|
+
readonly ALARM: "Alarm";
|
|
800
|
+
readonly UNDEFINED: "Undefined";
|
|
801
|
+
};
|
|
802
|
+
AlarmStates: {
|
|
803
|
+
readonly ALARM: 1;
|
|
804
|
+
readonly WARNING: 2;
|
|
805
|
+
readonly UNACKNOWLEDGED_ALARM: 3;
|
|
806
|
+
readonly UNACKNOWLEDGED_WARNING: 4;
|
|
807
|
+
readonly ACKNOWLEDGED_ALARM: 5;
|
|
808
|
+
readonly ACKNOWLEDGED_WARNING: 6;
|
|
809
|
+
readonly INHIBITED: 7;
|
|
810
|
+
readonly OFF_SCAN: 8;
|
|
811
|
+
readonly NORMAL: 9;
|
|
812
|
+
readonly OFFLINE: 10;
|
|
813
|
+
};
|
|
814
|
+
ActivationModes: {
|
|
815
|
+
readonly ALARM: "Alarm";
|
|
816
|
+
readonly LOGIC: "Logic";
|
|
817
|
+
readonly VALUE: "Value";
|
|
818
|
+
};
|
|
819
|
+
TextAnchorPoints: {
|
|
820
|
+
readonly LEFT: "Left";
|
|
821
|
+
readonly CENTER: "Center";
|
|
822
|
+
readonly RIGHT: "Right";
|
|
823
|
+
};
|
|
824
|
+
ValveDesigns: {
|
|
825
|
+
readonly MECHANIC: "Mechanic";
|
|
826
|
+
readonly NORMAL: "Normal";
|
|
827
|
+
};
|
|
828
|
+
FanDesigns: {
|
|
829
|
+
readonly NORMAL: "Normal";
|
|
830
|
+
readonly BLADED: "Bladed";
|
|
831
|
+
};
|
|
832
|
+
FanRunStates: {
|
|
833
|
+
readonly NO_VALUE: "NoValue";
|
|
834
|
+
readonly UNDEFINED: "Undefined";
|
|
835
|
+
readonly STOPPED: "Stopped";
|
|
836
|
+
readonly RUNNING: "Running";
|
|
837
|
+
readonly RUNNING_FAST: "RunningFast";
|
|
838
|
+
};
|
|
839
|
+
FanDirections: {
|
|
840
|
+
readonly NO_VALUE: "NoValue";
|
|
841
|
+
readonly UNDEFINED: "Undefined";
|
|
842
|
+
readonly SUPPLY: "Supply";
|
|
843
|
+
readonly EXHAUST: "Exhaust";
|
|
844
|
+
};
|
|
845
|
+
FanTypes: {
|
|
846
|
+
readonly SIMPLE: "Simple";
|
|
847
|
+
readonly SIMPLE_WITH_FAST: "SimpleWithFast";
|
|
848
|
+
readonly REVERSIBLE: "Reversible";
|
|
849
|
+
readonly REVERSIBLE_WITH_FAST: "ReversibleWithFast";
|
|
850
|
+
};
|
|
851
|
+
LevelBarOrientations: {
|
|
852
|
+
readonly VERTICAL: "Vertical";
|
|
853
|
+
readonly HORIZONTAL: "Horizontal";
|
|
854
|
+
};
|
|
855
|
+
SliderOrientations: {
|
|
856
|
+
readonly VERTICAL: "Vertical";
|
|
857
|
+
readonly HORIZONTAL: "Horizontal";
|
|
858
|
+
};
|
|
859
|
+
CompressorDesigns: {
|
|
860
|
+
readonly CENTRIFUGAL: "Centrifugal";
|
|
861
|
+
readonly MECHANIC: "Mechanic";
|
|
862
|
+
readonly NORMAL: "Normal";
|
|
863
|
+
readonly PISTONS: "Pistons";
|
|
864
|
+
readonly ROTATORY_SCREW: "RotatoryScrew";
|
|
865
|
+
readonly SCROLL: "Scroll";
|
|
866
|
+
readonly VANES: "Vanes";
|
|
867
|
+
};
|
|
868
|
+
LedTypes: {
|
|
869
|
+
readonly CIRCLE: "Circle";
|
|
870
|
+
readonly SQUARE: "Square";
|
|
871
|
+
};
|
|
872
|
+
InfoLocations: {
|
|
873
|
+
readonly BOTTOM: "Bottom";
|
|
874
|
+
readonly LEFT: "Left";
|
|
875
|
+
readonly RIGHT: "Right";
|
|
876
|
+
readonly TOP: "Top";
|
|
877
|
+
};
|
|
878
|
+
MarkTypes: {
|
|
879
|
+
readonly LARGE_LINE: "LargeLine";
|
|
880
|
+
readonly SHORT_LINE: "ShortLine";
|
|
881
|
+
readonly TRIANGLE: "Triangle";
|
|
882
|
+
};
|
|
883
|
+
ScalePositions: {
|
|
884
|
+
readonly LEFT: "Left";
|
|
885
|
+
readonly RIGHT: "Right";
|
|
886
|
+
};
|
|
887
|
+
ValueTypes: {
|
|
888
|
+
readonly PERCENTAGE: "Percentage";
|
|
889
|
+
readonly RAW: "Raw";
|
|
890
|
+
};
|
|
891
|
+
OperationModeStates: {
|
|
892
|
+
readonly ACTIVE: 0;
|
|
893
|
+
readonly INACTIVE: 1;
|
|
894
|
+
readonly IN_TRANSITION: 2;
|
|
895
|
+
readonly FAILED: 3;
|
|
896
|
+
};
|
|
897
|
+
UnitDesigns: {
|
|
898
|
+
readonly IMAGE: "Image";
|
|
899
|
+
readonly MODERN: "Modern";
|
|
900
|
+
};
|
|
901
|
+
StationDesigns: {
|
|
902
|
+
readonly IMAGE: "Image";
|
|
903
|
+
readonly MONITOR: "Monitor";
|
|
904
|
+
readonly SCREEN: "Screen";
|
|
905
|
+
};
|
|
906
|
+
RepeaterDesigns: {
|
|
907
|
+
readonly IMAGE: "Image";
|
|
908
|
+
readonly SLIM: "SLim";
|
|
909
|
+
readonly DIAMAR_REPEATER: "DiamarRepeater";
|
|
910
|
+
};
|
|
911
|
+
CabinetDesigns: {
|
|
912
|
+
readonly IMAGE: "Image";
|
|
913
|
+
readonly MODERN: "Modern";
|
|
914
|
+
};
|
|
915
|
+
LinkDesigns: {
|
|
916
|
+
readonly BUTTON: "Button";
|
|
917
|
+
readonly IMAGE: "Image";
|
|
918
|
+
};
|
|
919
|
+
OpClStates: {
|
|
920
|
+
readonly NO_VALUE: "NoValue";
|
|
921
|
+
readonly OPEN: "Open";
|
|
922
|
+
readonly CLOSE: "Close";
|
|
923
|
+
readonly UNDEFINED: "Undefined";
|
|
924
|
+
};
|
|
925
|
+
RunningStoppedStates: {
|
|
926
|
+
readonly NO_VALUE: "NoValue";
|
|
927
|
+
readonly RUNNING: "Running";
|
|
928
|
+
readonly STOPPED: "Stopped";
|
|
929
|
+
readonly UNDEFINED: "Undefined";
|
|
930
|
+
};
|
|
931
|
+
};
|
|
194
932
|
};
|
|
933
|
+
mongoose: typeof mongoose;
|
|
934
|
+
mongoosePaginate: typeof mongoosePaginate;
|
|
935
|
+
mongooseAggregatePaginate: typeof mongooseAggregatePaginate;
|
|
936
|
+
mongooseAutopopulate: typeof mongooseAutopopulate;
|
|
195
937
|
};
|
|
196
938
|
|
|
197
|
-
export {
|
|
939
|
+
export { _default as default };
|