完成了网页控制断路器

This commit is contained in:
zjk
2025-05-17 22:39:08 +08:00
parent fb23554408
commit ab803d8d7e
8 changed files with 640 additions and 41 deletions
+3 -2
View File
@@ -40,7 +40,8 @@
#define IPORT 5001
#define CCUPORT 7000
#define CCUHOST "192.168.0.140"
// #define CCUHOST "192.168.0.140"
#define CCUHOST "127.0.0.0"
#define MAX_UDP_PKT_SIZE 65535
#define SKEW_TOLERANCE 5
@@ -84,7 +85,7 @@ class PowerManger : public AppCastingMOOSApp
ccuColCmd m_CcuColCmd;
disSysBreakerList m_targetDisBreakerState;
//===========================FEEDBACK======================================
pmState m_pmCurrentState; //能源系统的当前状态
pmState m_pmCurrentState; //能源系统的当前状态(由下位机线程修改)
disSysBreakerList m_currentDisBreakerState; //配电断路器状态
DriverTable m_currentDriverState;
DriverTable m_subDisSysState;