Loading…
Loading…
方法名称: method_enter_matrix
方法ID: 0x44E8
方法标签: Enter Matrix
方法描述:
- {
- char status[3];
- char disp_string[100];
- int slen;
- int curve_num;
- long select;
- long temp;
- long step;
- select = 0;
- slen = 100;
- step = 0;
- temp = 0;
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- send(235,status);
- if (status[0])
- {
- display_response_status(235,status[0]);
- _get_dictionary_string(858587163,disp_string,slen);
- DELAY(2,disp_string);
- process_abort();
- }
- if (_ivar_value(16752) == 1)
- {
- ACKNOWLEDGE(literal_string(705));
- process_abort();
- }
- _iassign(16688,2);
- _iassign(16689,527);
- send(162,status);
- if (status[0])
- {
- display_response_status(162,status[0]);
- _get_dictionary_string(858587163,disp_string,slen);
- DELAY(2,disp_string);
- process_abort();
- }
- curve_num = _ivar_value(16691);
- switch (curve_num)
- {
- case 0:
- _iassign(16759,0);
- break;
- case 1:
- _iassign(16759,1);
- break;
- case 2:
- _iassign(16759,2);
- break;
- case 3:
- _iassign(16759,3);
- break;
- case 4:
- _iassign(16759,4);
- break;
- case 5:
- _iassign(16759,5);
- break;
- }
- send_trans(250,0,status);
- send_trans(250,1,status);
- send_trans(250,2,status);
- send_trans(250,3,status);
- send_trans(250,4,status);
- send_trans(250,5,status);
- send_trans(250,6,status);
- send_trans(250,7,status);
- send_trans(250,8,status);
- send(144,status);
- do {
- switch (step)
- {
- case 0:
- _get_dictionary_string(858981312,disp_string,slen);
- _MenuDisplay(17641,disp_string,literal_string(571));
- step++;
- send_trans(251,3,status);
- if (status[0])
- {
- display_response_status(251,status[0]);
- _get_dictionary_string(858587163,disp_string,slen);
- DELAY(2,disp_string);
- process_abort();
- }
- send_trans(251,0,status);
- if (status[0])
- {
- display_response_status(251,status[0]);
- _get_dictionary_string(858587163,disp_string,slen);
- DELAY(2,disp_string);
- process_abort();
- }
- send_trans(251,4,status);
- if (status[0])
- {
- display_response_status(251,status[0]);
- _get_dictionary_string(858587163,disp_string,slen);
- DELAY(2,disp_string);
- process_abort();
- }
请登录以获得完整内容