@kuriousdesign/machine-sdk 1.0.83 → 1.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-types/Recipe.d.ts +25 -25
- package/dist/custom-types/Recipe.js +25 -25
- package/package.json +1 -1
- package/src/custom-types/Recipe.ts +50 -50
|
@@ -24,31 +24,31 @@ export declare const initialApplicatorSetpoints: ApplicatorSetpoint[];
|
|
|
24
24
|
export interface RecipeData {
|
|
25
25
|
index: number;
|
|
26
26
|
dbId: string;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
27
|
+
nickname: string;
|
|
28
|
+
linerPotPressure: number;
|
|
29
|
+
linerTypeString: string;
|
|
30
|
+
linerWeightMin: number;
|
|
31
|
+
linerWeightMax: number;
|
|
32
|
+
tubeTypeId: number;
|
|
33
|
+
tubeTypeString: string;
|
|
34
|
+
tubeOuterDiameterMax: number;
|
|
35
|
+
tubeHeightMax: number;
|
|
36
|
+
tubeMassKg: number;
|
|
37
|
+
falseBottomStaysOpen: boolean;
|
|
38
|
+
applicatorHasVariableSqueegee: boolean;
|
|
39
|
+
measuredSqueegeeDiaAtSetpoint1: number;
|
|
40
|
+
applicatorSetpoints: ApplicatorSetpoint[];
|
|
41
|
+
applicatorPreloadPauseDuration: number;
|
|
42
|
+
applicatorToolId: number;
|
|
43
|
+
applicatorToolString: string;
|
|
44
|
+
applicatorCollisionPayloadOffset: number;
|
|
45
|
+
cleanerId: number;
|
|
46
|
+
cleanerString: string;
|
|
47
|
+
weighingFingerId: number;
|
|
48
|
+
weighingFingerString: string;
|
|
49
|
+
cameraId: number;
|
|
50
|
+
cameraString: string;
|
|
51
|
+
cameraSpeed: number;
|
|
52
52
|
}
|
|
53
53
|
export declare enum CameraIds {
|
|
54
54
|
NONE = 0,
|
|
@@ -120,31 +120,31 @@ exports.weighingFingerStringToIdMap = new Map(Array.from((0, exports.weighingFin
|
|
|
120
120
|
exports.initialRecipe = {
|
|
121
121
|
index: 0,
|
|
122
122
|
dbId: "",
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
123
|
+
nickname: "",
|
|
124
|
+
linerPotPressure: 0,
|
|
125
|
+
linerTypeString: "",
|
|
126
|
+
linerWeightMin: 0,
|
|
127
|
+
linerWeightMax: 0,
|
|
128
|
+
tubeTypeId: TubeTypes.NONE,
|
|
129
|
+
tubeTypeString: exports.tubeTypeIdToStringMap.get(TubeTypes.NONE) || "",
|
|
130
|
+
tubeOuterDiameterMax: 0,
|
|
131
|
+
tubeHeightMax: 0,
|
|
132
|
+
tubeMassKg: 0,
|
|
133
|
+
falseBottomStaysOpen: false,
|
|
134
|
+
applicatorHasVariableSqueegee: false,
|
|
135
|
+
measuredSqueegeeDiaAtSetpoint1: 0,
|
|
136
|
+
applicatorSetpoints: exports.initialApplicatorSetpoints,
|
|
137
|
+
applicatorPreloadPauseDuration: 0,
|
|
138
|
+
applicatorToolId: ApplicatorTools.NONE,
|
|
139
|
+
applicatorToolString: exports.applicatorToolIdToStringMap.get(ApplicatorTools.NONE) || "",
|
|
140
|
+
applicatorCollisionPayloadOffset: 0,
|
|
141
|
+
cleanerId: Cleaners.NONE,
|
|
142
|
+
cleanerString: exports.cleanerIdToStringMap.get(Cleaners.NONE) || "",
|
|
143
|
+
weighingFingerId: WeighingFingers.NONE,
|
|
144
|
+
weighingFingerString: (0, exports.weighingFingerIdToStringMap)().get(WeighingFingers.NONE) || "",
|
|
145
|
+
cameraId: CameraIds.NONE,
|
|
146
|
+
cameraString: exports.cameraIdToStringMap.get(CameraIds.NONE) || "",
|
|
147
|
+
cameraSpeed: 0
|
|
148
148
|
};
|
|
149
149
|
exports.initialRecipeStore = {
|
|
150
150
|
numRecipes: GlobalConstants_1.GCs.MAX_NUM_RECIPES,
|
package/package.json
CHANGED
|
@@ -50,31 +50,31 @@ export const initialApplicatorSetpoints: ApplicatorSetpoint[] = Array.from({ len
|
|
|
50
50
|
export interface RecipeData {
|
|
51
51
|
index: number;
|
|
52
52
|
dbId: string;
|
|
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
|
-
|
|
53
|
+
nickname: string;
|
|
54
|
+
linerPotPressure: number;
|
|
55
|
+
linerTypeString: string;
|
|
56
|
+
linerWeightMin: number;
|
|
57
|
+
linerWeightMax: number;
|
|
58
|
+
tubeTypeId: number;
|
|
59
|
+
tubeTypeString: string;
|
|
60
|
+
tubeOuterDiameterMax: number;
|
|
61
|
+
tubeHeightMax: number;
|
|
62
|
+
tubeMassKg: number;
|
|
63
|
+
falseBottomStaysOpen: boolean;
|
|
64
|
+
applicatorHasVariableSqueegee: boolean;
|
|
65
|
+
measuredSqueegeeDiaAtSetpoint1: number;
|
|
66
|
+
applicatorSetpoints: ApplicatorSetpoint[];
|
|
67
|
+
applicatorPreloadPauseDuration: number;
|
|
68
|
+
applicatorToolId: number;
|
|
69
|
+
applicatorToolString: string;
|
|
70
|
+
applicatorCollisionPayloadOffset: number;
|
|
71
|
+
cleanerId: number;
|
|
72
|
+
cleanerString: string;
|
|
73
|
+
weighingFingerId: number;
|
|
74
|
+
weighingFingerString: string;
|
|
75
|
+
cameraId: number;
|
|
76
|
+
cameraString: string;
|
|
77
|
+
cameraSpeed: number;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
export enum CameraIds {
|
|
@@ -184,31 +184,31 @@ export const weighingFingerStringToIdMap: Map<string, WeighingFingers> = new Map
|
|
|
184
184
|
export const initialRecipe: RecipeData = {
|
|
185
185
|
index: 0,
|
|
186
186
|
dbId: "",
|
|
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
|
-
|
|
187
|
+
nickname: "",
|
|
188
|
+
linerPotPressure: 0,
|
|
189
|
+
linerTypeString: "",
|
|
190
|
+
linerWeightMin: 0,
|
|
191
|
+
linerWeightMax: 0,
|
|
192
|
+
tubeTypeId: TubeTypes.NONE,
|
|
193
|
+
tubeTypeString: tubeTypeIdToStringMap.get(TubeTypes.NONE) || "",
|
|
194
|
+
tubeOuterDiameterMax: 0,
|
|
195
|
+
tubeHeightMax: 0,
|
|
196
|
+
tubeMassKg: 0,
|
|
197
|
+
falseBottomStaysOpen: false,
|
|
198
|
+
applicatorHasVariableSqueegee: false,
|
|
199
|
+
measuredSqueegeeDiaAtSetpoint1: 0,
|
|
200
|
+
applicatorSetpoints: initialApplicatorSetpoints,
|
|
201
|
+
applicatorPreloadPauseDuration: 0,
|
|
202
|
+
applicatorToolId: ApplicatorTools.NONE,
|
|
203
|
+
applicatorToolString: applicatorToolIdToStringMap.get(ApplicatorTools.NONE) || "",
|
|
204
|
+
applicatorCollisionPayloadOffset: 0,
|
|
205
|
+
cleanerId: Cleaners.NONE,
|
|
206
|
+
cleanerString: cleanerIdToStringMap.get(Cleaners.NONE) || "",
|
|
207
|
+
weighingFingerId: WeighingFingers.NONE,
|
|
208
|
+
weighingFingerString: weighingFingerIdToStringMap().get(WeighingFingers.NONE) || "",
|
|
209
|
+
cameraId: CameraIds.NONE,
|
|
210
|
+
cameraString: cameraIdToStringMap.get(CameraIds.NONE) || "",
|
|
211
|
+
cameraSpeed: 0
|
|
212
212
|
};
|
|
213
213
|
|
|
214
214
|
|