配线app可用

This commit is contained in:
zjk
2025-05-05 19:35:53 +08:00
parent 3e33c95cb1
commit c46edb0015
3 changed files with 25 additions and 22 deletions
+3 -3
View File
@@ -45,10 +45,10 @@ class PowerManagerSimulator:
self.high_vol_fb.fbReservedCircuitBreaker = 0
self.high_vol_fb.tyzReservedCircuitBreaker = 0
self.high_vol_fb.reservedCircuitBreaker = 0
self.high_vol_fb.dcDcFaultWord1 = 0x55 # 测试故障模式
self.high_vol_fb.dcDcFaultWord1 = 0xFF # 测试故障模式
self.high_vol_fb.dcDcFaultWord2 = 0xAA
self.high_vol_fb.powerBusInsulationStatus = 1
self.high_vol_fb.aBusInsulationStatus = 1
self.high_vol_fb.powerBusInsulationStatus = 0x55
self.high_vol_fb.aBusInsulationStatus = 0x55
self.high_vol_fb.meterPowerLossSignal = 0
self.high_vol_fb.emergencyPowerLossSignal = 0
self.high_vol_fb.powerBusVoltage = 600 # 正常值