Loading…
Loading…
方法名称: MthStopTotalizer
方法ID: 0x40CE
方法标签: Stop totalizer
方法描述: Stop the totalizer. Stops the actual totalizer function.
- {
- char status[3];
- int _countSteps;
- int _isAbort;
- int _isSendImmediateReset;
- int iResult;
- iResult = SELECT_FROM_LIST(literal_string(1051),literal_string(1052));
- if (iResult != 1)
- return;
- _isAbort = 0;
- _countSteps = 0;
- _isSendImmediateReset = 1;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _add_abort_method(16583);
- send(230,status);
- if (stepDeviceFunction != 251)
- {
- iResult = SELECT_FROM_LIST(literal_string(1054),literal_string(1052));
- if (iResult == 1)
- {
- MthResetDeviceFunction();
- send(231,status);
- ;
- if (status[0])
请登录以获得完整内容