Loading…
Loading…
Method Name: product_calibration_method
Method ID: 0x40DE
Method Label: Product calibration
Method Help:
- {
- float trim_value;
- long var_id[2];
- int choice_com;
- int unit_code;
- int rc;
- char status[3];
- DD_STRING com_init;
- DD_STRING com_assign;
- DD_STRING com_cancel;
- DD_STRING com_activate;
- DD_STRING com_deactivate;
- DD_STRING message_1;
- DD_STRING message_output;
- DD_STRING string_unit;
- unit_code = _ivar_value(16384);
- switch (unit_code)
- {
- case 8:
- string_unit = literal_string(358);
- break;
- case 149:
- string_unit = literal_string(359);
- break;
- case 240:
- string_unit = literal_string(56);
- break;
- case 169:
- string_unit = literal_string(360);
- break;
- case 139:
- string_unit = literal_string(361);
- break;
- case 249:
- string_unit = literal_string(58);
- break;
- default:
- process_abort();
- }
- _vassign(4223,4048);
- var_id[0] = resolve_record_ref(resolve_array_ref(269,_ivar_value(4223)),191);
- var_id[1] = resolve_record_ref(resolve_array_ref(269,_ivar_value(4223)),190);
- _iassign(16559,32);
- _fassign(16561,0);
- send(128,status);
Please login for more