forked from ehb54/us3_sql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
us3_hardware_data.sql
377 lines (347 loc) · 12.2 KB
/
us3_hardware_data.sql
1
2
3
4
5
6
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
38
39
40
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
--
-- us3_hardware_data.sql
--
-- Some hard-wired hardware data
--
--
-- Rotor information ported from Beckman website, US2 data rotor.dat
--
DELETE FROM abstractRotor;
DELETE FROM abstractCenterpiece;
DELETE FROM rotor;
DELETE FROM rotorCalibration;
DELETE FROM lab;
INSERT INTO abstractRotor SET
abstractRotorID = 1,
abstractRotorGUID = 'a06a2795-99bd-67b4-ad90-401eb5f560fd',
name = 'AN50',
materialName = 'Titanium',
numHoles = 8,
maxRPM = 50000,
magnetOffset = 0.0,
cellCenter = 6.5, -- cm
manufacturer = 'Beckman';
INSERT INTO abstractRotor SET
abstractRotorID = 2,
abstractRotorGUID = 'fda22413-8d1a-4ef4-a9fc-620d0c00d434',
name = 'AN60',
materialName = 'Titanium',
numHoles = 4,
maxRPM = 60000,
magnetOffset = 0.0,
cellCenter = 6.5, -- cm
manufacturer = 'Beckman';
INSERT INTO abstractRotor SET
abstractRotorID = 3,
abstractRotorGUID = '4f9326de-0f40-5474-f957-1eaea5b1478c',
name = 'Simulation',
materialName = 'simulation',
numHoles = 8,
maxRPM = 60000,
magnetOffset = 0.0,
cellCenter = 6.5, -- cm
manufacturer = 'Simulation';
-- INSERT INTO abstractRotor SET
-- abstractRotorID = 4,
-- abstractRotorGUID = '68ea4167-f76a-1214-154b-54876bbed32b',
-- name = 'CFA',
-- materialName = 'CarbonFiber',
-- numHoles = 8,
-- maxRPM = 60000,
-- magnetOffset = 0.0,
-- cellCenter = 6.5, -- cm
-- manufacturer = 'SpinAnalytical';
-- either angle or width will be null, depending on shape
INSERT INTO abstractCenterpiece SET
abstractCenterpieceID = 1,
loadMethod = 'side',
abstractCenterpieceGUID = '08cbd35f-151c-4814-8457-6ef8dd523a23',
name = 'Simulation 1-channel standard',
materialName = 'Simulated',
channels = 1, -- x2 for actual number
bottom = '7.2',
shape = 'standard',
maxRPM = 60000,
pathLength = 1.2,
angle = 2.5,
width = NULL,
canHoldSample = 1,
materialRefURI = '',
centerpieceRefURI = '',
dataUpdated = NOW();
-- either angle or width will be null, depending on shape
INSERT INTO abstractCenterpiece SET
abstractCenterpieceID = 2,
loadMethod = 'side',
abstractCenterpieceGUID = '340540ba-a225-4214-9136-2b4003af772e',
name = 'Epon 2-channel standard',
materialName = 'Epon',
channels = 1, -- x2 for actual number
bottom = '7.2',
shape = 'standard',
maxRPM = 42000,
pathLength = 1.2,
angle = 2.5,
width = NULL,
canHoldSample = 1,
materialRefURI = '',
centerpieceRefURI = '',
dataUpdated = NOW();
-- either angle or width will be null, depending on shape
INSERT INTO abstractCenterpiece SET
abstractCenterpieceID = 3,
loadMethod = 'side',
abstractCenterpieceGUID = 'e1dfbc5b-ceeb-4275-a280-0e3a5ab0c490',
name = 'Aluminum 2-channel standard',
materialName = 'Aluminum',
channels = 1, -- x2 for actual number
bottom = '7.15',
shape = 'standard',
maxRPM = 60000,
pathLength = 1.2,
angle = 2.5,
width = NULL,
canHoldSample = 1,
materialRefURI = '',
centerpieceRefURI = '',
dataUpdated = NOW();
-- either angle or width will be null, depending on shape
INSERT INTO abstractCenterpiece SET
abstractCenterpieceID = 4,
loadMethod = 'top',
abstractCenterpieceGUID = '25d18488-1afa-4b9b-8a6d-b59802f0a74a',
name = 'Epon 6-channel rectangular',
materialName = 'Epon',
channels = 3, -- x2 for actual number
bottom = '6.111:6.613:7.104',
shape = 'rectangular',
maxRPM = 48000,
pathLength = 0.3,
angle = NULL,
width = 0.323,
canHoldSample = 1,
materialRefURI = '',
centerpieceRefURI = '',
dataUpdated = NOW();
-- either angle or width will be null, depending on shape
INSERT INTO abstractCenterpiece SET
abstractCenterpieceID = 5,
loadMethod = 'side',
abstractCenterpieceGUID = 'd8eec2e8-cc11-46fd-b96e-8fe82059317d',
name = 'Titanium 2-channel standard',
materialName = 'Titanium',
channels = 1, -- x2 for actual number
bottom = '7.15',
shape = 'standard',
maxRPM = 60000,
pathLength = 1.2,
angle = 2.5,
width = NULL,
canHoldSample = 1,
materialRefURI = '',
centerpieceRefURI = '',
dataUpdated = NOW();
-- either angle or width will be null, depending on shape
INSERT INTO abstractCenterpiece SET
abstractCenterpieceID = 6,
loadMethod = 'top',
abstractCenterpieceGUID = '70641c51-ac63-4862-baf4-1f418489ed06',
name = 'Titanium 6-channel rectangular',
materialName = 'Titanium',
channels = 3, -- x2 for actual number
bottom = '6.170:6.690:7.210', -- change to 6.111:6.613:7.104 ?
shape = 'rectangular',
maxRPM = 60000,
pathLength = 1.2,
angle = NULL,
width = 0.320,
canHoldSample = 1,
materialRefURI = '',
centerpieceRefURI = '',
dataUpdated = NOW();
-- either angle or width will be null, depending on shape
INSERT INTO abstractCenterpiece SET
abstractCenterpieceID = 7,
loadMethod = 'top',
abstractCenterpieceGUID = '4a6410c5-099f-44d8-baa2-0e2d4c099ced',
name = 'Epon 2-channel band forming',
materialName = 'Epon',
channels = 1, -- x2 for actual number
bottom = '7.2',
shape = 'band forming',
maxRPM = 42000,
pathLength = 1.2,
angle = 2.5,
width = NULL,
canHoldSample = 1,
materialRefURI = '',
centerpieceRefURI = '',
dataUpdated = NOW();
-- either angle or width will be null, depending on shape
INSERT INTO abstractCenterpiece SET
abstractCenterpieceID = 8,
loadMethod = 'top',
abstractCenterpieceGUID = '30a5f2f8-b31a-42b8-a8a8-df077bf1b432',
name = 'Epon-Helmut 2-channel band forming',
materialName = 'Epon-Helmut',
channels = 1, -- x2 for actual number
bottom = '7.2',
shape = 'band forming',
maxRPM = 60000,
pathLength = 1.2,
angle = 2.5,
width = NULL,
canHoldSample = 1,
materialRefURI = '',
centerpieceRefURI = '',
dataUpdated = NOW();
-- either angle or width will be null, depending on shape
INSERT INTO abstractCenterpiece SET
abstractCenterpieceID = 9,
loadMethod = 'side',
abstractCenterpieceGUID = '2e4414c9-babf-4505-8556-4bd492b9fb27',
name = 'SVEL60 2-channel standard',
materialName = 'SVEL60',
channels = 1, -- x2 for actual number
bottom = '7.2',
shape = 'standard',
maxRPM = 60000,
pathLength = 1.2,
angle = 2.0,
width = NULL,
canHoldSample = 1,
materialRefURI = '',
centerpieceRefURI = '',
dataUpdated = NOW();
-- either angle or width will be null, depending on shape
INSERT INTO abstractCenterpiece SET
abstractCenterpieceID = 10,
loadMethod = 'side',
abstractCenterpieceGUID = 'd8e93427-eb88-42d1-b459-ab6787e571c6',
name = 'SVEL60 2-channel meniscus matching',
materialName = 'SVEL60',
channels = 1, -- x2 for actual number
bottom = '7.2',
shape = 'meniscus matching',
maxRPM = 60000,
pathLength = 1.2,
angle = 2.0,
width = NULL,
canHoldSample = 1,
materialRefURI = '',
centerpieceRefURI = '',
dataUpdated = NOW();
INSERT INTO abstractCenterpiece SET
abstractCenterpieceID = 11,
loadMethod = 'side',
abstractCenterpieceGUID = '9ad4affd-8ffc-1234-1986-d2cb21f37dec',
name = 'Titanium 2-channel 6 mm',
materialName = 'Titanium',
channels = 1, -- x2 for actual number
bottom = '7.10',
shape = 'sector',
maxRPM = 60000,
pathLength = 0.6,
angle = 2.5,
width = NULL,
canHoldSample = 1,
materialRefURI = '',
centerpieceRefURI = '',
dataUpdated = NOW();
INSERT INTO abstractCenterpiece SET
abstractCenterpieceID = 12,
loadMethod = 'side',
abstractCenterpieceGUID = '76054842-eb0d-0ee4-2d62-37fea4ce39ef',
name = 'Titanium 2-channel 3 mm',
materialName = 'Titanium',
channels = 1, -- x2 for actual number
bottom = '7.10',
shape = 'sector',
maxRPM = 60000,
pathLength = 0.3,
angle = 2.5,
width = NULL,
canHoldSample = 1,
materialRefURI = '',
centerpieceRefURI = '',
dataUpdated = NOW();
-- Default rotors
INSERT INTO rotor SET
rotorID = 1,
abstractRotorID = 1,
labID = 1,
rotorGUID = '851389f4-2155-7da4-05ae-ce4e51683a3c',
name = 'Default 1001 (AN50)',
serialNumber = 'DEFAULT 1001';
INSERT INTO rotor SET
rotorID = 2,
abstractRotorID = 2,
labID = 1,
rotorGUID = 'bb014301-6b8b-f0f4-81b5-8ae36dac9ed5',
name = 'Default 1002 (AN60)',
serialNumber = 'DEFAULT 1002';
INSERT INTO rotor SET
rotorID = 3,
abstractRotorID = 3,
labID = 1,
rotorGUID = '32673123-095b-7b64-49dd-e58cb14d4fed',
name = 'Default 1003 (Simulation)',
serialNumber = 'DEFAULT 1003';
-- INSERT INTO rotor SET
-- rotorID = 4,
-- abstractRotorID = 4,
-- labID = 1,
-- rotorGUID = '4791c966-2fcd-4a1b-b049-ceab5ad11d3e',
-- name = 'Default 1004 (CFA)',
-- serialNumber = 'DEFAULT 1004';
-- Default rotor configurations
INSERT INTO rotorCalibration SET
rotorCalibrationID = 1,
rotorID = 1,
rotorCalibrationGUID = 'f28482f7-9b43-49a3-a8b8-528484e795c2',
report = CONCAT( 'This is the default calibration for this rotor type --- ',
'please replace with one created with your rotor.' ),
coeff1 = 1.18423e-07,
coeff2 = 5.76415e-12,
omega2_t = 0,
dateUpdated = NOW(),
calibrationExperimentID = -1;
INSERT INTO rotorCalibration SET
rotorCalibrationID = 2,
rotorID = 2,
rotorCalibrationGUID = 'ca6d718b-db7a-4744-894d-ad73f8ee3569',
report = CONCAT( 'This is the default calibration for this rotor type --- ',
'please replace with one created with your rotor.' ),
coeff1 = 1.20642e-08,
coeff2 = 5.29077e-12,
omega2_t = 0,
dateUpdated = NOW(),
calibrationExperimentID = -1;
INSERT INTO rotorCalibration SET
rotorCalibrationID = 3,
rotorID = 3,
rotorCalibrationGUID = 'ba39dd96-f188-cd24-31b1-40d63ad83fa0',
report = 'This is the default calibration for this rotor type',
coeff1 = 0.0,
coeff2 = 0.0,
omega2_t = 0,
dateUpdated = NOW(),
calibrationExperimentID = -1;
-- INSERT INTO rotorCalibration SET
-- rotorCalibrationID = 4,
-- rotorID = 4,
-- rotorCalibrationGUID = 'a167e7f5-e554-1334-c1a6-af53531492ea',
-- report = CONCAT( 'This is the default calibration for this rotor type --- ',
-- 'please replace with one created with your rotor.' ),
-- coeff1 = 0.0,
-- coeff2 = 0.0,
-- omega2_t = 0,
-- dateUpdated = NOW(),
-- calibrationExperimentID = -1;
INSERT INTO lab SET
labID = 1,
labGUID = 'c61cedd3-dd0f-3db4-1118-ee4db019bcfd',
name = 'UTHSCSA Lab #1',
building = 'HSC-MED',
room = '425D',
dateUpdated = NOW();