Loading…
Loading…
方法名称: act_style_method
方法ID: 0x4338
方法标签: Actuator Style
方法描述:
- {
- float qa;
- float qb;
- float qc;
- float qd;
- float qe;
- float mpp;
- int q;
- int q0;
- int q1;
- int q2;
- int q3;
- int q4;
- int q5;
- int q6;
- int q7;
- int q8;
- char S[3];
- int h;
- int i;
- int j;
- int k;
- int iOldRelayType;
- int iOldActStyle;
- float tr;
- float fRoundingFactor;
- long ids[2];
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(1);
- _set_resp_code(8,0);
- send(151,S);
- if (_ivar_value(16804) > 2)
- {
- ACKNOWLEDGE(literal_string(2015));
- return;
- }
- ;
- if ((_ivar_value(16532) & 0x18) > 0)
- {
- ACKNOWLEDGE(literal_string(2300));
- process_abort();
- }
- ;
- q = 0.9;
- fRoundingFactor = 0.0;
- if (q < 1)
- fRoundingFactor = 0.5;
- send(15,S);
- send_trans(129,0,S);
- send_trans(129,35,S);
- ids[0] = 16530;
- if (_ivar_value(167) == 1)
- {
- acknowledge(literal_string(2272),ids);
请登录以获得完整内容