Loading…

Method Name: ejx_method_change_qv_assign

Method ID: 0x40D5

Method Label: Change QV Assgn

Method Help:


  • {
  • 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] = 4226;
  • choice = select_from_list("|en|Current QV is %{0};\nSelect new QV", var_id,"|en|Flow;Pres;SP;ET;Total Flow" );
  • if( (0 <= choice)&&(choice <= 4) ) {
  • if( _ivar_value(4226) != choice ) {
  • if( _ivar_value(4048) == choice ) {
  • _vassign(4048,4226);
  • }
  • else if( _ivar_value(4049) == choice ) {


Please login for more