Loading…
Loading…
方法名称: ejx_method_change_pv_assign
方法ID: 0x40D2
方法标签: Change PV Assgn
方法描述:
- {
- int choice;
- long var_id[1];
- char status[3];
- { _set_all_resp_code(0); _set_device_status(0xFF,0); _set_xmtr_device_status(0xFF,0); _set_xmtr_all_resp_code(0); };
- var_id[0] = 4048;
- choice = select_from_list("|en|Current PV is %{0};\nSelect new PV", var_id,"|en|Flow;Pres;SP;ET" );
- if( (0 <= choice)&&(choice <= 3) ) {
- if( _ivar_value(4048) != choice ) {
- if( _ivar_value(4049) == choice ) {
- _vassign(4049,4048);
- }
- else if( _ivar_value(4050) == choice ) {
请登录以获得完整内容