-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunits.cs
401 lines (398 loc) · 12.3 KB
/
units.cs
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
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
/* Do not edit this file. It was autogenerated by ASOBO_MakeUnits.bat . */
namespace SimUtils
{
class Units
{
static public readonly string[] Names = new string[]
{
"Frequency BCD32",
"inHg",
"ft/min",
"N",
"m",
"yard",
"meters per second",
"Slugs per cubic foot",
"meter scaler 256",
"foot",
"nautical mile",
"percent over 100",
"percentage",
"fahrenheit",
"kilogram per cubic meter",
"per second",
"kilogram meters",
"meter/second",
"in2",
"in3",
"meters per second scaler 256",
"ft2",
"ft3",
"decinmile",
"amperes",
"nice minutes per round",
"Enum",
"farenheit",
"meter per second scaler 256",
"Bco16",
"Slugs per cubic feet",
"feet",
"minutes",
"decibel",
"degree latitude",
"meters per second squared",
"halfs",
"feet/second",
"pound-force per square foot",
"Slug/ft3",
"kilometer/hour",
"hour over 10",
"minute per round",
"slugs",
"MHz",
"cm",
"sq cm",
"degrees per second squared",
"meters/second",
"Boolean",
"Megahertz",
"km2",
"km3",
"millibar scaler 16",
"millimeter of mercury",
"percent",
"radian per second",
"meters cubed",
"inches",
"pounds per hour",
"foot-pounds",
"degrees per second ang16",
"rpms",
"cubic kilometers",
"radians per second",
"slugs feet squared",
"newton meters",
"bar",
"psf scaler 16k",
"part",
"cu yd",
"meter latitude",
"mile",
"meters per minute",
"kelvin",
"machs",
"flags",
"seconds",
"psi scaler 16k",
"per minute",
"ft",
"ampere",
"kPa",
"half",
"sq ft",
"quarts",
"kph",
"fs7 charging amps",
"pound",
"geepounds",
"degree",
"kilograms per cubic meter",
"keyframe",
"slug",
"Slug per cubic foot",
"cubic inches",
"feet/minute",
"mm2",
"mm3",
"days",
"square inch",
"millimeters of water",
"Hz",
"years",
"Slug per cubic feet",
"Hertz",
"thirds",
"millimeter of water",
"bel",
"in",
"sq in",
"second",
"day",
"kilometers",
"degrees per second",
"millimeters of mercury",
"pascals",
"degrees angl16",
"mmHg",
"m/s",
"knots",
"kilogram per second",
"decibels",
"cubic miles",
"inHg 64 over 64k",
"mph",
"boost inHg",
"celsius scaler 1/256",
"foot per second squared",
"hours",
"kg",
"km",
"sq km",
"decinmiles",
"cmHg",
"millibars",
"times",
"degrees angl32",
"rankine",
"number",
"square miles",
"kilogram force per square centimeter",
"degree per second",
"knot scaler 128",
"newton meter",
"mach",
"scaler",
"hour",
"mbar",
"square millimeter",
"atmospheres",
"kilogram meter",
"position",
"pounds",
"miles",
"third",
"percent scaler 32k",
"percent scaler 16k",
"sq mm",
"m2",
"m3",
"miles per hour",
"radians",
"knot",
"degree per second squared",
"volt",
"centimeters",
"GLOBALP->eng1.manifold_pressure",
"millimeters",
"square foot",
"kilograms",
"square yard",
"kilometers/hour",
"meters latitude",
"cubic yards",
"amps",
"Nm",
"millibars scaler 16",
"gallon per hour",
"cubic meter",
"feet per second",
"round",
"kilogram meter squared",
"cu cm",
"cubic centimeters",
"meters scaler 256",
"cubic millimeters",
"meters",
"minute",
"square yards",
"mbars",
"square feet",
"geepound",
"kilograms meter squared",
"GLOBALP->eng1.oil_prs",
"amp",
"kilopascal",
"liter per hour",
"celsius fs7 egt",
"Frequency ADF BCD32",
"square meter",
"decimiles",
"pounds scaler 256",
"Pa",
"GForce",
"degree longitude",
"feet per second squared",
"square centimeter",
"yards",
"ft-lbs",
"pph",
"gallons",
"inches of mercury",
"more_than_a_half",
"meter",
"nice minute per round",
"meter per second",
"hectopascal",
"cubic inch",
"kilograms per second",
"cubic kilometer",
"cu ft",
"slug feet squared",
"square centimeters",
"cubic meters",
"square millimeters",
"GLOBALP->eng1.oil_tmp",
"pound per hour",
"revolution per minute",
"minutes per round",
"volts",
"square mile",
"decimile",
"gallon",
"degrees",
"cm2",
"cm3",
"newtons per square meter",
"cu m",
"celsius scaler 16k",
"nmiles",
"psf",
"square inches",
"psi",
"Bool",
"newtons",
"fs7 oil quantity",
"atmosphere",
"cubic millimeter",
"Kilohertz",
"feet per minute",
"meter cubed",
"lbf-feet",
"kgf meters",
"degree per second ang16",
"celsius scaler 256",
"rpm",
"newton per square meter",
"cu in",
"pascal",
"per radian",
"poundal feet",
"numbers",
"meter cubed per second",
"per hour",
"psi 4 over 16k",
"foot pounds",
"meters cubed per second",
"psi fs7 oil pressure",
"radians per second squared",
"celsius fs7 oil temp",
"atm",
"kilometers per hour",
"boost cmHg",
"yd2",
"position 128",
"yd3",
"cu km",
"year",
"gallons per hour",
"G Force",
"cubic yard",
"kilogram",
"meter per minute",
"rounds",
"cubic foot",
"foot pound",
"GLOBALP->delta_heading_rate",
"boost psi",
"degree angl16",
"cubic centimeter",
"newton",
"pound scaler 256",
"cubic feet",
"nautical miles",
"foot-pound",
"quart",
"hours over 10",
"grads",
"cu mm",
"millimeter",
"hectopascals",
"degrees latitude",
"G Force 624 scaled",
"liter",
"sq yd",
"knots scaler 128",
"ft lb per second",
"degree angl32",
"lbf",
"liters",
"grad",
"lbs",
"inch",
"position 32k",
"position 16k",
"bars",
"degrees longitude",
"mile per hour",
"meter per second squared",
"GLOBALP->vertical_speed",
"liters per hour",
"revolutions per minute",
"keyframes",
"centimeter of mercury",
"sq m",
"pound-force per square inch",
"Watt",
"bels",
"angl16",
"KgFSqCm",
"mask",
"rpm 1 over 16k",
"kilometer",
"square kilometers",
"centimeter",
"cubic mile",
"Watts",
"celsius",
"ratio",
"centimeters of mercury",
"Frequency BCD16",
"radian per second squared",
"radian",
"per degree",
"nmile",
"gph",
"square meters",
"angl32",
"millibar",
"KHz",
"kilometer per hour",
"mach 3d2 over 64k",
"kgf meter",
"percent scaler 2pow23",
"square kilometer",
"inch of mercury",
};
static public readonly string[][] Mapping = new string[][]
{
new string[] {"meter", "meters", "m", "centimeter", "centimeters", "cm", "kilometer", "kilometers", "km", "millimeter", "millimeters", "mile", "miles", "nmile", "nmiles", "nautical mile", "nautical miles", "decinmile", "decinmiles", "decimile", "decimiles", "foot", "feet", "ft", "inch", "inches", "in", "yard", "yards", "meter scaler 256", "meters scaler 256", },
new string[] {"square meter", "square meters", "sq m", "m2", "square centimeter", "square centimeters", "sq cm", "cm2", "square kilometer", "square kilometers", "sq km", "km2", "square millimeter", "square millimeters", "sq mm", "mm2", "square mile", "square miles", "square feet", "square foot", "sq ft", "ft2", "square inch", "square inches", "sq in", "in2", "square yard", "square yards", "sq yd", "yd2", },
new string[] {"meter cubed", "meters cubed", "cubic meter", "cubic meters", "cu m", "m3", "liter", "liters", "gallon", "gallons", "quart", "quarts", "fs7 oil quantity", "cubic centimeter", "cubic centimeters", "cu cm", "cm3", "cubic kilometer", "cubic kilometers", "cu km", "km3", "cubic millimeter", "cubic millimeters", "cu mm", "mm3", "cubic mile", "cubic miles", "cubic feet", "cubic foot", "cu ft", "ft3", "cubic inch", "cubic inches", "cu in", "in3", "cubic yard", "cubic yards", "cu yd", "yd3", },
new string[] {"kelvin", "rankine", "farenheit", "fahrenheit", "celsius", "GLOBALP->eng1.oil_tmp", "celsius fs7 oil temp", "celsius fs7 egt", "celsius scaler 16k", "celsius scaler 256", "celsius scaler 1/256", },
new string[] {"part", "half", "halfs", "third", "thirds", "percent", "percent over 100", "bel", "bels", "decibel", "decibels", "more_than_a_half", "times", "ratio", "number", "numbers", "scaler", "percentage", "percent scaler 16k", "percent scaler 32k", "percent scaler 2pow23", "position", "position 32k", "position 16k", "position 128", "keyframe", "keyframes", },
new string[] {"per radian", "per degree", },
new string[] {"radian", "radians", "round", "rounds", "degree", "degrees", "grad", "grads", "angl16", "degree angl16", "degrees angl16", "angl32", "degree angl32", "degrees angl32", "degree latitude", "degrees latitude", "degree longitude", "degrees longitude", "meter latitude", "meters latitude", },
new string[] {"radian per second", "radians per second", "revolution per minute", "rpm", "rpms", "revolutions per minute", "minute per round", "minutes per round", "nice minute per round", "nice minutes per round", "degree per second", "degrees per second", "GLOBALP->delta_heading_rate", "degree per second ang16", "degrees per second ang16", "rpm 1 over 16k", },
new string[] {"meter/second", "meters/second", "m/s", "meter per second", "meters per second", "meter per minute", "meters per minute", "feet/second", "feet per second", "feet/minute", "ft/min", "feet per minute", "kilometer/hour", "kilometers/hour", "kilometer per hour", "kilometers per hour", "kph", "knot", "knots", "mile per hour", "miles per hour", "mph", "GLOBALP->vertical_speed", "knot scaler 128", "knots scaler 128", "meter per second scaler 256", "meters per second scaler 256", },
new string[] {"per second", "per minute", "per hour", },
new string[] {"mach", "machs", "mach 3d2 over 64k", },
new string[] {"pascal", "pascals", "Pa", "newton per square meter", "newtons per square meter", "kilopascal", "kPa", "kilogram force per square centimeter", "KgFSqCm", "millimeter of mercury", "millimeters of mercury", "mmHg", "centimeter of mercury", "centimeters of mercury", "cmHg", "inch of mercury", "inches of mercury", "inHg", "atmosphere", "atmospheres", "atm", "millimeter of water", "millimeters of water", "pound-force per square inch", "psi", "pound-force per square foot", "psf", "bar", "bars", "boost cmHg", "boost inHg", "boost psi", "GLOBALP->eng1.manifold_pressure", "inHg 64 over 64k", "GLOBALP->eng1.oil_prs", "psi fs7 oil pressure", "psf scaler 16k", "psi scaler 16k", "psi 4 over 16k", "millibar", "millibars", "mbar", "mbars", "hectopascal", "hectopascals", "millibar scaler 16", "millibars scaler 16", },
new string[] {"second", "seconds", "minute", "minutes", "hour", "hours", "day", "days", "hour over 10", "hours over 10", },
new string[] {"year", "years", },
new string[] {"Watt", "Watts", "ft lb per second", },
new string[] {"meter cubed per second", "meters cubed per second", "gallon per hour", "gallons per hour", "gph", "liter per hour", "liters per hour", "pph", },
new string[] {"kilogram per second", "kilograms per second", "pound per hour", "pounds per hour", },
new string[] {"kilogram", "kilograms", "kg", "pound", "pounds", "lbs", "pound scaler 256", "pounds scaler 256", "slug", "slugs", "geepound", "geepounds", },
new string[] {"slug feet squared", "slugs feet squared", "kilogram meter squared", "kilograms meter squared", },
new string[] {"ampere", "amperes", "amp", "amps", "fs7 charging amps", },
new string[] {"volt", "volts", },
new string[] {"Hertz", "Hz", "Kilohertz", "KHz", "Megahertz", "MHz", "Frequency BCD32", "Frequency BCD16", "Frequency ADF BCD32", },
new string[] {"Enum", "Bool", "Boolean", "Bco16", "mask", "flags", },
new string[] {"meter per second squared", "meters per second squared", "GForce", "G Force", "G Force 624 scaled", "feet per second squared", "foot per second squared", },
new string[] {"kilogram per cubic meter", "kilograms per cubic meter", "Slug per cubic feet", "Slugs per cubic feet", "Slug/ft3", "Slug per cubic foot", "Slugs per cubic foot", },
new string[] {"newton", "newtons", "N", "lbf", },
new string[] {"newton meter", "newton meters", "Nm", "foot pound", "foot pounds", "ft-lbs", "foot-pound", "foot-pounds", "lbf-feet", "kilogram meter", "kilogram meters", "kgf meter", "kgf meters", "poundal feet", },
new string[] {"radian per second squared", "radians per second squared", "degree per second squared", "degrees per second squared", },
};
}
}