Loading…
Loading…
方法名称: product_calibration_method
方法ID: 0x40DE
方法标签: Product calibration
方法描述:
- {
- 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);
请登录以获得完整内容