lib_angar_new 2.0.30 → 2.0.31
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/lib_angar/InOut/ClsInOut.d.ts +1 -0
- package/lib_angar/InOut/ClsInOut.js +5 -0
- package/lib_angar/InOut/ClsInOut.js.map +1 -1
- package/lib_angar/InOut/ClsInOut.ts +104 -107
- package/lib_angar/InOut/ClsInOutRoot.d.ts +1 -0
- package/lib_angar/InOut/ClsInOutRoot.js +5 -0
- package/lib_angar/InOut/ClsInOutRoot.js.map +1 -1
- package/lib_angar/InOut/ClsInOutRoot.ts +23 -21
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ let ClsInOut = ClsInOut_1 = class ClsInOut extends ts_serializer_1.Serializable
|
|
|
23
23
|
this.DayHour = 0;
|
|
24
24
|
this.NightHour = 0;
|
|
25
25
|
this.Schedule = 0;
|
|
26
|
+
this.Nutrition = 0;
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
28
29
|
* Конвертируем список классов ClsInOut в json string
|
|
@@ -116,6 +117,10 @@ __decorate([
|
|
|
116
117
|
(0, ts_serializer_1.SerializeProperty)({ map: "Schedule", optional: true }),
|
|
117
118
|
__metadata("design:type", Number)
|
|
118
119
|
], ClsInOut.prototype, "Schedule", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, ts_serializer_1.SerializeProperty)({ map: "Nutrition", optional: true }),
|
|
122
|
+
__metadata("design:type", Number)
|
|
123
|
+
], ClsInOut.prototype, "Nutrition", void 0);
|
|
119
124
|
exports.ClsInOut = ClsInOut = ClsInOut_1 = __decorate([
|
|
120
125
|
(0, ts_serializer_1.Serialize)({}),
|
|
121
126
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClsInOut.js","sourceRoot":"","sources":["ClsInOut.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,iDAA2E;AAC3E,qEAAkE;AAClE,2DAA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,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CAC/B;AAGjB;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CAC/B;mBApBhB,QAAQ;IADpB,IAAA,yBAAS,EAAC,EAAE,CAAC;;GACD,QAAQ,CA2GpB"}
|
|
@@ -3,115 +3,112 @@ import { ArrayTableField } from "../ViewProperty/ArrayTableField";
|
|
|
3
3
|
import { TableField } from "../ViewProperty/TableField";
|
|
4
4
|
|
|
5
5
|
@Serialize({})
|
|
6
|
-
export class ClsInOut extends Serializable
|
|
7
|
-
{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
6
|
+
export class ClsInOut extends Serializable {
|
|
7
|
+
@SerializeProperty({ map: "Id", optional: true })
|
|
8
|
+
public Id: number;
|
|
9
|
+
|
|
10
|
+
@SerializeProperty({ map: "DateStart", optional: true })
|
|
11
|
+
public DateStart: Date;
|
|
12
|
+
|
|
13
|
+
@SerializeProperty({ map: "DateEnd", optional: true })
|
|
14
|
+
public DateEnd: Date;
|
|
15
|
+
|
|
16
|
+
@SerializeProperty({ map: "DayHour", optional: true })
|
|
17
|
+
public DayHour: number;
|
|
18
|
+
|
|
19
|
+
@SerializeProperty({ map: "NightHour", optional: true })
|
|
20
|
+
public NightHour: number;
|
|
21
|
+
|
|
22
|
+
@SerializeProperty({ map: "Schedule", optional: true })
|
|
23
|
+
public Schedule: number;
|
|
24
|
+
|
|
25
|
+
@SerializeProperty({ map: "Nutrition", optional: true })
|
|
26
|
+
public Nutrition: number;
|
|
27
|
+
|
|
28
|
+
constructor() {
|
|
29
|
+
super();
|
|
30
|
+
this.Id = 0;
|
|
31
|
+
this.DateStart = new Date();
|
|
32
|
+
this.DateEnd = new Date();
|
|
33
|
+
this.DayHour = 0;
|
|
34
|
+
this.NightHour = 0;
|
|
35
|
+
this.Schedule = 0;
|
|
36
|
+
this.Nutrition = 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
38
40
|
* Конвертируем список классов ClsInOut в json string
|
|
39
41
|
* @param listClsUser
|
|
40
42
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
tableField.Width = "50";
|
|
112
|
-
arrayTableField.ArrayFields.push(tableField);
|
|
113
|
-
|
|
114
|
-
return arrayTableField;
|
|
115
|
-
}
|
|
43
|
+
ArrayClsInOutToJson(listClsInOut: Array<ClsInOut>) {
|
|
44
|
+
const arrayObject: Array<object> = new Array<object>();
|
|
45
|
+
listClsInOut.forEach((item: ClsInOut) => {
|
|
46
|
+
const row: object = item.serialize();
|
|
47
|
+
arrayObject.push(row);
|
|
48
|
+
});
|
|
49
|
+
return JSON.stringify(arrayObject);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Конвертируем список объектов в Array<ClsInOut>
|
|
54
|
+
* @param arrayObject
|
|
55
|
+
* @returns
|
|
56
|
+
*/
|
|
57
|
+
ArrayObjectToListClsInOut(arrayObject: Array<object>): Array<ClsInOut> {
|
|
58
|
+
const listClsInOut: Array<ClsInOut> = new Array<ClsInOut>();
|
|
59
|
+
arrayObject.forEach((item: object) => {
|
|
60
|
+
const clsInOut: ClsInOut = new ClsInOut();
|
|
61
|
+
clsInOut.deserialize(item);
|
|
62
|
+
listClsInOut.push(clsInOut);
|
|
63
|
+
})
|
|
64
|
+
return listClsInOut;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
ShowTable() {
|
|
68
|
+
const arrayTableField: ArrayTableField = new ArrayTableField();
|
|
69
|
+
|
|
70
|
+
let tableField: TableField = new TableField();
|
|
71
|
+
tableField.Field = "DateStart";
|
|
72
|
+
tableField.ColumnName = "Вход";
|
|
73
|
+
tableField.ShowDefault = true;
|
|
74
|
+
tableField.ComponentName = "";
|
|
75
|
+
tableField.Width = "130";
|
|
76
|
+
arrayTableField.ArrayFields.push(tableField);
|
|
77
|
+
|
|
78
|
+
tableField = new TableField();
|
|
79
|
+
tableField.Field = "DateEnd";
|
|
80
|
+
tableField.ColumnName = "Выход";
|
|
81
|
+
tableField.ShowDefault = true;
|
|
82
|
+
tableField.ComponentName = "";
|
|
83
|
+
tableField.Width = "130";
|
|
84
|
+
arrayTableField.ArrayFields.push(tableField);
|
|
85
|
+
|
|
86
|
+
tableField = new TableField();
|
|
87
|
+
tableField.Field = "Plan";
|
|
88
|
+
tableField.ColumnName = "Факт";
|
|
89
|
+
tableField.ShowDefault = true;
|
|
90
|
+
tableField.ComponentName = "";
|
|
91
|
+
tableField.Width = "100";
|
|
92
|
+
tableField.Group = ["DayHour", "NightHour"];
|
|
93
|
+
arrayTableField.ArrayFields.push(tableField);
|
|
94
|
+
|
|
95
|
+
tableField = new TableField();
|
|
96
|
+
tableField.Field = "DayHour";
|
|
97
|
+
tableField.ColumnName = "День";
|
|
98
|
+
tableField.ShowDefault = true;
|
|
99
|
+
tableField.ComponentName = "";
|
|
100
|
+
tableField.Width = "50";
|
|
101
|
+
arrayTableField.ArrayFields.push(tableField);
|
|
102
|
+
|
|
103
|
+
tableField = new TableField();
|
|
104
|
+
tableField.Field = "NightHour";
|
|
105
|
+
tableField.ColumnName = "Ночь";
|
|
106
|
+
tableField.ShowDefault = true;
|
|
107
|
+
tableField.ComponentName = "";
|
|
108
|
+
tableField.Width = "50";
|
|
109
|
+
arrayTableField.ArrayFields.push(tableField);
|
|
110
|
+
|
|
111
|
+
return arrayTableField;
|
|
112
|
+
}
|
|
116
113
|
}
|
|
117
114
|
|
|
@@ -19,6 +19,7 @@ let ClsInOutRoot = class ClsInOutRoot extends ts_serializer_1.Serializable {
|
|
|
19
19
|
this.Total = 0;
|
|
20
20
|
this.DaySumma = 0;
|
|
21
21
|
this.NightSumma = 0;
|
|
22
|
+
this.Nutrition = 0;
|
|
22
23
|
this.ArrClsInOut = new Array();
|
|
23
24
|
}
|
|
24
25
|
};
|
|
@@ -39,6 +40,10 @@ __decorate([
|
|
|
39
40
|
(0, ts_serializer_1.SerializeProperty)({ map: "NightSumma", optional: true }),
|
|
40
41
|
__metadata("design:type", Number)
|
|
41
42
|
], ClsInOutRoot.prototype, "NightSumma", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, ts_serializer_1.SerializeProperty)({ map: "Nutrition", optional: true }),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], ClsInOutRoot.prototype, "Nutrition", void 0);
|
|
42
47
|
__decorate([
|
|
43
48
|
(0, ts_serializer_1.SerializeProperty)({ map: "List", type: ClsInOut_1.ClsInOut, list: true, optional: true }),
|
|
44
49
|
__metadata("design:type", Array)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClsInOutRoot.js","sourceRoot":"","sources":["ClsInOutRoot.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA2E;AAC3E,yCAAsC;AAG/B,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;
|
|
1
|
+
{"version":3,"file":"ClsInOutRoot.js","sourceRoot":"","sources":["ClsInOutRoot.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA2E;AAC3E,yCAAsC;AAG/B,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;IAmB1C;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;QACpB,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,IAAI,KAAK,EAAY,CAAC;IAC7C,CAAC;CACJ,CAAA;AA5BY,oCAAY;AAEd;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CAC/B;AAGjB;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CAC/B;AAGd;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CAC/B;AAGjB;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAC/B;AAGnB;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC/B;AAGlB;IADN,IAAA,iCAAiB,EAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC3D,KAAK;iDAAW;uBAjB3B,YAAY;IADxB,IAAA,yBAAS,EAAC,EAAE,CAAC;;GACD,YAAY,CA4BxB"}
|
|
@@ -2,30 +2,32 @@ import { Serializable, Serialize, SerializeProperty } from "ts-serializer";
|
|
|
2
2
|
import { ClsInOut } from "./ClsInOut";
|
|
3
3
|
|
|
4
4
|
@Serialize({})
|
|
5
|
-
export class ClsInOutRoot extends Serializable
|
|
6
|
-
{
|
|
7
|
-
|
|
8
|
-
public WorkHour: number;
|
|
5
|
+
export class ClsInOutRoot extends Serializable {
|
|
6
|
+
@SerializeProperty({ map: "WorkHour", optional: true })
|
|
7
|
+
public WorkHour: number;
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
@SerializeProperty({ map: "Total", optional: true })
|
|
10
|
+
public Total: number;
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
@SerializeProperty({ map: "DaySumma", optional: true })
|
|
13
|
+
public DaySumma: number;
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
@SerializeProperty({ map: "NightSumma", optional: true })
|
|
16
|
+
public NightSumma: number;
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
@SerializeProperty({ map: "Nutrition", optional: true })
|
|
19
|
+
public Nutrition: number;
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
@SerializeProperty({ map: "List", type: ClsInOut, list: true, optional: true })
|
|
22
|
+
public ArrClsInOut: Array<ClsInOut>;
|
|
23
|
+
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
this.WorkHour = 0;
|
|
27
|
+
this.Total = 0;
|
|
28
|
+
this.DaySumma = 0;
|
|
29
|
+
this.NightSumma = 0;
|
|
30
|
+
this.Nutrition = 0;
|
|
31
|
+
this.ArrClsInOut = new Array<ClsInOut>();
|
|
32
|
+
}
|
|
31
33
|
}
|