@tolinax/ayoune-interfaces 2024.2.14 → 2024.2.16
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/interfaces/IMachine.d.ts
CHANGED
|
@@ -1,4 +1,47 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
import { IAttributeValue } from "./IAttributeValue";
|
|
3
|
+
interface IMachineCost {
|
|
4
|
+
kind?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
cost?: number;
|
|
7
|
+
costCenter?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IMachineTool {
|
|
10
|
+
product?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
unit?: string;
|
|
13
|
+
ready?: boolean;
|
|
14
|
+
qty?: number;
|
|
15
|
+
qtyInStock?: number;
|
|
16
|
+
qtyInProduction?: number;
|
|
17
|
+
qtyLocked?: number;
|
|
18
|
+
qtyConsumed?: number;
|
|
19
|
+
blend?: number;
|
|
20
|
+
serviceLife?: number;
|
|
21
|
+
costCenter?: string;
|
|
22
|
+
}
|
|
23
|
+
interface IMachineComponentMonitoringValues {
|
|
24
|
+
name?: string;
|
|
25
|
+
currentValue?: number;
|
|
26
|
+
maxValue?: number;
|
|
27
|
+
minValue?: number;
|
|
28
|
+
avgValue?: number;
|
|
29
|
+
avgValue5min?: number;
|
|
30
|
+
avgValue10min?: number;
|
|
31
|
+
avgValue60min?: number;
|
|
32
|
+
alertOn?: string;
|
|
33
|
+
alertValue?: number;
|
|
34
|
+
}
|
|
35
|
+
interface IMonitoring {
|
|
36
|
+
values?: IMachineComponentMonitoringValues[];
|
|
37
|
+
}
|
|
38
|
+
interface IMachineComponent {
|
|
39
|
+
name?: string;
|
|
40
|
+
nbr?: string;
|
|
41
|
+
code?: string;
|
|
42
|
+
attributes?: IAttributeValue[];
|
|
43
|
+
monitoring?: IMonitoring;
|
|
44
|
+
}
|
|
2
45
|
export interface IMachine extends IDefaultFields {
|
|
3
46
|
_customerID: ObjectId;
|
|
4
47
|
_clientID: ObjectId[];
|
|
@@ -65,11 +108,11 @@ export interface IMachine extends IDefaultFields {
|
|
|
65
108
|
lost: number;
|
|
66
109
|
load: number;
|
|
67
110
|
performance: number;
|
|
68
|
-
costs:
|
|
69
|
-
tools:
|
|
70
|
-
attributes:
|
|
71
|
-
components:
|
|
72
|
-
resources:
|
|
111
|
+
costs: IMachineCost[];
|
|
112
|
+
tools: IMachineTool[];
|
|
113
|
+
attributes: IAttributeValue[];
|
|
114
|
+
components: IMachineComponent[];
|
|
115
|
+
resources: ObjectId[];
|
|
73
116
|
cords: number[];
|
|
74
117
|
loc: {
|
|
75
118
|
type: string;
|
|
@@ -78,3 +121,4 @@ export interface IMachine extends IDefaultFields {
|
|
|
78
121
|
commands: any;
|
|
79
122
|
commandLinks: any;
|
|
80
123
|
}
|
|
124
|
+
export {};
|
|
@@ -8,13 +8,13 @@ export interface IMeetingMinuteSlide {
|
|
|
8
8
|
imageUrl?: string;
|
|
9
9
|
speakerNotes?: string;
|
|
10
10
|
}
|
|
11
|
-
export interface
|
|
11
|
+
export interface IMeetingMinuteSlideSet {
|
|
12
12
|
title?: string;
|
|
13
13
|
subtitle?: string;
|
|
14
14
|
type?: string;
|
|
15
15
|
html?: string;
|
|
16
16
|
speakerNotes?: string;
|
|
17
|
-
slides:
|
|
17
|
+
slides: IMeetingMinuteSlide[];
|
|
18
18
|
}
|
|
19
19
|
export interface IMeetingGoal {
|
|
20
20
|
goal?: string;
|
|
@@ -67,9 +67,9 @@ export interface IMeetingMinute extends IDefaultFields {
|
|
|
67
67
|
archive?: boolean;
|
|
68
68
|
maincolor?: string;
|
|
69
69
|
accessToken?: string;
|
|
70
|
-
slidesets:
|
|
71
|
-
goals:
|
|
72
|
-
topics:
|
|
73
|
-
tasks:
|
|
74
|
-
decisions:
|
|
70
|
+
slidesets: IMeetingMinuteSlideSet[];
|
|
71
|
+
goals: IMeetingGoal[];
|
|
72
|
+
topics: IMeetingMinuteTopic[];
|
|
73
|
+
tasks: IIMeetingMinuteTask[];
|
|
74
|
+
decisions: IIMeetingMinuteDecision[];
|
|
75
75
|
}
|