357 lines
15 KiB
C#
357 lines
15 KiB
C#
///
|
|
/// Copyright (c) 2016-2023 Sensus Slovensko a.s.
|
|
///
|
|
using System;
|
|
|
|
namespace Results
|
|
{
|
|
public enum ItemID
|
|
{
|
|
String, /// 0
|
|
Test_name, /// 1
|
|
Procedure_name, /// 2
|
|
Batch_number, /// 3
|
|
Test_method, /// 4
|
|
Density, /// 5
|
|
Q_from, /// 6
|
|
Q_to, /// 7
|
|
Test_volume, /// 8
|
|
Error_limit_Lo, /// 9
|
|
Error_limit_Hi, /// 10
|
|
Uncertainty, /// 11
|
|
Test_start_time, /// 12
|
|
Test_end_time, /// 13
|
|
Test_time, /// 14
|
|
Flow, /// 15 Calculated flow (use ConstMasterRaw/ConstMaster to calculate uncorrected flow of the reference flow meter)
|
|
T_up_mean, /// 16
|
|
T_down_mean, /// 17
|
|
T_div, /// 18
|
|
P_up, /// 19
|
|
P_up_start, /// 20
|
|
P_up_end, /// 21
|
|
P_down, /// 22
|
|
P_down_start, /// 23
|
|
P_down_end, /// 24
|
|
Reference_error, /// 25
|
|
Ambient_temperature, /// 26
|
|
Ambient_pressure, /// 27
|
|
Ambient_humidity, /// 28
|
|
Volume, /// 29
|
|
Reference_volume, /// 30
|
|
Error, /// 31
|
|
Passed, /// 32
|
|
Watermeter_type, /// 33
|
|
Producer, /// 34
|
|
DN, /// 35
|
|
L, /// 36
|
|
Mounting, /// 37
|
|
Q4, /// 38
|
|
Q3, /// 39
|
|
Q2, /// 40
|
|
Q1, /// 41
|
|
Metrological_class, /// 42
|
|
Temperature_class, /// 43
|
|
Pressure_loss_class, /// 44
|
|
Max_admissible_pressure, /// 45
|
|
Flow_profile_sensitivity_class, /// 46
|
|
Approval_info, /// 47
|
|
Certificate, /// 48
|
|
Pulses_per_liter, /// 49 Water meter constant (water meter data, not used in calculations)
|
|
Text1, /// 50
|
|
Text2, /// 51
|
|
Text3, /// 52
|
|
Text4, /// 53
|
|
Text5, /// 54
|
|
Serial_Nr, /// 55
|
|
Purchase_order, /// 56
|
|
Year_of_production, /// 57
|
|
WM_Position, /// 58
|
|
End_state, /// 59
|
|
Pulses, /// 60
|
|
Pulse__liter, /// 61 Water meter constant (pulses per liter) specific for one test
|
|
Reference_pulses_ni, /// 62 Reference pulses gated for specific meter (synchro method)
|
|
Reference_energy, /// 63
|
|
Bench_ID, /// 64 Test bench ID (int) obtained from a component implementing IBenchInfo
|
|
Program_version, /// 65
|
|
User_name, /// 66
|
|
User_nr, /// 67
|
|
Energy, /// 68
|
|
Watermeters, /// 69
|
|
Protocol_title, /// 70
|
|
Batch_start_time, /// 71
|
|
Batch_end_time, /// 72
|
|
Lite_per_pulse_Read, /// 73
|
|
Result_code, /// 74
|
|
Remark, /// 75
|
|
T_Hi_mean, /// 76
|
|
T_Hi_start, /// 77
|
|
T_Hi_end, /// 78
|
|
T_Hi_avg, /// 79
|
|
T_Lo_mean, /// 80
|
|
T_Lo_start, /// 81
|
|
T_Lo_end, /// 82
|
|
T_Lo_avg, /// 83
|
|
P_delta_mean, /// 84
|
|
P_delta_start, /// 85
|
|
P_delta_end, /// 86
|
|
Meter_type, /// 87 Single, Compound or HeatMeter
|
|
Volume_main, /// 88
|
|
Volume_aux, /// 89
|
|
Start_volume, /// 90
|
|
Start_volume_main, /// 91
|
|
Start_volume_aux, /// 92
|
|
End_volume, /// 93
|
|
End_volume_main, /// 94
|
|
End_volume_aux, /// 95
|
|
Error_main, /// 96
|
|
Error_aux, /// 97
|
|
Serial_Nr_main, /// 98
|
|
Serial_Nr_aux, /// 99
|
|
End_state_main, /// 100
|
|
End_state_aux, /// 101
|
|
Q_rise, /// 102
|
|
Q_fall, /// 103
|
|
|
|
/// iPerl
|
|
OrigCalibFactor, /// 104
|
|
CalibFactor, /// 105
|
|
Q2ErrWOCorrection, /// 106
|
|
Q2CorrectionDone, /// 107
|
|
Q2CorrRFlow, /// 108
|
|
Q2CorrLFlow, /// 109
|
|
Q2CorrFlowRight, /// 110
|
|
|
|
Q_ref_mean, /// 111
|
|
T_up_start, /// 112
|
|
T_up_end, /// 113
|
|
T_up_avg, /// 114
|
|
T_down_start, /// 115
|
|
T_down_end, /// 116
|
|
T_down_avg, /// 117
|
|
T_div_start, /// 118
|
|
T_div_end, /// 119
|
|
T_div_avg, /// 120
|
|
P_up_avg, /// 121
|
|
P_down_avg, /// 122
|
|
P_delta_avg, /// 123
|
|
|
|
TestDone, /// 124
|
|
TestPassed, /// 125
|
|
|
|
/// iPerl
|
|
FW_Version, /// 126
|
|
|
|
Mass_start_raw, /// 127
|
|
Mass_start, /// 128
|
|
Mass_end_raw, /// 129
|
|
Mass_end, /// 130
|
|
Mass, /// 131
|
|
Buoyancy, /// 132
|
|
Density_correction, /// 133
|
|
|
|
ErrorFlags, /// 134
|
|
E1, /// 135
|
|
E2, /// 136
|
|
E3, /// 137
|
|
E4, /// 138
|
|
E5, /// 139
|
|
E6, /// 140
|
|
E7, /// 141
|
|
E8, /// 142
|
|
E9, /// 143
|
|
E10, /// 144
|
|
E11, /// 145
|
|
E12, /// 146
|
|
E13, /// 147
|
|
E14, /// 148
|
|
E15, /// 149
|
|
E16, /// 150
|
|
|
|
Table_row_nr, /// 151
|
|
Table_column_nr, /// 152
|
|
WMRemark, /// 153
|
|
|
|
User_description, /// 154
|
|
Legalizator, /// 155
|
|
|
|
Passed_meters_count, /// 156
|
|
Failed_meters_count, /// 157
|
|
Passed_seals_count, /// 158
|
|
|
|
Diverter_start_time, /// 159
|
|
Diverter_end_time, /// 160
|
|
Q_sensitivity, /// 161
|
|
|
|
Q_ref_min, /// 162
|
|
Q_ref_max, /// 163
|
|
Q_ref_start, /// 164
|
|
Q_ref_end, /// 165
|
|
|
|
Amb_temp_start_end, /// 166
|
|
Amb_press_start_end, /// 167
|
|
Amb_humi_start_end, /// 168
|
|
|
|
ResultOrErrorFlags, /// 169, PL specific result
|
|
|
|
T_up_min, /// 170
|
|
T_up_max, /// 171
|
|
T_down_min, /// 172
|
|
T_down_max, /// 173
|
|
T_div_min, /// 174
|
|
T_div_max, /// 175
|
|
P_up_min, /// 176
|
|
P_up_max, /// 177
|
|
P_down_min, /// 178
|
|
P_down_max, /// 179
|
|
P_delta_min, /// 180
|
|
P_delta_max, /// 181
|
|
|
|
T_rho_0, /// 182
|
|
Rho_Wa_calc, /// 183
|
|
|
|
Formatted_WM_ID, /// 184, Formated WM ID string:
|
|
/// {0}=start DateTime {1}-end DateTime, {2}=batch nr., {3}=wm pos.(1..max), {4}=s/n string
|
|
E21, /// 185
|
|
|
|
T_line_mean, /// 186
|
|
T_line_start, /// 187
|
|
T_line_end, /// 188
|
|
T_line_avg, /// 189
|
|
T_line_min, /// 190
|
|
T_line_max, /// 191
|
|
|
|
ErrorFlagsEx, /// 192
|
|
RhoDistilledWtrAtMeLineTemp, /// 193
|
|
ConstMaster, /// 194
|
|
Reference_pulses, /// 195 Reference pulses not gated
|
|
spare,
|
|
Separator, /// 197
|
|
Test_time_ni, /// 198 Test time for a specific meter (gated in case of a synchro method OR a difference of 2 time stamps)
|
|
PMax_test_time, /// 199 Pressure test time
|
|
Start_valve_open_time, /// 200
|
|
Start_valve_close_time, /// 201
|
|
NotUsed202, /// 202
|
|
Degree__liter, /// 203 Water meter constant (degree per liter) specific for one test with camera
|
|
Camera_angle, /// 204
|
|
Camera_angle_start, /// 205
|
|
Camera_angle_end, /// 206
|
|
|
|
P_delta_mean_per_mtr, /// 207
|
|
P_delta_mean_from_up_down, /// 208
|
|
P_delta_mean_from_up_down_per_mtr, /// 209
|
|
Timestamp_start, /// 210
|
|
Timestamp_end, /// 211
|
|
P_PMax_test_mean, /// 212 PMax test pressure mean of (Pup + Pdown)/2
|
|
|
|
Medium, /// 213 Woda zimna/ciepla
|
|
|
|
NotUsed214, /// 214
|
|
NotUsed215, /// 215
|
|
NotUsed216, /// 216
|
|
NotUsed217, /// 217
|
|
NotUsed218, /// 218
|
|
ConstMasterRaw, /// 219 ConstMaster (like 194) uncorrected
|
|
Reference_error_corr, /// 220 Reference flow meter error after correction using correction curve
|
|
|
|
Proc_description, /// 221 Procedure description (CEVAK, not mapped to DB)
|
|
Bench_name, /// 222 'Test bench name' (string) obtained from a component implementing IBenchInfo
|
|
Bench_address1, /// 223 'Address 1' from IBenchInfo
|
|
Bench_address2, /// 224 'Address 2' from IBenchInfo
|
|
Bench_address3, /// 225 'Address 3' from IBenchInfo
|
|
Bench_address4, /// 226 'Address 4' from IBenchInfo
|
|
Bench_address5, /// 227 'Address 5' from IBenchInfo
|
|
|
|
Max_test_index, /// 228 MaxPruefindex % 100
|
|
VolumeCTV, /// 229
|
|
|
|
/// iPerl
|
|
LastError, /// 230 For iPerl previous test result (test with Proefindex-1)
|
|
OrigCalibFactorLNA, /// 231
|
|
CalibFactorLNA, /// 232
|
|
|
|
WM_remark, /// 233
|
|
|
|
/// iPerl special
|
|
Prod_AssignedSerialNr, /// 234
|
|
Prod_CompleteSerialNr, /// 235
|
|
Prod_RadioAddress, /// 236
|
|
Prod_PaletteNr, /// 237
|
|
Prod_UmkartonNr, /// 238
|
|
Prod_TestBench, /// 239
|
|
Prod_WMPosition, /// 240
|
|
Prod_UserName, /// 241
|
|
Prod_PurchaseOrder, /// 242
|
|
Prod_Passed, /// 243
|
|
Prod_ResultCode, /// 244
|
|
Prod_Q2CorrRL, /// 245
|
|
Prod_Q2CorrLR, /// 246
|
|
|
|
TestPartStr, /// 247
|
|
|
|
Error_heat_mtr_vol, /// 248
|
|
Energy_start, /// 249
|
|
Energy_end, /// 250
|
|
|
|
OraWMTypeID, /// 251
|
|
OraWMTypeRev, /// 252
|
|
|
|
E25, /// 253
|
|
E26, /// 254
|
|
E27, /// 255
|
|
E28, /// 256
|
|
|
|
RefFlowmeter, /// 257
|
|
Test_Method_Elde, /// 258
|
|
|
|
Counter1, /// 259 counterIdx0 = 0
|
|
Counter2, /// 260 counterIdx0 = 1
|
|
Counter3, /// 261 counterIdx0 = 2
|
|
Counter4, /// 262 counterIdx0 = 3
|
|
Counter5, /// 263 counterIdx0 = 4
|
|
Counter6, /// 264 counterIdx0 = 5
|
|
Counter7, /// 265 counterIdx0 = 6
|
|
Counter8, /// 266 counterIdx0 = 7
|
|
Counter9, /// 267 counterIdx0 = 8
|
|
Counter10, /// 268 counterIdx0 = 9
|
|
|
|
ConstMasterCorr, /// 269
|
|
TimeBtwnMassMsrmnts, /// 270
|
|
TestTimeCorrection, /// 271
|
|
|
|
ThreeState, /// 272
|
|
|
|
Conduct, /// 273
|
|
Conduct_start, /// 274
|
|
Conduct_end, /// 275
|
|
Conduct_avg, /// 276
|
|
Conduct_min, /// 277
|
|
Conduct_max, /// 278
|
|
|
|
InfoFlags, /// 279
|
|
Scale, /// 280
|
|
Diverter, /// 281
|
|
RegValve, /// 282
|
|
|
|
X1, /// 283
|
|
X2, /// 284
|
|
X3, /// 285
|
|
X4, /// 286
|
|
X5, /// 287
|
|
X6, /// 288
|
|
X7, /// 289
|
|
X8, /// 290
|
|
X9, /// 291
|
|
|
|
RadioAddress, /// 292
|
|
OriRadioAddress, /// 293
|
|
|
|
Pls_per_ltr_aux, /// 294 Compound water meter constant (water meter data, not used in calculations)
|
|
Pulses_main, /// 295 Compound main meter pulses (recalculated so that the gated ref. pulses for this meter are equal to the total ref. pulses)
|
|
Pulses_aux, /// 296 Compound aux meter pulses (recalculated so that the gated ref. pulses for this meter are equal to the total ref. pulses)
|
|
|
|
Failed_meters_countE15, /// 297
|
|
|
|
Count,
|
|
}
|
|
}
|