Loading…
Loading…
方法名称: reset_mass_integrator_method
方法ID: 0x40E3
方法标签: Reset Totalizer
方法描述: Resets the Mass Totalizer
- {
- char status[3];
- int i_result;
- int i_choice;
- long ids[1];
- SET_NUMBER_OF_RETRIES(7);
- _set_no_device(2);
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- ids[0] = 16457;
- i_choice = 0;
- ACKNOWLEDGE(literal_string(633));
- i_choice = SELECT_FROM_LIST(literal_string(634),literal_string(605));
- if (i_choice == 1)
- {
- _iassign(16457,1);
- send(205,status);
- if (status[0] != 0)
- {
- if (status[0] == 3 || status[0] == 4 || status[0] == 2 || status[0] == 65 || status[0] == 113 || status[0] == 114)
- {
- display_response_status(205,status[0]);
请登录以获得完整内容