@sedni/cloud_common 3.0.0 → 3.0.1
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/deno.jsonc +46 -0
- package/dist/browser-index.cjs +604 -8
- package/dist/browser-index.d.cts +124 -31
- package/dist/browser-index.d.ts +124 -31
- package/dist/browser-index.js +198 -34
- package/dist/chunk-55XBONH2.js +1415 -0
- package/dist/{chunk-FO3TASV6.js → chunk-K5VO2MYI.js} +617 -7
- package/dist/chunk-VQWCQ4E2.js +908 -0
- package/dist/index.cjs +662 -23
- package/dist/index.d.cts +1581 -792
- package/dist/index.d.ts +1581 -792
- package/dist/index.js +217 -17
- package/dist/unit.types-4ZD9ivHi.d.cts +797 -0
- package/dist/unit.types-4ZD9ivHi.d.ts +797 -0
- package/dist/unit.types-BZWIS1vq.d.cts +1246 -0
- package/dist/unit.types-BZWIS1vq.d.ts +1246 -0
- package/dist/{unit.types-BhezeBWA.d.cts → unit.types-CFWDGNUR.d.cts} +517 -8
- package/dist/{unit.types-BhezeBWA.d.ts → unit.types-CFWDGNUR.d.ts} +517 -8
- package/package.json +21 -18
- package/tsconfig.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c2 as UnitTypes, bp as AlarmPriority, by as DiamarAlarmState, bw as CloudAlarmState, br as AlarmType, c3 as AlarmPriorities, c4 as DiamarAlarmStates, c5 as CloudAlarmStates, c6 as AlarmTypes, c7 as EventCategories, c8 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, a4 as ImageAuxiliaryRequestSchema, a5 as LineAuxiliaryRequestSchema, a6 as LinkAuxiliaryRequestSchema, a7 as PolylineAuxiliaryRequestSchema, a8 as SquareAuxiliaryRequestSchema, a9 as TextAuxiliaryRequestSchema, aa as ChannelRequestSchema, ab as CompressorRequestSchema, ac as DamperRequestSchema, ad as DamperAutomatedRequestSchema, ae as FanRequestSchema, af as PumpRequestSchema, ag as PumpAutomatedRequestSchema, ah as TankRequestSchema, ai as ValveRequestSchema, aj as ValveAutomatedRequestSchema, ak as AlarmIndicatorRequestSchema, al as CommandRequestSchema, am as DialRequestSchema, an as DigitalRequestSchema, ao as DisplayRequestSchema, ap as DynamicTextRequestSchema, aq as LevelBarRequestSchema, ar as SliderRequestSchema, as as TextChannelRequestSchema, at as ToggleRequestSchema, au as CabinetRequestSchema, av as RepeaterRequestSchema, aw as StationRequestSchema, ax as UnitRequestSchema, ay as AutomaticSemiAutoRequestSchema, az as CommandsOpClRequestSchema, aA as CommandsStartStopRequestSchema, aB as ControlLockRequestSchema, aC as FeedbackOpClRequestSchema, aD as FeedbackRunningStoppedRequestSchema, aE as OrderOpClRequestSchema, aF as OrderStartStopRequestSchema, aG as RemoteLocalRequestSchema, aH as TripResetRequestSchema, aI as BreakerRequestSchema, aJ as BreakerPmsRequestSchema, aK as GeneratorRequestSchema, aL as GeneratorPmsRequestSchema, aM as OperationModesRequestSchema, aN as PriorityDataRequestSchema, aO as PrioritiesRequestSchema, aP as ShaftRequestSchema, aQ as ImageAuxiliaryResponseSchema, aR as LineAuxiliaryResponseSchema, aS as LinkAuxiliaryResponseSchema, aT as PolylineAuxiliaryResponseSchema, aU as SquareAuxiliaryResponseSchema, aV as TextAuxiliaryResponseSchema, aW as CompressorResponseSchema, aX as DamperResponseSchema, aY as DamperAutomatedResponseSchema, aZ as FanResponseSchema, a_ as PumpResponseSchema, a$ as PumpAutomatedResponseSchema, b0 as TankResponseSchema, b1 as ValveResponseSchema, b2 as ValveAutomatedResponseSchema, b3 as AlarmIndicatorResponseSchema, b4 as CommandResponseSchema, b5 as DialResponseSchema, b6 as DigitalResponseSchema, b7 as DisplayResponseSchema, b8 as DynamicTextResponseSchema, b9 as LevelBarResponseSchema, ba as SliderResponseSchema, bb as TextChannelResponseSchema, bc as ToggleResponseSchema, bd as CabinetResponseSchema, be as RepeaterResponseSchema, bf as StationResponseSchema, bg as UnitResponseSchema, bh as BreakerResponseSchema, bi as BreakerPmsResponseSchema, bj as GeneratorResponseSchema, bk as GeneratorPmsResponseSchema, bl as OperationModesResponseSchema, bm as PrioritiesResponseSchema, bn as ShaftResponseSchema } from './unit.types-BZWIS1vq.js';
|
|
2
|
+
export { bo as ActivationMode, bq as AlarmState, bs as AutoSemiAutoState, bt as CabinetDesign, bu as ChannelBaseType, bv as ChannelSpecificType, bx as CompressorDesign, bz as DigitalAlarmState, bA as DigitalState, bB as EventCategory, bC as EventCriticality, bD as FanDesign, bE as FanDirection, bF as FanRunState, bG as FanType, c9 as InfoLocation, bH as LedType, bI as LevelBarOrientation, bJ as LineRequestSchema, bK as LinkDesign, bL as MarkType, bM as MimicAlarmState, bN as MimicControlState, bO as MimicElementType, bP as OpClState, bQ as OperationModeState, bR as RemoteLocalState, bS as RepeaterDesign, bT as RunningStoppedState, bU as ScalePosition, bV as SliderOrientation, bW as StationDesign, bX as TextAnchorPoint, bY as TitleAlign, bZ as UnitDesign, b_ as UnitType, b$ as ValueType, c0 as ValveDesign, c1 as ZDepth } from './unit.types-BZWIS1vq.js';
|
|
2
3
|
import mongoose from 'mongoose';
|
|
4
|
+
import mongooseAggregatePaginate from 'mongoose-aggregate-paginate-v2';
|
|
3
5
|
import mongooseAutopopulate from 'mongoose-autopopulate';
|
|
4
6
|
import mongoosePaginate from 'mongoose-paginate-v2';
|
|
5
|
-
import mongooseAggregatePaginate from 'mongoose-aggregate-paginate-v2';
|
|
6
7
|
|
|
7
8
|
type UnitDocument = mongoose.Document & {
|
|
8
9
|
unit_id: string;
|
|
@@ -11,10 +12,34 @@ type UnitDocument = mongoose.Document & {
|
|
|
11
12
|
unit_internal_description: string;
|
|
12
13
|
unit_cabinet_id?: string;
|
|
13
14
|
};
|
|
15
|
+
type UnitModel = mongoose.PaginateModel<UnitDocument> & mongoose.AggregatePaginateModel<UnitDocument>;
|
|
16
|
+
type UnitJSON = {
|
|
17
|
+
id: string;
|
|
18
|
+
unit_id: string;
|
|
19
|
+
unit_enabled: boolean;
|
|
20
|
+
unit_type: typeof UnitTypes;
|
|
21
|
+
unit_internal_description: string;
|
|
22
|
+
unit_cabinet_id?: string;
|
|
23
|
+
createdAt: Date;
|
|
24
|
+
updatedAt: Date;
|
|
25
|
+
};
|
|
14
26
|
|
|
15
27
|
type HistoryDocument = mongoose.Document & {
|
|
16
28
|
channel_tag: string;
|
|
17
29
|
alarm_timestamp: Date;
|
|
30
|
+
alarm_priority: AlarmPriority;
|
|
31
|
+
alarm_original_state: DiamarAlarmState;
|
|
32
|
+
alarm_state: CloudAlarmState;
|
|
33
|
+
alarm_type: AlarmType;
|
|
34
|
+
alarm_value?: number;
|
|
35
|
+
alarm_message?: string;
|
|
36
|
+
alarm_data?: Object;
|
|
37
|
+
};
|
|
38
|
+
type HistoryModel = mongoose.PaginateModel<HistoryDocument> & mongoose.AggregatePaginateModel<HistoryDocument>;
|
|
39
|
+
type HistoryJSON = {
|
|
40
|
+
id: string;
|
|
41
|
+
channel_tag: string;
|
|
42
|
+
alarm_timestamp: number;
|
|
18
43
|
alarm_priority: typeof AlarmPriorities;
|
|
19
44
|
alarm_original_state: typeof DiamarAlarmStates;
|
|
20
45
|
alarm_state: typeof CloudAlarmStates;
|
|
@@ -34,12 +59,31 @@ type EventDocument = mongoose.Document & {
|
|
|
34
59
|
event_timestamp: Date;
|
|
35
60
|
event_data?: Object;
|
|
36
61
|
};
|
|
62
|
+
type EventModel = mongoose.PaginateModel<EventDocument> & mongoose.AggregatePaginateModel<EventDocument>;
|
|
63
|
+
type EventJSON = {
|
|
64
|
+
id: string;
|
|
65
|
+
event_message: string;
|
|
66
|
+
event_source: string;
|
|
67
|
+
event_user?: string;
|
|
68
|
+
event_category: typeof EventCategories;
|
|
69
|
+
event_criticality: typeof EventCriticalities;
|
|
70
|
+
event_type: string;
|
|
71
|
+
event_timestamp: number;
|
|
72
|
+
event_data?: Object;
|
|
73
|
+
};
|
|
37
74
|
|
|
38
75
|
type ChannelDataPointDocument = mongoose.Document & {
|
|
39
76
|
c: string;
|
|
40
77
|
t: Date;
|
|
41
78
|
v: number;
|
|
42
79
|
};
|
|
80
|
+
type ChannelDataPointModel = mongoose.PaginateModel<ChannelDataPointDocument> & mongoose.AggregatePaginateModel<ChannelDataPointDocument>;
|
|
81
|
+
type ChannelDataPointJSON = {
|
|
82
|
+
id: string;
|
|
83
|
+
channel_id: string;
|
|
84
|
+
timestamp: number;
|
|
85
|
+
value: number;
|
|
86
|
+
};
|
|
43
87
|
|
|
44
88
|
type ChannelDataBucketDocument = mongoose.Document & {
|
|
45
89
|
start_date: Date;
|
|
@@ -53,681 +97,780 @@ type ChannelDataBucketDocument = mongoose.Document & {
|
|
|
53
97
|
synced: number;
|
|
54
98
|
sum: number;
|
|
55
99
|
};
|
|
100
|
+
type ChannelDataBucketModel = mongoose.PaginateModel<ChannelDataBucketDocument> & mongoose.AggregatePaginateModel<ChannelDataBucketDocument>;
|
|
101
|
+
type ChannelDataBucketJSON = {
|
|
102
|
+
id: string;
|
|
103
|
+
start_date: number;
|
|
104
|
+
end_date: number;
|
|
105
|
+
data: {
|
|
106
|
+
channel_id: string;
|
|
107
|
+
timestamp: number;
|
|
108
|
+
value: number;
|
|
109
|
+
}[];
|
|
110
|
+
size: number;
|
|
111
|
+
synced: number;
|
|
112
|
+
sum: number;
|
|
113
|
+
avg: number;
|
|
114
|
+
};
|
|
56
115
|
|
|
57
116
|
type ChannelDocument = mongoose.Document & {
|
|
58
117
|
channel_tag: string;
|
|
59
118
|
channel_description: string;
|
|
60
119
|
channel_unit_id: mongoose.Types.ObjectId;
|
|
61
120
|
channel_parsed: Object;
|
|
62
|
-
|
|
121
|
+
};
|
|
122
|
+
type ChannelModel = mongoose.PaginateModel<ChannelDocument> & mongoose.AggregatePaginateModel<ChannelDocument>;
|
|
123
|
+
type ChannelJSON = {
|
|
124
|
+
id: string;
|
|
125
|
+
channel_tag: string;
|
|
126
|
+
channel_description: string;
|
|
127
|
+
channel_unit_id: string;
|
|
128
|
+
channel_unit: any;
|
|
129
|
+
channel_parsed: Object;
|
|
130
|
+
createdAt: Date;
|
|
131
|
+
updatedAt: Date;
|
|
63
132
|
};
|
|
64
133
|
|
|
65
|
-
declare const
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
134
|
+
declare const Docs: {
|
|
135
|
+
ChannelDocs: {
|
|
136
|
+
components: {
|
|
137
|
+
schemas: {
|
|
138
|
+
Channel: {
|
|
139
|
+
type: string;
|
|
140
|
+
properties: {
|
|
141
|
+
id: {
|
|
142
|
+
type: string;
|
|
143
|
+
format: string;
|
|
144
|
+
description: string;
|
|
145
|
+
example: string;
|
|
146
|
+
readOnly: boolean;
|
|
147
|
+
};
|
|
148
|
+
channel_tag: {
|
|
149
|
+
type: string;
|
|
150
|
+
description: string;
|
|
151
|
+
example: string;
|
|
152
|
+
readOnly: boolean;
|
|
153
|
+
};
|
|
154
|
+
channel_description: {
|
|
155
|
+
type: string;
|
|
156
|
+
description: string;
|
|
157
|
+
example: string;
|
|
158
|
+
readOnly: boolean;
|
|
159
|
+
};
|
|
160
|
+
channel_unit_id: {
|
|
161
|
+
type: string;
|
|
162
|
+
format: string;
|
|
163
|
+
description: string;
|
|
164
|
+
example: string;
|
|
165
|
+
readOnly: boolean;
|
|
166
|
+
};
|
|
167
|
+
channel_parsed: {
|
|
168
|
+
type: string;
|
|
169
|
+
description: string;
|
|
170
|
+
readOnly: boolean;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
required: string[];
|
|
174
|
+
};
|
|
75
175
|
};
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}, ChannelDocument>;
|
|
86
|
-
ChannelDataBucket: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
87
|
-
toJSON: {
|
|
88
|
-
transform: (doc: ChannelDataBucketDocument, ret: any) => void;
|
|
176
|
+
examples: {
|
|
177
|
+
Channel: {
|
|
178
|
+
value: {
|
|
179
|
+
id: string;
|
|
180
|
+
channel_tag: string;
|
|
181
|
+
channel_description: string;
|
|
182
|
+
channel_type: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
89
185
|
};
|
|
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
186
|
};
|
|
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>;
|
|
183
187
|
};
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
channel_parsed: {
|
|
218
|
-
type: string;
|
|
219
|
-
description: string;
|
|
220
|
-
readOnly: boolean;
|
|
188
|
+
ChannelDataBucketDocs: {
|
|
189
|
+
components: {
|
|
190
|
+
schemas: {
|
|
191
|
+
ChannelData: {
|
|
192
|
+
type: string;
|
|
193
|
+
description: string;
|
|
194
|
+
properties: {
|
|
195
|
+
id: {
|
|
196
|
+
type: string;
|
|
197
|
+
format: string;
|
|
198
|
+
description: string;
|
|
199
|
+
example: string;
|
|
200
|
+
readOnly: boolean;
|
|
201
|
+
};
|
|
202
|
+
start_date: {
|
|
203
|
+
type: string;
|
|
204
|
+
format: string;
|
|
205
|
+
description: string;
|
|
206
|
+
example: string;
|
|
207
|
+
readOnly: boolean;
|
|
208
|
+
};
|
|
209
|
+
end_date: {
|
|
210
|
+
type: string;
|
|
211
|
+
format: string;
|
|
212
|
+
description: string;
|
|
213
|
+
example: string;
|
|
214
|
+
readOnly: boolean;
|
|
215
|
+
};
|
|
216
|
+
data: {
|
|
217
|
+
type: string;
|
|
218
|
+
description: string;
|
|
219
|
+
items: {
|
|
220
|
+
$ref: string;
|
|
221
221
|
};
|
|
222
|
+
readOnly: boolean;
|
|
222
223
|
};
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
224
|
+
size: {
|
|
225
|
+
type: string;
|
|
226
|
+
format: string;
|
|
227
|
+
description: string;
|
|
228
|
+
example: number;
|
|
229
|
+
readOnly: boolean;
|
|
230
|
+
};
|
|
231
|
+
synced: {
|
|
232
|
+
type: string;
|
|
233
|
+
description: string;
|
|
234
|
+
example: string;
|
|
235
|
+
readOnly: boolean;
|
|
236
|
+
};
|
|
237
|
+
sum: {
|
|
238
|
+
type: string;
|
|
239
|
+
format: string;
|
|
240
|
+
description: string;
|
|
241
|
+
example: number;
|
|
242
|
+
readOnly: boolean;
|
|
233
243
|
};
|
|
234
244
|
};
|
|
235
245
|
};
|
|
236
246
|
};
|
|
247
|
+
examples: {
|
|
248
|
+
ChannelData: {
|
|
249
|
+
id: string;
|
|
250
|
+
start_date: string;
|
|
251
|
+
end_date: string;
|
|
252
|
+
data: {
|
|
253
|
+
t: number;
|
|
254
|
+
v: number;
|
|
255
|
+
}[];
|
|
256
|
+
size: number;
|
|
257
|
+
synced: string;
|
|
258
|
+
sum: number;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
237
261
|
};
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
262
|
+
};
|
|
263
|
+
ChannelWithDataDocs: {
|
|
264
|
+
components: {
|
|
265
|
+
schemas: {
|
|
266
|
+
ChannelWithData: {
|
|
267
|
+
allOf: ({
|
|
268
|
+
$ref: string;
|
|
269
|
+
type?: undefined;
|
|
270
|
+
properties?: undefined;
|
|
271
|
+
} | {
|
|
242
272
|
type: string;
|
|
243
|
-
description: string;
|
|
244
273
|
properties: {
|
|
245
|
-
|
|
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: {
|
|
274
|
+
channel_latest_value: {
|
|
260
275
|
type: string;
|
|
261
|
-
format: string;
|
|
262
276
|
description: string;
|
|
263
277
|
example: string;
|
|
264
278
|
readOnly: boolean;
|
|
265
279
|
};
|
|
266
|
-
|
|
267
|
-
type: string;
|
|
268
|
-
description: string;
|
|
269
|
-
items: {
|
|
270
|
-
$ref: string;
|
|
271
|
-
};
|
|
272
|
-
readOnly: boolean;
|
|
273
|
-
};
|
|
274
|
-
size: {
|
|
280
|
+
channel_latest_timestamp: {
|
|
275
281
|
type: string;
|
|
276
282
|
format: string;
|
|
277
283
|
description: string;
|
|
278
284
|
example: number;
|
|
279
285
|
readOnly: boolean;
|
|
280
286
|
};
|
|
281
|
-
|
|
287
|
+
channel_alarm_state: {
|
|
282
288
|
type: string;
|
|
283
289
|
description: string;
|
|
284
290
|
example: string;
|
|
285
291
|
readOnly: boolean;
|
|
286
292
|
};
|
|
287
|
-
sum: {
|
|
288
|
-
type: string;
|
|
289
|
-
format: string;
|
|
290
|
-
description: string;
|
|
291
|
-
example: number;
|
|
292
|
-
readOnly: boolean;
|
|
293
|
-
};
|
|
294
293
|
};
|
|
295
|
-
|
|
294
|
+
$ref?: undefined;
|
|
295
|
+
})[];
|
|
296
|
+
required: string[];
|
|
296
297
|
};
|
|
297
|
-
|
|
298
|
-
|
|
298
|
+
};
|
|
299
|
+
examples: {
|
|
300
|
+
ChannelWithData: {
|
|
301
|
+
value: {
|
|
299
302
|
id: string;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
size: number;
|
|
307
|
-
synced: string;
|
|
308
|
-
sum: number;
|
|
303
|
+
channel_tag: string;
|
|
304
|
+
channel_description: string;
|
|
305
|
+
channel_type: string;
|
|
306
|
+
channel_latest_value: number;
|
|
307
|
+
channel_latest_timestamp: number;
|
|
308
|
+
channel_alarm_state: string;
|
|
309
309
|
};
|
|
310
310
|
};
|
|
311
311
|
};
|
|
312
312
|
};
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
type: string;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
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;
|
|
313
|
+
};
|
|
314
|
+
ChannelDataPointDocs: {
|
|
315
|
+
components: {
|
|
316
|
+
schemas: {
|
|
317
|
+
ChannelDataPoint: {
|
|
318
|
+
type: string;
|
|
319
|
+
description: string;
|
|
320
|
+
properties: {
|
|
321
|
+
c: {
|
|
322
|
+
type: string;
|
|
323
|
+
description: string;
|
|
324
|
+
example: string;
|
|
325
|
+
readOnly: boolean;
|
|
359
326
|
};
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
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
|
-
};
|
|
327
|
+
t: {
|
|
328
|
+
type: string;
|
|
329
|
+
format: string;
|
|
330
|
+
description: string;
|
|
331
|
+
example: number;
|
|
332
|
+
readOnly: boolean;
|
|
333
|
+
};
|
|
334
|
+
v: {
|
|
335
|
+
type: string;
|
|
336
|
+
format: string;
|
|
337
|
+
description: string;
|
|
338
|
+
example: number;
|
|
339
|
+
readOnly: boolean;
|
|
391
340
|
};
|
|
392
341
|
};
|
|
393
342
|
};
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
343
|
+
};
|
|
344
|
+
examples: {
|
|
345
|
+
ChannelDataPoint: {
|
|
346
|
+
c: string;
|
|
347
|
+
t: number;
|
|
348
|
+
v: number;
|
|
400
349
|
};
|
|
401
350
|
};
|
|
402
351
|
};
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
352
|
+
};
|
|
353
|
+
EventDocs: {
|
|
354
|
+
components: {
|
|
355
|
+
schemas: {
|
|
356
|
+
Event: {
|
|
357
|
+
type: string;
|
|
358
|
+
description: string;
|
|
359
|
+
properties: {
|
|
360
|
+
id: {
|
|
361
|
+
type: string;
|
|
362
|
+
format: string;
|
|
363
|
+
description: string;
|
|
364
|
+
example: string;
|
|
365
|
+
readOnly: boolean;
|
|
366
|
+
};
|
|
367
|
+
event_message: {
|
|
368
|
+
type: string;
|
|
369
|
+
format: string;
|
|
370
|
+
description: string;
|
|
371
|
+
example: string;
|
|
372
|
+
};
|
|
373
|
+
event_source: {
|
|
374
|
+
type: string;
|
|
375
|
+
format: string;
|
|
376
|
+
description: string;
|
|
377
|
+
example: string;
|
|
378
|
+
};
|
|
379
|
+
event_category: {
|
|
380
|
+
type: string;
|
|
381
|
+
format: string;
|
|
382
|
+
description: string;
|
|
383
|
+
example: string;
|
|
384
|
+
enum: string;
|
|
385
|
+
};
|
|
386
|
+
event_type: {
|
|
387
|
+
type: string;
|
|
388
|
+
format: string;
|
|
389
|
+
description: string;
|
|
390
|
+
example: string;
|
|
391
|
+
};
|
|
392
|
+
event_timestamp: {
|
|
393
|
+
type: string;
|
|
394
|
+
format: string;
|
|
395
|
+
description: string;
|
|
396
|
+
example: number;
|
|
397
|
+
};
|
|
398
|
+
event_data: {
|
|
399
|
+
type: string;
|
|
400
|
+
description: string;
|
|
452
401
|
};
|
|
453
|
-
required: string[];
|
|
454
402
|
};
|
|
403
|
+
required: string[];
|
|
455
404
|
};
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
405
|
+
};
|
|
406
|
+
examples: {
|
|
407
|
+
Event: {
|
|
408
|
+
value: {
|
|
409
|
+
id: string;
|
|
410
|
+
event_message: string;
|
|
411
|
+
event_source: string;
|
|
412
|
+
event_category: string;
|
|
413
|
+
event_type: string;
|
|
414
|
+
event_timestamp: number;
|
|
415
|
+
event_data: {
|
|
416
|
+
profile: string;
|
|
417
|
+
duration: number;
|
|
418
|
+
replaced_profile: string;
|
|
470
419
|
};
|
|
471
420
|
};
|
|
472
421
|
};
|
|
473
422
|
};
|
|
474
423
|
};
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
424
|
+
};
|
|
425
|
+
HistoryDocs: {
|
|
426
|
+
components: {
|
|
427
|
+
schemas: {
|
|
428
|
+
History: {
|
|
429
|
+
type: string;
|
|
430
|
+
properties: {
|
|
431
|
+
id: {
|
|
432
|
+
type: string;
|
|
433
|
+
format: string;
|
|
434
|
+
description: string;
|
|
435
|
+
example: string;
|
|
436
|
+
readOnly: boolean;
|
|
437
|
+
};
|
|
438
|
+
channel_tag: {
|
|
439
|
+
type: string;
|
|
440
|
+
format: string;
|
|
441
|
+
description: string;
|
|
442
|
+
example: string;
|
|
443
|
+
readOnly: boolean;
|
|
444
|
+
};
|
|
445
|
+
alarm_timestamp: {
|
|
446
|
+
type: string;
|
|
447
|
+
format: string;
|
|
448
|
+
description: string;
|
|
449
|
+
example: string;
|
|
450
|
+
readOnly: boolean;
|
|
451
|
+
};
|
|
452
|
+
alarm_priority: {
|
|
453
|
+
type: string;
|
|
454
|
+
format: string;
|
|
455
|
+
description: string;
|
|
456
|
+
example: string;
|
|
457
|
+
enum: string;
|
|
458
|
+
readOnly: boolean;
|
|
459
|
+
};
|
|
460
|
+
alarm_original_state: {
|
|
461
|
+
type: string;
|
|
462
|
+
format: string;
|
|
463
|
+
description: string;
|
|
464
|
+
example: string;
|
|
465
|
+
enum: string;
|
|
466
|
+
readOnly: boolean;
|
|
467
|
+
};
|
|
468
|
+
alarm_state: {
|
|
469
|
+
type: string;
|
|
470
|
+
format: string;
|
|
471
|
+
description: string;
|
|
472
|
+
example: string;
|
|
473
|
+
enum: string;
|
|
474
|
+
readOnly: boolean;
|
|
475
|
+
};
|
|
476
|
+
alarm_type: {
|
|
477
|
+
type: string;
|
|
478
|
+
format: string;
|
|
479
|
+
description: string;
|
|
480
|
+
example: string;
|
|
481
|
+
enum: string;
|
|
482
|
+
readOnly: boolean;
|
|
483
|
+
};
|
|
484
|
+
alarm_value: {
|
|
485
|
+
type: string;
|
|
486
|
+
format: string;
|
|
487
|
+
description: string;
|
|
488
|
+
example: number;
|
|
489
|
+
readOnly: boolean;
|
|
490
|
+
};
|
|
491
|
+
alarm_message: {
|
|
492
|
+
type: string;
|
|
493
|
+
format: string;
|
|
494
|
+
description: string;
|
|
495
|
+
example: string;
|
|
496
|
+
readOnly: boolean;
|
|
548
497
|
};
|
|
549
|
-
required: string[];
|
|
550
498
|
};
|
|
499
|
+
required: string[];
|
|
551
500
|
};
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
501
|
+
};
|
|
502
|
+
examples: {
|
|
503
|
+
History: {
|
|
504
|
+
value: {
|
|
505
|
+
id: string;
|
|
506
|
+
channel_tag: string;
|
|
507
|
+
alarm_timestamp: string;
|
|
508
|
+
alarm_priority: string;
|
|
509
|
+
alarm_original_state: string;
|
|
510
|
+
alarm_state: string;
|
|
511
|
+
alarm_type: string;
|
|
512
|
+
alarm_value: number;
|
|
513
|
+
alarm_message: string;
|
|
565
514
|
};
|
|
566
515
|
};
|
|
567
516
|
};
|
|
568
517
|
};
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
518
|
+
};
|
|
519
|
+
UnitDocs: {
|
|
520
|
+
components: {
|
|
521
|
+
schemas: {
|
|
522
|
+
Unit: {
|
|
523
|
+
type: string;
|
|
524
|
+
properties: {
|
|
525
|
+
id: {
|
|
526
|
+
type: string;
|
|
527
|
+
format: string;
|
|
528
|
+
description: string;
|
|
529
|
+
example: string;
|
|
530
|
+
readOnly: boolean;
|
|
531
|
+
};
|
|
532
|
+
unit_id: {
|
|
533
|
+
type: string;
|
|
534
|
+
description: string;
|
|
535
|
+
example: string;
|
|
536
|
+
readOnly: boolean;
|
|
537
|
+
};
|
|
538
|
+
unit_internal_description: {
|
|
539
|
+
type: string;
|
|
540
|
+
description: string;
|
|
541
|
+
example: string;
|
|
542
|
+
readOnly: boolean;
|
|
543
|
+
};
|
|
544
|
+
unit_enabled: {
|
|
545
|
+
type: string;
|
|
546
|
+
description: string;
|
|
547
|
+
example: boolean;
|
|
548
|
+
readOnly: boolean;
|
|
549
|
+
};
|
|
550
|
+
unit_type: {
|
|
551
|
+
type: string;
|
|
552
|
+
description: string;
|
|
553
|
+
example: string;
|
|
554
|
+
readOnly: boolean;
|
|
555
|
+
};
|
|
556
|
+
unit_cabinet_id: {
|
|
557
|
+
type: string;
|
|
558
|
+
description: string;
|
|
559
|
+
example: string;
|
|
560
|
+
readOnly: boolean;
|
|
612
561
|
};
|
|
613
|
-
required: string[];
|
|
614
562
|
};
|
|
563
|
+
required: string[];
|
|
615
564
|
};
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
565
|
+
};
|
|
566
|
+
examples: {
|
|
567
|
+
Unit: {
|
|
568
|
+
value: {
|
|
569
|
+
id: string;
|
|
570
|
+
unit_id: string;
|
|
571
|
+
unit_internal_description: string;
|
|
572
|
+
unit_enabled: boolean;
|
|
573
|
+
unit_type: string;
|
|
574
|
+
unit_cabinet_id: string;
|
|
626
575
|
};
|
|
627
576
|
};
|
|
628
577
|
};
|
|
629
578
|
};
|
|
630
579
|
};
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
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;
|
|
690
|
-
};
|
|
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";
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
declare const Schemas: {
|
|
583
|
+
Channel: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
584
|
+
timestamps: {
|
|
585
|
+
createdAt: true;
|
|
586
|
+
updatedAt: true;
|
|
711
587
|
};
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
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";
|
|
588
|
+
collection: string;
|
|
589
|
+
toJSON: {
|
|
590
|
+
transform: (_doc: ChannelDocument, ret: any) => void;
|
|
722
591
|
};
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
592
|
+
}, {
|
|
593
|
+
channel_tag: string;
|
|
594
|
+
channel_description: string;
|
|
595
|
+
channel_unit_id: mongoose.Types.ObjectId;
|
|
596
|
+
channel_parsed: any;
|
|
597
|
+
channel_last_bucket_sync?: NativeDate | null | undefined;
|
|
598
|
+
createdAt: NativeDate;
|
|
599
|
+
updatedAt: NativeDate;
|
|
600
|
+
}, ChannelDocument, {
|
|
601
|
+
[path: string]: mongoose.SchemaDefinitionProperty<undefined, any, any>;
|
|
602
|
+
} | {
|
|
603
|
+
[x: string]: mongoose.SchemaDefinitionProperty<any, any, ChannelDocument> | undefined;
|
|
604
|
+
}, {
|
|
605
|
+
channel_tag: string;
|
|
606
|
+
channel_description: string;
|
|
607
|
+
channel_unit_id: mongoose.Types.ObjectId;
|
|
608
|
+
channel_parsed: any;
|
|
609
|
+
channel_last_bucket_sync?: NativeDate | null | undefined;
|
|
610
|
+
createdAt: NativeDate;
|
|
611
|
+
updatedAt: NativeDate;
|
|
612
|
+
} & {
|
|
613
|
+
_id: mongoose.Types.ObjectId;
|
|
614
|
+
} & {
|
|
615
|
+
__v: number;
|
|
616
|
+
}>;
|
|
617
|
+
ChannelDataBucket: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
618
|
+
toJSON: {
|
|
619
|
+
transform: (doc: ChannelDataBucketDocument, ret: any) => void;
|
|
729
620
|
};
|
|
730
|
-
|
|
621
|
+
versionKey: false;
|
|
622
|
+
}, {
|
|
623
|
+
data: mongoose.Types.DocumentArray<{
|
|
624
|
+
value: number;
|
|
625
|
+
channel_id: string;
|
|
626
|
+
timestamp: number;
|
|
627
|
+
}, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
628
|
+
value: number;
|
|
629
|
+
channel_id: string;
|
|
630
|
+
timestamp: number;
|
|
631
|
+
}, {}, {}> & {
|
|
632
|
+
value: number;
|
|
633
|
+
channel_id: string;
|
|
634
|
+
timestamp: number;
|
|
635
|
+
}>;
|
|
636
|
+
size: number;
|
|
637
|
+
start_date: NativeDate;
|
|
638
|
+
end_date: NativeDate;
|
|
639
|
+
synced: number;
|
|
640
|
+
sum: number;
|
|
641
|
+
}, ChannelDataBucketDocument, {
|
|
642
|
+
[path: string]: mongoose.SchemaDefinitionProperty<undefined, any, any>;
|
|
643
|
+
} | {
|
|
644
|
+
[x: string]: mongoose.SchemaDefinitionProperty<any, any, ChannelDataBucketDocument> | undefined;
|
|
645
|
+
}, {
|
|
646
|
+
data: mongoose.Types.DocumentArray<{
|
|
647
|
+
value: number;
|
|
648
|
+
channel_id: string;
|
|
649
|
+
timestamp: number;
|
|
650
|
+
}, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, unknown, {
|
|
651
|
+
value: number;
|
|
652
|
+
channel_id: string;
|
|
653
|
+
timestamp: number;
|
|
654
|
+
}, {}, {}> & {
|
|
655
|
+
value: number;
|
|
656
|
+
channel_id: string;
|
|
657
|
+
timestamp: number;
|
|
658
|
+
}>;
|
|
659
|
+
size: number;
|
|
660
|
+
start_date: NativeDate;
|
|
661
|
+
end_date: NativeDate;
|
|
662
|
+
synced: number;
|
|
663
|
+
sum: number;
|
|
664
|
+
} & {
|
|
665
|
+
_id: mongoose.Types.ObjectId;
|
|
666
|
+
} & {
|
|
667
|
+
__v: number;
|
|
668
|
+
}>;
|
|
669
|
+
ChannelDataPoint: mongoose.Schema<ChannelDataPointDocument, mongoose.Model<ChannelDataPointDocument, any, any, any, (mongoose.Document<unknown, any, ChannelDataPointDocument, any, mongoose.DefaultSchemaOptions> & mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
670
|
+
c: string;
|
|
671
|
+
t: Date;
|
|
672
|
+
v: number;
|
|
673
|
+
} & Required<{
|
|
674
|
+
_id: mongoose.Types.ObjectId;
|
|
675
|
+
}> & {
|
|
676
|
+
__v: number;
|
|
677
|
+
} & {
|
|
678
|
+
id: string;
|
|
679
|
+
}) | (mongoose.Document<unknown, any, ChannelDataPointDocument, any, mongoose.DefaultSchemaOptions> & mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
680
|
+
c: string;
|
|
681
|
+
t: Date;
|
|
682
|
+
v: number;
|
|
683
|
+
} & Required<{
|
|
684
|
+
_id: mongoose.Types.ObjectId;
|
|
685
|
+
}> & {
|
|
686
|
+
__v: number;
|
|
687
|
+
}), any, ChannelDataPointDocument>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ChannelDataPointDocument, mongoose.Document<unknown, {}, ChannelDataPointDocument, {
|
|
688
|
+
id: string;
|
|
689
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
690
|
+
c: string;
|
|
691
|
+
t: Date;
|
|
692
|
+
v: number;
|
|
693
|
+
} & Required<{
|
|
694
|
+
_id: mongoose.Types.ObjectId;
|
|
695
|
+
}> & {
|
|
696
|
+
__v: number;
|
|
697
|
+
}, "id"> & {
|
|
698
|
+
id: string;
|
|
699
|
+
}, {
|
|
700
|
+
_id?: mongoose.SchemaDefinitionProperty<mongoose.Types.ObjectId, ChannelDataPointDocument, mongoose.Document<unknown, {}, ChannelDataPointDocument, {
|
|
701
|
+
id: string;
|
|
702
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
703
|
+
c: string;
|
|
704
|
+
t: Date;
|
|
705
|
+
v: number;
|
|
706
|
+
} & Required<{
|
|
707
|
+
_id: mongoose.Types.ObjectId;
|
|
708
|
+
}> & {
|
|
709
|
+
__v: number;
|
|
710
|
+
}, "id"> & {
|
|
711
|
+
id: string;
|
|
712
|
+
}> | undefined;
|
|
713
|
+
c?: mongoose.SchemaDefinitionProperty<string, ChannelDataPointDocument, mongoose.Document<unknown, {}, ChannelDataPointDocument, {
|
|
714
|
+
id: string;
|
|
715
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
716
|
+
c: string;
|
|
717
|
+
t: Date;
|
|
718
|
+
v: number;
|
|
719
|
+
} & Required<{
|
|
720
|
+
_id: mongoose.Types.ObjectId;
|
|
721
|
+
}> & {
|
|
722
|
+
__v: number;
|
|
723
|
+
}, "id"> & {
|
|
724
|
+
id: string;
|
|
725
|
+
}> | undefined;
|
|
726
|
+
t?: mongoose.SchemaDefinitionProperty<Date, ChannelDataPointDocument, mongoose.Document<unknown, {}, ChannelDataPointDocument, {
|
|
727
|
+
id: string;
|
|
728
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
729
|
+
c: string;
|
|
730
|
+
t: Date;
|
|
731
|
+
v: number;
|
|
732
|
+
} & Required<{
|
|
733
|
+
_id: mongoose.Types.ObjectId;
|
|
734
|
+
}> & {
|
|
735
|
+
__v: number;
|
|
736
|
+
}, "id"> & {
|
|
737
|
+
id: string;
|
|
738
|
+
}> | undefined;
|
|
739
|
+
v?: mongoose.SchemaDefinitionProperty<number, ChannelDataPointDocument, mongoose.Document<unknown, {}, ChannelDataPointDocument, {
|
|
740
|
+
id: string;
|
|
741
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
742
|
+
c: string;
|
|
743
|
+
t: Date;
|
|
744
|
+
v: number;
|
|
745
|
+
} & Required<{
|
|
746
|
+
_id: mongoose.Types.ObjectId;
|
|
747
|
+
}> & {
|
|
748
|
+
__v: number;
|
|
749
|
+
}, "id"> & {
|
|
750
|
+
id: string;
|
|
751
|
+
}> | undefined;
|
|
752
|
+
}, ChannelDataPointDocument> & {
|
|
753
|
+
addTTLIndex?: (expirationTimeInSeconds?: number, ttlField?: string) => void;
|
|
754
|
+
};
|
|
755
|
+
Event: mongoose.Schema<EventDocument, mongoose.Model<EventDocument, any, any, any, (mongoose.Document<unknown, any, EventDocument, any, mongoose.DefaultSchemaOptions> & mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
756
|
+
event_message: string;
|
|
757
|
+
event_source: string;
|
|
758
|
+
event_user?: string;
|
|
759
|
+
event_category: typeof EventCategories;
|
|
760
|
+
event_criticality: typeof EventCriticalities;
|
|
761
|
+
event_type: string;
|
|
762
|
+
event_timestamp: Date;
|
|
763
|
+
event_data?: Object;
|
|
764
|
+
} & Required<{
|
|
765
|
+
_id: mongoose.Types.ObjectId;
|
|
766
|
+
}> & {
|
|
767
|
+
__v: number;
|
|
768
|
+
} & {
|
|
769
|
+
id: string;
|
|
770
|
+
}) | (mongoose.Document<unknown, any, EventDocument, any, mongoose.DefaultSchemaOptions> & mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
771
|
+
event_message: string;
|
|
772
|
+
event_source: string;
|
|
773
|
+
event_user?: string;
|
|
774
|
+
event_category: typeof EventCategories;
|
|
775
|
+
event_criticality: typeof EventCriticalities;
|
|
776
|
+
event_type: string;
|
|
777
|
+
event_timestamp: Date;
|
|
778
|
+
event_data?: Object;
|
|
779
|
+
} & Required<{
|
|
780
|
+
_id: mongoose.Types.ObjectId;
|
|
781
|
+
}> & {
|
|
782
|
+
__v: number;
|
|
783
|
+
}), any, EventDocument>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, EventDocument, mongoose.Document<unknown, {}, EventDocument, {
|
|
784
|
+
id: string;
|
|
785
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
786
|
+
event_message: string;
|
|
787
|
+
event_source: string;
|
|
788
|
+
event_user?: string;
|
|
789
|
+
event_category: typeof EventCategories;
|
|
790
|
+
event_criticality: typeof EventCriticalities;
|
|
791
|
+
event_type: string;
|
|
792
|
+
event_timestamp: Date;
|
|
793
|
+
event_data?: Object;
|
|
794
|
+
} & Required<{
|
|
795
|
+
_id: mongoose.Types.ObjectId;
|
|
796
|
+
}> & {
|
|
797
|
+
__v: number;
|
|
798
|
+
}, "id"> & {
|
|
799
|
+
id: string;
|
|
800
|
+
}, {
|
|
801
|
+
_id?: mongoose.SchemaDefinitionProperty<mongoose.Types.ObjectId, EventDocument, mongoose.Document<unknown, {}, EventDocument, {
|
|
802
|
+
id: string;
|
|
803
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
804
|
+
event_message: string;
|
|
805
|
+
event_source: string;
|
|
806
|
+
event_user?: string;
|
|
807
|
+
event_category: typeof EventCategories;
|
|
808
|
+
event_criticality: typeof EventCriticalities;
|
|
809
|
+
event_type: string;
|
|
810
|
+
event_timestamp: Date;
|
|
811
|
+
event_data?: Object;
|
|
812
|
+
} & Required<{
|
|
813
|
+
_id: mongoose.Types.ObjectId;
|
|
814
|
+
}> & {
|
|
815
|
+
__v: number;
|
|
816
|
+
}, "id"> & {
|
|
817
|
+
id: string;
|
|
818
|
+
}> | undefined;
|
|
819
|
+
event_message?: mongoose.SchemaDefinitionProperty<string, EventDocument, mongoose.Document<unknown, {}, EventDocument, {
|
|
820
|
+
id: string;
|
|
821
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
822
|
+
event_message: string;
|
|
823
|
+
event_source: string;
|
|
824
|
+
event_user?: string;
|
|
825
|
+
event_category: typeof EventCategories;
|
|
826
|
+
event_criticality: typeof EventCriticalities;
|
|
827
|
+
event_type: string;
|
|
828
|
+
event_timestamp: Date;
|
|
829
|
+
event_data?: Object;
|
|
830
|
+
} & Required<{
|
|
831
|
+
_id: mongoose.Types.ObjectId;
|
|
832
|
+
}> & {
|
|
833
|
+
__v: number;
|
|
834
|
+
}, "id"> & {
|
|
835
|
+
id: string;
|
|
836
|
+
}> | undefined;
|
|
837
|
+
event_source?: mongoose.SchemaDefinitionProperty<string, EventDocument, mongoose.Document<unknown, {}, EventDocument, {
|
|
838
|
+
id: string;
|
|
839
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
840
|
+
event_message: string;
|
|
841
|
+
event_source: string;
|
|
842
|
+
event_user?: string;
|
|
843
|
+
event_category: typeof EventCategories;
|
|
844
|
+
event_criticality: typeof EventCriticalities;
|
|
845
|
+
event_type: string;
|
|
846
|
+
event_timestamp: Date;
|
|
847
|
+
event_data?: Object;
|
|
848
|
+
} & Required<{
|
|
849
|
+
_id: mongoose.Types.ObjectId;
|
|
850
|
+
}> & {
|
|
851
|
+
__v: number;
|
|
852
|
+
}, "id"> & {
|
|
853
|
+
id: string;
|
|
854
|
+
}> | undefined;
|
|
855
|
+
event_user?: mongoose.SchemaDefinitionProperty<string | undefined, EventDocument, mongoose.Document<unknown, {}, EventDocument, {
|
|
856
|
+
id: string;
|
|
857
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
858
|
+
event_message: string;
|
|
859
|
+
event_source: string;
|
|
860
|
+
event_user?: string;
|
|
861
|
+
event_category: typeof EventCategories;
|
|
862
|
+
event_criticality: typeof EventCriticalities;
|
|
863
|
+
event_type: string;
|
|
864
|
+
event_timestamp: Date;
|
|
865
|
+
event_data?: Object;
|
|
866
|
+
} & Required<{
|
|
867
|
+
_id: mongoose.Types.ObjectId;
|
|
868
|
+
}> & {
|
|
869
|
+
__v: number;
|
|
870
|
+
}, "id"> & {
|
|
871
|
+
id: string;
|
|
872
|
+
}> | undefined;
|
|
873
|
+
event_category?: mongoose.SchemaDefinitionProperty<{
|
|
731
874
|
readonly ACCESS_CONTROL: "AccessControl";
|
|
732
875
|
readonly REQUEST_ERROR: "RequestErrors";
|
|
733
876
|
readonly OS: "OperatingSystemEvents";
|
|
@@ -736,204 +879,850 @@ declare const _default: {
|
|
|
736
879
|
readonly CONFIG_CHANGE: "ConfigurationChanges";
|
|
737
880
|
readonly LOGS: "AuditLogEvents";
|
|
738
881
|
readonly POTENTIAL_ATTACK: "PotentialAttackActivity";
|
|
882
|
+
}, EventDocument, mongoose.Document<unknown, {}, EventDocument, {
|
|
883
|
+
id: string;
|
|
884
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
885
|
+
event_message: string;
|
|
886
|
+
event_source: string;
|
|
887
|
+
event_user?: string;
|
|
888
|
+
event_category: typeof EventCategories;
|
|
889
|
+
event_criticality: typeof EventCriticalities;
|
|
890
|
+
event_type: string;
|
|
891
|
+
event_timestamp: Date;
|
|
892
|
+
event_data?: Object;
|
|
893
|
+
} & Required<{
|
|
894
|
+
_id: mongoose.Types.ObjectId;
|
|
895
|
+
}> & {
|
|
896
|
+
__v: number;
|
|
897
|
+
}, "id"> & {
|
|
898
|
+
id: string;
|
|
899
|
+
}> | undefined;
|
|
900
|
+
event_criticality?: mongoose.SchemaDefinitionProperty<{
|
|
901
|
+
readonly VERBOSE: "Verbose";
|
|
902
|
+
readonly INFO: "Info";
|
|
903
|
+
readonly WARNING: "Warning";
|
|
904
|
+
readonly ERROR: "Error";
|
|
905
|
+
readonly CRITICAL: "Critical";
|
|
906
|
+
}, EventDocument, mongoose.Document<unknown, {}, EventDocument, {
|
|
907
|
+
id: string;
|
|
908
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
909
|
+
event_message: string;
|
|
910
|
+
event_source: string;
|
|
911
|
+
event_user?: string;
|
|
912
|
+
event_category: typeof EventCategories;
|
|
913
|
+
event_criticality: typeof EventCriticalities;
|
|
914
|
+
event_type: string;
|
|
915
|
+
event_timestamp: Date;
|
|
916
|
+
event_data?: Object;
|
|
917
|
+
} & Required<{
|
|
918
|
+
_id: mongoose.Types.ObjectId;
|
|
919
|
+
}> & {
|
|
920
|
+
__v: number;
|
|
921
|
+
}, "id"> & {
|
|
922
|
+
id: string;
|
|
923
|
+
}> | undefined;
|
|
924
|
+
event_type?: mongoose.SchemaDefinitionProperty<string, EventDocument, mongoose.Document<unknown, {}, EventDocument, {
|
|
925
|
+
id: string;
|
|
926
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
927
|
+
event_message: string;
|
|
928
|
+
event_source: string;
|
|
929
|
+
event_user?: string;
|
|
930
|
+
event_category: typeof EventCategories;
|
|
931
|
+
event_criticality: typeof EventCriticalities;
|
|
932
|
+
event_type: string;
|
|
933
|
+
event_timestamp: Date;
|
|
934
|
+
event_data?: Object;
|
|
935
|
+
} & Required<{
|
|
936
|
+
_id: mongoose.Types.ObjectId;
|
|
937
|
+
}> & {
|
|
938
|
+
__v: number;
|
|
939
|
+
}, "id"> & {
|
|
940
|
+
id: string;
|
|
941
|
+
}> | undefined;
|
|
942
|
+
event_timestamp?: mongoose.SchemaDefinitionProperty<Date, EventDocument, mongoose.Document<unknown, {}, EventDocument, {
|
|
943
|
+
id: string;
|
|
944
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
945
|
+
event_message: string;
|
|
946
|
+
event_source: string;
|
|
947
|
+
event_user?: string;
|
|
948
|
+
event_category: typeof EventCategories;
|
|
949
|
+
event_criticality: typeof EventCriticalities;
|
|
950
|
+
event_type: string;
|
|
951
|
+
event_timestamp: Date;
|
|
952
|
+
event_data?: Object;
|
|
953
|
+
} & Required<{
|
|
954
|
+
_id: mongoose.Types.ObjectId;
|
|
955
|
+
}> & {
|
|
956
|
+
__v: number;
|
|
957
|
+
}, "id"> & {
|
|
958
|
+
id: string;
|
|
959
|
+
}> | undefined;
|
|
960
|
+
event_data?: mongoose.SchemaDefinitionProperty<Object | undefined, EventDocument, mongoose.Document<unknown, {}, EventDocument, {
|
|
961
|
+
id: string;
|
|
962
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
963
|
+
event_message: string;
|
|
964
|
+
event_source: string;
|
|
965
|
+
event_user?: string;
|
|
966
|
+
event_category: typeof EventCategories;
|
|
967
|
+
event_criticality: typeof EventCriticalities;
|
|
968
|
+
event_type: string;
|
|
969
|
+
event_timestamp: Date;
|
|
970
|
+
event_data?: Object;
|
|
971
|
+
} & Required<{
|
|
972
|
+
_id: mongoose.Types.ObjectId;
|
|
973
|
+
}> & {
|
|
974
|
+
__v: number;
|
|
975
|
+
}, "id"> & {
|
|
976
|
+
id: string;
|
|
977
|
+
}> | undefined;
|
|
978
|
+
}, EventDocument> & {
|
|
979
|
+
addTTLIndex?: (expirationTimeInSeconds?: number, ttlField?: string) => void;
|
|
980
|
+
};
|
|
981
|
+
History: mongoose.Schema<HistoryDocument, mongoose.Model<HistoryDocument, any, any, any, (mongoose.Document<unknown, any, HistoryDocument, any, mongoose.DefaultSchemaOptions> & mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
982
|
+
channel_tag: string;
|
|
983
|
+
alarm_timestamp: Date;
|
|
984
|
+
alarm_priority: AlarmPriority;
|
|
985
|
+
alarm_original_state: DiamarAlarmState;
|
|
986
|
+
alarm_state: CloudAlarmState;
|
|
987
|
+
alarm_type: AlarmType;
|
|
988
|
+
alarm_value?: number;
|
|
989
|
+
alarm_message?: string;
|
|
990
|
+
alarm_data?: Object;
|
|
991
|
+
} & Required<{
|
|
992
|
+
_id: mongoose.Types.ObjectId;
|
|
993
|
+
}> & {
|
|
994
|
+
__v: number;
|
|
995
|
+
} & {
|
|
996
|
+
id: string;
|
|
997
|
+
}) | (mongoose.Document<unknown, any, HistoryDocument, any, mongoose.DefaultSchemaOptions> & mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
998
|
+
channel_tag: string;
|
|
999
|
+
alarm_timestamp: Date;
|
|
1000
|
+
alarm_priority: AlarmPriority;
|
|
1001
|
+
alarm_original_state: DiamarAlarmState;
|
|
1002
|
+
alarm_state: CloudAlarmState;
|
|
1003
|
+
alarm_type: AlarmType;
|
|
1004
|
+
alarm_value?: number;
|
|
1005
|
+
alarm_message?: string;
|
|
1006
|
+
alarm_data?: Object;
|
|
1007
|
+
} & Required<{
|
|
1008
|
+
_id: mongoose.Types.ObjectId;
|
|
1009
|
+
}> & {
|
|
1010
|
+
__v: number;
|
|
1011
|
+
}), any, HistoryDocument>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, HistoryDocument, mongoose.Document<unknown, {}, HistoryDocument, {
|
|
1012
|
+
id: string;
|
|
1013
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
1014
|
+
channel_tag: string;
|
|
1015
|
+
alarm_timestamp: Date;
|
|
1016
|
+
alarm_priority: AlarmPriority;
|
|
1017
|
+
alarm_original_state: DiamarAlarmState;
|
|
1018
|
+
alarm_state: CloudAlarmState;
|
|
1019
|
+
alarm_type: AlarmType;
|
|
1020
|
+
alarm_value?: number;
|
|
1021
|
+
alarm_message?: string;
|
|
1022
|
+
alarm_data?: Object;
|
|
1023
|
+
} & Required<{
|
|
1024
|
+
_id: mongoose.Types.ObjectId;
|
|
1025
|
+
}> & {
|
|
1026
|
+
__v: number;
|
|
1027
|
+
}, "id"> & {
|
|
1028
|
+
id: string;
|
|
1029
|
+
}, {
|
|
1030
|
+
_id?: mongoose.SchemaDefinitionProperty<mongoose.Types.ObjectId, HistoryDocument, mongoose.Document<unknown, {}, HistoryDocument, {
|
|
1031
|
+
id: string;
|
|
1032
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
1033
|
+
channel_tag: string;
|
|
1034
|
+
alarm_timestamp: Date;
|
|
1035
|
+
alarm_priority: AlarmPriority;
|
|
1036
|
+
alarm_original_state: DiamarAlarmState;
|
|
1037
|
+
alarm_state: CloudAlarmState;
|
|
1038
|
+
alarm_type: AlarmType;
|
|
1039
|
+
alarm_value?: number;
|
|
1040
|
+
alarm_message?: string;
|
|
1041
|
+
alarm_data?: Object;
|
|
1042
|
+
} & Required<{
|
|
1043
|
+
_id: mongoose.Types.ObjectId;
|
|
1044
|
+
}> & {
|
|
1045
|
+
__v: number;
|
|
1046
|
+
}, "id"> & {
|
|
1047
|
+
id: string;
|
|
1048
|
+
}> | undefined;
|
|
1049
|
+
channel_tag?: mongoose.SchemaDefinitionProperty<string, HistoryDocument, mongoose.Document<unknown, {}, HistoryDocument, {
|
|
1050
|
+
id: string;
|
|
1051
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
1052
|
+
channel_tag: string;
|
|
1053
|
+
alarm_timestamp: Date;
|
|
1054
|
+
alarm_priority: AlarmPriority;
|
|
1055
|
+
alarm_original_state: DiamarAlarmState;
|
|
1056
|
+
alarm_state: CloudAlarmState;
|
|
1057
|
+
alarm_type: AlarmType;
|
|
1058
|
+
alarm_value?: number;
|
|
1059
|
+
alarm_message?: string;
|
|
1060
|
+
alarm_data?: Object;
|
|
1061
|
+
} & Required<{
|
|
1062
|
+
_id: mongoose.Types.ObjectId;
|
|
1063
|
+
}> & {
|
|
1064
|
+
__v: number;
|
|
1065
|
+
}, "id"> & {
|
|
1066
|
+
id: string;
|
|
1067
|
+
}> | undefined;
|
|
1068
|
+
alarm_timestamp?: mongoose.SchemaDefinitionProperty<Date, HistoryDocument, mongoose.Document<unknown, {}, HistoryDocument, {
|
|
1069
|
+
id: string;
|
|
1070
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
1071
|
+
channel_tag: string;
|
|
1072
|
+
alarm_timestamp: Date;
|
|
1073
|
+
alarm_priority: AlarmPriority;
|
|
1074
|
+
alarm_original_state: DiamarAlarmState;
|
|
1075
|
+
alarm_state: CloudAlarmState;
|
|
1076
|
+
alarm_type: AlarmType;
|
|
1077
|
+
alarm_value?: number;
|
|
1078
|
+
alarm_message?: string;
|
|
1079
|
+
alarm_data?: Object;
|
|
1080
|
+
} & Required<{
|
|
1081
|
+
_id: mongoose.Types.ObjectId;
|
|
1082
|
+
}> & {
|
|
1083
|
+
__v: number;
|
|
1084
|
+
}, "id"> & {
|
|
1085
|
+
id: string;
|
|
1086
|
+
}> | undefined;
|
|
1087
|
+
alarm_priority?: mongoose.SchemaDefinitionProperty<AlarmPriority, HistoryDocument, mongoose.Document<unknown, {}, HistoryDocument, {
|
|
1088
|
+
id: string;
|
|
1089
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
1090
|
+
channel_tag: string;
|
|
1091
|
+
alarm_timestamp: Date;
|
|
1092
|
+
alarm_priority: AlarmPriority;
|
|
1093
|
+
alarm_original_state: DiamarAlarmState;
|
|
1094
|
+
alarm_state: CloudAlarmState;
|
|
1095
|
+
alarm_type: AlarmType;
|
|
1096
|
+
alarm_value?: number;
|
|
1097
|
+
alarm_message?: string;
|
|
1098
|
+
alarm_data?: Object;
|
|
1099
|
+
} & Required<{
|
|
1100
|
+
_id: mongoose.Types.ObjectId;
|
|
1101
|
+
}> & {
|
|
1102
|
+
__v: number;
|
|
1103
|
+
}, "id"> & {
|
|
1104
|
+
id: string;
|
|
1105
|
+
}> | undefined;
|
|
1106
|
+
alarm_original_state?: mongoose.SchemaDefinitionProperty<DiamarAlarmState, HistoryDocument, mongoose.Document<unknown, {}, HistoryDocument, {
|
|
1107
|
+
id: string;
|
|
1108
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
1109
|
+
channel_tag: string;
|
|
1110
|
+
alarm_timestamp: Date;
|
|
1111
|
+
alarm_priority: AlarmPriority;
|
|
1112
|
+
alarm_original_state: DiamarAlarmState;
|
|
1113
|
+
alarm_state: CloudAlarmState;
|
|
1114
|
+
alarm_type: AlarmType;
|
|
1115
|
+
alarm_value?: number;
|
|
1116
|
+
alarm_message?: string;
|
|
1117
|
+
alarm_data?: Object;
|
|
1118
|
+
} & Required<{
|
|
1119
|
+
_id: mongoose.Types.ObjectId;
|
|
1120
|
+
}> & {
|
|
1121
|
+
__v: number;
|
|
1122
|
+
}, "id"> & {
|
|
1123
|
+
id: string;
|
|
1124
|
+
}> | undefined;
|
|
1125
|
+
alarm_state?: mongoose.SchemaDefinitionProperty<CloudAlarmState, HistoryDocument, mongoose.Document<unknown, {}, HistoryDocument, {
|
|
1126
|
+
id: string;
|
|
1127
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
1128
|
+
channel_tag: string;
|
|
1129
|
+
alarm_timestamp: Date;
|
|
1130
|
+
alarm_priority: AlarmPriority;
|
|
1131
|
+
alarm_original_state: DiamarAlarmState;
|
|
1132
|
+
alarm_state: CloudAlarmState;
|
|
1133
|
+
alarm_type: AlarmType;
|
|
1134
|
+
alarm_value?: number;
|
|
1135
|
+
alarm_message?: string;
|
|
1136
|
+
alarm_data?: Object;
|
|
1137
|
+
} & Required<{
|
|
1138
|
+
_id: mongoose.Types.ObjectId;
|
|
1139
|
+
}> & {
|
|
1140
|
+
__v: number;
|
|
1141
|
+
}, "id"> & {
|
|
1142
|
+
id: string;
|
|
1143
|
+
}> | undefined;
|
|
1144
|
+
alarm_type?: mongoose.SchemaDefinitionProperty<AlarmType, HistoryDocument, mongoose.Document<unknown, {}, HistoryDocument, {
|
|
1145
|
+
id: string;
|
|
1146
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
1147
|
+
channel_tag: string;
|
|
1148
|
+
alarm_timestamp: Date;
|
|
1149
|
+
alarm_priority: AlarmPriority;
|
|
1150
|
+
alarm_original_state: DiamarAlarmState;
|
|
1151
|
+
alarm_state: CloudAlarmState;
|
|
1152
|
+
alarm_type: AlarmType;
|
|
1153
|
+
alarm_value?: number;
|
|
1154
|
+
alarm_message?: string;
|
|
1155
|
+
alarm_data?: Object;
|
|
1156
|
+
} & Required<{
|
|
1157
|
+
_id: mongoose.Types.ObjectId;
|
|
1158
|
+
}> & {
|
|
1159
|
+
__v: number;
|
|
1160
|
+
}, "id"> & {
|
|
1161
|
+
id: string;
|
|
1162
|
+
}> | undefined;
|
|
1163
|
+
alarm_value?: mongoose.SchemaDefinitionProperty<number | undefined, HistoryDocument, mongoose.Document<unknown, {}, HistoryDocument, {
|
|
1164
|
+
id: string;
|
|
1165
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
1166
|
+
channel_tag: string;
|
|
1167
|
+
alarm_timestamp: Date;
|
|
1168
|
+
alarm_priority: AlarmPriority;
|
|
1169
|
+
alarm_original_state: DiamarAlarmState;
|
|
1170
|
+
alarm_state: CloudAlarmState;
|
|
1171
|
+
alarm_type: AlarmType;
|
|
1172
|
+
alarm_value?: number;
|
|
1173
|
+
alarm_message?: string;
|
|
1174
|
+
alarm_data?: Object;
|
|
1175
|
+
} & Required<{
|
|
1176
|
+
_id: mongoose.Types.ObjectId;
|
|
1177
|
+
}> & {
|
|
1178
|
+
__v: number;
|
|
1179
|
+
}, "id"> & {
|
|
1180
|
+
id: string;
|
|
1181
|
+
}> | undefined;
|
|
1182
|
+
alarm_message?: mongoose.SchemaDefinitionProperty<string | undefined, HistoryDocument, mongoose.Document<unknown, {}, HistoryDocument, {
|
|
1183
|
+
id: string;
|
|
1184
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
1185
|
+
channel_tag: string;
|
|
1186
|
+
alarm_timestamp: Date;
|
|
1187
|
+
alarm_priority: AlarmPriority;
|
|
1188
|
+
alarm_original_state: DiamarAlarmState;
|
|
1189
|
+
alarm_state: CloudAlarmState;
|
|
1190
|
+
alarm_type: AlarmType;
|
|
1191
|
+
alarm_value?: number;
|
|
1192
|
+
alarm_message?: string;
|
|
1193
|
+
alarm_data?: Object;
|
|
1194
|
+
} & Required<{
|
|
1195
|
+
_id: mongoose.Types.ObjectId;
|
|
1196
|
+
}> & {
|
|
1197
|
+
__v: number;
|
|
1198
|
+
}, "id"> & {
|
|
1199
|
+
id: string;
|
|
1200
|
+
}> | undefined;
|
|
1201
|
+
alarm_data?: mongoose.SchemaDefinitionProperty<Object | undefined, HistoryDocument, mongoose.Document<unknown, {}, HistoryDocument, {
|
|
1202
|
+
id: string;
|
|
1203
|
+
}, mongoose.DefaultSchemaOptions> & Omit<mongoose.Document<mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & {
|
|
1204
|
+
channel_tag: string;
|
|
1205
|
+
alarm_timestamp: Date;
|
|
1206
|
+
alarm_priority: AlarmPriority;
|
|
1207
|
+
alarm_original_state: DiamarAlarmState;
|
|
1208
|
+
alarm_state: CloudAlarmState;
|
|
1209
|
+
alarm_type: AlarmType;
|
|
1210
|
+
alarm_value?: number;
|
|
1211
|
+
alarm_message?: string;
|
|
1212
|
+
alarm_data?: Object;
|
|
1213
|
+
} & Required<{
|
|
1214
|
+
_id: mongoose.Types.ObjectId;
|
|
1215
|
+
}> & {
|
|
1216
|
+
__v: number;
|
|
1217
|
+
}, "id"> & {
|
|
1218
|
+
id: string;
|
|
1219
|
+
}> | undefined;
|
|
1220
|
+
}, HistoryDocument> & {
|
|
1221
|
+
addTTLIndex?: (expirationTimeInSeconds?: number, ttlField?: string) => void;
|
|
1222
|
+
};
|
|
1223
|
+
Unit: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
1224
|
+
timestamps: true;
|
|
1225
|
+
collection: string;
|
|
1226
|
+
toJSON: {
|
|
1227
|
+
transform: (doc: UnitDocument, ret: any) => void;
|
|
739
1228
|
};
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
1229
|
+
}, {
|
|
1230
|
+
unit_id: string;
|
|
1231
|
+
unit_enabled: boolean;
|
|
1232
|
+
unit_type: "Aim18" | "Dim36" | "Diom24" | "Klim" | "Lum" | "Pmm" | "Slim" | "Tim28";
|
|
1233
|
+
unit_internal_description: string;
|
|
1234
|
+
unit_cabinet_id?: string | null | undefined;
|
|
1235
|
+
} & mongoose.DefaultTimestampProps, UnitDocument, {
|
|
1236
|
+
[path: string]: mongoose.SchemaDefinitionProperty<undefined, any, any>;
|
|
1237
|
+
} | {
|
|
1238
|
+
[x: string]: mongoose.SchemaDefinitionProperty<any, any, UnitDocument> | undefined;
|
|
1239
|
+
}, {
|
|
1240
|
+
unit_id: string;
|
|
1241
|
+
unit_enabled: boolean;
|
|
1242
|
+
unit_type: "Aim18" | "Dim36" | "Diom24" | "Klim" | "Lum" | "Pmm" | "Slim" | "Tim28";
|
|
1243
|
+
unit_internal_description: string;
|
|
1244
|
+
unit_cabinet_id?: string | null | undefined;
|
|
1245
|
+
createdAt: NativeDate;
|
|
1246
|
+
updatedAt: NativeDate;
|
|
1247
|
+
} & {
|
|
1248
|
+
_id: mongoose.Types.ObjectId;
|
|
1249
|
+
} & {
|
|
1250
|
+
__v: number;
|
|
1251
|
+
}>;
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
declare const Mimics: {
|
|
1255
|
+
ImageAuxiliaryJson: ImageAuxiliaryJsonSchema;
|
|
1256
|
+
LineAuxiliaryJson: LineAuxiliaryJsonSchema;
|
|
1257
|
+
LinkAuxiliaryJson: LinkAuxiliaryJsonSchema;
|
|
1258
|
+
PolylineAuxiliaryJson: PolylineAuxiliaryJsonSchema;
|
|
1259
|
+
SquareAuxiliaryJson: SquareAuxiliaryJsonSchema;
|
|
1260
|
+
TextAuxiliaryJson: TextAuxiliaryJsonSchema;
|
|
1261
|
+
ChannelJson: ChannelJsonSchema;
|
|
1262
|
+
CompressorJson: CompressorJsonSchema;
|
|
1263
|
+
DamperJson: DamperJsonSchema;
|
|
1264
|
+
DamperAutomatedJson: DamperAutomatedJsonSchema;
|
|
1265
|
+
FanJson: FanJsonSchema;
|
|
1266
|
+
PumpJson: PumpJsonSchema;
|
|
1267
|
+
PumpAutomatedJson: PumpAutomatedJsonSchema;
|
|
1268
|
+
TankJson: TankJsonSchema;
|
|
1269
|
+
ValveJson: ValveJsonSchema;
|
|
1270
|
+
ValveAutomatedJson: ValveAutomatedJsonSchema;
|
|
1271
|
+
AlarmIndicatorJson: AlarmIndicatorJsonSchema;
|
|
1272
|
+
CommandJson: CommandJsonSchema;
|
|
1273
|
+
DialJson: DialJsonSchema;
|
|
1274
|
+
DigitalJson: DigitalJsonSchema;
|
|
1275
|
+
DisplayJson: DisplayJsonSchema;
|
|
1276
|
+
DynamicTextJson: DynamicTextJsonSchema;
|
|
1277
|
+
LevelBarJson: LevelBarJsonSchema;
|
|
1278
|
+
SliderJson: SliderJsonSchema;
|
|
1279
|
+
TextChannelJson: TextChannelJsonSchema;
|
|
1280
|
+
ToggleJson: ToggleJsonSchema;
|
|
1281
|
+
CabinetJson: CabinetJsonSchema;
|
|
1282
|
+
RepeaterJson: RepeaterJsonSchema;
|
|
1283
|
+
StationJson: StationJsonSchema;
|
|
1284
|
+
UnitJson: UnitJsonSchema;
|
|
1285
|
+
AddedAlarmsJson: AddedAlarmsJsonSchema;
|
|
1286
|
+
BackgroundJson: BackgroundJsonSchema;
|
|
1287
|
+
LineJson: LineJsonSchema;
|
|
1288
|
+
LocalizedTextJson: LocalizedTextJsonSchema;
|
|
1289
|
+
LocationJson: LocationJsonSchema;
|
|
1290
|
+
LogicExpressionJson: LogicExpressionJsonSchema;
|
|
1291
|
+
LogicExpressionsJson: LogicExpressionsJsonSchema;
|
|
1292
|
+
ScaleJson: ScaleJsonSchema;
|
|
1293
|
+
TextAttributesJson: TextAttributesJsonSchema;
|
|
1294
|
+
TitleJson: TitleJsonSchema;
|
|
1295
|
+
AutomaticSemiAutoJson: AutomaticSemiAutoJsonSchema;
|
|
1296
|
+
CommandsOpClJson: CommandsOpClJsonSchema;
|
|
1297
|
+
CommandsStartStopJson: CommandsStartStopJsonSchema;
|
|
1298
|
+
ControlLockJson: ControlLockJsonSchema;
|
|
1299
|
+
FeedbackOpClJson: FeedbackOpClJsonSchema;
|
|
1300
|
+
FeedbackRunningStoppedJson: FeedbackRunningStoppedJsonSchema;
|
|
1301
|
+
OrderOpClJson: OrderOpClJsonSchema;
|
|
1302
|
+
OrderStartStopJson: OrderStartStopJsonSchema;
|
|
1303
|
+
RemoteLocalJson: RemoteLocalJsonSchema;
|
|
1304
|
+
TripResetJson: TripResetJsonSchema;
|
|
1305
|
+
BreakerJson: BreakerJsonSchema;
|
|
1306
|
+
BreakerPmsJson: BreakerPmsJsonSchema;
|
|
1307
|
+
GeneratorJson: GeneratorJsonSchema;
|
|
1308
|
+
GeneratorPmsJson: GeneratorPmsJsonSchema;
|
|
1309
|
+
OperationModesJson: OperationModesJsonSchema;
|
|
1310
|
+
PriorityDataJson: PriorityDataJsonSchema;
|
|
1311
|
+
PrioritiesJson: PrioritiesJsonSchema;
|
|
1312
|
+
ShaftJson: ShaftJsonSchema;
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
declare const MimicsRequest: {
|
|
1316
|
+
ImageAuxiliaryRequest: ImageAuxiliaryRequestSchema;
|
|
1317
|
+
LineAuxiliaryRequest: LineAuxiliaryRequestSchema;
|
|
1318
|
+
LinkAuxiliaryRequest: LinkAuxiliaryRequestSchema;
|
|
1319
|
+
PolylineAuxiliaryRequest: PolylineAuxiliaryRequestSchema;
|
|
1320
|
+
SquareAuxiliaryRequest: SquareAuxiliaryRequestSchema;
|
|
1321
|
+
TextAuxiliaryRequest: TextAuxiliaryRequestSchema;
|
|
1322
|
+
ChannelRequest: ChannelRequestSchema;
|
|
1323
|
+
CompressorRequest: CompressorRequestSchema;
|
|
1324
|
+
DamperRequest: DamperRequestSchema;
|
|
1325
|
+
DamperAutomatedRequest: DamperAutomatedRequestSchema;
|
|
1326
|
+
FanRequest: FanRequestSchema;
|
|
1327
|
+
PumpRequest: PumpRequestSchema;
|
|
1328
|
+
PumpAutomatedRequest: PumpAutomatedRequestSchema;
|
|
1329
|
+
TankRequest: TankRequestSchema;
|
|
1330
|
+
ValveRequest: ValveRequestSchema;
|
|
1331
|
+
ValveAutomatedRequest: ValveAutomatedRequestSchema;
|
|
1332
|
+
AlarmIndicatorRequest: AlarmIndicatorRequestSchema;
|
|
1333
|
+
CommandRequest: CommandRequestSchema;
|
|
1334
|
+
DialRequest: DialRequestSchema;
|
|
1335
|
+
DigitalRequest: DigitalRequestSchema;
|
|
1336
|
+
DisplayRequest: DisplayRequestSchema;
|
|
1337
|
+
DynamicTextRequest: DynamicTextRequestSchema;
|
|
1338
|
+
LevelBarRequest: LevelBarRequestSchema;
|
|
1339
|
+
SliderRequest: SliderRequestSchema;
|
|
1340
|
+
TextChannelRequest: TextChannelRequestSchema;
|
|
1341
|
+
ToggleRequest: ToggleRequestSchema;
|
|
1342
|
+
CabinetRequest: CabinetRequestSchema;
|
|
1343
|
+
RepeaterRequest: RepeaterRequestSchema;
|
|
1344
|
+
StationRequest: StationRequestSchema;
|
|
1345
|
+
UnitRequest: UnitRequestSchema;
|
|
1346
|
+
AutomaticSemiAutoRequest: AutomaticSemiAutoRequestSchema;
|
|
1347
|
+
CommandsOpClRequest: CommandsOpClRequestSchema;
|
|
1348
|
+
CommandsStartStopRequest: CommandsStartStopRequestSchema;
|
|
1349
|
+
ControlLockRequest: ControlLockRequestSchema;
|
|
1350
|
+
FeedbackOpClRequest: FeedbackOpClRequestSchema;
|
|
1351
|
+
FeedbackRunningStoppedRequest: FeedbackRunningStoppedRequestSchema;
|
|
1352
|
+
OrderOpClRequest: OrderOpClRequestSchema;
|
|
1353
|
+
OrderStartStopRequest: OrderStartStopRequestSchema;
|
|
1354
|
+
RemoteLocalRequest: RemoteLocalRequestSchema;
|
|
1355
|
+
TripResetRequest: TripResetRequestSchema;
|
|
1356
|
+
BreakerRequest: BreakerRequestSchema;
|
|
1357
|
+
BreakerPmsRequest: BreakerPmsRequestSchema;
|
|
1358
|
+
GeneratorRequest: GeneratorRequestSchema;
|
|
1359
|
+
GeneratorPmsRequest: GeneratorPmsRequestSchema;
|
|
1360
|
+
OperationModesRequest: OperationModesRequestSchema;
|
|
1361
|
+
PriorityDataRequest: PriorityDataRequestSchema;
|
|
1362
|
+
PrioritiesRequest: PrioritiesRequestSchema;
|
|
1363
|
+
ShaftRequest: ShaftRequestSchema;
|
|
1364
|
+
};
|
|
1365
|
+
|
|
1366
|
+
declare const MimicsResponse: {
|
|
1367
|
+
ImageAuxiliaryResponse: ImageAuxiliaryResponseSchema;
|
|
1368
|
+
LineAuxiliaryResponse: LineAuxiliaryResponseSchema;
|
|
1369
|
+
LinkAuxiliaryResponse: LinkAuxiliaryResponseSchema;
|
|
1370
|
+
PolylineAuxiliaryResponse: PolylineAuxiliaryResponseSchema;
|
|
1371
|
+
SquareAuxiliaryResponse: SquareAuxiliaryResponseSchema;
|
|
1372
|
+
TextAuxiliaryResponse: TextAuxiliaryResponseSchema;
|
|
1373
|
+
CompressorResponse: CompressorResponseSchema;
|
|
1374
|
+
DamperResponse: DamperResponseSchema;
|
|
1375
|
+
DamperAutomatedResponse: DamperAutomatedResponseSchema;
|
|
1376
|
+
FanResponse: FanResponseSchema;
|
|
1377
|
+
PumpResponse: PumpResponseSchema;
|
|
1378
|
+
PumpAutomatedResponse: PumpAutomatedResponseSchema;
|
|
1379
|
+
TankResponse: TankResponseSchema;
|
|
1380
|
+
ValveResponse: ValveResponseSchema;
|
|
1381
|
+
ValveAutomatedResponse: ValveAutomatedResponseSchema;
|
|
1382
|
+
AlarmIndicatorResponse: AlarmIndicatorResponseSchema;
|
|
1383
|
+
CommandResponse: CommandResponseSchema;
|
|
1384
|
+
DialResponse: DialResponseSchema;
|
|
1385
|
+
DigitalResponse: DigitalResponseSchema;
|
|
1386
|
+
DisplayResponse: DisplayResponseSchema;
|
|
1387
|
+
DynamicTextResponse: DynamicTextResponseSchema;
|
|
1388
|
+
LevelBarResponse: LevelBarResponseSchema;
|
|
1389
|
+
SliderResponse: SliderResponseSchema;
|
|
1390
|
+
TextChannelResponse: TextChannelResponseSchema;
|
|
1391
|
+
ToggleResponse: ToggleResponseSchema;
|
|
1392
|
+
CabinetResponse: CabinetResponseSchema;
|
|
1393
|
+
RepeaterResponse: RepeaterResponseSchema;
|
|
1394
|
+
StationResponse: StationResponseSchema;
|
|
1395
|
+
UnitResponse: UnitResponseSchema;
|
|
1396
|
+
BreakerResponse: BreakerResponseSchema;
|
|
1397
|
+
BreakerPmsResponse: BreakerPmsResponseSchema;
|
|
1398
|
+
GeneratorResponse: GeneratorResponseSchema;
|
|
1399
|
+
GeneratorPmsResponse: GeneratorPmsResponseSchema;
|
|
1400
|
+
OperationModesResponse: OperationModesResponseSchema;
|
|
1401
|
+
PrioritiesResponse: PrioritiesResponseSchema;
|
|
1402
|
+
ShaftResponse: ShaftResponseSchema;
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
declare const Types: {
|
|
1406
|
+
AlarmTypes: {
|
|
1407
|
+
readonly NORMAL: "Normal";
|
|
1408
|
+
readonly ALARM_OPEN: "AlarmOpen";
|
|
1409
|
+
readonly ALARM_CLOSE: "AlarmClose";
|
|
1410
|
+
readonly ALARM_IFH: "AlarmIfh";
|
|
1411
|
+
readonly ALARM_HH: "AlarmHh";
|
|
1412
|
+
readonly ALARM_H: "AlarmH";
|
|
1413
|
+
readonly ALARM_L: "AlarmL";
|
|
1414
|
+
readonly ALARM_LL: "AlarmLl";
|
|
1415
|
+
readonly ALARM_IFL: "AlarmIfl";
|
|
1416
|
+
readonly ALARM_OFFSCAN: "AlarmOffScan";
|
|
1417
|
+
readonly ALARM_FAIL: "AlarmFail";
|
|
1418
|
+
readonly ALARM_INH: "AlarmInh";
|
|
1419
|
+
readonly ALARM_UNK: "AlarmUnk";
|
|
1420
|
+
};
|
|
1421
|
+
AlarmPriorities: {
|
|
1422
|
+
readonly CRITICAL: "Critical";
|
|
1423
|
+
readonly ALARM: "Alarm";
|
|
1424
|
+
readonly WARNING: "Warning";
|
|
1425
|
+
};
|
|
1426
|
+
CloudAlarmStates: {
|
|
1427
|
+
readonly INACTIVE: "Inactive";
|
|
1428
|
+
readonly ALARM: "Active";
|
|
1429
|
+
readonly ALARM_ACK: "Acknowledged";
|
|
1430
|
+
readonly WARNING: "WarningActive";
|
|
1431
|
+
readonly WARNING_ACK: "WarningAcknowledged";
|
|
1432
|
+
readonly RETURN_NO_ACK: "Unacknowledged";
|
|
1433
|
+
readonly INHIBITED: "Inhibited";
|
|
1434
|
+
readonly OFFSCAN: "Offscan";
|
|
1435
|
+
readonly UNDEFINED: "Undefined";
|
|
1436
|
+
};
|
|
1437
|
+
DiamarAlarmStates: {
|
|
1438
|
+
readonly INACTIVE: "Inactive";
|
|
1439
|
+
readonly ACKNOWLEDGED: "Acknowledged";
|
|
1440
|
+
readonly ACTIVE: "Active";
|
|
1441
|
+
readonly UNACKNOWLEDGED: "Unacknowledged";
|
|
1442
|
+
readonly UNDEFINED: "Undefined";
|
|
1443
|
+
};
|
|
1444
|
+
ChannelBaseTypes: {
|
|
1445
|
+
readonly VIRTUAL_ANALOG: "VirtualAnalog";
|
|
1446
|
+
readonly VIRTUAL_DIGITAL: "VirtualDigital";
|
|
1447
|
+
readonly VIRTUAL_STRING: "VirtualString";
|
|
1448
|
+
readonly WIRED_ANALOG: "WiredAnalog";
|
|
1449
|
+
readonly WIRED_DIGITAL: "WiredDigital";
|
|
1450
|
+
};
|
|
1451
|
+
ChannelSpecificTypes: {
|
|
1452
|
+
readonly DIGITAL_INPUT: "DigitalInput";
|
|
1453
|
+
readonly DIGITAL_OUTPUT: "DigitalOutput";
|
|
1454
|
+
readonly ANALOG_INPUT: "AnalogInput";
|
|
1455
|
+
readonly ANALOG_OUTPUT: "AnalogOutput";
|
|
1456
|
+
readonly ANALOG_SOFTWARE: "AnalogSoftware";
|
|
1457
|
+
readonly DIGITAL_SOFTWARE: "DigitalSoftware";
|
|
1458
|
+
readonly VIRTUAL_STRING: "VirtualString";
|
|
1459
|
+
readonly COMMAND: "Command";
|
|
1460
|
+
readonly BROADCAST_COMMAND: "BroadcastCommand";
|
|
1461
|
+
readonly SOFTWARE: "Software";
|
|
1462
|
+
readonly ANALOG_TIMER: "AnalogTimer";
|
|
1463
|
+
readonly SERIAL_DIGITAL_INPUT: "SerialDigitalInput";
|
|
1464
|
+
readonly SERIAL_DIGITAL_OUTPUT: "SerialDigitalOutput";
|
|
1465
|
+
readonly SERIAL_LINE_COMMAND: "SerialLineCommand";
|
|
1466
|
+
readonly SERIAL_ANALOG_INPUT: "SerialAnalogInput";
|
|
1467
|
+
readonly SERIAL_ANALOG_OUTPUT: "SerialAnalogOutput";
|
|
1468
|
+
};
|
|
1469
|
+
EventCategories: {
|
|
1470
|
+
readonly ACCESS_CONTROL: "AccessControl";
|
|
1471
|
+
readonly REQUEST_ERROR: "RequestErrors";
|
|
1472
|
+
readonly OS: "OperatingSystemEvents";
|
|
1473
|
+
readonly CONTROL: "ControlSystemEvents";
|
|
1474
|
+
readonly BACKUP: "BackupAndRestoreEvents";
|
|
1475
|
+
readonly CONFIG_CHANGE: "ConfigurationChanges";
|
|
1476
|
+
readonly LOGS: "AuditLogEvents";
|
|
1477
|
+
readonly POTENTIAL_ATTACK: "PotentialAttackActivity";
|
|
1478
|
+
};
|
|
1479
|
+
EventCriticalities: {
|
|
1480
|
+
readonly VERBOSE: "Verbose";
|
|
1481
|
+
readonly INFO: "Info";
|
|
1482
|
+
readonly WARNING: "Warning";
|
|
1483
|
+
readonly ERROR: "Error";
|
|
1484
|
+
readonly CRITICAL: "Critical";
|
|
1485
|
+
};
|
|
1486
|
+
UnitTypes: {
|
|
1487
|
+
readonly AIM18: "Aim18";
|
|
1488
|
+
readonly DIM36: "Dim36";
|
|
1489
|
+
readonly DIOM24: "Diom24";
|
|
1490
|
+
readonly KLIM: "Klim";
|
|
1491
|
+
readonly LUM: "Lum";
|
|
1492
|
+
readonly PMM: "Pmm";
|
|
1493
|
+
readonly SLIM: "Slim";
|
|
1494
|
+
readonly TIM28: "Tim28";
|
|
1495
|
+
};
|
|
1496
|
+
Mimics: {
|
|
1497
|
+
MimicElementTypes: {
|
|
1498
|
+
readonly IMAGE: "Image";
|
|
1499
|
+
readonly LINE: "Line";
|
|
1500
|
+
readonly SQUARE: "Square";
|
|
1501
|
+
readonly LINK: "Link";
|
|
1502
|
+
readonly POLYLINE: "Polyline";
|
|
1503
|
+
readonly TEXT: "Text";
|
|
1504
|
+
readonly ALARM_INDICATOR: "AlarmIndicator";
|
|
1505
|
+
readonly BREAKER: "Breaker";
|
|
1506
|
+
readonly COMMAND: "Command";
|
|
1507
|
+
readonly COMPRESSOR: "Compressor";
|
|
1508
|
+
readonly DAMPER: "Damper";
|
|
1509
|
+
readonly DIAL: "Dial";
|
|
1510
|
+
readonly DIGITAL: "Digital";
|
|
1511
|
+
readonly DISPLAY: "Display";
|
|
1512
|
+
readonly FAN: "Fan";
|
|
1513
|
+
readonly GENERATOR: "Generator";
|
|
1514
|
+
readonly LEVEL_BAR: "LevelBar";
|
|
1515
|
+
readonly PUMP: "Pump";
|
|
1516
|
+
readonly SHAFT: "Shaft";
|
|
1517
|
+
readonly TEXT_CHANNEL: "TextChannel";
|
|
1518
|
+
readonly DYNAMIC_TEXT: "DynamicText";
|
|
1519
|
+
readonly TANK: "Tank";
|
|
1520
|
+
readonly VALVE: "Valve";
|
|
1521
|
+
readonly SLIDER: "Slider";
|
|
1522
|
+
readonly TOGGLE: "Toggle";
|
|
1523
|
+
readonly UNIT: "Unit";
|
|
1524
|
+
readonly REPEATER: "Repeater";
|
|
1525
|
+
readonly STATION: "Station";
|
|
1526
|
+
readonly CABINET: "Cabinet";
|
|
1527
|
+
readonly BREAKER_PMS: "BreakerPms";
|
|
1528
|
+
readonly GENERATOR_PMS: "GeneratorPms";
|
|
1529
|
+
readonly OPERATION_MODES_PMS: "OperationModesPms";
|
|
1530
|
+
readonly PMS_PRIORITIES: "PmsPriorities";
|
|
1531
|
+
readonly VALVE_AUTOMATED: "ValveAutomated";
|
|
1532
|
+
readonly DAMPER_AUTOMATED: "DamperAutomated";
|
|
1533
|
+
readonly PUMP_AUTOMATED: "PumpAutomated";
|
|
1534
|
+
};
|
|
1535
|
+
ZDepths: {
|
|
1536
|
+
readonly BACKGROUND: "Background";
|
|
1537
|
+
readonly LOW: "Low";
|
|
1538
|
+
readonly NORMAL: "Normal";
|
|
1539
|
+
readonly HIGH: "High";
|
|
1540
|
+
};
|
|
1541
|
+
TitleAligns: {
|
|
1542
|
+
readonly BOTTOM: "Bottom";
|
|
1543
|
+
readonly LEFT: "Left";
|
|
1544
|
+
readonly RIGHT: "Right";
|
|
1545
|
+
readonly TOP: "Top";
|
|
1546
|
+
};
|
|
1547
|
+
DigitalStates: {
|
|
1548
|
+
readonly NO_VALUE: "NoValue";
|
|
1549
|
+
readonly OPEN: "Open";
|
|
1550
|
+
readonly CLOSE: "Close";
|
|
1551
|
+
readonly UNDEFINED: "Undefined";
|
|
1552
|
+
};
|
|
1553
|
+
DigitalAlarmStates: {
|
|
1554
|
+
readonly NO_ALARM: "NoAlarm";
|
|
1555
|
+
readonly ALARM: "Alarm";
|
|
1556
|
+
readonly UNDEFINED: "Undefined";
|
|
1557
|
+
};
|
|
1558
|
+
AlarmStates: {
|
|
1559
|
+
readonly ALARM: 1;
|
|
1560
|
+
readonly WARNING: 2;
|
|
1561
|
+
readonly UNACKNOWLEDGED_ALARM: 3;
|
|
1562
|
+
readonly UNACKNOWLEDGED_WARNING: 4;
|
|
1563
|
+
readonly ACKNOWLEDGED_ALARM: 5;
|
|
1564
|
+
readonly ACKNOWLEDGED_WARNING: 6;
|
|
1565
|
+
readonly INHIBITED: 7;
|
|
1566
|
+
readonly OFF_SCAN: 8;
|
|
1567
|
+
readonly NORMAL: 9;
|
|
1568
|
+
readonly OFFLINE: 10;
|
|
1569
|
+
};
|
|
1570
|
+
MimicAlarmStates: {
|
|
1571
|
+
ALARM: string;
|
|
1572
|
+
WARNING: string;
|
|
1573
|
+
UNACKNOWLEDGED_ALARM: string;
|
|
1574
|
+
UNACKNOWLEDGED_WARNING: string;
|
|
1575
|
+
ACKNOWLEDGED_ALARM: string;
|
|
1576
|
+
ACKNOWLEDGED_WARNING: string;
|
|
1577
|
+
INHIBITED: string;
|
|
1578
|
+
OFF_SCAN: string;
|
|
1579
|
+
NORMAL: string;
|
|
1580
|
+
OFFLINE: string;
|
|
1581
|
+
};
|
|
1582
|
+
MimicControlStates: {
|
|
1583
|
+
NO_VALUE: string;
|
|
1584
|
+
LOCAL: string;
|
|
1585
|
+
AUTOMATIC: string;
|
|
1586
|
+
SEMI_AUTOMATIC: string;
|
|
1587
|
+
UNDEFINED: string;
|
|
1588
|
+
};
|
|
1589
|
+
ActivationModes: {
|
|
1590
|
+
readonly ALARM: "Alarm";
|
|
1591
|
+
readonly LOGIC: "Logic";
|
|
1592
|
+
readonly VALUE: "Value";
|
|
1593
|
+
};
|
|
1594
|
+
TextAnchorPoints: {
|
|
1595
|
+
readonly LEFT: "Left";
|
|
1596
|
+
readonly CENTER: "Center";
|
|
1597
|
+
readonly RIGHT: "Right";
|
|
1598
|
+
};
|
|
1599
|
+
ValveDesigns: {
|
|
1600
|
+
readonly MECHANIC: "Mechanic";
|
|
1601
|
+
readonly NORMAL: "Normal";
|
|
1602
|
+
};
|
|
1603
|
+
FanDesigns: {
|
|
1604
|
+
readonly NORMAL: "Normal";
|
|
1605
|
+
readonly BLADED: "Bladed";
|
|
1606
|
+
};
|
|
1607
|
+
FanRunStates: {
|
|
1608
|
+
readonly NO_VALUE: "NoValue";
|
|
1609
|
+
readonly UNDEFINED: "Undefined";
|
|
1610
|
+
readonly STOPPED: "Stopped";
|
|
1611
|
+
readonly RUNNING: "Running";
|
|
1612
|
+
readonly RUNNING_FAST: "RunningFast";
|
|
1613
|
+
};
|
|
1614
|
+
FanDirections: {
|
|
1615
|
+
readonly NO_VALUE: "NoValue";
|
|
1616
|
+
readonly UNDEFINED: "Undefined";
|
|
1617
|
+
readonly SUPPLY: "Supply";
|
|
1618
|
+
readonly EXHAUST: "Exhaust";
|
|
1619
|
+
};
|
|
1620
|
+
FanTypes: {
|
|
1621
|
+
readonly SIMPLE: "Simple";
|
|
1622
|
+
readonly SIMPLE_WITH_FAST: "SimpleWithFast";
|
|
1623
|
+
readonly REVERSIBLE: "Reversible";
|
|
1624
|
+
readonly REVERSIBLE_WITH_FAST: "ReversibleWithFast";
|
|
1625
|
+
};
|
|
1626
|
+
LevelBarOrientations: {
|
|
1627
|
+
readonly VERTICAL: "Vertical";
|
|
1628
|
+
readonly HORIZONTAL: "Horizontal";
|
|
1629
|
+
};
|
|
1630
|
+
SliderOrientations: {
|
|
1631
|
+
readonly VERTICAL: "Vertical";
|
|
1632
|
+
readonly HORIZONTAL: "Horizontal";
|
|
1633
|
+
};
|
|
1634
|
+
CompressorDesigns: {
|
|
1635
|
+
readonly CENTRIFUGAL: "Centrifugal";
|
|
1636
|
+
readonly MECHANIC: "Mechanic";
|
|
1637
|
+
readonly NORMAL: "Normal";
|
|
1638
|
+
readonly PISTONS: "Pistons";
|
|
1639
|
+
readonly ROTATORY_SCREW: "RotatoryScrew";
|
|
1640
|
+
readonly SCROLL: "Scroll";
|
|
1641
|
+
readonly VANES: "Vanes";
|
|
1642
|
+
};
|
|
1643
|
+
LedTypes: {
|
|
1644
|
+
readonly CIRCLE: "Circle";
|
|
1645
|
+
readonly SQUARE: "Square";
|
|
1646
|
+
};
|
|
1647
|
+
InfoLocations: {
|
|
1648
|
+
readonly BOTTOM: "Bottom";
|
|
1649
|
+
readonly LEFT: "Left";
|
|
1650
|
+
readonly RIGHT: "Right";
|
|
1651
|
+
readonly TOP: "Top";
|
|
1652
|
+
};
|
|
1653
|
+
MarkTypes: {
|
|
1654
|
+
readonly LARGE_LINE: "LargeLine";
|
|
1655
|
+
readonly SHORT_LINE: "ShortLine";
|
|
1656
|
+
readonly TRIANGLE: "Triangle";
|
|
1657
|
+
};
|
|
1658
|
+
ScalePositions: {
|
|
1659
|
+
readonly LEFT: "Left";
|
|
1660
|
+
readonly RIGHT: "Right";
|
|
1661
|
+
};
|
|
1662
|
+
ValueTypes: {
|
|
1663
|
+
readonly PERCENTAGE: "Percentage";
|
|
1664
|
+
readonly RAW: "Raw";
|
|
1665
|
+
};
|
|
1666
|
+
OperationModeStates: {
|
|
1667
|
+
readonly ACTIVE: 0;
|
|
1668
|
+
readonly INACTIVE: 1;
|
|
1669
|
+
readonly IN_TRANSITION: 2;
|
|
1670
|
+
readonly FAILED: 3;
|
|
1671
|
+
};
|
|
1672
|
+
UnitDesigns: {
|
|
1673
|
+
readonly IMAGE: "Image";
|
|
1674
|
+
readonly MODERN: "Modern";
|
|
1675
|
+
};
|
|
1676
|
+
StationDesigns: {
|
|
1677
|
+
readonly IMAGE: "Image";
|
|
1678
|
+
readonly MONITOR: "Monitor";
|
|
1679
|
+
readonly SCREEN: "Screen";
|
|
1680
|
+
};
|
|
1681
|
+
RepeaterDesigns: {
|
|
1682
|
+
readonly IMAGE: "Image";
|
|
1683
|
+
readonly SLIM: "SLim";
|
|
1684
|
+
readonly DIAMAR_REPEATER: "DiamarRepeater";
|
|
1685
|
+
};
|
|
1686
|
+
CabinetDesigns: {
|
|
1687
|
+
readonly IMAGE: "Image";
|
|
1688
|
+
readonly MODERN: "Modern";
|
|
1689
|
+
};
|
|
1690
|
+
LinkDesigns: {
|
|
1691
|
+
readonly BUTTON: "Button";
|
|
1692
|
+
readonly IMAGE: "Image";
|
|
1693
|
+
};
|
|
1694
|
+
OpClStates: {
|
|
1695
|
+
readonly NO_VALUE: "NoValue";
|
|
1696
|
+
readonly OPEN: "Open";
|
|
1697
|
+
readonly CLOSE: "Close";
|
|
1698
|
+
readonly UNDEFINED: "Undefined";
|
|
1699
|
+
};
|
|
1700
|
+
RunningStoppedStates: {
|
|
1701
|
+
readonly NO_VALUE: "NoValue";
|
|
1702
|
+
readonly RUNNING: "Running";
|
|
1703
|
+
readonly STOPPED: "Stopped";
|
|
1704
|
+
readonly UNDEFINED: "Undefined";
|
|
1705
|
+
};
|
|
1706
|
+
AutoSemiAutoStates: {
|
|
1707
|
+
readonly NO_VALUE: "NoValue";
|
|
1708
|
+
readonly AUTOMATIC: "Automatic";
|
|
1709
|
+
readonly SEMI_AUTOMATIC: "SemiAuto";
|
|
1710
|
+
readonly UNDEFINED: "Undefined";
|
|
1711
|
+
};
|
|
1712
|
+
RemoteLocalStates: {
|
|
1713
|
+
readonly NO_VALUE: "NoValue";
|
|
1714
|
+
readonly REMOTE: "Remote";
|
|
1715
|
+
readonly LOCAL: "Local";
|
|
1716
|
+
readonly UNDEFINED: "Undefined";
|
|
931
1717
|
};
|
|
932
1718
|
};
|
|
1719
|
+
};
|
|
1720
|
+
|
|
1721
|
+
declare const _default: {
|
|
933
1722
|
mongoose: typeof mongoose;
|
|
934
1723
|
mongoosePaginate: typeof mongoosePaginate;
|
|
935
1724
|
mongooseAggregatePaginate: typeof mongooseAggregatePaginate;
|
|
936
1725
|
mongooseAutopopulate: typeof mongooseAutopopulate;
|
|
937
1726
|
};
|
|
938
1727
|
|
|
939
|
-
export { _default as default };
|
|
1728
|
+
export { AddedAlarmsJsonSchema, AlarmIndicatorJsonSchema, AlarmIndicatorRequestSchema, AlarmIndicatorResponseSchema, AlarmPriority, AlarmType, AutomaticSemiAutoJsonSchema, AutomaticSemiAutoRequestSchema, BackgroundJsonSchema, BreakerJsonSchema, BreakerPmsJsonSchema, BreakerPmsRequestSchema, BreakerPmsResponseSchema, BreakerRequestSchema, BreakerResponseSchema, CabinetJsonSchema, CabinetRequestSchema, CabinetResponseSchema, type ChannelDataBucketDocument, type ChannelDataBucketJSON, type ChannelDataBucketModel, type ChannelDataPointDocument, type ChannelDataPointJSON, type ChannelDataPointModel, type ChannelDocument, type ChannelJSON, ChannelJsonSchema, type ChannelModel, CloudAlarmState, CommandJsonSchema, CommandRequestSchema, CommandResponseSchema, CommandsOpClJsonSchema, CommandsOpClRequestSchema, CommandsStartStopJsonSchema, CommandsStartStopRequestSchema, CompressorJsonSchema, CompressorRequestSchema, CompressorResponseSchema, ControlLockJsonSchema, ControlLockRequestSchema, DamperAutomatedJsonSchema, DamperAutomatedRequestSchema, DamperAutomatedResponseSchema, DamperJsonSchema, DamperRequestSchema, DamperResponseSchema, DialJsonSchema, DialRequestSchema, DialResponseSchema, DiamarAlarmState, DigitalJsonSchema, DigitalRequestSchema, DigitalResponseSchema, DisplayJsonSchema, DisplayRequestSchema, DisplayResponseSchema, Docs, DynamicTextJsonSchema, DynamicTextRequestSchema, DynamicTextResponseSchema, type EventDocument, type EventJSON, type EventModel, FanJsonSchema, FanRequestSchema, FanResponseSchema, FeedbackOpClJsonSchema, FeedbackOpClRequestSchema, FeedbackRunningStoppedJsonSchema, FeedbackRunningStoppedRequestSchema, GeneratorJsonSchema, GeneratorPmsJsonSchema, GeneratorPmsRequestSchema, GeneratorPmsResponseSchema, GeneratorRequestSchema, GeneratorResponseSchema, type HistoryDocument, type HistoryJSON, type HistoryModel, ImageAuxiliaryJsonSchema, ImageAuxiliaryRequestSchema, ImageAuxiliaryResponseSchema, LevelBarJsonSchema, LevelBarRequestSchema, LevelBarResponseSchema, LineAuxiliaryJsonSchema, LineAuxiliaryRequestSchema, LineAuxiliaryResponseSchema, LineJsonSchema, LinkAuxiliaryJsonSchema, LinkAuxiliaryRequestSchema, LinkAuxiliaryResponseSchema, LocalizedTextJsonSchema, LocationJsonSchema, LogicExpressionJsonSchema, LogicExpressionsJsonSchema, Mimics, MimicsRequest, MimicsResponse, OperationModesJsonSchema, OperationModesRequestSchema, OperationModesResponseSchema, OrderOpClJsonSchema, OrderOpClRequestSchema, OrderStartStopJsonSchema, OrderStartStopRequestSchema, PolylineAuxiliaryJsonSchema, PolylineAuxiliaryRequestSchema, PolylineAuxiliaryResponseSchema, PrioritiesJsonSchema, PrioritiesRequestSchema, PrioritiesResponseSchema, PriorityDataJsonSchema, PriorityDataRequestSchema, PumpAutomatedJsonSchema, PumpAutomatedRequestSchema, PumpAutomatedResponseSchema, PumpJsonSchema, PumpRequestSchema, PumpResponseSchema, RemoteLocalJsonSchema, RemoteLocalRequestSchema, RepeaterJsonSchema, RepeaterRequestSchema, RepeaterResponseSchema, ScaleJsonSchema, Schemas, ShaftJsonSchema, ShaftRequestSchema, ShaftResponseSchema, SliderJsonSchema, SliderRequestSchema, SliderResponseSchema, SquareAuxiliaryJsonSchema, SquareAuxiliaryRequestSchema, SquareAuxiliaryResponseSchema, StationJsonSchema, StationRequestSchema, StationResponseSchema, TankJsonSchema, TankRequestSchema, TankResponseSchema, TextAttributesJsonSchema, TextAuxiliaryJsonSchema, TextAuxiliaryRequestSchema, TextAuxiliaryResponseSchema, TextChannelJsonSchema, TextChannelRequestSchema, TextChannelResponseSchema, TitleJsonSchema, ToggleJsonSchema, ToggleRequestSchema, ToggleResponseSchema, TripResetJsonSchema, TripResetRequestSchema, Types, type UnitDocument, type UnitJSON, UnitJsonSchema, type UnitModel, UnitRequestSchema, UnitResponseSchema, ValveAutomatedJsonSchema, ValveAutomatedRequestSchema, ValveAutomatedResponseSchema, ValveJsonSchema, ValveRequestSchema, ValveResponseSchema, _default as default };
|