소스 검색

1、完善版本更新说明

liyuezong 1 년 전
부모
커밋
7a04268d1b
2개의 변경된 파일과 690개의 추가작업 그리고 16개의 파일을 삭제
  1. 345 8
      cust_data/changes.txt
  2. 345 8
      cust_data/changes_list.txt

+ 345 - 8
cust_data/changes.txt

@@ -1,10 +1,347 @@
-V0.0.2
+# V1.2.0 (2025-06-16 - 2025-06-26)
 
-New and improved:
-1. Add NTP time sync
-2. Add Changes log in firmware upgrade page
-3. Add power data manual export in web and auto export in smtp mail
+**New Features**
+-   Added SNMP interface for retrieving F407 power information.
 
-Fixes and enhancements:
-1. Increase the data quantity in power history query, upper limit 7 days
-2. Fix the not working bug in Overall Status History/Device History/Power Chart
+**Bug Fixes**
+-   Fixed GPIO conflict for dry contact sensors on the LCD screen.
+-   Resolved issue with batch threshold setting failure.
+-   Fixed SNMP GETNEXT command errors.
+
+**Optimizations**
+-   Optimized three-phase engineering configuration parameters.
+-   Streamlined firmware by removing unused functional modules.
+
+------------------------------------------------------------------------------
+
+# V1.1.9 (2025-06-01 - 2025-06-15)
+
+**New Features**
+-   Added support for displaying CO₂ sensor data.
+-   Added Bootloader secure jump verification for 4-channel boards.
+
+**Bug Fixes**
+-   Fixed sensor disconnection issue caused by rapid plugging/unplugging.
+-   Resolved MQTT device number type error.
+
+**Optimizations**
+-   Optimized alarm interface interaction logic.
+-   Reduced Websocket push data volume.
+
+------------------------------------------------------------------------------
+
+# V1.1.8 (2025-05-16 - 2025-05-31)
+
+**New Features**
+-   Added batch threshold setting function for F407 sensors.
+-   Supports hot-switching between three-phase/single-phase operating modes.
+
+**Bug Fixes**
+-   Fixed GPIO conflict during RGB meter head initialization.
+-   Resolved SNMP sensor list retrieval exception.
+
+**Optimizations**
+-   Optimized QT startup page loading speed.
+-   Added Bootloader upgrade file verification mechanism.
+
+------------------------------------------------------------------------------
+
+# V1.1.7 (2025-05-01 - 2025-05-15)
+
+**New Features**
+-   Supports dry contact alarms for multiple sensors.
+-   Added channel timed Websocket push function.
+
+**Bug Fixes**
+-   Fixed LCD data display conflict for multiple sensors.
+-   Solved crash issue caused by MQTT connection failure.
+
+**Optimizations**
+-   Optimized 4G activation configuration, reducing CPU usage.
+-   Shortened sensor offline determination time (3 timeouts).
+
+------------------------------------------------------------------------------
+
+# V1.1.6 (2025-04-16 - 2025-04-30)
+
+**New Features**
+-   Supports circuit breaker status detection.
+-   Added support for 4-channel / 1-channel self-locking control boards.
+
+**Bug Fixes**
+-   Fixed three-phase phase loss detection anomaly.
+-   Resolved NTP synchronization failure for IP meter heads.
+
+**Optimizations**
+-   Optimized Modbus TCP communication timeout handling.
+-   Reduced memory usage for historical record storage.
+
+------------------------------------------------------------------------------
+
+# V1.1.5 (2025-04-01 - 2025-04-15)
+
+**New Features**
+-   Supports 125A engineering configuration.
+-   Added dual live wire version for three-phase input to single-phase output.
+
+**Bug Fixes**
+-   Fixed Web threshold upper limit (max 999999).
+-   Solved QT interface misalignment issue for three-phase data display.
+
+**Optimizations**
+-   Optimized dual live wire power factor calculation algorithm.
+-   Simplified product file reading logic.
+
+------------------------------------------------------------------------------
+
+# V1.1.4 (2025-03-16 - 2025-03-31)
+
+**New Features**
+-   Supports reverse control for magnetic latching relays.
+-   Added hardware support for 7-channel / 3-channel boards.
+
+**Bug Fixes**
+-   Fixed dual live wire threshold enable anomaly.
+-   Resolved STS control logic conflict.
+
+**Optimizations**
+-   Unified parameter configuration for DC control boards.
+-   Optimized stability of cascaded data reading.
+
+------------------------------------------------------------------------------
+
+# V1.1.3 (2025-03-01 - 2025-03-15)
+
+**New Features**
+-   Supports SNMP power threshold management.
+
+**Bug Fixes**
+-   Fixed crash issue on legacy three-phase control boards.
+-   Resolved IP meter head database access conflict.
+
+**Optimizations**
+-   Optimized synchronization between channel control and web data.
+-   Reduced EEPROM write frequency on DC control boards.
+
+------------------------------------------------------------------------------
+
+# V1.1.2 (2025-02-16 - 2025-02-28)
+
+**New Features**
+-   Supports App-side version number upload.
+-   Added dual-stack (IPv4/IPv6) detection for 4G networks.
+
+**Bug Fixes**
+-   Fixed Bootloader verification failure issue for new 5-channel/4-channel boards.
+
+**Optimizations**
+-   Optimized QT interface layout, unified sensor unit display.
+-   Compressed F407 basic data structure (256 → 92 bytes).
+
+------------------------------------------------------------------------------
+
+# V1.1.1 (2025-02-01 - 2025-02-15)
+
+**New Features**
+-   Added web configuration items for 4G-related functions.
+-   Added dual live wire single-phase control matching logic.
+
+**Bug Fixes**
+-   Fixed WiFi SNMP protocol unavailability.
+-   Solved stack overflow issue caused by frequent three-phase data reading.
+
+**Optimizations**
+-   Optimized Websocket push cycle (0.5 seconds/push).
+-   Added display support for CO₂ sensors.
+
+------------------------------------------------------------------------------
+
+# V1.1.0 (2025-01-16 - 2025-01-31)
+
+**New Features**
+-   Supports STS (Static Transfer Switch) temperature monitoring.
+-   Added magnetic latching relay control logic.
+
+**Bug Fixes**
+-   Fixed upgrade function anomaly on single-phase control boards.
+-   Resolved STS Modbus communication out-of-bounds issue.
+
+**Optimizations**
+-   Optimized Bootloader jump verification process.
+-   Reduced stack memory usage on three-phase control boards.
+
+------------------------------------------------------------------------------
+
+# V1.0.9 (2025-01-01 - 2025-01-15)
+
+**New Features**
+-   Added network reset function (hold Up/Down keys to restore default configuration).
+
+**Bug Fixes**
+-   Fixed dual live wire project configuration error.
+-   Resolved QT interface sensor unit display anomaly.
+
+**Optimizations**
+-   Optimized MQTT data structure (power status upload).
+-   Streamlined firmware size by removing redundant modules.
+
+------------------------------------------------------------------------------
+
+# V1.0.8 (2024-12-16 - 2024-12-31)
+
+**New Features**
+-   Supports channel "Monitor Only" mode.
+-   Added 4G SMS alarm push function.
+
+**Bug Fixes**
+-   Fixed GPIO conflict between RGB meter head and LCD screen.
+-   Resolved INI configuration deadlock issue.
+
+**Optimizations**
+-   Optimized 4G network detection mechanism.
+-   Shortened sensor serial port read timeout to improve response speed.
+
+------------------------------------------------------------------------------
+
+# V1.0.7 (2024-12-01 - 2024-12-15)
+
+**New Features**
+-   Supports three-phase total detection function.
+-   Added dynamic DHCP allocation for Modbus TCP addresses.
+
+**Bug Fixes**
+-   Fixed leak sensor display error on military 8-inch screen.
+-   Solved QT interface rotation direction anomaly.
+
+**Optimizations**
+-   Optimized communication efficiency between QT and PDU message queues.
+
+------------------------------------------------------------------------------
+
+# V1.0.6 (2024-11-16 - 2024-11-30)
+
+**New Features**
+-   Added circuit breaker trip alarm function.
+-   Supports control board firmware upgrade via web interface (includes QR code generation).
+
+**Bug Fixes**
+-   Fixed threshold import exception.
+-   Resolved sensor data garbled text issue on IP meter heads.
+
+**Optimizations**
+-   Optimized packaging scripts for new hardware compatibility.
+-   Refactored Web interface layout, fixed display misalignment.
+
+------------------------------------------------------------------------------
+
+# V1.0.5 (2024-11-01 - 2024-11-15)
+
+**New Features**
+-   Added configuration file import/export interfaces.
+-   Supports configuring meter face maximum values for voltage/current/power.
+
+**Bug Fixes**
+-   Fixed memory leak in three-phase input to single-phase output configuration.
+-   Resolved NTP synchronization failure.
+
+**Optimizations**
+-   Removed database dependency on `product_id` to avoid configuration change anomalies.
+-   Added slave temperature sensor data display to IP meter heads.
+
+------------------------------------------------------------------------------
+
+# V1.0.4 (2024-10-16 - 2024-10-31)
+
+**New Features**
+-   Supports SNMP TRAP function (sensor/power overload alarms).
+-   Added Websocket encrypted connection and HTTPS access.
+
+**Bug Fixes**
+-   Fixed crash issue caused by cascaded data anomalies.
+-   Resolved SNMP configuration invalid error.
+
+**Optimizations**
+-   Optimized upgrade script push logic.
+-   Sensor history records now displayed in reverse chronological order (last 60 entries).
+
+------------------------------------------------------------------------------
+
+# V1.0.3 (2024-10-01 - 2024-10-15)
+
+**New Features**
+-   Supports Modbus TCP cascading communication and dynamic slave scanning.
+-   Integrated Libcurl for email alarm functionality.
+-   Added NTP time synchronization function.
+
+**Bug Fixes**
+-   Fixed time zone setting error.
+-   Resolved database anomalies caused by configuration file ID changes.
+
+**Optimizations**
+-   Optimized NTP interface to support both IP and domain name modes.
+-   Refactored thread management interface.
+
+------------------------------------------------------------------------------
+
+# V1.0.2 (2024-10-01 - 2024-10-07)
+
+**New Features**
+-   Control boards support firmware upgrade logic.
+-   Added time range restriction function for database queries.
+
+**Bug Fixes**
+-   Fixed high CPU usage when no channels are scanned.
+-   Solved three-phase total data reading anomaly.
+-   Fixed single-phase/DC power consumption calculation error.
+
+**Optimizations**
+-   Increased maximum voltage display limit to 500V.
+-   Optimized configuration file import/export interfaces.
+-   Resolved button display issues caused by XML limitations.
+-   Improved sensor historical status storage logic.
+
+------------------------------------------------------------------------------
+
+# V1.0.1 (2024-09-16 - 2024-09-30)
+
+**New Features**
+-   Supports synchronized three-phase data display on QT screen.
+-   Added power consumption reset function for DC/single-phase devices.
+-   Added watchdog mechanism to enhance system stability.
+-   Supports independent configuration for DC overload alarm/action.
+
+**Bug Fixes**
+-   Fixed DNS configuration error.
+-   Solved issue where alarm threshold flags were not updated after reset.
+-   Fixed single-phase/DC total power consumption calculation error.
+-   Resolved file export function bug.
+-   Optimized database query efficiency (default time range reduced to 1 week).
+
+**Optimizations**
+-   Optimized power consumption calculation algorithm.
+-   Changed meter head alarm identifiers from `ABC` to `L123`.
+-   Adapted to dry contact sequence mapping requirements.
+-   Web interface upgraded to version 9.28, supporting Alibaba Cloud MQTT.
+
+------------------------------------------------------------------------------
+
+# V1.0.0 (2024-09-01 - 2024-09-15)
+
+**New Features**
+-   Adapted to Alibaba Cloud MQTT service.
+-   Supports CO₂ sensor data reading.
+-   Added sensor history record query interface.
+-   Customized Web pages for clients (separated by user directory).
+
+**Bug Fixes**
+-   Fixed sensor historical record storage anomaly.
+-   Solved three-phase frequency calculation error.
+-   Fixed power consumption reset function failure.
+-   Fixed dual-head sensor threshold setting anomaly.
+-   Resolved delay issue caused by switch detection board scan timeout.
+
+**Optimizations**
+-   Merged RAM/ROM checks into a unified interface.
+-   Optimized temperature/humidity sensor threshold retrieval logic.
+-   Updated Web to version 9.28.
+-   Added null checks to prevent out-of-bounds crashes.

