Loading…
Loading…
方法名称: method_api_sgu_auto_ref
方法ID: 0x40B8
方法标签: API/SGU Auto Ref
方法描述:
- {
- int nResponse;
- int nResult;
- char status[3];
- char xmtr_status[25];
- long nVarID[1];
- int activetime;
- int maxtime;
- float zz;
- int nIndex;
- nIndex = 100;
- do {
- switch (nIndex)
- {
- case 100:
- ACKNOWLEDGE(literal_string(196));
- nIndex = 105;
- get_more_status(status,xmtr_status);
- if (xmtr_status[2] & 0x08)
- {
- ACKNOWLEDGE(literal_string(358));
- nIndex = 190;
- }
- break;
- case 105:
- nIndex = 110;
- get_more_status(status,xmtr_status);
- if (xmtr_status[2] & 0x20)
- {
- DELAY(2,literal_string(359));
- nIndex = 120;
- }
- break;
- case 110:
- _iassign(16430,1);
- send(151,status);
请登录以获得完整内容