Loading…
Loading…
Method Name: mthSimSetValue
Method ID: 0x4783
Method Label: Apply simulation value
Method Help:
- {
- char status[3];
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- switch(varSimCmdAddr) {
- case 0x008e: varMainCurrentOutput_Simulation_Enable = 1; varMainCurrentOutput_Simulation_Value = varSimValue; save_values(); send_trans(133,6,status);; break;
- case 0x0143: varSecondCurrentOutput_Simulation_Enable = 1; varSecondCurrentOutput_Simulation_Value = varSimValue; save_values(); send_trans(133,7,status);; break;
- case 0x00ad: varLevel_SimulationPercent_Enable = 1; varLevel_SimulationPercent_Value = varSimValue; save_values(); send_trans(133,8,status);; break;
- case 0x00ae: varLevel_SimulationLinPercent_Enable = 1; varLevel_SimulationLinPercent_Value = varSimValue; save_values(); send_trans(133,9,status);; break;
- case 0x0104: varLevel_SimulationHeight_Enable = 1; varLevel_SimulationHeight_Value = varSimValue; save_values(); send_trans(133,10,status);; break;
- case 0x00ac: varLevel_SimulationPhysical_Enable = 1; varLevel_SimulationPhysical_Value = varSimValue; save_values(); send_trans(133,11,status);; break;
- case 0x0105: varLevel_SimulationReliability_Enable = 1; varLevel_SimulationReliability_Value = varSimValue; save_values(); send_trans(133,12,status);; break;
- case 0x010a: varSimulation_Temperature_Enable = 1; varSimulation_Temperature_Value = varSimValue; save_values(); send_trans(133,13,status);; break;
- }
Please login for more