Loading…
Loading…
方法名称: read_discrete_assignment_meth
方法ID: 0x444B
方法标签: Read Discrete Action Assignment
方法描述: For a selected discrete action, reports the associated discrete assignment.
- {
- char status[3];
- long var_id[2];
- int actionChoice;
- int assignChoice;
- char disp_string[400];
- char disp_string1[400];
- int slen;
- int slen1;
- slen1 = 400;
- slen = 400;
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _get_dictionary_string(858521844,disp_string,slen);
- _get_dictionary_string(858981650,disp_string1,slen1);
- actionChoice = SELECT_FROM_LIST(disp_string,disp_string1);
- if (actionChoice == 6)
- {
请登录以获得完整内容