Loading…
Loading…
Method Name: mthSimActivate
Method ID: 0x4757
Method Label: Activate simulation
Method Help:
- {
- char status[3];
- send_trans(134,9,status);;
- if(!((varSilState==1) ||(varSilState==4) ||(varSilState==3)))
- {
- varSimActive = 1;
- switch(varSimCmdAddr) {
- case 0x00ac: GetUnitCode_DeviceUnit(); GetSimValue_Level_PhysicalDistanceAndHeightValues_Value1(); break;
- case 0x00ad: GetUnitCode_Percent(); GetSimValue_Level_ProportionalValueAndLinValues_Value1(); break;
- case 0x00ae: GetUnitCode_Percent(); GetSimValue_Level_ProportionalValueAndLinValues_Value2(); break;
- case 0x0104: GetUnitCode_DeviceUnit(); GetSimValue_Level_PhysicalDistanceAndHeightValues_Value2(); break;
- case 0x0105: GetUnitCode_mV(); GetSimValue_Level_ReliabilityValue_Value(); break;
- case 0x00b2: GetUnitCode_DeviceUnit(); GetSimValue_Interface_PhysicalDistanceAndHeightValues_Value1(); break;
- case 0x00b3:GetUnitCode_Percent(); GetSimValue_Interface_ProportionalValueAndLinValues_Value1(); break;
- case 0x00b4: GetUnitCode_Percent(); GetSimValue_Interface_ProportionalValueAndLinValues_Value2(); break;
- case 0x0106: GetUnitCode_DeviceUnit(); GetSimValue_Interface_PhysicalDistanceAndHeightValues_Value2(); break;
Please login for more