Loading…

Method Name: mthSimSetValue

Method ID: 0x43D8

Method Label: Accept simulation value

Method Help:


  • {
  • char status[3];
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • switch (varSimCmdAddr)
  • {
  • case 0x00fd:
  • varSimulationPhysical_Enable = 1;
  • varSimulationPhysical_Value = varSimValue;
  • save_values();
  • send_trans(133,14,status);
  • ;
  • break;
  • case 0x00ff:
  • varSimulationPercent_Enable = 1;
  • varSimulationPercent_Value = varSimValue;
  • save_values();
  • send_trans(133,15,status);


Please login for more