Loading…

方法名称: mthSimSetValue

方法ID: 0x43DD

方法标签: Apply simulation value

方法描述:


  • {
  • 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);


请登录以获得完整内容