+ 345 - 8
cust_data/changes_list.txt

@@ -1,10 +1,347 @@
-V0.0.2
+# V1.2.0 (2025-06-16 - 2025-06-26)
 
-New and improved:
-1. Add NTP time sync
-2. Add Changes log in firmware upgrade page
-3. Add power data manual export in web and auto export in smtp mail
+**New Features**
+-   Added SNMP interface for retrieving F407 power information.
 
-Fixes and enhancements:
-1. Increase the data quantity in power history query, upper limit 7 days
-2. Fix the not working bug in Overall Status History/Device History/Power Chart
+**Bug Fixes**
+-   Fixed GPIO conflict for dry contact sensors on the LCD screen.
+-   Resolved issue with batch threshold setting failure.
+-   Fixed SNMP GETNEXT command errors.
+
+**Optimizations**
+-   Optimized three-phase engineering configuration parameters.
+-   Streamlined firmware by removing unused functional modules.
+
+------------------------------------------------------------------------------
+
+# V1.1.9 (2025-06-01 - 2025-06-15)
+
+**New Features**
+-   Added support for displaying CO₂ sensor data.
+-   Added Bootloader secure jump verification for 4-channel boards.
+
+**Bug Fixes**
+-   Fixed sensor disconnection issue caused by rapid plugging/unplugging.
+-   Resolved MQTT device number type error.
+
+**Optimizations**
+-   Optimized alarm interface interaction logic.
+-   Reduced Websocket push data volume.
+
+------------------------------------------------------------------------------
+
+# V1.1.8 (2025-05-16 - 2025-05-31)
+
+**New Features**
+-   Added batch threshold setting function for F407 sensors.
+-   Supports hot-switching between three-phase/single-phase operating modes.
+
+**Bug Fixes**
+-   Fixed GPIO conflict during RGB meter head initialization.
+-   Resolved SNMP sensor list retrieval exception.
+
+**Optimizations**
+-   Optimized QT startup page loading speed.
+-   Added Bootloader upgrade file verification mechanism.
+
+------------------------------------------------------------------------------
+
+# V1.1.7 (2025-05-01 - 2025-05-15)
+
+**New Features**
+-   Supports dry contact alarms for multiple sensors.
+-   Added channel timed Websocket push function.
+
+**Bug Fixes**
+-   Fixed LCD data display conflict for multiple sensors.
+-   Solved crash issue caused by MQTT connection failure.
+
+**Optimizations**
+-   Optimized 4G activation configuration, reducing CPU usage.
+-   Shortened sensor offline determination time (3 timeouts).
+
+------------------------------------------------------------------------------
+
+# V1.1.6 (2025-04-16 - 2025-04-30)
+
+**New Features**
+-   Supports circuit breaker status detection.
+-   Added support for 4-channel / 1-channel self-locking control boards.
+
+**Bug Fixes**
+-   Fixed three-phase phase loss detection anomaly.
+-   Resolved NTP synchronization failure for IP meter heads.
+
+**Optimizations**
+-   Optimized Modbus TCP communication timeout handling.
+-   Reduced memory usage for historical record storage.
+
+------------------------------------------------------------------------------
+
+# V1.1.5 (2025-04-01 - 2025-04-15)
+
+**New Features**
+-   Supports 125A engineering configuration.
+-   Added dual live wire version for three-phase input to single-phase output.
+
+**Bug Fixes**
+-   Fixed Web threshold upper limit (max 999999).
+-   Solved QT interface misalignment issue for three-phase data display.
+
+**Optimizations**
+-   Optimized dual live wire power factor calculation algorithm.
+-   Simplified product file reading logic.
+
+------------------------------------------------------------------------------
+
+# V1.1.4 (2025-03-16 - 2025-03-31)
+
+**New Features**
+-   Supports reverse control for magnetic latching relays.
+-   Added hardware support for 7-channel / 3-channel boards.
+
+**Bug Fixes**
+-   Fixed dual live wire threshold enable anomaly.
+-   Resolved STS control logic conflict.
+
+**Optimizations**
+-   Unified parameter configuration for DC control boards.
+-   Optimized stability of cascaded data reading.
+
+------------------------------------------------------------------------------
+
+# V1.1.3 (2025-03-01 - 2025-03-15)
+
+**New Features**
+-   Supports SNMP power threshold management.
+
+**Bug Fixes**
+-   Fixed crash issue on legacy three-phase control boards.
+-   Resolved IP meter head database access conflict.
+
+**Optimizations**
+-   Optimized synchronization between channel control and web data.
+-   Reduced EEPROM write frequency on DC control boards.
+
+------------------------------------------------------------------------------
+
+# V1.1.2 (2025-02-16 - 2025-02-28)
+
+**New Features**
+-   Supports App-side version number upload.
+-   Added dual-stack (IPv4/IPv6) detection for 4G networks.
+
+**Bug Fixes**
+-   Fixed Bootloader verification failure issue for new 5-channel/4-channel boards.
+
+**Optimizations**
+-   Optimized QT interface layout, unified sensor unit display.
+-   Compressed F407 basic data structure (256 → 92 bytes).
+
+------------------------------------------------------------------------------
+
+# V1.1.1 (2025-02-01 - 2025-02-15)
+
+**New Features**
+-   Added web configuration items for 4G-related functions.
+-   Added dual live wire single-phase control matching logic.
+
+**Bug Fixes**
+-   Fixed WiFi SNMP protocol unavailability.
+-   Solved stack overflow issue caused by frequent three-phase data reading.
+
+**Optimizations**
+-   Optimized Websocket push cycle (0.5 seconds/push).
+-   Added display support for CO₂ sensors.
+
+------------------------------------------------------------------------------
+
+# V1.1.0 (2025-01-16 - 2025-01-31)
+
+**New Features**
+-   Supports STS (Static Transfer Switch) temperature monitoring.
+-   Added magnetic latching relay control logic.
+
+**Bug Fixes**
+-   Fixed upgrade function anomaly on single-phase control boards.
+-   Resolved STS Modbus communication out-of-bounds issue.
+
+**Optimizations**
+-   Optimized Bootloader jump verification process.
+-   Reduced stack memory usage on three-phase control boards.
+
+------------------------------------------------------------------------------
+
+# V1.0.9 (2025-01-01 - 2025-01-15)
+
+**New Features**
+-   Added network reset function (hold Up/Down keys to restore default configuration).
+
+**Bug Fixes**
+-   Fixed dual live wire project configuration error.
+-   Resolved QT interface sensor unit display anomaly.
+
+**Optimizations**
+-   Optimized MQTT data structure (power status upload).
+-   Streamlined firmware size by removing redundant modules.
+
+------------------------------------------------------------------------------
+
+# V1.0.8 (2024-12-16 - 2024-12-31)
+
+**New Features**
+-   Supports channel "Monitor Only" mode.
+-   Added 4G SMS alarm push function.
+
+**Bug Fixes**
+-   Fixed GPIO conflict between RGB meter head and LCD screen.
+-   Resolved INI configuration deadlock issue.
+
+**Optimizations**
+-   Optimized 4G network detection mechanism.
+-   Shortened sensor serial port read timeout to improve response speed.
+
+------------------------------------------------------------------------------
+
+# V1.0.7 (2024-12-01 - 2024-12-15)
+
+**New Features**
+-   Supports three-phase total detection function.
+-   Added dynamic DHCP allocation for Modbus TCP addresses.
+
+**Bug Fixes**
+-   Fixed leak sensor display error on military 8-inch screen.
+-   Solved QT interface rotation direction anomaly.
+
+**Optimizations**
+-   Optimized communication efficiency between QT and PDU message queues.
+
+------------------------------------------------------------------------------
+
+# V1.0.6 (2024-11-16 - 2024-11-30)
+
+**New Features**
+-   Added circuit breaker trip alarm function.
+-   Supports control board firmware upgrade via web interface (includes QR code generation).
+
+**Bug Fixes**
+-   Fixed threshold import exception.
+-   Resolved sensor data garbled text issue on IP meter heads.
+
+**Optimizations**
+-   Optimized packaging scripts for new hardware compatibility.
+-   Refactored Web interface layout, fixed display misalignment.
+
+------------------------------------------------------------------------------
+
+# V1.0.5 (2024-11-01 - 2024-11-15)
+
+**New Features**
+-   Added configuration file import/export interfaces.
+-   Supports configuring meter face maximum values for voltage/current/power.
+
+**Bug Fixes**
+-   Fixed memory leak in three-phase input to single-phase output configuration.
+-   Resolved NTP synchronization failure.
+
+**Optimizations**
+-   Removed database dependency on `product_id` to avoid configuration change anomalies.
+-   Added slave temperature sensor data display to IP meter heads.
+
+------------------------------------------------------------------------------
+
+# V1.0.4 (2024-10-16 - 2024-10-31)
+
+**New Features**
+-   Supports SNMP TRAP function (sensor/power overload alarms).
+-   Added Websocket encrypted connection and HTTPS access.
+
+**Bug Fixes**
+-   Fixed crash issue caused by cascaded data anomalies.
+-   Resolved SNMP configuration invalid error.
+
+**Optimizations**
+-   Optimized upgrade script push logic.
+-   Sensor history records now displayed in reverse chronological order (last 60 entries).
+
+------------------------------------------------------------------------------
+
+# V1.0.3 (2024-10-01 - 2024-10-15)
+
+**New Features**
+-   Supports Modbus TCP cascading communication and dynamic slave scanning.
+-   Integrated Libcurl for email alarm functionality.
+-   Added NTP time synchronization function.
+
+**Bug Fixes**
+-   Fixed time zone setting error.
+-   Resolved database anomalies caused by configuration file ID changes.
+
+**Optimizations**
+-   Optimized NTP interface to support both IP and domain name modes.
+-   Refactored thread management interface.
+
+------------------------------------------------------------------------------
+
+# V1.0.2 (2024-10-01 - 2024-10-07)
+
+**New Features**
+-   Control boards support firmware upgrade logic.
+-   Added time range restriction function for database queries.
+
+**Bug Fixes**
+-   Fixed high CPU usage when no channels are scanned.
+-   Solved three-phase total data reading anomaly.
+-   Fixed single-phase/DC power consumption calculation error.
+
+**Optimizations**
+-   Increased maximum voltage display limit to 500V.
+-   Optimized configuration file import/export interfaces.
+-   Resolved button display issues caused by XML limitations.
+-   Improved sensor historical status storage logic.
+
+------------------------------------------------------------------------------
+
+# V1.0.1 (2024-09-16 - 2024-09-30)
+
+**New Features**
+-   Supports synchronized three-phase data display on QT screen.
+-   Added power consumption reset function for DC/single-phase devices.
+-   Added watchdog mechanism to enhance system stability.
+-   Supports independent configuration for DC overload alarm/action.
+
+**Bug Fixes**
+-   Fixed DNS configuration error.
+-   Solved issue where alarm threshold flags were not updated after reset.
+-   Fixed single-phase/DC total power consumption calculation error.
+-   Resolved file export function bug.
+-   Optimized database query efficiency (default time range reduced to 1 week).
+
+**Optimizations**
+-   Optimized power consumption calculation algorithm.
+-   Changed meter head alarm identifiers from `ABC` to `L123`.
+-   Adapted to dry contact sequence mapping requirements.
+-   Web interface upgraded to version 9.28, supporting Alibaba Cloud MQTT.
+
+------------------------------------------------------------------------------
+
+# V1.0.0 (2024-09-01 - 2024-09-15)
+
+**New Features**
+-   Adapted to Alibaba Cloud MQTT service.
+-   Supports CO₂ sensor data reading.
+-   Added sensor history record query interface.
+-   Customized Web pages for clients (separated by user directory).
+
+**Bug Fixes**
+-   Fixed sensor historical record storage anomaly.
+-   Solved three-phase frequency calculation error.
+-   Fixed power consumption reset function failure.
+-   Fixed dual-head sensor threshold setting anomaly.
+-   Resolved delay issue caused by switch detection board scan timeout.
+
+**Optimizations**
+-   Merged RAM/ROM checks into a unified interface.
+-   Optimized temperature/humidity sensor threshold retrieval logic.
+-   Updated Web to version 9.28.
+-   Added null checks to prevent out-of-bounds crashes.