diff --git a/.dsh/roles/algo-specialist.md b/.dsh/roles/algo-specialist.md index ad95230b..c6f4dff3 100644 --- a/.dsh/roles/algo-specialist.md +++ b/.dsh/roles/algo-specialist.md @@ -121,7 +121,7 @@ onToolCallBudget: wrap-up 8. **自研代码禁用 C 库堆分配**:只用 `pvPortMalloc/vPortFree`。MicroLIB 堆仅 512 B。 9. **RS-485 接线门禁:驱动契约未修完前,任何消费者都不得接 `rs485_on_rx()`**。 - **先说清"消费者"是什么**:`Drivers/BSP/RS485/rs485.c` 的 HAL 回调收满一帧后调 `rs485_on_rx(buf, size)`(`buf` 指向驱动内部那份 `rx_buf`,回调返回后即被下一次接收覆盖)。**重定义 `rs485_on_rx` 就是"接消费者"**——把数据拷进你的环/缓冲、交给 ModBus 解析、喂给算法,全都发生在这一句之后。不要把"接消费者"想成"写 `rs485_task.c`",任何形态的重定义都算。 - - **当前状态:整簇冻结(用户裁定,2026-10-12 起)**,产品需求设计文档 §5.10 是权威表述:「`rs485_init()` 已调用;`rs485_task.c` 为空桩、未在 `freertos.c` 创建;`App/protocol/` 为该协议族预留(当前仅 104 在用)」;2026-11-13 又裁定**台架不接 RS-485 线、该端子只读噪声底**。所以现在连"跑起来看现象"都做不到——**门禁未解除不是保守,是物理上也验不了**。`App/task/rs485_task.c` 现状是空桩(`rs485_task_init()` 直接 `return 0`、`rs485_task_func()` 只有 `osDelay(100)`),且它至今未在 uvprojx 注册(`registration-check` 有一条存量 WARN 记录的就是它)。 + - **当前状态:整簇冻结(用户裁定,2026-10-12 起)**,产品需求设计文档 §5.10 是权威表述:「`rs485_init()` 已调用;`rs485_task.c` 为空桩、未在 `freertos.c` 创建」;该节原还有一句「`App/protocol/` 为该协议族预留(当前仅 104 在用)」,**已于 2026-11-18 失效**(该层目录被删除,104 迁入 `App/iec60870/`,ModBus RTU 落点需确认),引文按此口径读;2026-11-13 又裁定**台架不接 RS-485 线、该端子只读噪声底**。所以现在连"跑起来看现象"都做不到——**门禁未解除不是保守,是物理上也验不了**。`App/task/rs485_task.c` 现状是空桩(`rs485_task_init()` 直接 `return 0`、`rs485_task_func()` 只有 `osDelay(100)`),且它至今未在 uvprojx 注册(`registration-check` 有一条存量 WARN 记录的就是它)。 - **解除条件(四条全绿才准开工;缺一条就是没解除)**: ① **单缓冲包撕裂**已消除——驱动只有一份 `rx_buf`(`RS485_RX_BUF_SIZE = 256`),回调把同一个指针交给消费者,消费者一旦拷得慢于下一帧到达就被覆盖。处置形态 = 双缓冲 + 帧序号,或改成驱动内部只负责投递、数据在回调内拷走(`docs/产品需求/产品需求设计文档.md` §5.10 设计约束②)。 ② **TX 超时拉 DE 未等 TC** 已修——实测 `rs485_transmit`(`rs485.c` 的 `rs485_transmit`)在 `HAL_UART_Transmit` 失败/超时后**无条件** `RS485_DIR_RX()`,没有任何"等 TC"分支;半双工的经典后果是把末字节截断、或在自己还在发的时候把总线让给别人。`docs/产品需求/产品需求设计文档.md` §5.10 要求补一条**明确的超时路径**,不是靠 HAL 返回值顺手带过。 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b95c6d59..beef812f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -155,12 +155,18 @@ repos: types: [c] # 范围与 cppcheck 钩子一致;另排除 CubeMX 生成文件(Src/、Inc/,重新生成即覆盖)、 # dhara/FatFS 接口适配层(nand_ftl,函数名由外部 API 固定) - # `App/protocol/iec60870/` 与 `IEC60870-Slave/` 是逐字节钉在 UPSTREAM.sha256 上的 - # 第三方源码(IEC 60870-5-104 子站库,45k 行):函数命名/注释块/typedef 形态都是 - # 上游风格,改一字节就等于篡改第三方(`verify_vendor.py` 会判定受控差异漂移)。 - # 这就是本文档 §0 写明的"排除…第三方"口径落到实处;Lib/、Middlewares/、 - # Drivers/CMSIS/ 同理。**我们自己的适配层不在排除面内**: - # App/protocol/iec104/ 全目录、App/task/、Drivers/BSP/NET/ 照旧受检。 + # `App/iec60870/` 下的协议栈曾是第三方 IEC 60870-5-104 子站库(约 5 万行), + # 2026-11-18 起收编为项目自有代码:不再做字节保真校验(`UPSTREAM.sha256` 已删除), + # 命名/注释/结构按本仓规范逐步改造。 + # 下列排除项只覆盖**尚未改造的那部分代码**,收编完成后必须删除: + # 1,200+ 处标识符仍是驼峰,RULE-10 会全量报错。这批改造属 Phase 3 单独排期, + # 不在收编范围;改完必须删掉这三行,否则等于自建代码永久免检。 + # 我们自己写的适配文件不受这条豁免——`104/` 下小写的 `iec104_*.{c,h}`(core / + # net_mcu / source / dtu_table / comm)在受检面内,逐个直调脚本实测 RC=0。 + # 大写开头的 `IEC104_*` 才是尚未改造的上游文件,仍被下一条规则排除。 + # ⚠ 排除面必须逐条写成可判定的前缀,**不能**写成祖先 `App/iec60870/`:那会把 + # 协议核心之外的其它子目录一起吞掉(2026-11-18 实测过这种误伤)。 + # `104/` 同样不能整目录排除——那会连我们自己的适配层一起豁免掉。 exclude: | (?x)^( Drivers/CMSIS/| @@ -168,7 +174,10 @@ repos: Drivers/BSP/NET/lftpd/| Drivers/BSP/GD5F2GQ5UE/nand_ftl\.| Drivers/BSP/dhara/| - App/protocol/iec60870/| + App/iec60870/common/| + App/iec60870/104/business/| + App/iec60870/104/IEC104[_.]| + App/iec60870/examples/| IEC60870-Slave/| Lib/| Middlewares/| @@ -736,7 +745,7 @@ repos: stages: [manual] entry: scripts/gate_python.py scripts/check_iec104_tcp.py language: system - files: ^(App/protocol/iec104/|App/protocol/iec60870/104/|test/host/iec104_dtu/|simulator/(sim|main\.c|CMakeLists\.txt)|scripts/check_iec104_tcp\.py$|\.pre-commit-config\.yaml$) + files: ^(App/iec60870/104/|test/host/iec104_dtu/|simulator/(sim|main\.c|CMakeLists\.txt)|scripts/check_iec104_tcp\.py$|\.pre-commit-config\.yaml$) pass_filenames: false # 13) 编号门禁的历史:2026-10-20 起曾有一版「全库语料审计」(规范 §8 的 8 项校验 + diff --git a/App/README.md b/App/README.md index fbced22b..fbe29239 100644 --- a/App/README.md +++ b/App/README.md @@ -20,7 +20,7 @@ FreeRTOS/CMSIS-RTOS API**(本条与「就绪屏障位必须 `osFlagsNoClear` | `log/` | **日志子系统**:syslog(NAND)+ 控制台单写者日志 | [`log/README.md`](log/README.md) | | `task/` | **FreeRTOS 任务实现**(6 个任务) | [`task/README.md`](task/README.md) | | `util/` | **通用工具**:CRC / 环形缓冲 / 墙钟时间 | [`util/README.md`](util/README.md) | -| `protocol/` | 通信协议(预留,当前为空) | [`protocol/README.md`](protocol/README.md) | +| `iec60870/` | **通信协议**:IEC 60870-5-104,只维护一个实现——`common/` 编解码 + `104/` 协议与平台适配(core/source/net_mcu/dtu_table/comm 同目录) | [`iec60870/README.md`](iec60870/README.md)(目录说明与设计约束);结构见本文末节 | ## 关键约束 @@ -29,6 +29,21 @@ FreeRTOS/CMSIS-RTOS API**(本条与「就绪屏障位必须 `osFlagsNoClear` - **syslog 唯一写者**:`/log/*` 只由 defaultTask 写入 - 新增任务/缓冲/栈前**必须先核算 RAM 余量**(`docs/内存管理/`) +## 通信协议:`iec60870/` 结构 + +**104 只维护一个实现**。2026-11-18 由 `App/protocol/` 迁入(该中间层目录已删除),同日把 +原独立的 `104_port/` 适配层并入 `104/`,此后不再有「协议核心」与「适配层」两个平行目录: + +| 子目录 | 内容 | +|---|---| +| `common/` | ASDU / 信息对象 / 时间编解码与从站主体(与 101 等其它 60870 协议共用) | +| `104/` | APCI 传输(Link / Connection / TcpServer / SendManager / AsduQueue)+ 业务状态机(`104/business/`)+ **平台适配与装配**(`iec104_core` / `iec104_source` / `iec104_net_mcu` / `iec104_dtu_table` / `iec104_comm`) | +| `examples/` | DTU 点表 profile(`iec104_dtu_profile.h`) | + +改动口径:全部按项目自有代码对待(命名、注释、结构遵循 `docs/代码规范/`); +`iec104_*` 是本项目自己的装配与平台层,`IEC104_*` / `IEC60870_*` 是协议主体与共享编解码。 +设计入口 → `docs/子系统设计/IEC104上行设计说明.md`;目录说明与改动纪律 → [`iec60870/README.md`](iec60870/README.md)。 + ## 相关文档 - 架构全景:`docs/架构设计/项目架构总览.md` diff --git a/App/algo/meas.h b/App/algo/meas.h index 7514a494..0c4280d0 100644 --- a/App/algo/meas.h +++ b/App/algo/meas.h @@ -49,10 +49,12 @@ extern "C" { #define MEAS_PERIOD_MS 200u /* 每点品质位(uint16)。**低字节与线上 104 QDS 字节同值**(OV/NT/IV,数值 - * 口径同 App/protocol/iec104/iec104_asdu.h 的 IEC104_QDS_*)——但本层**不得** + * 口径同 App/iec60870/common/IEC60870_InformationObjects.h 的 IEC60870_ASDU_QUALITY_*; + * 旧参照头 App/protocol/iec104/iec104_asdu.h 的 IEC104_QDS_* 已于 2026-11-18 删除, + * 常量值同值未变)——但本层**不得** * include 协议层头(分层方向:算法层在协议层之下,反向依赖禁止),故在此自 - * 定义同值常量;104 侧消费(104 改读快照)直接截低字节上送,一致性由本目录单测与 - * test/host/iec104/ 既有断言双向钉住。高字节为 meas 域扩展位(线上不直接 + * 定义同值常量;104 侧消费(App/task/iec104_serv.c 的 s_measure() 取快照后 + * 直接截低字节上送,见该函数注释)一致性由 meas 单测双向钉住。高字节为 meas 域扩展位(线上不直接 * 出现,由消费者映射): */ #define MEAS_QDS_OV (0x0001u) /* 溢出(留位,本项不产出——判据待运行参数化) */ #define MEAS_QDS_NT (0x0020u) /* 非当前值:未就绪 / 语义未处理(TEMP) */ diff --git a/App/algo/run_par.h b/App/algo/run_par.h index f64d737c..c89295e4 100644 --- a/App/algo/run_par.h +++ b/App/algo/run_par.h @@ -2,8 +2,10 @@ * 模块名称:运行参数段(全周傅氏相量/保护判据整定层,「数据可信」这一项) * 模块功能:遥测死区(9 点)与通道标定系数覆盖(k/b 各 8 路)的**单一真源**: * - 死区 = 本模块 int32 毫单位 RAM 副本(注册进 cfg 引擎 [run_par] 段, - * 工厂默认 = 「数据可信」下游常数按工程量重定后的额定 0.5 % 档),104 消费侧 - * (App/protocol/iec104/iec104_pts.c)每拍实时读取——无投递、无缓存 + * 工厂默认 = 「数据可信」下游常数按工程量重定后的额定 0.5 % 档),原 104 消费侧 + * (旧 App/protocol/iec104/iec104_pts.c,该文件 2026-11-18 随骨架迁 MCU 删除; + * 当前 run_par_deadband() 的调用方只剩装配层 App/app/ui_data_feed.c,104 侧无调用方) + * 每拍实时读取——无投递、无缓存 * 副本(104 改读快照曾在 pts 侧留运行时副本 s_yc_db,运行参数段落地后收编于此, * 双源必打架); * - 系数覆盖 = **直通 adc_cal_set() / adc_cal_set_ratio()** @@ -18,7 +20,9 @@ * 0x8050~0x8057 = 变比 r 覆盖(比值,无单位;0 = 本路不折算,见 * run_par_cal_r_set 的说明); * 其余留白(未启用类别),**0x8027~0x802A 属 prot_set 告警段**,本表 - * 永不让位(两表按精确地址分流,见 iec104_pts.c set 路由)。 + * 永不让位(两表按精确地址分流,见旧 iec104_pts.c 的 set 路由; + * 该文件 2026-11-18 已删除,现行分流在 App/iec60870/104/ + * iec104_dtu_table.c 与 iec104_source.c)。 * 持久化(B7 prot_set 先例同款):任一写成功 → 脏标志只置不清; * iec104Task 主循环 peek → 置 SYS_EVT_RUN_PAR_SAVE → defaultTask * (配置引擎属主)run_par_store_save() 调 cfg_file_save() 整档外科 diff --git a/App/protocol/iec60870/104/IEC104_AsduQueue.c b/App/iec60870/104/IEC104_AsduQueue.c similarity index 100% rename from App/protocol/iec60870/104/IEC104_AsduQueue.c rename to App/iec60870/104/IEC104_AsduQueue.c diff --git a/App/protocol/iec60870/104/IEC104_AsduQueue.h b/App/iec60870/104/IEC104_AsduQueue.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_AsduQueue.h rename to App/iec60870/104/IEC104_AsduQueue.h diff --git a/App/protocol/iec60870/104/IEC104_Codec.c b/App/iec60870/104/IEC104_Codec.c similarity index 100% rename from App/protocol/iec60870/104/IEC104_Codec.c rename to App/iec60870/104/IEC104_Codec.c diff --git a/App/protocol/iec60870/104/IEC104_Codec.h b/App/iec60870/104/IEC104_Codec.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_Codec.h rename to App/iec60870/104/IEC104_Codec.h diff --git a/App/protocol/iec60870/104/IEC104_Config_Internal.h b/App/iec60870/104/IEC104_Config_Internal.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_Config_Internal.h rename to App/iec60870/104/IEC104_Config_Internal.h diff --git a/App/protocol/iec60870/104/IEC104_Connection.c b/App/iec60870/104/IEC104_Connection.c similarity index 100% rename from App/protocol/iec60870/104/IEC104_Connection.c rename to App/iec60870/104/IEC104_Connection.c diff --git a/App/protocol/iec60870/104/IEC104_Connection.h b/App/iec60870/104/IEC104_Connection.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_Connection.h rename to App/iec60870/104/IEC104_Connection.h diff --git a/App/protocol/iec60870/104/IEC104_Link.c b/App/iec60870/104/IEC104_Link.c similarity index 100% rename from App/protocol/iec60870/104/IEC104_Link.c rename to App/iec60870/104/IEC104_Link.c diff --git a/App/protocol/iec60870/104/IEC104_Link_Common.h b/App/iec60870/104/IEC104_Link_Common.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_Link_Common.h rename to App/iec60870/104/IEC104_Link_Common.h diff --git a/App/protocol/iec60870/104/IEC104_Link_Internal.h b/App/iec60870/104/IEC104_Link_Internal.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_Link_Internal.h rename to App/iec60870/104/IEC104_Link_Internal.h diff --git a/App/protocol/iec60870/104/IEC104_Link_Slave_StartStop.c b/App/iec60870/104/IEC104_Link_Slave_StartStop.c similarity index 100% rename from App/protocol/iec60870/104/IEC104_Link_Slave_StartStop.c rename to App/iec60870/104/IEC104_Link_Slave_StartStop.c diff --git a/App/protocol/iec60870/104/IEC104_Link_Slave_StartStop.h b/App/iec60870/104/IEC104_Link_Slave_StartStop.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_Link_Slave_StartStop.h rename to App/iec60870/104/IEC104_Link_Slave_StartStop.h diff --git a/App/protocol/iec60870/104/IEC104_Net.h b/App/iec60870/104/IEC104_Net.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_Net.h rename to App/iec60870/104/IEC104_Net.h diff --git a/App/protocol/iec60870/104/IEC104_Net_Windows.c b/App/iec60870/104/IEC104_Net_Windows.c similarity index 100% rename from App/protocol/iec60870/104/IEC104_Net_Windows.c rename to App/iec60870/104/IEC104_Net_Windows.c diff --git a/App/protocol/iec60870/104/IEC104_Receiver.c b/App/iec60870/104/IEC104_Receiver.c similarity index 100% rename from App/protocol/iec60870/104/IEC104_Receiver.c rename to App/iec60870/104/IEC104_Receiver.c diff --git a/App/protocol/iec60870/104/IEC104_Receiver.h b/App/iec60870/104/IEC104_Receiver.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_Receiver.h rename to App/iec60870/104/IEC104_Receiver.h diff --git a/App/protocol/iec60870/104/IEC104_SendBuffer.c b/App/iec60870/104/IEC104_SendBuffer.c similarity index 100% rename from App/protocol/iec60870/104/IEC104_SendBuffer.c rename to App/iec60870/104/IEC104_SendBuffer.c diff --git a/App/protocol/iec60870/104/IEC104_SendBuffer.h b/App/iec60870/104/IEC104_SendBuffer.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_SendBuffer.h rename to App/iec60870/104/IEC104_SendBuffer.h diff --git a/App/protocol/iec60870/104/IEC104_SendManager.c b/App/iec60870/104/IEC104_SendManager.c similarity index 100% rename from App/protocol/iec60870/104/IEC104_SendManager.c rename to App/iec60870/104/IEC104_SendManager.c diff --git a/App/protocol/iec60870/104/IEC104_SendManager.h b/App/iec60870/104/IEC104_SendManager.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_SendManager.h rename to App/iec60870/104/IEC104_SendManager.h diff --git a/App/protocol/iec60870/104/IEC104_Slave.c b/App/iec60870/104/IEC104_Slave.c similarity index 100% rename from App/protocol/iec60870/104/IEC104_Slave.c rename to App/iec60870/104/IEC104_Slave.c diff --git a/App/protocol/iec60870/104/IEC104_Slave.h b/App/iec60870/104/IEC104_Slave.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_Slave.h rename to App/iec60870/104/IEC104_Slave.h diff --git a/App/protocol/iec60870/104/IEC104_TcpServer.c b/App/iec60870/104/IEC104_TcpServer.c similarity index 100% rename from App/protocol/iec60870/104/IEC104_TcpServer.c rename to App/iec60870/104/IEC104_TcpServer.c diff --git a/App/protocol/iec60870/104/IEC104_TcpServer.h b/App/iec60870/104/IEC104_TcpServer.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_TcpServer.h rename to App/iec60870/104/IEC104_TcpServer.h diff --git a/App/protocol/iec60870/104/IEC104_TcpServer_Config.h b/App/iec60870/104/IEC104_TcpServer_Config.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_TcpServer_Config.h rename to App/iec60870/104/IEC104_TcpServer_Config.h diff --git a/App/protocol/iec60870/104/IEC104_TcpTypes.h b/App/iec60870/104/IEC104_TcpTypes.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_TcpTypes.h rename to App/iec60870/104/IEC104_TcpTypes.h diff --git a/App/protocol/iec60870/104/IEC104_Types.h b/App/iec60870/104/IEC104_Types.h similarity index 100% rename from App/protocol/iec60870/104/IEC104_Types.h rename to App/iec60870/104/IEC104_Types.h diff --git a/App/iec60870/104/README.md b/App/iec60870/104/README.md new file mode 100644 index 00000000..59ea1784 --- /dev/null +++ b/App/iec60870/104/README.md @@ -0,0 +1,68 @@ +# `104/` — APCI 传输层与协议状态机 + +本目录负责 104 协议的**传输面**:把字节流切成 APDU 帧、维护 k/w 发送窗口与超时, +并把解析出的事件交给 `business/` 的业务状态机。要改「帧怎么收发、连接怎么管」在这一层; +要改「某类请求怎么应答」去 `business/`。 + +本目录同时承载**平台适配与装配**(小写 `iec104_*` 前缀,见 §3),因为一个目标只能链接一个 +Net 后端,装配代码与它服务的传输层放在一起才能一眼看清这条唯一链路的全貌。 + +## 1. 文件分工 + +| 文件组 | 职责 | +| --- | --- | +| `IEC104_Codec.c` | APDU 帧编解码:I/S/U 帧格式、长度字段、APCI 头部 | +| `IEC104_Link.c` · `IEC104_Link_Slave_StartStop.c` | 链路状态机:STARTDT/STOPDT/TESTFR 与从站启停 | +| `IEC104_Connection.c` | 单条连接的收发状态、序号维护 | +| `IEC104_Receiver.c` | 接收侧组帧与校验,产出待处理事件 | +| `IEC104_SendBuffer.c` · `IEC104_SendManager.c` | 发送缓冲与发送调度(含部分发送处理、优先级车道) | +| `IEC104_AsduQueue.c` | ASDU 队列:HIGH/NORMAL 两级,跨重连保留语义见该文件注释 | +| `IEC104_TcpServer.c` · `IEC104_TcpServer_Config.h` | 非阻塞 TCP 服务:连接身份、事件环、SOE 容量 | +| `IEC104_Slave.c` · `IEC104_Slave.h` | 从站主体:对外统一入口(启动、轮询、状态查询) | +| `IEC104_Net.h` · `IEC104_Net_Windows.c` | Net 后端 ABI 与主机(模拟器)实现 | + +## 2. 关键约束 + +**一个目标只能链接一个 Net 后端。** `IEC104_Net.h` 定义一套 ABI,板端由 +`iec104_net_mcu.c`(经 CH395F)实现,模拟器由 `IEC104_Net_Windows.c` 实现。 +同时链接两份会重复定义符号,或者更隐蔽地链到错的那份——两条路径的阻塞语义完全不同, +后者不会报错,只会让时序对不上。板端后端的句柄规则(LISTEN/CLIENT 双槽、代次不变式) +见 `docs/网络/IEC104_Net适配契约.md`。 + +**非阻塞 I/O 与部分发送是这一层的前提。** `Slave`/`TcpServer` 假定 Net 后端从不在调用内 +阻塞,因而发送必须能返回「已写一部分」,由 `SendManager` 记住偏移下轮续写。 +板端网络层是「两段式等待 + `netTask` 单属主」模型,与本假设的接缝 +→ `docs/网络/Net层阻塞模型架构设计.md`。 + +**SOE 容量是 RAM 预算决策**:`IEC104_TcpServer_Config.h` 把 +`IEC104_TCP_SOE_CAPACITY` 设为 `128U`(上游为 256),理由与合规依据见 +[`../README.md`](../README.md) §3.2。 + +## 3. 装配与平台层(小写 `iec104_*`) + +这五个模块是本项目的自有代码,不是协议主体的一部分: + +| 文件 | 职责 | 不能据此推断 | +| --- | --- | --- | +| `iec104_core.c` | ``iec104_core_start/poll/stop`` 生命周期与事件循环,串行驱动上面整套状态机 | PC 运行不证明 CH395F、RTOS 或板端监听生命周期正确 | +| `iec104_source.c` | 数据源、模拟动作、参数 RAM、虚拟设备墙钟;`iec104_source_bind()` 是可选平台接缝 | 接口存在不等于已绑定 UI、保护或标定真源 | +| `iec104_net_mcu.c` | CH395F 的 Net 后端实现(板端唯一后端) | 不经板端台架验证过 | +| `iec104_dtu_table.c` | 标准 DTU 点表与元数据(含 SP/DP/ME 分段与参数表) | 新旧通信地址相同不代表语义相同 | +| `iec104_comm.c` | `/config.ini` 的 `[comm]` 段:本站公共地址/端口号的 RAM 副本、工厂默认、getter 合法带自愈与 setter 守卫;键表口径见 `docs/子系统设计/网络配置说明.md` | 落盘属主是配置引擎(`App/cfg/`),本模块只提供 `iec104_comm_store_save()` 与脏位 | + +调用必须由**同一事件循环属主串行执行**,源回调必须短且不阻塞。当前属主是 `netTask`: +`App/task/iec104_serv.c` 在 1 ms 循环里调 `iec104_serv_net_tick()`,不另建 104 任务。 + +## 4. 日志与诊断 + +本目录的协议主体遵循**零日志输出**惯例(不 `printf`、不直写串口),状态通过 +`IEC104_Slave_Get_Status()` 与各模块 `status` 结构暴露,由上层(`App/task/iec104_serv.c`) +决定怎么记录。理由:协议层不知道自己运行在哪个任务上下文,直写日志会引入不可重入与 +栈深度不可控。要加诊断信息,请扩状态结构而不是往协议层塞日志宏。 + +## 5. 相关文档 + +- 完整协议栈与目录总览 → [`../README.md`](../README.md) +- 板端设计与落地结论 → `docs/子系统设计/IEC104上行设计说明.md` +- Net 适配契约 → `docs/网络/IEC104_Net适配契约.md` +- 阻塞模型与 `netTask` 调用边界 → `docs/网络/Net层阻塞模型架构设计.md` diff --git a/App/protocol/iec60870/104/business/IEC104_BusinessConfig_Internal.h b/App/iec60870/104/business/IEC104_BusinessConfig_Internal.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_BusinessConfig_Internal.h rename to App/iec60870/104/business/IEC104_BusinessConfig_Internal.h diff --git a/App/protocol/iec60870/104/business/IEC104_ClockSynchronization.c b/App/iec60870/104/business/IEC104_ClockSynchronization.c similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_ClockSynchronization.c rename to App/iec60870/104/business/IEC104_ClockSynchronization.c diff --git a/App/protocol/iec60870/104/business/IEC104_ClockSynchronization.h b/App/iec60870/104/business/IEC104_ClockSynchronization.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_ClockSynchronization.h rename to App/iec60870/104/business/IEC104_ClockSynchronization.h diff --git a/App/protocol/iec60870/104/business/IEC104_Command.c b/App/iec60870/104/business/IEC104_Command.c similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Command.c rename to App/iec60870/104/business/IEC104_Command.c diff --git a/App/protocol/iec60870/104/business/IEC104_Command.h b/App/iec60870/104/business/IEC104_Command.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Command.h rename to App/iec60870/104/business/IEC104_Command.h diff --git a/App/protocol/iec60870/104/business/IEC104_CounterInterrogation.c b/App/iec60870/104/business/IEC104_CounterInterrogation.c similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_CounterInterrogation.c rename to App/iec60870/104/business/IEC104_CounterInterrogation.c diff --git a/App/protocol/iec60870/104/business/IEC104_CounterInterrogation.h b/App/iec60870/104/business/IEC104_CounterInterrogation.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_CounterInterrogation.h rename to App/iec60870/104/business/IEC104_CounterInterrogation.h diff --git a/App/protocol/iec60870/104/business/IEC104_GeneralInterrogation.c b/App/iec60870/104/business/IEC104_GeneralInterrogation.c similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_GeneralInterrogation.c rename to App/iec60870/104/business/IEC104_GeneralInterrogation.c diff --git a/App/protocol/iec60870/104/business/IEC104_GeneralInterrogation.h b/App/iec60870/104/business/IEC104_GeneralInterrogation.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_GeneralInterrogation.h rename to App/iec60870/104/business/IEC104_GeneralInterrogation.h diff --git a/App/protocol/iec60870/104/business/IEC104_Interrogation.c b/App/iec60870/104/business/IEC104_Interrogation.c similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Interrogation.c rename to App/iec60870/104/business/IEC104_Interrogation.c diff --git a/App/protocol/iec60870/104/business/IEC104_Interrogation.h b/App/iec60870/104/business/IEC104_Interrogation.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Interrogation.h rename to App/iec60870/104/business/IEC104_Interrogation.h diff --git a/App/protocol/iec60870/104/business/IEC104_Interrogation_Internal.h b/App/iec60870/104/business/IEC104_Interrogation_Internal.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Interrogation_Internal.h rename to App/iec60870/104/business/IEC104_Interrogation_Internal.h diff --git a/App/protocol/iec60870/104/business/IEC104_Parameter.c b/App/iec60870/104/business/IEC104_Parameter.c similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Parameter.c rename to App/iec60870/104/business/IEC104_Parameter.c diff --git a/App/protocol/iec60870/104/business/IEC104_Parameter.h b/App/iec60870/104/business/IEC104_Parameter.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Parameter.h rename to App/iec60870/104/business/IEC104_Parameter.h diff --git a/App/protocol/iec60870/104/business/IEC104_PeriodicScan.c b/App/iec60870/104/business/IEC104_PeriodicScan.c similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_PeriodicScan.c rename to App/iec60870/104/business/IEC104_PeriodicScan.c diff --git a/App/protocol/iec60870/104/business/IEC104_PeriodicScan.h b/App/iec60870/104/business/IEC104_PeriodicScan.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_PeriodicScan.h rename to App/iec60870/104/business/IEC104_PeriodicScan.h diff --git a/App/protocol/iec60870/104/business/IEC104_Read.c b/App/iec60870/104/business/IEC104_Read.c similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Read.c rename to App/iec60870/104/business/IEC104_Read.c diff --git a/App/protocol/iec60870/104/business/IEC104_Read.h b/App/iec60870/104/business/IEC104_Read.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Read.h rename to App/iec60870/104/business/IEC104_Read.h diff --git a/App/protocol/iec60870/104/business/IEC104_RemoteParameter.c b/App/iec60870/104/business/IEC104_RemoteParameter.c similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_RemoteParameter.c rename to App/iec60870/104/business/IEC104_RemoteParameter.c diff --git a/App/protocol/iec60870/104/business/IEC104_RemoteParameter.h b/App/iec60870/104/business/IEC104_RemoteParameter.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_RemoteParameter.h rename to App/iec60870/104/business/IEC104_RemoteParameter.h diff --git a/App/protocol/iec60870/104/business/IEC104_Spontaneous.c b/App/iec60870/104/business/IEC104_Spontaneous.c similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Spontaneous.c rename to App/iec60870/104/business/IEC104_Spontaneous.c diff --git a/App/protocol/iec60870/104/business/IEC104_Spontaneous.h b/App/iec60870/104/business/IEC104_Spontaneous.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Spontaneous.h rename to App/iec60870/104/business/IEC104_Spontaneous.h diff --git a/App/protocol/iec60870/104/business/IEC104_Startup.c b/App/iec60870/104/business/IEC104_Startup.c similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Startup.c rename to App/iec60870/104/business/IEC104_Startup.c diff --git a/App/protocol/iec60870/104/business/IEC104_Startup.h b/App/iec60870/104/business/IEC104_Startup.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_Startup.h rename to App/iec60870/104/business/IEC104_Startup.h diff --git a/App/protocol/iec60870/104/business/IEC104_SystemCommand.c b/App/iec60870/104/business/IEC104_SystemCommand.c similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_SystemCommand.c rename to App/iec60870/104/business/IEC104_SystemCommand.c diff --git a/App/protocol/iec60870/104/business/IEC104_SystemCommand.h b/App/iec60870/104/business/IEC104_SystemCommand.h similarity index 100% rename from App/protocol/iec60870/104/business/IEC104_SystemCommand.h rename to App/iec60870/104/business/IEC104_SystemCommand.h diff --git a/App/iec60870/104/business/README.md b/App/iec60870/104/business/README.md new file mode 100644 index 00000000..77b6b256 --- /dev/null +++ b/App/iec60870/104/business/README.md @@ -0,0 +1,46 @@ +# `104/business/` — 业务状态机层 + +本目录把**收到的 I 帧**翻译成业务动作:总召、遥控、校时、读、远方参数……每种业务一个 +模块,各自维护自己的任务池与超时。要改「某类请求怎么校验、怎么应答、什么时候主动上送」 +在这里;要改「字节怎么收发」去 `104/`,要改「数据从哪来」去 `iec104_source.c`。 + +**应用数据提供者不在这一层,也不该塞进来。** 这一层只认协议语义:它调用 +`IEC104_Slave` 提供的应答接口把结果写回队列,数据本身由上层通过平台接缝提供 +(板端是 `App/task/iec104_serv.c` 的绑定函数,见 [`../README.md`](../README.md) §3)。 +把业务数据源直接写进状态机会让这一层无法被主机单测脱机验证。 + +## 1. 文件分工 + +| 文件 | 职责 | 对应 104 类型 | +| --- | --- | --- | +| `IEC104_Startup.c` | 启动配置默认值与初始化顺序 | — | +| `IEC104_GeneralInterrogation.c` | 总召(站总召)的接收、分轮应答与终止 | C_IC_NA_1 | +| `IEC104_CounterInterrogation.c` | 计数量总召 | C_CI_NA_1 | +| `IEC104_Interrogation.c` | 总召/计总召的公共任务池与事件调度 | — | +| `IEC104_Command.c` | 遥控:选择/执行两段、点表许可检查、CA 绑定、类型掩码 | C_SC/C_DC/C_RC… | +| `IEC104_ClockSynchronization.c` | 校时 | C_CS_NA_1 | +| `IEC104_Read.c` | 读命令 | C_RD_NA_1 | +| `IEC104_Parameter.c` | 标准参数(定值区/预置/固化) | P_ME/P_AC… | +| `IEC104_RemoteParameter.c` | 远方参数读写(Type200~203) | Type 200~203 | +| `IEC104_PeriodicScan.c` | 周期扫描上送分组 | — | +| `IEC104_Spontaneous.c` | 突发上送,含 Type42 故障事件发布入口 | M_SP/M_DP/M_ME… | + +## 2. 关键约束 + +十个模块的容量宏都可 `-D` 覆盖(共 11 个宏,`IEC104_Interrogation.c` 占 2 个), +但覆盖的是「同时可挂几个任务」,不是「池有多大」。默认值与所在文件列在 +[`../../README.md`](../../README.md) §4 的表里,调之前先看那张表的注意事项—— +其中 `IEC104_SPONTANEOUS_CAPACITY` 覆盖后省不下 RAM。 + +**遥控点表的 CA 是实例级绑定,不是逐点存储。** `IEC104_Command.c` 在首个被接受的请求时 +绑定本站 CA,`Find_Point` 先比 CA 再二分查找;不匹配走「未知 IOA」路径, +所以「CA 不对」与「点不存在」对外不可区分。原因与代价见 [`../../README.md`](../../README.md) §3.3。 + +**未实现的能力不要在这里补。** 历史数据、事故记录、文件传输、录波、固件升级后端都没有 +实现;本项目已有对应子系统(存储栈、日志、FTP),集成时复用它们,别造第二份。 + +## 3. 相关文档 + +- 完整协议栈与目录总览 → [`../../README.md`](../../README.md) +- 容量表与 RAM 口径 → [`../../README.md`](../../README.md) §4 +- 板端落地与已知缺口 → `docs/子系统设计/IEC104上行设计说明.md`、`docs/子系统设计/IEC104_MCU落地规划.md` diff --git a/App/protocol/iec104/iec104_comm.c b/App/iec60870/104/iec104_comm.c similarity index 98% rename from App/protocol/iec104/iec104_comm.c rename to App/iec60870/104/iec104_comm.c index e0460696..0bc61c6e 100644 --- a/App/protocol/iec104/iec104_comm.c +++ b/App/iec60870/104/iec104_comm.c @@ -25,7 +25,7 @@ /* ---------------- [comm] RAM 副本与工厂默认 ---------------- * 引擎属主 = defaultTask:本段只被 cfg_file_load/save/poll 通用遍历,本文件 * 不触引擎任何写路径;内核前注册点 = app_main.c(「先注册后 load」契约,同 - * adc_cal_init / run_par_init)。App/protocol 零日志惯例保持——注册失败留痕 + * adc_cal_init / run_par_init)。App/iec60870 零日志惯例保持——注册失败留痕 * 由调用方 app_main.c 锚点负责,getter/setter 纯 RAM 不打日志(iec104Task * 深链省栈,日志成本见 docs/子系统设计/控制台单写者日志设计.md §7.1)。 */ @@ -154,7 +154,7 @@ uint8_t iec104_comm_dirty_peek(void) { * 返回值:0 成功/无脏;-1 写盘失败 int * 限定条件:**defaultTask(配置引擎属主)上下文**——run_par_store_save() * 同一调用点旁挂,每轮无条件 - * 函数说明:失败不打日志是刻意的(App/protocol 零日志惯例,本文件无 DBG): + * 函数说明:失败不打日志是刻意的(App/iec60870 零日志惯例,本文件无 DBG): * cfg_file_save 自身已有 DBG_ERROR 留痕 + 脏位保留 = 屏上 ERR 的 * 判定源,再打一条就是重复锚点(日志成本见 docs/子系统设计/控制台单写者日志设计.md §7.1) */ diff --git a/App/protocol/iec104/iec104_comm.h b/App/iec60870/104/iec104_comm.h similarity index 98% rename from App/protocol/iec104/iec104_comm.h rename to App/iec60870/104/iec104_comm.h index f073eaee..a1c42218 100644 --- a/App/protocol/iec104/iec104_comm.h +++ b/App/iec60870/104/iec104_comm.h @@ -2,7 +2,7 @@ * 模块名称:IEC 60870-5-104 通讯参数段([comm] 配置)公共接口 * 模块功能:/config.ini [comm] 段的对外契约——公共地址(CA = ASDU 公共地址, * 2B)与被控站 TCP 监听端口的工厂默认、getter/setter 与合法带。 - * 实现 = 配对文件 App/protocol/iec104/iec104_comm.c(coding-standard + * 实现 = 配对文件 App/iec60870/104/iec104_comm.c(coding-standard * CODE-RULE-17 (2.2)「非 static 函数须在**配对头文件**声明」按文件名 * 判定;初版曾寄身 iec104_pts.c 尾段,2026-10-26 lead 纠偏迁出)。 * 修改记录: diff --git a/App/protocol/iec104/iec104_core.c b/App/iec60870/104/iec104_core.c similarity index 100% rename from App/protocol/iec104/iec104_core.c rename to App/iec60870/104/iec104_core.c diff --git a/App/protocol/iec104/iec104_core.h b/App/iec60870/104/iec104_core.h similarity index 100% rename from App/protocol/iec104/iec104_core.h rename to App/iec60870/104/iec104_core.h diff --git a/App/protocol/iec104/iec104_dtu_table.c b/App/iec60870/104/iec104_dtu_table.c similarity index 100% rename from App/protocol/iec104/iec104_dtu_table.c rename to App/iec60870/104/iec104_dtu_table.c diff --git a/App/protocol/iec104/iec104_dtu_table.h b/App/iec60870/104/iec104_dtu_table.h similarity index 100% rename from App/protocol/iec104/iec104_dtu_table.h rename to App/iec60870/104/iec104_dtu_table.h diff --git a/App/protocol/iec104/iec104_net_mcu.c b/App/iec60870/104/iec104_net_mcu.c similarity index 99% rename from App/protocol/iec104/iec104_net_mcu.c rename to App/iec60870/104/iec104_net_mcu.c index 3dd685b2..eb197dc7 100644 --- a/App/protocol/iec104/iec104_net_mcu.c +++ b/App/iec60870/104/iec104_net_mcu.c @@ -1,6 +1,6 @@ /* 模块名称:IEC 60870-5-104 板端 Net 后端(netTask 单 owner) */ /* - * 模块功能:实现 App/protocol/iec60870/104/IEC104_Net.h 的全部导出 ABI, + * 模块功能:实现 App/iec60870/104/IEC104_Net.h 的全部导出 ABI, * 底层走 Drivers/BSP/NET/net_socket.h 的 net_* 接口。 * 适用平台:STM32F407ZGTx + CH395F;只在 netTask 上下文中调用(threadless)。 * 创建日期:2026-11-17(task-18 板端网络割接) diff --git a/App/protocol/iec104/iec104_net_mcu.h b/App/iec60870/104/iec104_net_mcu.h similarity index 100% rename from App/protocol/iec104/iec104_net_mcu.h rename to App/iec60870/104/iec104_net_mcu.h diff --git a/App/protocol/iec104/iec104_source.c b/App/iec60870/104/iec104_source.c similarity index 100% rename from App/protocol/iec104/iec104_source.c rename to App/iec60870/104/iec104_source.c diff --git a/App/protocol/iec104/iec104_source.h b/App/iec60870/104/iec104_source.h similarity index 100% rename from App/protocol/iec104/iec104_source.h rename to App/iec60870/104/iec104_source.h diff --git a/App/protocol/iec104/iec104_source_ranks.h b/App/iec60870/104/iec104_source_ranks.h similarity index 98% rename from App/protocol/iec104/iec104_source_ranks.h rename to App/iec60870/104/iec104_source_ranks.h index 19fe3c67..0c3a175b 100644 --- a/App/protocol/iec104/iec104_source_ranks.h +++ b/App/iec60870/104/iec104_source_ranks.h @@ -1,9 +1,9 @@ /* 模块名称:参数值槽 rank 映射表(生成文件,勿手改)。 */ /* GENERATED FILE - do not edit by hand. - * Source: App/protocol/iec60870/examples/iec104_dtu_profile.h (const profile table). + * Source: App/iec60870/examples/iec104_dtu_profile.h (const profile table). * Generator: ci-artifacts/iec104-cutover/gen_source_ranks.py * Design: ci-artifacts/iec104-cutover/package-b-design.md - * Include exactly once, from App/protocol/iec104/iec104_source.c only. + * Include exactly once, from App/iec60870/104/iec104_source.c only. * * Ranks are uint16_t because the largest rank is 344 (configured) / 263 (writable), * both above 0xFF. A uint8_t table would alias sentinel 0xFF with rank 255 and diff --git a/App/iec60870/README.md b/App/iec60870/README.md new file mode 100644 index 00000000..1bfb47fd --- /dev/null +++ b/App/iec60870/README.md @@ -0,0 +1,156 @@ +# App/iec60870/ — IEC 60870-5-104 协议栈(项目自有) + +本目录是本项目的 IEC 60870-5-104(变电站远动通信协议,下文简称「104」)协议栈实现:一边接 +主站的 TCP 连接,一边经平台接缝取本站数据。**它现在是团队自己的代码**,按项目规范维护; +下文每节说明该目录的边界、改动纪律与真正的知识,避免新接手者必须读遍约 5 万行才能动手。 + +> **历史出处(一句)**:仓库根的 `IEC60870-Slave/` 是原始第三方快照,保留作独立验证基线; +> 本目录代码已于 2026-11-18 收编为项目自有,不再做逐字节保真校验。 + +## 1. 目录结构 + +接手先看这张表:它回答「某个功能该改哪个目录」。 + +| 子目录 | 职责 | 详情 | +|---|---|---| +| `common/` | 与传输无关的协议数据面:ASDU(应用服务数据单元)编解码、信息对象、时间表示,以及 101/104 共用的子站发送接口抽象 | [`common/README.md`](common/README.md) | +| `104/` | APCI(应用规约控制信息)传输层 + 业务状态机 + **平台适配与装配** | [`104/README.md`](104/README.md) | +| `104/business/` | 业务状态机:收到的 I 帧按业务类型分派、校验、应答与主动上送 | [`104/business/README.md`](104/business/README.md) | +| `examples/` | 声明式 DTU(配电终端)点表 profile,一份头文件,无示例 main | [`examples/README.md`](examples/README.md) | + +`104/` 下有两类文件,**命名前缀就是分层标记**:`IEC104_*` 是协议主体(传输与状态机), +`iec104_*`(小写)是本项目的装配与平台层——`iec104_core`(生命周期与事件循环)、 +`iec104_source`(数据/模拟动作/参数 RAM/虚拟墙钟)、`iec104_net_mcu`(CH395F 网络后端)、 +`iec104_dtu_table`(标准 DTU 点表)、`iec104_comm`(`/config.ini` 的 `[comm]` 段:本站公共地址 +与端口号的 RAM 副本、工厂默认、getter 合法带与 setter 守卫)。改协议行为先找 `IEC104_*`, +改「数据从哪来」先找 `iec104_source`,改「本站地址写在哪」先找 `iec104_comm`。 + +## 2. 能力边界(能做什么、明确不做什么) + +动手前先确认需求是否在边界内,越界的功能要复用既有子系统而不是往这里加: + +**已实现**:APCI 传输(APDU 帧、k=12/w=8 窗口、t1=15 s / t2=10 s / t3=20 s 超时)、 +总召与计数量总召(GI/CI)、突发(COT=3)与周期遥测上送、遥控(含选择/执行两段)、校时、 +读命令、标准参数(Type200~203 远方参数读写)、Type42 故障事件(扩展布局)。 + +**未实现**:历史数据、事故记录、文件传输、录波文件、固件升级后端。这些能力在本项目里 +已有归属(存储栈、日志子系统、FTP 服务),**集成时必须复用它们**,不要在本目录内实现第二份。 + +## 3. 关键设计约束(代码为什么长成这样) + +读代码时若觉得某处写法多余,先来这里对照——这些不是历史包袱,是有原因的项目决策。 + +### 3.1 C99 没有 `_Static_assert`,用数组宽度实现编译期断言 + +`common/IEC60870_StaticAssert.h` 是**项目的 C99 约束实现**,不是对第三方的兼容补丁: +ARM Compiler 5(AC5,Keil MDK 默认编译器)只到 C99,没有 C11 的 `_Static_assert`。 +该头在 `__STDC_VERSION__ < 201112L` 时把 `_Static_assert(condition, message)` 展开成 +`typedef char <唯一名>[(condition) ? 1 : -1]`——条件为假时数组宽度为负,编译直接失败, +没有任何运行期开销。C11 及以上的目标仍走原生断言。 + +全目录 **43 处**断言调用点全部保留,**每条断言条件都没改过**(唯一变动是 SOE 容量守卫的 +提示文字随容量宏改数字,而 C99 下该文字本来就被 shim 丢弃,语义不动)。 + +### 3.2 SOE 深度取 128 而非上游的 256 + +SOE(Sequence of Events,事件顺序记录)深度的两个容量宏 +`IEC104_TCP_SOE_CAPACITY` 与 `IEC104_ASDU_SOE_MAX_CAPACITY` 都设为 `128U`, +是为了守住 RAM 预算。协议标准本身**不规定** SOE 深度;本项目采信的数值下界是 +瑞典 Svk TR02-04-04 §7.4.1 建议的 ≥100 条,因此 128 合规。 +断言条件 `SOE_CAPACITY == ASDU_SOE_MAX_CAPACITY` 未被改动,它守的不变式仍然成立。 + +### 3.3 遥控点表元素 12 B → 8 B,为的是放进 const Flash + +`104/business/IEC104_Command.h` 的点表结构去掉了每点各自携带的 `common_address` +(公共地址,下文简称 CA),元素从 12 字节降到 8 字节,使整张表能作为 `const` 常量驻留 +Flash 而不是占静态 RAM。 + +代价是 CA 不再逐点存储,改为**实例级绑定**:`IEC104_Command` 在首个被接受的请求时绑定本站 +CA,此后 `Find_Point` 在二分查找前先比对 CA,不匹配直接走与「未知 IOA(信息对象地址)」 +相同的拒绝路径。所以「CA 不匹配」与「点不存在」对外表现一致——这是设计选择,不是疏漏。 +点表按 IOA 严格升序排列,同一 IOA 只允许一项。 + +### 3.4 枚举区间判断用无符号上界比较 + +`104/IEC104_SendManager.c` 与 `104/business/IEC104_Spontaneous.c` 里,非负枚举的区间 +校验写成 `(unsigned)x >= (unsigned)上限` 而不是 `x < 0 || x >= 上限`。原因:负数转无符号后 +会落到有效范围之上,照样被拒(语义不变),但 AC5 不再报「无意义的有符号/无符号比较」诊断。 +这是为了让编译零警告,不是改变判定逻辑。 + +### 3.5 `104/IEC104_TcpServer.c` 的显式类型转换 + +把字节宽度的环形队列头展开进事件校验辅助函数时,有三处显式 `IEC104_TcpEventType_t` +转换:两个校验辅助函数的调用点(`Event_Payload_Length_Valid`、`Is_State_Event`) +与展开后的 `copy.type` 赋值。环里存的是 `uint8_t`,公开结构里是枚举,不加转换 AC5 会因 +隐式转换告警。条件、容量、存储布局与运行行为均未改变。 + +### 3.6 `common/IEC60870_FaultEvent.c` 是链接依赖,不是可选模块 + +`IEC104_Spontaneous_Publish_Fault_Event`(`104/business/IEC104_Spontaneous.c`)在发布路径上 +调用 `IEC60870_FaultEvent_Encode()`,因此 `common/IEC60870_FaultEvent.c` **必须一起编译链接**, +缺了就是链接期未定义符号。 +它实现的是 Type42 故障事件的扩展布局(两组异构记录 + 报文体内计数),不属于基础标准定义。 + +## 4. 容量覆盖面(构建期可调,不用改源码) + +十一个模块级容量宏都用 `#ifndef` 包着,因此构建时可以直接 `-D` 覆盖, +**不必编辑任何源文件**——MCU 骨架档靠这个把工作队列压小,而模拟器保留全部业务模块。 + +| 宏 | 默认值 | 所在文件 | +| --- | --- | --- | +| `IEC104_INTERROGATION_TASK_CAPACITY` | `4U` | `104/business/IEC104_Interrogation.c` | +| `IEC104_INTERROGATION_EVENT_CAPACITY` | `4U` | `104/business/IEC104_Interrogation.c` | +| `IEC104_SYSTEM_COMMAND_TASK_CAPACITY` | `4U` | `104/business/IEC104_SystemCommand.c` | +| `IEC104_SYSTEM_COMMAND_RESET_CAPACITY` | `4U` | `104/business/IEC104_SystemCommand.c` | +| `IEC104_PERIODIC_SCAN_GROUP_CAPACITY` | `4U` | `104/business/IEC104_PeriodicScan.c` | +| `IEC104_PARAMETER_TASK_CAPACITY` | `4U` | `104/business/IEC104_Parameter.c` | +| `IEC104_REMOTE_PARAMETER_TASK_CAPACITY` | `2U` | `104/business/IEC104_RemoteParameter.c` | +| `IEC104_CLOCK_SYNCHRONIZATION_TASK_CAPACITY` | `4U` | `104/business/IEC104_ClockSynchronization.c` | +| `IEC104_READ_TASK_CAPACITY` | `4U` | `104/business/IEC104_Read.c` | +| `IEC104_COMMAND_REPLY_CAPACITY` | `4U` | `104/business/IEC104_Command.c` | +| `IEC104_SPONTANEOUS_CAPACITY` | `IEC104_TCP_SERVER_CAPACITY` | `104/business/IEC104_Spontaneous.c` | + +调之前先知道两件事:① `IEC104_SPONTANEOUS_CAPACITY` 虽可覆盖但**省不下 RAM**——它的池元素是 +回调与状态而非按容量分配的数组,所以骨架档让它留在默认值;② 这些宏调的是业务模块内部 +单实例工作队列,**不涉及** TCP 服务池、SOE=128、k/w 窗口或并发语义,因此改动它们不影响 +92% RAM 门禁的口径。任何容量调整前先按 `docs/内存管理/` 的方法核算。 + +## 5. 构建注册与平台后端 + +新增或删除本目录的 `.c` 必须**双端同步**,两个构建系统都是显式文件清单,不会自动发现: + +- Keil 工程:`MDK-ARM/STM32F407-Demo.uvprojx` +- 模拟器:`simulator/CMakeLists.txt` 的 `IEC104_SOURCES` + +注册纪律与动作 → `new-source-file` skill。 + +**一个目标只能链接一个 Net 后端**:板端用 `104/iec104_net_mcu.c`(经 CH395F), +模拟器用 `104/IEC104_Net_Windows.c`,两份实现同一个 `IEC104_Net` ABI。 +两者同时链接会得到重复符号,或更糟——静默链到错的那份。 + +## 6. 改动纪律 + +改这个目录的代码时: + +- **按项目规范改**,不必迁就上游写法;命名、注释、结构以 `docs/代码规范/` 为准。 +- 动数据来源看 `iec104_source.c`,动协议行为看 `IEC104_*`,两者别混在同一个改动里。 +- 不许为了消警告把断言、品质位或门禁关掉;SOE 与窗口容量要改,先按 §4 的方法核算并留证据。 +- 编码规范门禁对本目录**暂时豁免**(`.pre-commit-config.yaml` 的 `coding-standard` 排除项): + 约 1,200 处标识符驼峰(RULE-10)改造尚未进行,属单独排期;豁免不是永久状态, + 那批改造完成后必须删除排除项。 + +## 7. 权属与许可 + +**本目录的代码是团队自有代码,项目拥有完整处置权**:可以按本仓规范自由修改命名、注释、 +结构与实现,不需要为「保持与上游一致」做任何妥协,也不再有逐字节校验拦路。 + +仓库根的 `IEC60870-Slave/` 是另一件事:它是收编前的原始快照,**仅作独立验证基线保留**, +其原始许可状态未经确认,与本目录的权属不是一回事——不要因为本目录已收编就认为那份基线 +也可以自由分发。要在本目录之外复用那边的代码,先确认许可。 + +## 8. 相关文档 + +- 板端设计与落地结论 → `docs/子系统设计/IEC104上行设计说明.md`、`docs/子系统设计/IEC104_MCU落地规划.md` +- 网络层阻塞模型与 `netTask` 调用边界 → `docs/网络/Net层阻塞模型架构设计.md` +- Net 适配契约(LISTEN/CLIENT 双句柄、代次不变式)→ `docs/网络/IEC104_Net适配契约.md` +- 目录总览 → [`App/README.md`](../README.md) diff --git a/App/protocol/iec60870/common/IEC60870_Asdu.c b/App/iec60870/common/IEC60870_Asdu.c similarity index 100% rename from App/protocol/iec60870/common/IEC60870_Asdu.c rename to App/iec60870/common/IEC60870_Asdu.c diff --git a/App/protocol/iec60870/common/IEC60870_Asdu.h b/App/iec60870/common/IEC60870_Asdu.h similarity index 100% rename from App/protocol/iec60870/common/IEC60870_Asdu.h rename to App/iec60870/common/IEC60870_Asdu.h diff --git a/App/protocol/iec60870/common/IEC60870_Codec.c b/App/iec60870/common/IEC60870_Codec.c similarity index 94% rename from App/protocol/iec60870/common/IEC60870_Codec.c rename to App/iec60870/common/IEC60870_Codec.c index 87b78ec1..3392dfd6 100644 --- a/App/protocol/iec60870/common/IEC60870_Codec.c +++ b/App/iec60870/common/IEC60870_Codec.c @@ -74,19 +74,11 @@ static const uint8_t asdu_object_lengths[] = { [103] = IEC60870_ASDU_IOA_LEN + 7U, /* C_CS_NA_1 */ [104] = IEC60870_ASDU_IOA_LEN + 2U, /* C_TS_NA_1 */ [105] = IEC60870_ASDU_IOA_LEN + 1U, /* C_RP_NA_1 */ - [106] = IEC60870_ASDU_IOA_LEN + 2U, /* C_CD_NA_1 */ [107] = IEC60870_ASDU_IOA_LEN + 9U, /* C_TS_TA_1 */ [110] = IEC60870_ASDU_IOA_LEN + 3U, /* P_ME_NA_1 */ [111] = IEC60870_ASDU_IOA_LEN + 3U, /* P_ME_NB_1 */ [112] = IEC60870_ASDU_IOA_LEN + 5U, /* P_ME_NC_1 */ - [113] = IEC60870_ASDU_IOA_LEN + 1U, /* P_AC_NA_1 */ - [120] = IEC60870_ASDU_IOA_LEN + 6U, /* F_FR_NA_1 */ - [121] = IEC60870_ASDU_IOA_LEN + 7U, /* F_SR_NA_1 */ - [122] = IEC60870_ASDU_IOA_LEN + 4U, /* F_SC_NA_1 */ - [123] = IEC60870_ASDU_IOA_LEN + 5U, /* F_LS_NA_1 */ - [124] = IEC60870_ASDU_IOA_LEN + 4U, /* F_AF_NA_1 */ - [126] = IEC60870_ASDU_IOA_LEN + 13U, /* F_DR_TA_1 */ - [127] = IEC60870_ASDU_IOA_LEN + 16U /* F_SC_NB_1 */ + [113] = IEC60870_ASDU_IOA_LEN + 1U /* P_AC_NA_1 */ }; /** diff --git a/App/protocol/iec60870/common/IEC60870_Codec.h b/App/iec60870/common/IEC60870_Codec.h similarity index 100% rename from App/protocol/iec60870/common/IEC60870_Codec.h rename to App/iec60870/common/IEC60870_Codec.h diff --git a/App/protocol/iec60870/common/IEC60870_FaultEvent.c b/App/iec60870/common/IEC60870_FaultEvent.c similarity index 100% rename from App/protocol/iec60870/common/IEC60870_FaultEvent.c rename to App/iec60870/common/IEC60870_FaultEvent.c diff --git a/App/protocol/iec60870/common/IEC60870_FaultEvent.h b/App/iec60870/common/IEC60870_FaultEvent.h similarity index 100% rename from App/protocol/iec60870/common/IEC60870_FaultEvent.h rename to App/iec60870/common/IEC60870_FaultEvent.h diff --git a/App/protocol/iec60870/common/IEC60870_InformationObjects.c b/App/iec60870/common/IEC60870_InformationObjects.c similarity index 89% rename from App/protocol/iec60870/common/IEC60870_InformationObjects.c rename to App/iec60870/common/IEC60870_InformationObjects.c index 7cefc1f8..97fa7cb8 100644 --- a/App/protocol/iec60870/common/IEC60870_InformationObjects.c +++ b/App/iec60870/common/IEC60870_InformationObjects.c @@ -5727,90 +5727,6 @@ IEC60870_AsduResult_t IEC60870_TestCommand_Get_From_Buffer(IEC60870_TestCommand_ return IEC60870_ASDU_OK; } -/* ---- Type 106:延时获得命令 ---- */ -/** - * 功能:编码延时获得命令的值字段。 - * 输入参数:self——具体对象,已核对存储类型。 - * 输出参数:payload——至少2字节的临时区。 - * 返回值:1合法;0字段或时间非法。 - * 说明:CP16(2);失败只影响临时区。 - */ -static int DelayAcquisitionCommand_Encode_Value(const IEC60870_DelayAcquisitionCommand_t *self, uint8_t *payload) -{ - return IEC60870_Time_To_CP16(&self->delay, payload, IEC60870_CP16_LEN); -} - -/** - * 功能:解码延时获得命令的值字段。 - * 输入参数:payload——已校验完整长度的2字节载荷。 - * 输出参数:self——已清零的局部对象,不填写基类身份。 - * 返回值:1合法;0保留位或时间非法。 - * 说明:CP16(2);公开入口在成功后统一提交。 - */ -static int DelayAcquisitionCommand_Decode_Value(const uint8_t *payload, IEC60870_DelayAcquisitionCommand_t *self) -{ - return IEC60870_Time_From_CP16(payload, IEC60870_CP16_LEN, &self->delay); -} - -/** - * 功能:将公共基类分派到DelayAcquisitionCommand编码。 - * 输入参数:object——已核对类型和函数表的具体对象首成员。 - * 输出参数:payload——足够大的临时载荷区。 - * 返回值:1成功;0字段非法。 - * 说明:类型转换依赖首成员布局,禁止伪造公共基类。 - */ -static int DelayAcquisitionCommand_Encode(const IEC60870_InformationObject_t *object, uint8_t *payload) -{ - return DelayAcquisitionCommand_Encode_Value((const IEC60870_DelayAcquisitionCommand_t *)object, payload); -} - -static const IEC60870_InformationObjectVTable DelayAcquisitionCommand_VTable = { - 106, 2, 1, sizeof(IEC60870_DelayAcquisitionCommand_t), DelayAcquisitionCommand_Encode, - 0, NULL, NULL -}; - -/** - * 功能:在调用方存储中构造Type 106(延时获得命令)。 - * 输入参数:ioa——24位地址;其余值的范围见公开结构及声明注释。 - * 输出参数:self——成功后整体保存对象,失败不变。 - * 返回值:OK成功;ERROR参数、字段或时间非法。 - * 说明:局部对象验证通过后提交,不分配内存;ASDU容量另行检查。 - */ -IEC60870_AsduResult_t IEC60870_DelayAcquisitionCommand_Create(IEC60870_DelayAcquisitionCommand_t *self, - uint32_t ioa, const IEC60870_CP16Time2a_t *delay) -{ - IEC60870_DelayAcquisitionCommand_t result; - uint8_t payload[2]; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || - (delay == NULL)) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - result.delay = *delay; - Initialize_Object(&result.object, ioa, &DelayAcquisitionCommand_VTable); - if (!DelayAcquisitionCommand_Encode_Value(&result, payload)) { return IEC60870_ASDU_ERROR; } - *self = result; - return IEC60870_ASDU_OK; -} - -/** - * 功能:解析Type 106(延时获得命令)。 - * 输入参数:ioa——已还原地址;payload——值载荷;length——精确字节数。 - * 输出参数:self——成功时整体写入,失败不变。 - * 返回值:OK成功;ERROR参数、长度、保留位或时间非法。 - * 说明:逐字段恢复数值并初始化基类;结果不借用输入。 - */ -IEC60870_AsduResult_t IEC60870_DelayAcquisitionCommand_Get_From_Buffer(IEC60870_DelayAcquisitionCommand_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length) -{ - IEC60870_DelayAcquisitionCommand_t result; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || payload == NULL || - length != 2U) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - if (!DelayAcquisitionCommand_Decode_Value(payload, &result)) { return IEC60870_ASDU_ERROR; } - Initialize_Object(&result.object, ioa, &DelayAcquisitionCommand_VTable); - *self = result; - return IEC60870_ASDU_OK; -} - /* ---- Type 110:归一化测量值参数 ---- */ /** * 功能:编码归一化测量值参数的值字段。 @@ -6164,812 +6080,6 @@ IEC60870_AsduResult_t IEC60870_ParameterActivation_Get_From_Buffer(IEC60870_Para return IEC60870_ASDU_OK; } -/* ---- Type 120:文件准备就绪 ---- */ -/** - * 功能:编码文件准备就绪的值字段。 - * 输入参数:self——具体对象,已核对存储类型。 - * 输出参数:payload——至少6字节的临时区。 - * 返回值:1合法;0字段或时间非法。 - * 说明:NOF(2) + LOF(3) + FRQ(1);失败只影响临时区。 - */ -static int FileReady_Encode_Value(const IEC60870_FileReady_t *self, uint8_t *payload) -{ - if (self->file_length > UINT32_C(0xFFFFFF) || (self->qualifier & 0x7FU)) { return 0; } - IEC60870_Object_Write_LE(payload, self->file_name, 2); - IEC60870_Object_Write_LE(payload + 2, self->file_length, 3); - payload[5] = self->qualifier; - return 1; -} - -/** - * 功能:解码文件准备就绪的值字段。 - * 输入参数:payload——已校验完整长度的6字节载荷。 - * 输出参数:self——已清零的局部对象,不填写基类身份。 - * 返回值:1合法;0保留位或时间非法。 - * 说明:NOF(2) + LOF(3) + FRQ(1);公开入口在成功后统一提交。 - */ -static int FileReady_Decode_Value(const uint8_t *payload, IEC60870_FileReady_t *self) -{ - if (payload[5] & 0x7FU) { return 0; } - self->file_name = (uint16_t)IEC60870_Object_Read_LE(payload, 2); - self->file_length = IEC60870_Object_Read_LE(payload + 2, 3); - self->qualifier = payload[5]; - return 1; -} - -/** - * 功能:将公共基类分派到FileReady编码。 - * 输入参数:object——已核对类型和函数表的具体对象首成员。 - * 输出参数:payload——足够大的临时载荷区。 - * 返回值:1成功;0字段非法。 - * 说明:类型转换依赖首成员布局,禁止伪造公共基类。 - */ -static int FileReady_Encode(const IEC60870_InformationObject_t *object, uint8_t *payload) -{ - return FileReady_Encode_Value((const IEC60870_FileReady_t *)object, payload); -} - -static const IEC60870_InformationObjectVTable FileReady_VTable = { - 120, 6, 1, sizeof(IEC60870_FileReady_t), FileReady_Encode, - 0, NULL, NULL -}; - -/** - * 功能:在调用方存储中构造Type 120(文件准备就绪)。 - * 输入参数:ioa——24位地址;其余值的范围见公开结构及声明注释。 - * 输出参数:self——成功后整体保存对象,失败不变。 - * 返回值:OK成功;ERROR参数、字段或时间非法。 - * 说明:局部对象验证通过后提交,不分配内存;ASDU容量另行检查。 - */ -IEC60870_AsduResult_t IEC60870_FileReady_Create(IEC60870_FileReady_t *self, - uint32_t ioa, uint16_t file_name, uint32_t file_length, int qualifier) -{ - IEC60870_FileReady_t result; - uint8_t payload[6]; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || - (file_length > UINT32_C(0xFFFFFF)) || - (qualifier < 0 || qualifier > 255)) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - result.file_name = file_name; - result.file_length = file_length; - result.qualifier = (uint8_t)qualifier; - Initialize_Object(&result.object, ioa, &FileReady_VTable); - if (!FileReady_Encode_Value(&result, payload)) { return IEC60870_ASDU_ERROR; } - *self = result; - return IEC60870_ASDU_OK; -} - -/** - * 功能:解析Type 120(文件准备就绪)。 - * 输入参数:ioa——已还原地址;payload——值载荷;length——精确字节数。 - * 输出参数:self——成功时整体写入,失败不变。 - * 返回值:OK成功;ERROR参数、长度、保留位或时间非法。 - * 说明:逐字段恢复数值并初始化基类;结果不借用输入。 - */ -IEC60870_AsduResult_t IEC60870_FileReady_Get_From_Buffer(IEC60870_FileReady_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length) -{ - IEC60870_FileReady_t result; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || payload == NULL || - length != 6U) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - if (!FileReady_Decode_Value(payload, &result)) { return IEC60870_ASDU_ERROR; } - Initialize_Object(&result.object, ioa, &FileReady_VTable); - *self = result; - return IEC60870_ASDU_OK; -} - -/* ---- Type 121:节准备就绪 ---- */ -/** - * 功能:编码节准备就绪的值字段。 - * 输入参数:self——具体对象,已核对存储类型。 - * 输出参数:payload——至少7字节的临时区。 - * 返回值:1合法;0字段或时间非法。 - * 说明:NOF(2) + NOS(1) + LOS(3) + SRQ(1);失败只影响临时区。 - */ -static int SectionReady_Encode_Value(const IEC60870_SectionReady_t *self, uint8_t *payload) -{ - if (self->section_length > UINT32_C(0xFFFFFF) || (self->qualifier & 0x7FU)) { return 0; } - IEC60870_Object_Write_LE(payload, self->file_name, 2); - payload[2] = self->section; - IEC60870_Object_Write_LE(payload + 3, self->section_length, 3); - payload[6] = self->qualifier; - return 1; -} - -/** - * 功能:解码节准备就绪的值字段。 - * 输入参数:payload——已校验完整长度的7字节载荷。 - * 输出参数:self——已清零的局部对象,不填写基类身份。 - * 返回值:1合法;0保留位或时间非法。 - * 说明:NOF(2) + NOS(1) + LOS(3) + SRQ(1);公开入口在成功后统一提交。 - */ -static int SectionReady_Decode_Value(const uint8_t *payload, IEC60870_SectionReady_t *self) -{ - if (payload[6] & 0x7FU) { return 0; } - self->file_name = (uint16_t)IEC60870_Object_Read_LE(payload, 2); - self->section = payload[2]; - self->section_length = IEC60870_Object_Read_LE(payload + 3, 3); - self->qualifier = payload[6]; - return 1; -} - -/** - * 功能:将公共基类分派到SectionReady编码。 - * 输入参数:object——已核对类型和函数表的具体对象首成员。 - * 输出参数:payload——足够大的临时载荷区。 - * 返回值:1成功;0字段非法。 - * 说明:类型转换依赖首成员布局,禁止伪造公共基类。 - */ -static int SectionReady_Encode(const IEC60870_InformationObject_t *object, uint8_t *payload) -{ - return SectionReady_Encode_Value((const IEC60870_SectionReady_t *)object, payload); -} - -static const IEC60870_InformationObjectVTable SectionReady_VTable = { - 121, 7, 1, sizeof(IEC60870_SectionReady_t), SectionReady_Encode, - 0, NULL, NULL -}; - -/** - * 功能:在调用方存储中构造Type 121(节准备就绪)。 - * 输入参数:ioa——24位地址;其余值的范围见公开结构及声明注释。 - * 输出参数:self——成功后整体保存对象,失败不变。 - * 返回值:OK成功;ERROR参数、字段或时间非法。 - * 说明:局部对象验证通过后提交,不分配内存;ASDU容量另行检查。 - */ -IEC60870_AsduResult_t IEC60870_SectionReady_Create(IEC60870_SectionReady_t *self, - uint32_t ioa, uint16_t file_name, int section, uint32_t section_length, int qualifier) -{ - IEC60870_SectionReady_t result; - uint8_t payload[7]; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || - (section < 0 || section > 255) || - (section_length > UINT32_C(0xFFFFFF)) || - (qualifier < 0 || qualifier > 255)) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - result.file_name = file_name; - result.section = (uint8_t)section; - result.section_length = section_length; - result.qualifier = (uint8_t)qualifier; - Initialize_Object(&result.object, ioa, &SectionReady_VTable); - if (!SectionReady_Encode_Value(&result, payload)) { return IEC60870_ASDU_ERROR; } - *self = result; - return IEC60870_ASDU_OK; -} - -/** - * 功能:解析Type 121(节准备就绪)。 - * 输入参数:ioa——已还原地址;payload——值载荷;length——精确字节数。 - * 输出参数:self——成功时整体写入,失败不变。 - * 返回值:OK成功;ERROR参数、长度、保留位或时间非法。 - * 说明:逐字段恢复数值并初始化基类;结果不借用输入。 - */ -IEC60870_AsduResult_t IEC60870_SectionReady_Get_From_Buffer(IEC60870_SectionReady_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length) -{ - IEC60870_SectionReady_t result; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || payload == NULL || - length != 7U) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - if (!SectionReady_Decode_Value(payload, &result)) { return IEC60870_ASDU_ERROR; } - Initialize_Object(&result.object, ioa, &SectionReady_VTable); - *self = result; - return IEC60870_ASDU_OK; -} - -/* ---- Type 122:文件/节召唤或选择 ---- */ -/** - * 功能:编码文件/节召唤或选择的值字段。 - * 输入参数:self——具体对象,已核对存储类型。 - * 输出参数:payload——至少4字节的临时区。 - * 返回值:1合法;0字段或时间非法。 - * 说明:NOF(2) + NOS(1) + SCQ(1);失败只影响临时区。 - */ -static int FileCallOrSelect_Encode_Value(const IEC60870_FileCallOrSelect_t *self, uint8_t *payload) -{ - IEC60870_Object_Write_LE(payload, self->file_name, 2); - payload[2] = self->section; - payload[3] = self->qualifier; - return 1; -} - -/** - * 功能:解码文件/节召唤或选择的值字段。 - * 输入参数:payload——已校验完整长度的4字节载荷。 - * 输出参数:self——已清零的局部对象,不填写基类身份。 - * 返回值:1合法;0保留位或时间非法。 - * 说明:NOF(2) + NOS(1) + SCQ(1);公开入口在成功后统一提交。 - */ -static int FileCallOrSelect_Decode_Value(const uint8_t *payload, IEC60870_FileCallOrSelect_t *self) -{ - self->file_name = (uint16_t)IEC60870_Object_Read_LE(payload, 2); - self->section = payload[2]; - self->qualifier = payload[3]; - return 1; -} - -/** - * 功能:将公共基类分派到FileCallOrSelect编码。 - * 输入参数:object——已核对类型和函数表的具体对象首成员。 - * 输出参数:payload——足够大的临时载荷区。 - * 返回值:1成功;0字段非法。 - * 说明:类型转换依赖首成员布局,禁止伪造公共基类。 - */ -static int FileCallOrSelect_Encode(const IEC60870_InformationObject_t *object, uint8_t *payload) -{ - return FileCallOrSelect_Encode_Value((const IEC60870_FileCallOrSelect_t *)object, payload); -} - -static const IEC60870_InformationObjectVTable FileCallOrSelect_VTable = { - 122, 4, 1, sizeof(IEC60870_FileCallOrSelect_t), FileCallOrSelect_Encode, - 0, NULL, NULL -}; - -/** - * 功能:在调用方存储中构造Type 122(文件/节召唤或选择)。 - * 输入参数:ioa——24位地址;其余值的范围见公开结构及声明注释。 - * 输出参数:self——成功后整体保存对象,失败不变。 - * 返回值:OK成功;ERROR参数、字段或时间非法。 - * 说明:局部对象验证通过后提交,不分配内存;ASDU容量另行检查。 - */ -IEC60870_AsduResult_t IEC60870_FileCallOrSelect_Create(IEC60870_FileCallOrSelect_t *self, - uint32_t ioa, uint16_t file_name, int section, int qualifier) -{ - IEC60870_FileCallOrSelect_t result; - uint8_t payload[4]; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || - (section < 0 || section > 255) || - (qualifier < 0 || qualifier > 255)) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - result.file_name = file_name; - result.section = (uint8_t)section; - result.qualifier = (uint8_t)qualifier; - Initialize_Object(&result.object, ioa, &FileCallOrSelect_VTable); - if (!FileCallOrSelect_Encode_Value(&result, payload)) { return IEC60870_ASDU_ERROR; } - *self = result; - return IEC60870_ASDU_OK; -} - -/** - * 功能:解析Type 122(文件/节召唤或选择)。 - * 输入参数:ioa——已还原地址;payload——值载荷;length——精确字节数。 - * 输出参数:self——成功时整体写入,失败不变。 - * 返回值:OK成功;ERROR参数、长度、保留位或时间非法。 - * 说明:逐字段恢复数值并初始化基类;结果不借用输入。 - */ -IEC60870_AsduResult_t IEC60870_FileCallOrSelect_Get_From_Buffer(IEC60870_FileCallOrSelect_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length) -{ - IEC60870_FileCallOrSelect_t result; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || payload == NULL || - length != 4U) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - if (!FileCallOrSelect_Decode_Value(payload, &result)) { return IEC60870_ASDU_ERROR; } - Initialize_Object(&result.object, ioa, &FileCallOrSelect_VTable); - *self = result; - return IEC60870_ASDU_OK; -} - -/* ---- Type 124:文件/节确认 ---- */ -/** - * 功能:编码文件/节确认的值字段。 - * 输入参数:self——具体对象,已核对存储类型。 - * 输出参数:payload——至少4字节的临时区。 - * 返回值:1合法;0字段或时间非法。 - * 说明:NOF(2) + NOS(1) + AFQ(1);失败只影响临时区。 - */ -static int FileACK_Encode_Value(const IEC60870_FileACK_t *self, uint8_t *payload) -{ - IEC60870_Object_Write_LE(payload, self->file_name, 2); - payload[2] = self->section; - payload[3] = self->qualifier; - return 1; -} - -/** - * 功能:解码文件/节确认的值字段。 - * 输入参数:payload——已校验完整长度的4字节载荷。 - * 输出参数:self——已清零的局部对象,不填写基类身份。 - * 返回值:1合法;0保留位或时间非法。 - * 说明:NOF(2) + NOS(1) + AFQ(1);公开入口在成功后统一提交。 - */ -static int FileACK_Decode_Value(const uint8_t *payload, IEC60870_FileACK_t *self) -{ - self->file_name = (uint16_t)IEC60870_Object_Read_LE(payload, 2); - self->section = payload[2]; - self->qualifier = payload[3]; - return 1; -} - -/** - * 功能:将公共基类分派到FileACK编码。 - * 输入参数:object——已核对类型和函数表的具体对象首成员。 - * 输出参数:payload——足够大的临时载荷区。 - * 返回值:1成功;0字段非法。 - * 说明:类型转换依赖首成员布局,禁止伪造公共基类。 - */ -static int FileACK_Encode(const IEC60870_InformationObject_t *object, uint8_t *payload) -{ - return FileACK_Encode_Value((const IEC60870_FileACK_t *)object, payload); -} - -static const IEC60870_InformationObjectVTable FileACK_VTable = { - 124, 4, 1, sizeof(IEC60870_FileACK_t), FileACK_Encode, - 0, NULL, NULL -}; - -/** - * 功能:在调用方存储中构造Type 124(文件/节确认)。 - * 输入参数:ioa——24位地址;其余值的范围见公开结构及声明注释。 - * 输出参数:self——成功后整体保存对象,失败不变。 - * 返回值:OK成功;ERROR参数、字段或时间非法。 - * 说明:局部对象验证通过后提交,不分配内存;ASDU容量另行检查。 - */ -IEC60870_AsduResult_t IEC60870_FileACK_Create(IEC60870_FileACK_t *self, - uint32_t ioa, uint16_t file_name, int section, int qualifier) -{ - IEC60870_FileACK_t result; - uint8_t payload[4]; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || - (section < 0 || section > 255) || - (qualifier < 0 || qualifier > 255)) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - result.file_name = file_name; - result.section = (uint8_t)section; - result.qualifier = (uint8_t)qualifier; - Initialize_Object(&result.object, ioa, &FileACK_VTable); - if (!FileACK_Encode_Value(&result, payload)) { return IEC60870_ASDU_ERROR; } - *self = result; - return IEC60870_ASDU_OK; -} - -/** - * 功能:解析Type 124(文件/节确认)。 - * 输入参数:ioa——已还原地址;payload——值载荷;length——精确字节数。 - * 输出参数:self——成功时整体写入,失败不变。 - * 返回值:OK成功;ERROR参数、长度、保留位或时间非法。 - * 说明:逐字段恢复数值并初始化基类;结果不借用输入。 - */ -IEC60870_AsduResult_t IEC60870_FileACK_Get_From_Buffer(IEC60870_FileACK_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length) -{ - IEC60870_FileACK_t result; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || payload == NULL || - length != 4U) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - if (!FileACK_Decode_Value(payload, &result)) { return IEC60870_ASDU_ERROR; } - Initialize_Object(&result.object, ioa, &FileACK_VTable); - *self = result; - return IEC60870_ASDU_OK; -} - -/* ---- Type 123:最后文件段或节 ---- */ -/** - * 功能:编码最后文件段或节的值字段。 - * 输入参数:self——具体对象,已核对存储类型。 - * 输出参数:payload——至少5字节的临时区。 - * 返回值:1合法;0字段或时间非法。 - * 说明:NOF(2) + NOS(1) + LSQ(1) + CHS(1),这里只传递校验和;失败只影响临时区。 - */ -static int FileLastSegmentOrSection_Encode_Value(const IEC60870_FileLastSegmentOrSection_t *self, uint8_t *payload) -{ - IEC60870_Object_Write_LE(payload, self->file_name, 2); - payload[2] = self->section; - payload[3] = self->qualifier; - payload[4] = self->checksum; - return 1; -} - -/** - * 功能:解码最后文件段或节的值字段。 - * 输入参数:payload——已校验完整长度的5字节载荷。 - * 输出参数:self——已清零的局部对象,不填写基类身份。 - * 返回值:1合法;0保留位或时间非法。 - * 说明:NOF(2) + NOS(1) + LSQ(1) + CHS(1),这里只传递校验和;公开入口在成功后统一提交。 - */ -static int FileLastSegmentOrSection_Decode_Value(const uint8_t *payload, IEC60870_FileLastSegmentOrSection_t *self) -{ - self->file_name = (uint16_t)IEC60870_Object_Read_LE(payload, 2); - self->section = payload[2]; - self->qualifier = payload[3]; - self->checksum = payload[4]; - return 1; -} - -/** - * 功能:将公共基类分派到FileLastSegmentOrSection编码。 - * 输入参数:object——已核对类型和函数表的具体对象首成员。 - * 输出参数:payload——足够大的临时载荷区。 - * 返回值:1成功;0字段非法。 - * 说明:类型转换依赖首成员布局,禁止伪造公共基类。 - */ -static int FileLastSegmentOrSection_Encode(const IEC60870_InformationObject_t *object, uint8_t *payload) -{ - return FileLastSegmentOrSection_Encode_Value((const IEC60870_FileLastSegmentOrSection_t *)object, payload); -} - -static const IEC60870_InformationObjectVTable FileLastSegmentOrSection_VTable = { - 123, 5, 1, sizeof(IEC60870_FileLastSegmentOrSection_t), FileLastSegmentOrSection_Encode, - 0, NULL, NULL -}; - -/** - * 功能:在调用方存储中构造Type 123(最后文件段或节)。 - * 输入参数:ioa——24位地址;其余值的范围见公开结构及声明注释。 - * 输出参数:self——成功后整体保存对象,失败不变。 - * 返回值:OK成功;ERROR参数、字段或时间非法。 - * 说明:局部对象验证通过后提交,不分配内存;ASDU容量另行检查。 - */ -IEC60870_AsduResult_t IEC60870_FileLastSegmentOrSection_Create(IEC60870_FileLastSegmentOrSection_t *self, - uint32_t ioa, uint16_t file_name, int section, int qualifier, int checksum) -{ - IEC60870_FileLastSegmentOrSection_t result; - uint8_t payload[5]; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || - (section < 0 || section > 255) || - (qualifier < 0 || qualifier > 255) || - (checksum < 0 || checksum > 255)) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - result.file_name = file_name; - result.section = (uint8_t)section; - result.qualifier = (uint8_t)qualifier; - result.checksum = (uint8_t)checksum; - Initialize_Object(&result.object, ioa, &FileLastSegmentOrSection_VTable); - if (!FileLastSegmentOrSection_Encode_Value(&result, payload)) { return IEC60870_ASDU_ERROR; } - *self = result; - return IEC60870_ASDU_OK; -} - -/** - * 功能:解析Type 123(最后文件段或节)。 - * 输入参数:ioa——已还原地址;payload——值载荷;length——精确字节数。 - * 输出参数:self——成功时整体写入,失败不变。 - * 返回值:OK成功;ERROR参数、长度、保留位或时间非法。 - * 说明:逐字段恢复数值并初始化基类;结果不借用输入。 - */ -IEC60870_AsduResult_t IEC60870_FileLastSegmentOrSection_Get_From_Buffer(IEC60870_FileLastSegmentOrSection_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length) -{ - IEC60870_FileLastSegmentOrSection_t result; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || payload == NULL || - length != 5U) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - if (!FileLastSegmentOrSection_Decode_Value(payload, &result)) { return IEC60870_ASDU_ERROR; } - Initialize_Object(&result.object, ioa, &FileLastSegmentOrSection_VTable); - *self = result; - return IEC60870_ASDU_OK; -} - -/* ---- Type 125:文件段 ---- */ -/** - * 功能:编码文件段的值字段。 - * 输入参数:self——具体对象,已核对存储类型。 - * 输出参数:payload——至少4+LOS字节的临时区。 - * 返回值:1合法;0字段或时间非法。 - * 说明:NOF(2) + NOS(1) + LOS(1) + 段数据(LOS),SQ=0且仅一个对象;失败只影响临时区。 - */ -static int FileSegment_Encode_Value(const IEC60870_FileSegment_t *self, uint8_t *payload) -{ - IEC60870_Object_Write_LE(payload, self->file_name, 2); - payload[2] = self->section; - payload[3] = self->length; - memcpy(payload + 4, self->data, self->length); - return 1; -} - -/** - * 功能:解码文件段的值字段。 - * 输入参数:payload——已校验完整长度的变长载荷。 - * 输出参数:self——已清零的局部对象,不填写基类身份。 - * 返回值:1合法;0保留位或时间非法。 - * 说明:NOF(2) + NOS(1) + LOS(1) + 段数据(LOS),SQ=0且仅一个对象;公开入口在成功后统一提交。 - */ -static int FileSegment_Decode_Value(const uint8_t *payload, IEC60870_FileSegment_t *self) -{ - self->file_name = (uint16_t)IEC60870_Object_Read_LE(payload, 2); - self->section = payload[2]; - self->length = payload[3]; - memcpy(self->data, payload + 4, self->length); - return 1; -} - -/** - * 功能:将公共基类分派到FileSegment编码。 - * 输入参数:object——已核对类型和函数表的具体对象首成员。 - * 输出参数:payload——足够大的临时载荷区。 - * 返回值:1成功;0字段非法。 - * 说明:类型转换依赖首成员布局,禁止伪造公共基类。 - */ -static int FileSegment_Encode(const IEC60870_InformationObject_t *object, uint8_t *payload) -{ - return FileSegment_Encode_Value((const IEC60870_FileSegment_t *)object, payload); -} - -/** - * 功能:取得文件段的实际值载荷长度。 - * 输入参数:object——已核对身份的文件段基类。 - * 输出参数:无。 - * 返回值:4+LOS,最大259字节。 - * 说明:只计算线上长度;不包含IOA或ASDU公共头。 - */ -static uint16_t FileSegment_Payload_Size(const IEC60870_InformationObject_t *object) -{ - const IEC60870_FileSegment_t *self = (const IEC60870_FileSegment_t *)object; - return (uint16_t)(4U + self->length); -} - -/** - * 功能:从文件段原文安全取得载荷长度。 - * 输入参数:payload——值载荷;length——实际可读字节数。 - * 输出参数:无。 - * 返回值:完整段返回4+LOS,截短或空指针返回0。 - * 说明:读取LOS前要求至少4字节;精确尾长由ASDU层检查。 - */ -static uint16_t FileSegment_Payload_Size_From_Buffer(const uint8_t *payload, uint16_t length) -{ - uint16_t required; - if (payload == NULL || length < 4U) { return 0; } - required = (uint16_t)(4U + payload[3]); - return required <= length ? required : 0U; -} - -static const IEC60870_InformationObjectVTable FileSegment_VTable = { - 125, 4, 1, sizeof(IEC60870_FileSegment_t), FileSegment_Encode, - 0, FileSegment_Payload_Size, FileSegment_Payload_Size_From_Buffer -}; - -/** - * 功能:在调用方存储中构造Type 125(文件段)。 - * 输入参数:ioa——24位地址;其余值的范围见公开结构及声明注释。 - * 输出参数:self——成功后整体保存对象,失败不变。 - * 返回值:OK成功;ERROR参数、字段或时间非法。 - * 说明:局部对象验证通过后提交,不分配内存;ASDU容量另行检查。 - */ -IEC60870_AsduResult_t IEC60870_FileSegment_Create(IEC60870_FileSegment_t *self, - uint32_t ioa, uint16_t file_name, int section, const uint8_t *data, uint16_t data_length) -{ - IEC60870_FileSegment_t result; - uint8_t payload[IEC60870_OBJECT_MAX_PAYLOAD]; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || - (section < 0 || section > 255) || - (data_length > 255U) || - ((data_length != 0U && data == NULL))) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - result.file_name = file_name; - result.section = (uint8_t)section; - result.length = (uint8_t)data_length; - if (data_length != 0U) { memcpy(result.data, data, data_length); } - Initialize_Object(&result.object, ioa, &FileSegment_VTable); - if (!FileSegment_Encode_Value(&result, payload)) { return IEC60870_ASDU_ERROR; } - *self = result; - return IEC60870_ASDU_OK; -} - -/** - * 功能:解析Type 125(文件段)。 - * 输入参数:ioa——已还原地址;payload——值载荷;length——精确字节数。 - * 输出参数:self——成功时整体写入,失败不变。 - * 返回值:OK成功;ERROR参数、长度、保留位或时间非法。 - * 说明:先验证LOS与载荷长度,再复制数据;结果不借用输入。 - */ -IEC60870_AsduResult_t IEC60870_FileSegment_Get_From_Buffer(IEC60870_FileSegment_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length) -{ - IEC60870_FileSegment_t result; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || payload == NULL || - length < 4U || length != (uint16_t)(4U + payload[3])) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - if (!FileSegment_Decode_Value(payload, &result)) { return IEC60870_ASDU_ERROR; } - Initialize_Object(&result.object, ioa, &FileSegment_VTable); - *self = result; - return IEC60870_ASDU_OK; -} - -/* ---- Type 126:文件目录 ---- */ -/** - * 功能:编码文件目录的值字段。 - * 输入参数:self——具体对象,已核对存储类型。 - * 输出参数:payload——至少13字节的临时区。 - * 返回值:1合法;0字段或时间非法。 - * 说明:NOF(2) + LOF(3) + SOF(1) + CP56(7);失败只影响临时区。 - */ -static int FileDirectory_Encode_Value(const IEC60870_FileDirectory_t *self, uint8_t *payload) -{ - if (self->file_length > UINT32_C(0xFFFFFF)) { return 0; } - IEC60870_Object_Write_LE(payload, self->file_name, 2); - IEC60870_Object_Write_LE(payload + 2, self->file_length, 3); - payload[5] = self->status; - return IEC60870_Time_To_CP56(&self->creation_time, payload + 6, IEC60870_CP56_LEN); -} - -/** - * 功能:解码文件目录的值字段。 - * 输入参数:payload——已校验完整长度的13字节载荷。 - * 输出参数:self——已清零的局部对象,不填写基类身份。 - * 返回值:1合法;0保留位或时间非法。 - * 说明:NOF(2) + LOF(3) + SOF(1) + CP56(7);公开入口在成功后统一提交。 - */ -static int FileDirectory_Decode_Value(const uint8_t *payload, IEC60870_FileDirectory_t *self) -{ - self->file_name = (uint16_t)IEC60870_Object_Read_LE(payload, 2); - self->file_length = IEC60870_Object_Read_LE(payload + 2, 3); - self->status = payload[5]; - return IEC60870_Time_From_CP56(payload + 6, IEC60870_CP56_LEN, &self->creation_time); -} - -/** - * 功能:将公共基类分派到FileDirectory编码。 - * 输入参数:object——已核对类型和函数表的具体对象首成员。 - * 输出参数:payload——足够大的临时载荷区。 - * 返回值:1成功;0字段非法。 - * 说明:类型转换依赖首成员布局,禁止伪造公共基类。 - */ -static int FileDirectory_Encode(const IEC60870_InformationObject_t *object, uint8_t *payload) -{ - return FileDirectory_Encode_Value((const IEC60870_FileDirectory_t *)object, payload); -} - -static const IEC60870_InformationObjectVTable FileDirectory_VTable = { - 126, 13, 0, sizeof(IEC60870_FileDirectory_t), FileDirectory_Encode, - 1, NULL, NULL -}; - -/** - * 功能:在调用方存储中构造Type 126(文件目录)。 - * 输入参数:ioa——24位地址;其余值的范围见公开结构及声明注释。 - * 输出参数:self——成功后整体保存对象,失败不变。 - * 返回值:OK成功;ERROR参数、字段或时间非法。 - * 说明:局部对象验证通过后提交,不分配内存;ASDU容量另行检查。 - */ -IEC60870_AsduResult_t IEC60870_FileDirectory_Create(IEC60870_FileDirectory_t *self, - uint32_t ioa, uint16_t file_name, uint32_t file_length, int status, const IEC60870_CP56Time2a_t *creation_time) -{ - IEC60870_FileDirectory_t result; - uint8_t payload[13]; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || - (file_length > UINT32_C(0xFFFFFF)) || - (status < 0 || status > 255) || - (creation_time == NULL)) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - result.file_name = file_name; - result.file_length = file_length; - result.status = (uint8_t)status; - result.creation_time = *creation_time; - Initialize_Object(&result.object, ioa, &FileDirectory_VTable); - if (!FileDirectory_Encode_Value(&result, payload)) { return IEC60870_ASDU_ERROR; } - *self = result; - return IEC60870_ASDU_OK; -} - -/** - * 功能:解析Type 126(文件目录)。 - * 输入参数:ioa——已还原地址;payload——值载荷;length——精确字节数。 - * 输出参数:self——成功时整体写入,失败不变。 - * 返回值:OK成功;ERROR参数、长度、保留位或时间非法。 - * 说明:逐字段恢复数值并初始化基类;结果不借用输入。 - */ -IEC60870_AsduResult_t IEC60870_FileDirectory_Get_From_Buffer(IEC60870_FileDirectory_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length) -{ - IEC60870_FileDirectory_t result; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || payload == NULL || - length != 13U) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - if (!FileDirectory_Decode_Value(payload, &result)) { return IEC60870_ASDU_ERROR; } - Initialize_Object(&result.object, ioa, &FileDirectory_VTable); - *self = result; - return IEC60870_ASDU_OK; -} - -/* ---- Type 127:归档查询 ---- */ -/** - * 功能:编码归档查询的值字段。 - * 输入参数:self——具体对象,已核对存储类型。 - * 输出参数:payload——至少16字节的临时区。 - * 返回值:1合法;0字段或时间非法。 - * 说明:NOF(2) + 查询起始CP56(7) + 查询结束CP56(7);失败只影响临时区。 - */ -static int QueryLog_Encode_Value(const IEC60870_QueryLog_t *self, uint8_t *payload) -{ - IEC60870_Object_Write_LE(payload, self->file_name, 2); - return IEC60870_Time_To_CP56(&self->start_time, payload + 2, IEC60870_CP56_LEN) && - IEC60870_Time_To_CP56(&self->stop_time, payload + 9, IEC60870_CP56_LEN); -} - -/** - * 功能:解码归档查询的值字段。 - * 输入参数:payload——已校验完整长度的16字节载荷。 - * 输出参数:self——已清零的局部对象,不填写基类身份。 - * 返回值:1合法;0保留位或时间非法。 - * 说明:NOF(2) + 查询起始CP56(7) + 查询结束CP56(7);公开入口在成功后统一提交。 - */ -static int QueryLog_Decode_Value(const uint8_t *payload, IEC60870_QueryLog_t *self) -{ - self->file_name = (uint16_t)IEC60870_Object_Read_LE(payload, 2); - return IEC60870_Time_From_CP56(payload + 2, IEC60870_CP56_LEN, &self->start_time) && - IEC60870_Time_From_CP56(payload + 9, IEC60870_CP56_LEN, &self->stop_time); -} - -/** - * 功能:将公共基类分派到QueryLog编码。 - * 输入参数:object——已核对类型和函数表的具体对象首成员。 - * 输出参数:payload——足够大的临时载荷区。 - * 返回值:1成功;0字段非法。 - * 说明:类型转换依赖首成员布局,禁止伪造公共基类。 - */ -static int QueryLog_Encode(const IEC60870_InformationObject_t *object, uint8_t *payload) -{ - return QueryLog_Encode_Value((const IEC60870_QueryLog_t *)object, payload); -} - -static const IEC60870_InformationObjectVTable QueryLog_VTable = { - 127, 16, 1, sizeof(IEC60870_QueryLog_t), QueryLog_Encode, - 0, NULL, NULL -}; - -/** - * 功能:在调用方存储中构造Type 127(归档查询)。 - * 输入参数:ioa——24位地址;其余值的范围见公开结构及声明注释。 - * 输出参数:self——成功后整体保存对象,失败不变。 - * 返回值:OK成功;ERROR参数、字段或时间非法。 - * 说明:局部对象验证通过后提交,不分配内存;ASDU容量另行检查。 - */ -IEC60870_AsduResult_t IEC60870_QueryLog_Create(IEC60870_QueryLog_t *self, - uint32_t ioa, uint16_t file_name, const IEC60870_CP56Time2a_t *start_time, const IEC60870_CP56Time2a_t *stop_time) -{ - IEC60870_QueryLog_t result; - uint8_t payload[16]; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || - (start_time == NULL) || - (stop_time == NULL)) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - result.file_name = file_name; - result.start_time = *start_time; - result.stop_time = *stop_time; - Initialize_Object(&result.object, ioa, &QueryLog_VTable); - if (!QueryLog_Encode_Value(&result, payload)) { return IEC60870_ASDU_ERROR; } - *self = result; - return IEC60870_ASDU_OK; -} - -/** - * 功能:解析Type 127(归档查询)。 - * 输入参数:ioa——已还原地址;payload——值载荷;length——精确字节数。 - * 输出参数:self——成功时整体写入,失败不变。 - * 返回值:OK成功;ERROR参数、长度、保留位或时间非法。 - * 说明:逐字段恢复数值并初始化基类;结果不借用输入。 - */ -IEC60870_AsduResult_t IEC60870_QueryLog_Get_From_Buffer(IEC60870_QueryLog_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length) -{ - IEC60870_QueryLog_t result; - if (self == NULL || ioa > IEC60870_ASDU_MAX_IOA || payload == NULL || - length != 16U) { return IEC60870_ASDU_ERROR; } - memset(&result, 0, sizeof(result)); - if (!QueryLog_Decode_Value(payload, &result)) { return IEC60870_ASDU_ERROR; } - Initialize_Object(&result.object, ioa, &QueryLog_VTable); - *self = result; - return IEC60870_ASDU_OK; -} - -/** - * 功能:取得当前配置下一条ASDU能容纳的最大文件段数据长度。 - * 输入参数:parameters——合法应用层参数,包含最大ASDU长度和字段宽度。 - * 输出参数:无。 - * 返回值:0..255为数据容量;-1表示参数非法或连空文件段也容纳不下。 - * 说明:扣除公共头、IOA和4字节段头;104默认配置返回236。 - */ -int IEC60870_FileSegment_Get_Max_Data_Size(const IEC60870_AppLayerParameters_t *parameters) -{ - int size; - if (!IEC60870_AppLayerParameters_Valid(parameters)) { return -1; } - size = parameters->maxSizeOfASDU - (2 + parameters->sizeOfCOT + parameters->sizeOfCA) - parameters->sizeOfIOA - 4; - if (size < 0) { return -1; } - return size > 255 ? 255 : size; -} - - /** * 功能:根据Type ID取得内部只读类型描述。 * 输入参数:type_id——报文或已初始化对象中的类型标识。 @@ -7036,19 +6146,10 @@ const IEC60870_InformationObjectVTable *IEC60870_InformationObject_Get_Descripto case 64: return &Bitstring32CommandWithCP56Time2a_VTable; case 70: return &EndOfInitialization_VTable; case 104: return &TestCommand_VTable; - case 106: return &DelayAcquisitionCommand_VTable; case 110: return &ParameterNormalizedValue_VTable; case 111: return &ParameterScaledValue_VTable; case 112: return &ParameterFloatValue_VTable; case 113: return &ParameterActivation_VTable; - case 120: return &FileReady_VTable; - case 121: return &SectionReady_VTable; - case 122: return &FileCallOrSelect_VTable; - case 124: return &FileACK_VTable; - case 123: return &FileLastSegmentOrSection_VTable; - case 125: return &FileSegment_VTable; - case 126: return &FileDirectory_VTable; - case 127: return &QueryLog_VTable; default: return NULL; } } @@ -7471,12 +6572,6 @@ IEC60870_AsduResult_t IEC60870_InformationObject_Decode(uint8_t type_id, uint32_ if (status == IEC60870_ASDU_OK && object != NULL) { memcpy(object, &result, sizeof(result)); } return status; } - case 106: { - IEC60870_DelayAcquisitionCommand_t result; - IEC60870_AsduResult_t status = IEC60870_DelayAcquisitionCommand_Get_From_Buffer(&result, ioa, payload, length); - if (status == IEC60870_ASDU_OK && object != NULL) { memcpy(object, &result, sizeof(result)); } - return status; - } case 110: { IEC60870_ParameterNormalizedValue_t result; IEC60870_AsduResult_t status = IEC60870_ParameterNormalizedValue_Get_From_Buffer(&result, ioa, payload, length); @@ -7501,54 +6596,6 @@ IEC60870_AsduResult_t IEC60870_InformationObject_Decode(uint8_t type_id, uint32_ if (status == IEC60870_ASDU_OK && object != NULL) { memcpy(object, &result, sizeof(result)); } return status; } - case 120: { - IEC60870_FileReady_t result; - IEC60870_AsduResult_t status = IEC60870_FileReady_Get_From_Buffer(&result, ioa, payload, length); - if (status == IEC60870_ASDU_OK && object != NULL) { memcpy(object, &result, sizeof(result)); } - return status; - } - case 121: { - IEC60870_SectionReady_t result; - IEC60870_AsduResult_t status = IEC60870_SectionReady_Get_From_Buffer(&result, ioa, payload, length); - if (status == IEC60870_ASDU_OK && object != NULL) { memcpy(object, &result, sizeof(result)); } - return status; - } - case 122: { - IEC60870_FileCallOrSelect_t result; - IEC60870_AsduResult_t status = IEC60870_FileCallOrSelect_Get_From_Buffer(&result, ioa, payload, length); - if (status == IEC60870_ASDU_OK && object != NULL) { memcpy(object, &result, sizeof(result)); } - return status; - } - case 124: { - IEC60870_FileACK_t result; - IEC60870_AsduResult_t status = IEC60870_FileACK_Get_From_Buffer(&result, ioa, payload, length); - if (status == IEC60870_ASDU_OK && object != NULL) { memcpy(object, &result, sizeof(result)); } - return status; - } - case 123: { - IEC60870_FileLastSegmentOrSection_t result; - IEC60870_AsduResult_t status = IEC60870_FileLastSegmentOrSection_Get_From_Buffer(&result, ioa, payload, length); - if (status == IEC60870_ASDU_OK && object != NULL) { memcpy(object, &result, sizeof(result)); } - return status; - } - case 125: { - IEC60870_FileSegment_t result; - IEC60870_AsduResult_t status = IEC60870_FileSegment_Get_From_Buffer(&result, ioa, payload, length); - if (status == IEC60870_ASDU_OK && object != NULL) { memcpy(object, &result, sizeof(result)); } - return status; - } - case 126: { - IEC60870_FileDirectory_t result; - IEC60870_AsduResult_t status = IEC60870_FileDirectory_Get_From_Buffer(&result, ioa, payload, length); - if (status == IEC60870_ASDU_OK && object != NULL) { memcpy(object, &result, sizeof(result)); } - return status; - } - case 127: { - IEC60870_QueryLog_t result; - IEC60870_AsduResult_t status = IEC60870_QueryLog_Get_From_Buffer(&result, ioa, payload, length); - if (status == IEC60870_ASDU_OK && object != NULL) { memcpy(object, &result, sizeof(result)); } - return status; - } default: return IEC60870_ASDU_UNSUPPORTED; } } diff --git a/App/protocol/iec60870/common/IEC60870_InformationObjects.h b/App/iec60870/common/IEC60870_InformationObjects.h similarity index 89% rename from App/protocol/iec60870/common/IEC60870_InformationObjects.h rename to App/iec60870/common/IEC60870_InformationObjects.h index b7fafdaa..8880bb60 100644 --- a/App/protocol/iec60870/common/IEC60870_InformationObjects.h +++ b/App/iec60870/common/IEC60870_InformationObjects.h @@ -535,12 +535,6 @@ typedef struct { } IEC60870_TestCommand_t; -/* Type 106:延时获得命令;布局:CP16(2)。 */ -typedef struct { - IEC60870_InformationObject_t object; /* 公共基类,必须为首成员。 */ - IEC60870_CP16Time2a_t delay; /* 延时时间,0..65535毫秒。 */ -} IEC60870_DelayAcquisitionCommand_t; - /* Type 110:归一化测量值参数;布局:参数值(2) + QPM(1),QPM不是QDS。 */ typedef struct { IEC60870_InformationObject_t object; /* 公共基类,必须为首成员。 */ @@ -568,74 +562,6 @@ typedef struct { uint8_t qualifier; /* QPA完整字节,限定词的业务适用性由应用判断。 */ } IEC60870_ParameterActivation_t; -/* Type 120:文件准备就绪;布局:NOF(2) + LOF(3) + FRQ(1)。 */ -typedef struct { - IEC60870_InformationObject_t object; /* 公共基类,必须为首成员。 */ - uint16_t file_name; /* NOF,文件标识,不是字符串文件名。 */ - uint32_t file_length; /* LOF,24位文件长度,0..0xFFFFFF。 */ - uint8_t qualifier; /* FRQ,仅bit7可置1,表示否定;低7位保留。 */ -} IEC60870_FileReady_t; - -/* Type 121:节准备就绪;布局:NOF(2) + NOS(1) + LOS(3) + SRQ(1)。 */ -typedef struct { - IEC60870_InformationObject_t object; /* 公共基类,必须为首成员。 */ - uint16_t file_name; /* NOF,文件标识,不是字符串文件名。 */ - uint8_t section; /* NOS,节编号,0..255。 */ - uint32_t section_length; /* LOS,24位节长度,0..0xFFFFFF。 */ - uint8_t qualifier; /* SRQ,仅bit7可置1,表示否定;低7位保留。 */ -} IEC60870_SectionReady_t; - -/* Type 122:文件/节召唤或选择;布局:NOF(2) + NOS(1) + SCQ(1)。 */ -typedef struct { - IEC60870_InformationObject_t object; /* 公共基类,必须为首成员。 */ - uint16_t file_name; /* NOF,文件标识,不是字符串文件名。 */ - uint8_t section; /* NOS,节编号,0..255。 */ - uint8_t qualifier; /* SCQ完整字节,具体限定词由业务判断。 */ -} IEC60870_FileCallOrSelect_t; - -/* Type 124:文件/节确认;布局:NOF(2) + NOS(1) + AFQ(1)。 */ -typedef struct { - IEC60870_InformationObject_t object; /* 公共基类,必须为首成员。 */ - uint16_t file_name; /* NOF,文件标识,不是字符串文件名。 */ - uint8_t section; /* NOS,节编号,0..255。 */ - uint8_t qualifier; /* AFQ完整字节,具体限定词由业务判断。 */ -} IEC60870_FileACK_t; - -/* Type 123:最后文件段或节;布局:NOF(2) + NOS(1) + LSQ(1) + CHS(1),这里只传递校验和。 */ -typedef struct { - IEC60870_InformationObject_t object; /* 公共基类,必须为首成员。 */ - uint16_t file_name; /* NOF,文件标识,不是字符串文件名。 */ - uint8_t section; /* NOS,节编号,0..255。 */ - uint8_t qualifier; /* LSQ,最后段/节限定词。 */ - uint8_t checksum; /* CHS,文件/节校验和;业务按传输范围计算。 */ -} IEC60870_FileLastSegmentOrSection_t; - -/* Type 125:文件段;布局:NOF(2) + NOS(1) + LOS(1) + 段数据(LOS),SQ=0且仅一个对象。 */ -typedef struct { - IEC60870_InformationObject_t object; /* 公共基类,必须为首成员。 */ - uint16_t file_name; /* NOF,文件标识,不是字符串文件名。 */ - uint8_t section; /* NOS,节编号,0..255。 */ - uint8_t length; /* LOS,段数据长度0..255;能否装入ASDU由所选配置决定。 */ - uint8_t data[255]; /* 独立保存段数据,不借用输入。 */ -} IEC60870_FileSegment_t; - -/* Type 126:文件目录;布局:NOF(2) + LOF(3) + SOF(1) + CP56(7)。 */ -typedef struct { - IEC60870_InformationObject_t object; /* 公共基类,必须为首成员。 */ - uint16_t file_name; /* NOF,文件标识,不是字符串文件名。 */ - uint32_t file_length; /* LOF,24位文件长度。 */ - uint8_t status; /* SOF,低5位文件状态,bit5/6/7为LFD/FOR/FA。 */ - IEC60870_CP56Time2a_t creation_time; /* 文件创建时间。 */ -} IEC60870_FileDirectory_t; - -/* Type 127:归档查询;布局:NOF(2) + 查询起始CP56(7) + 查询结束CP56(7)。 */ -typedef struct { - IEC60870_InformationObject_t object; /* 公共基类,必须为首成员。 */ - uint16_t file_name; /* NOF,文件标识,不是字符串文件名。 */ - IEC60870_CP56Time2a_t start_time; /* 查询开始时间。 */ - IEC60870_CP56Time2a_t stop_time; /* 查询结束时间,区间适用性由业务判断。 */ -} IEC60870_QueryLog_t; - /** * 功能:构造Type 5(步位置信息)。 * 输入参数:ioa——0..0xFFFFFF;其余参数见对应结构字段注释,时间和数据指针只在调用期间借用。 @@ -1116,26 +1042,6 @@ IEC60870_AsduResult_t IEC60870_TestCommand_Create(IEC60870_TestCommand_t *self, IEC60870_AsduResult_t IEC60870_TestCommand_Get_From_Buffer(IEC60870_TestCommand_t *self, uint32_t ioa, const uint8_t *payload, uint16_t length); -/** - * 功能:构造Type 106(延时获得命令)。 - * 输入参数:ioa——0..0xFFFFFF;其余参数见对应结构字段注释,时间和数据指针只在调用期间借用。 - * 输出参数:self——调用方提供的具体对象存储。 - * 返回值:OK成功;ERROR参数、字段或时间非法,输出不变。 - * 说明:CP16(2);不分配内存,不执行业务。 - */ -IEC60870_AsduResult_t IEC60870_DelayAcquisitionCommand_Create(IEC60870_DelayAcquisitionCommand_t *self, - uint32_t ioa, const IEC60870_CP16Time2a_t *delay); - -/** - * 功能:解析Type 106(延时获得命令)的独立值载荷。 - * 输入参数:ioa——已解析地址;payload——不含IOA;length——载荷实际字节数。 - * 输出参数:self——按值保存的独立对象,失败保持原值。 - * 返回值:OK成功;ERROR地址、长度、字段或时间非法。 - * 说明:长度必须恰好为2字节;不借用原报文。 - */ -IEC60870_AsduResult_t IEC60870_DelayAcquisitionCommand_Get_From_Buffer(IEC60870_DelayAcquisitionCommand_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length); - /** * 功能:构造Type 110(归一化测量值参数)。 * 输入参数:ioa——0..0xFFFFFF;其余参数见对应结构字段注释,时间和数据指针只在调用期间借用。 @@ -1216,175 +1122,6 @@ IEC60870_AsduResult_t IEC60870_ParameterActivation_Create(IEC60870_ParameterActi IEC60870_AsduResult_t IEC60870_ParameterActivation_Get_From_Buffer(IEC60870_ParameterActivation_t *self, uint32_t ioa, const uint8_t *payload, uint16_t length); -/** - * 功能:构造Type 120(文件准备就绪)。 - * 输入参数:ioa——0..0xFFFFFF;其余参数见对应结构字段注释,时间和数据指针只在调用期间借用。 - * 输出参数:self——调用方提供的具体对象存储。 - * 返回值:OK成功;ERROR参数、字段或时间非法,输出不变。 - * 说明:NOF(2) + LOF(3) + FRQ(1);不分配内存,不执行业务。 - */ -IEC60870_AsduResult_t IEC60870_FileReady_Create(IEC60870_FileReady_t *self, - uint32_t ioa, uint16_t file_name, uint32_t file_length, int qualifier); - -/** - * 功能:解析Type 120(文件准备就绪)的独立值载荷。 - * 输入参数:ioa——已解析地址;payload——不含IOA;length——载荷实际字节数。 - * 输出参数:self——按值保存的独立对象,失败保持原值。 - * 返回值:OK成功;ERROR地址、长度、字段或时间非法。 - * 说明:长度必须恰好为6字节;不借用原报文。 - */ -IEC60870_AsduResult_t IEC60870_FileReady_Get_From_Buffer(IEC60870_FileReady_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length); - -/** - * 功能:构造Type 121(节准备就绪)。 - * 输入参数:ioa——0..0xFFFFFF;其余参数见对应结构字段注释,时间和数据指针只在调用期间借用。 - * 输出参数:self——调用方提供的具体对象存储。 - * 返回值:OK成功;ERROR参数、字段或时间非法,输出不变。 - * 说明:NOF(2) + NOS(1) + LOS(3) + SRQ(1);不分配内存,不执行业务。 - */ -IEC60870_AsduResult_t IEC60870_SectionReady_Create(IEC60870_SectionReady_t *self, - uint32_t ioa, uint16_t file_name, int section, uint32_t section_length, int qualifier); - -/** - * 功能:解析Type 121(节准备就绪)的独立值载荷。 - * 输入参数:ioa——已解析地址;payload——不含IOA;length——载荷实际字节数。 - * 输出参数:self——按值保存的独立对象,失败保持原值。 - * 返回值:OK成功;ERROR地址、长度、字段或时间非法。 - * 说明:长度必须恰好为7字节;不借用原报文。 - */ -IEC60870_AsduResult_t IEC60870_SectionReady_Get_From_Buffer(IEC60870_SectionReady_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length); - -/** - * 功能:构造Type 122(文件/节召唤或选择)。 - * 输入参数:ioa——0..0xFFFFFF;其余参数见对应结构字段注释,时间和数据指针只在调用期间借用。 - * 输出参数:self——调用方提供的具体对象存储。 - * 返回值:OK成功;ERROR参数、字段或时间非法,输出不变。 - * 说明:NOF(2) + NOS(1) + SCQ(1);不分配内存,不执行业务。 - */ -IEC60870_AsduResult_t IEC60870_FileCallOrSelect_Create(IEC60870_FileCallOrSelect_t *self, - uint32_t ioa, uint16_t file_name, int section, int qualifier); - -/** - * 功能:解析Type 122(文件/节召唤或选择)的独立值载荷。 - * 输入参数:ioa——已解析地址;payload——不含IOA;length——载荷实际字节数。 - * 输出参数:self——按值保存的独立对象,失败保持原值。 - * 返回值:OK成功;ERROR地址、长度、字段或时间非法。 - * 说明:长度必须恰好为4字节;不借用原报文。 - */ -IEC60870_AsduResult_t IEC60870_FileCallOrSelect_Get_From_Buffer(IEC60870_FileCallOrSelect_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length); - -/** - * 功能:构造Type 124(文件/节确认)。 - * 输入参数:ioa——0..0xFFFFFF;其余参数见对应结构字段注释,时间和数据指针只在调用期间借用。 - * 输出参数:self——调用方提供的具体对象存储。 - * 返回值:OK成功;ERROR参数、字段或时间非法,输出不变。 - * 说明:NOF(2) + NOS(1) + AFQ(1);不分配内存,不执行业务。 - */ -IEC60870_AsduResult_t IEC60870_FileACK_Create(IEC60870_FileACK_t *self, - uint32_t ioa, uint16_t file_name, int section, int qualifier); - -/** - * 功能:解析Type 124(文件/节确认)的独立值载荷。 - * 输入参数:ioa——已解析地址;payload——不含IOA;length——载荷实际字节数。 - * 输出参数:self——按值保存的独立对象,失败保持原值。 - * 返回值:OK成功;ERROR地址、长度、字段或时间非法。 - * 说明:长度必须恰好为4字节;不借用原报文。 - */ -IEC60870_AsduResult_t IEC60870_FileACK_Get_From_Buffer(IEC60870_FileACK_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length); - -/** - * 功能:构造Type 123(最后文件段或节)。 - * 输入参数:ioa——0..0xFFFFFF;其余参数见对应结构字段注释,时间和数据指针只在调用期间借用。 - * 输出参数:self——调用方提供的具体对象存储。 - * 返回值:OK成功;ERROR参数、字段或时间非法,输出不变。 - * 说明:NOF(2) + NOS(1) + LSQ(1) + CHS(1),这里只传递校验和;不分配内存,不执行业务。 - */ -IEC60870_AsduResult_t IEC60870_FileLastSegmentOrSection_Create(IEC60870_FileLastSegmentOrSection_t *self, - uint32_t ioa, uint16_t file_name, int section, int qualifier, int checksum); - -/** - * 功能:解析Type 123(最后文件段或节)的独立值载荷。 - * 输入参数:ioa——已解析地址;payload——不含IOA;length——载荷实际字节数。 - * 输出参数:self——按值保存的独立对象,失败保持原值。 - * 返回值:OK成功;ERROR地址、长度、字段或时间非法。 - * 说明:长度必须恰好为5字节;不借用原报文。 - */ -IEC60870_AsduResult_t IEC60870_FileLastSegmentOrSection_Get_From_Buffer(IEC60870_FileLastSegmentOrSection_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length); - -/** - * 功能:构造Type 125(文件段)。 - * 输入参数:ioa——0..0xFFFFFF;其余参数见对应结构字段注释,时间和数据指针只在调用期间借用。 - * 输出参数:self——调用方提供的具体对象存储。 - * 返回值:OK成功;ERROR参数、字段或时间非法,输出不变。 - * 说明:NOF(2) + NOS(1) + LOS(1) + 段数据(LOS),SQ=0且仅一个对象;不分配内存,不执行业务。 - */ -IEC60870_AsduResult_t IEC60870_FileSegment_Create(IEC60870_FileSegment_t *self, - uint32_t ioa, uint16_t file_name, int section, const uint8_t *data, uint16_t data_length); - -/** - * 功能:解析Type 125(文件段)的独立值载荷。 - * 输入参数:ioa——已解析地址;payload——不含IOA;length——载荷实际字节数。 - * 输出参数:self——按值保存的独立对象,失败保持原值。 - * 返回值:OK成功;ERROR地址、长度、字段或时间非法。 - * 说明:长度必须等于4+LOS,先校验长度再复制段数据;不借用原报文。 - */ -IEC60870_AsduResult_t IEC60870_FileSegment_Get_From_Buffer(IEC60870_FileSegment_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length); - -/** - * 功能:构造Type 126(文件目录)。 - * 输入参数:ioa——0..0xFFFFFF;其余参数见对应结构字段注释,时间和数据指针只在调用期间借用。 - * 输出参数:self——调用方提供的具体对象存储。 - * 返回值:OK成功;ERROR参数、字段或时间非法,输出不变。 - * 说明:NOF(2) + LOF(3) + SOF(1) + CP56(7);不分配内存,不执行业务。 - */ -IEC60870_AsduResult_t IEC60870_FileDirectory_Create(IEC60870_FileDirectory_t *self, - uint32_t ioa, uint16_t file_name, uint32_t file_length, int status, const IEC60870_CP56Time2a_t *creation_time); - -/** - * 功能:解析Type 126(文件目录)的独立值载荷。 - * 输入参数:ioa——已解析地址;payload——不含IOA;length——载荷实际字节数。 - * 输出参数:self——按值保存的独立对象,失败保持原值。 - * 返回值:OK成功;ERROR地址、长度、字段或时间非法。 - * 说明:长度必须恰好为13字节;不借用原报文。 - */ -IEC60870_AsduResult_t IEC60870_FileDirectory_Get_From_Buffer(IEC60870_FileDirectory_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length); - -/** - * 功能:构造Type 127(归档查询)。 - * 输入参数:ioa——0..0xFFFFFF;其余参数见对应结构字段注释,时间和数据指针只在调用期间借用。 - * 输出参数:self——调用方提供的具体对象存储。 - * 返回值:OK成功;ERROR参数、字段或时间非法,输出不变。 - * 说明:NOF(2) + 查询起始CP56(7) + 查询结束CP56(7);不分配内存,不执行业务。 - */ -IEC60870_AsduResult_t IEC60870_QueryLog_Create(IEC60870_QueryLog_t *self, - uint32_t ioa, uint16_t file_name, const IEC60870_CP56Time2a_t *start_time, const IEC60870_CP56Time2a_t *stop_time); - -/** - * 功能:解析Type 127(归档查询)的独立值载荷。 - * 输入参数:ioa——已解析地址;payload——不含IOA;length——载荷实际字节数。 - * 输出参数:self——按值保存的独立对象,失败保持原值。 - * 返回值:OK成功;ERROR地址、长度、字段或时间非法。 - * 说明:长度必须恰好为16字节;不借用原报文。 - */ -IEC60870_AsduResult_t IEC60870_QueryLog_Get_From_Buffer(IEC60870_QueryLog_t *self, - uint32_t ioa, const uint8_t *payload, uint16_t length); - -/** - * 功能:取得当前配置下一条ASDU能容纳的最大文件段数据长度。 - * 输入参数:parameters——合法应用层参数,包含最大ASDU长度和字段宽度。 - * 输出参数:无。 - * 返回值:0..255为数据容量;-1表示参数非法或连空文件段也容纳不下。 - * 说明:扣除公共头、IOA和4字节段头;104默认配置返回236。 - */ -int IEC60870_FileSegment_Get_Max_Data_Size(const IEC60870_AppLayerParameters_t *parameters); - /** * 功能:取得对象Type ID,并核对类型与函数表是否匹配。 * 输入参数:object——已构造/解析的基类指针,可为NULL。 diff --git a/App/protocol/iec60870/common/IEC60870_InformationObjects_Internal.h b/App/iec60870/common/IEC60870_InformationObjects_Internal.h similarity index 100% rename from App/protocol/iec60870/common/IEC60870_InformationObjects_Internal.h rename to App/iec60870/common/IEC60870_InformationObjects_Internal.h diff --git a/App/protocol/iec60870/common/IEC60870_Slave.c b/App/iec60870/common/IEC60870_Slave.c similarity index 100% rename from App/protocol/iec60870/common/IEC60870_Slave.c rename to App/iec60870/common/IEC60870_Slave.c diff --git a/App/protocol/iec60870/common/IEC60870_Slave.h b/App/iec60870/common/IEC60870_Slave.h similarity index 100% rename from App/protocol/iec60870/common/IEC60870_Slave.h rename to App/iec60870/common/IEC60870_Slave.h diff --git a/App/protocol/iec60870/common/IEC60870_StaticAssert.h b/App/iec60870/common/IEC60870_StaticAssert.h similarity index 100% rename from App/protocol/iec60870/common/IEC60870_StaticAssert.h rename to App/iec60870/common/IEC60870_StaticAssert.h diff --git a/App/protocol/iec60870/common/IEC60870_Time.c b/App/iec60870/common/IEC60870_Time.c similarity index 100% rename from App/protocol/iec60870/common/IEC60870_Time.c rename to App/iec60870/common/IEC60870_Time.c diff --git a/App/protocol/iec60870/common/IEC60870_Time.h b/App/iec60870/common/IEC60870_Time.h similarity index 100% rename from App/protocol/iec60870/common/IEC60870_Time.h rename to App/iec60870/common/IEC60870_Time.h diff --git a/App/protocol/iec60870/common/IEC60870_Types.h b/App/iec60870/common/IEC60870_Types.h similarity index 100% rename from App/protocol/iec60870/common/IEC60870_Types.h rename to App/iec60870/common/IEC60870_Types.h diff --git a/App/iec60870/common/README.md b/App/iec60870/common/README.md new file mode 100644 index 00000000..2840834f --- /dev/null +++ b/App/iec60870/common/README.md @@ -0,0 +1,43 @@ +# `common/` — 与传输无关的协议数据面 + +本目录放 104 协议里**不关心网络怎么收发**的那一半:ASDU 编解码、信息对象(遥信/遥测/遥控/ +累计量)的字段布局、时间表示。要改「报文内容长什么样」在这里;要改「报文怎么送出去」去 +`104/`。这一层同时被 101(串口)等其它 IEC 60870-5 变体共用,所以它刻意不依赖任何网络类型。 + +## 1. 文件分工 + +| 文件 | 职责 | +| --- | --- | +| `IEC60870_Types.h` | 类型与参数基线:应用层参数结构(COT/CA/IOA 各自宽度)、长度上限 | +| `IEC60870_StaticAssert.h` | C99 编译期断言 shim,见 [`../README.md`](../README.md) §3.1 | +| `IEC60870_Asdu.h` / `.c` | ASDU 容器:公共头构造与字段读写(Type ID / VSQ / COT / CA) | +| `IEC60870_Codec.h` / `.c` | 通用字节层编解码:小端读写、长度校验、视图借用 | +| `IEC60870_InformationObjects.h` / `.c` | 信息对象类型(Type 1~207)与品质位、CP56Time2a 等结构 | +| `IEC60870_Slave.h` / `.c` | 101/104 共用的**子站发送接口**(抽象层,用函数指针分派,不含 TCP/串口/队列/连接状态机,不分配内存);104 的具体实现是 `104/IEC104_Slave.c` | +| `IEC60870_Time.h` / `.c` | CP56Time2a / CP16Time2a 编解码与整数公历换算(400 年周期展开、以三月为年内起点统一处理闰日;仅在 1970..2099 年范围内运算,不读 RTC、不执行校时) | +| `IEC60870_FaultEvent.h` / `.c` | Type42 故障事件的扩展布局编解码,见 §2 | + +## 2. 关键约束 + +**`FaultEvent` 不是可选模块,是链接依赖。** `104/business/IEC104_Spontaneous.c` 的 +`IEC104_Spontaneous_Publish_Fault_Event()` 在发布路径上调用 +`IEC60870_FaultEvent_Encode()`。它实现的是 Type42 的**扩展布局**(两组异构记录共用链路 +IOA 宽度、计数位于报文体),不属于基础标准定义的 Type42 对象——所以别拿标准 Type42 的 +字节期望去比对它。 + +**应用层参数必须两端一致。** `IEC60870_AppLayerParameters_t` 定义 Type ID / VSQ / COT / CA / +IOA 各占几个字节以及 ASDU 上限。通用上限是 254;接入本工程 104 TCP 时固定用 +`IEC104_APP_LAYER_PARAMETERS_DEFAULT`(COT=2、CA=2、IOA=3,ASDU 上限 249), +`IEC104_Slave.c` 的 `Parameters_Compatible()` 会拒绝不匹配的配置。改了参数就等于改了线上 +字节布局,主站侧必须同步——不存在自动协商。 + +**断言条件一行都不许动。** 全目录共 43 处编译期断言,本目录分布 3 处 +(`IEC60870_FaultEvent.c` 1 处、`IEC60870_InformationObjects.c` 2 处),其余在 +`104/` 与 `104/business/`。改容量宏时断言条件(如 `SOE_CAPACITY == ASDU_SOE_MAX_CAPACITY`) +保持不变,它守的不变式才有意义。shim 本身见 §1 表首行。 + +## 3. 相关文档 + +- 完整协议栈与目录总览 → [`../README.md`](../README.md) +- 信息对象与品质位口径在平台侧怎么消费 → `App/algo/meas.h` 的 `MEAS_QDS_*` 注释 +- ASDU 头与 COT 宽度 → `docs/子系统设计/IEC104上行设计说明.md` diff --git a/App/iec60870/examples/README.md b/App/iec60870/examples/README.md new file mode 100644 index 00000000..b353ad41 --- /dev/null +++ b/App/iec60870/examples/README.md @@ -0,0 +1,32 @@ +# `examples/` — 声明式 DTU 点表 profile + +本目录只有**一份头文件**:`iec104_dtu_profile.h`,用纯数据结构声明标准 DTU +(Distribution Terminal Unit,配电终端)点表——遥信、遥测、遥控、参数各段分别有多少点、 +IOA 怎么分、每个点的类型与元数据是什么。 + +它被 `App/iec60870/104/iec104_dtu_table.c` `#include` 后编译进产品,所以它是 +**实打实的产品代码**,不是示例、不会被排除在构建之外。改这里等于改点表。 + +**本目录没有任何示例 main,也没有运行时实现。** 没被产品链接的文件不要往这里放: +放进来的东西会让人误以为它参与构建。要加运行时逻辑,去 `104/` 或 `104/business/`。 + +## 关键约束 + +- **点表是「标准 DTU 演示表」,不等于现场点表。** 它按 IEC 60870-5-104 标准 DTU(配电终端) + 的典型配置编排,用于把协议栈跑通、把主站侧对点工具点亮,不代表任何现场实际接线。 + 新旧通信地址相同**不代表语义相同**;候选映射不代表真实绑定。当前哪些点真接了硬件来源, + 见 `docs/子系统设计/IEC104上行设计说明.md` 的平台接缝章节。 +- **改点数要同步改别处。** 遥信总数的事实来源是 `App/iec60870/104/iec104_dtu_table.h` 的 + `IEC104_DTU_SP_COUNT`(59,单点遥信 Single Point)与 `IEC104_DTU_DP_COUNT` + (16,双点遥信 Double Point);遥测为 `IEC104_DTU_ME_COUNT`(30,测量值 Measured Value)。 + 而产品 UI 视图的行数 `UI_DATA_YX_N` 是**另一个数**(两者语义不同、数值本就不等)。 + 改动前先读 `Drivers/BSP/UI/ui_data.h` 的 `yx_dp` 字段注释与 `App/app/ui_data_feed.c` + 的 `feed_yx_dp()`——那里有一条一次性 `DBG_ERROR` 专门盯着这个差异。 +- **本文件是 `const` 数据,进 Flash。** 五个表都声明为 `static const`(`dtu_signals` / + `dtu_measurements` / `dtu_energy` / `dtu_commands` / `dtu_parameters`),只需被一个 + 编译单元包含,因此不占静态 RAM;但体积直接影响 Flash 预算。 + +## 相关文档 + +- 完整协议栈与目录总览 → [`../README.md`](../README.md) +- 点表与 UI 视图的语义差异 → `docs/UI设计/UI_数据供给设计.md` diff --git a/App/protocol/iec60870/examples/iec104_dtu_profile.h b/App/iec60870/examples/iec104_dtu_profile.h similarity index 100% rename from App/protocol/iec60870/examples/iec104_dtu_profile.h rename to App/iec60870/examples/iec104_dtu_profile.h diff --git a/App/log/README.md b/App/log/README.md index 447fac73..f7ab978a 100644 --- a/App/log/README.md +++ b/App/log/README.md @@ -62,8 +62,8 @@ | 事故 | `SYSLOG_ACCIDENT` / `accid.log` | 512 | `App/task/protect_task.c:188` | `asserted` 上升沿**且**该元件跳闸投退项 = 1 | | 保护告警 | `SYSLOG_ALARM` / `alarm.log` | 1024 | 同文件 `191` | `asserted` 上升沿**且**跳闸投退项 = 0 或该元件无此项 | | 保护启动 | `SYSLOG_START` / `start.log` | 1024 | 同文件 `183` | `picked` 上升沿(越限电平,早于/等于动作) | -| 操作 | `SYSLOG_OPER` / `oper.log` | 512 | `App/task/default_task.c`(`default_task_func()`,`settings saved`)、`App/log/sys_log_mcu.c`(`s_clear_service()`,清除记录成功)、`App/task/ui_task.c`(`ui_task_maint_oper_note()`,面板操作)、`App/sync/time_sntp.c`(`clock set by SNTP`);宿主侧 `simulator/main.c` 与 `simulator/sim/sim_syslog.c` | 定值**真落盘成功** / 清除记录成功 / 面板运维动作 / SNTP 对时。⚠ 104 侧不再投递:原 `App/protocol/iec104/iec104_pts.c` 写 `force reset` 与 `plate in/out`,该实现已于 2026-11-17 割接删除,骨架阶段不驱动物理出口故无记录(见 `docs/子系统设计/IEC104上行设计说明.md` §0.5) | -| 遥控 | `SYSLOG_YK` / `yk.log` | 256 | **当前无生产者**——原写入点 `App/protocol/iec104/iec104_pts.c`(`s_src_yk_exec()`:选择段、执行段、非法 DPC、未知 IOA)已随 2026-11-17 割接删除 | ⚠ 骨架阶段**有意不记**:模拟动作绝不驱动物理出口,照旧写"选择/执行"即为伪造记录(判据与后果见 `docs/子系统设计/IEC104上行设计说明.md` §0.5)。恢复记录需新增观测接缝,待另行立项 | +| 操作 | `SYSLOG_OPER` / `oper.log` | 512 | `App/task/default_task.c`(`default_task_func()`,`settings saved`)、`App/log/sys_log_mcu.c`(`s_clear_service()`,清除记录成功)、`App/task/ui_task.c`(`ui_task_maint_oper_note()`,面板操作)、`App/sync/time_sntp.c`(`clock set by SNTP`);宿主侧 `simulator/main.c` 与 `simulator/sim/sim_syslog.c` | 定值**真落盘成功** / 清除记录成功 / 面板运维动作 / SNTP 对时。⚠ 104 侧不再投递:原旧 `App/protocol/iec104/iec104_pts.c` 写 `force reset` 与 `plate in/out`,该实现已于 2026-11-17 割接删除(文件在 2026-11-18 随骨架迁 MCU 移除),骨架阶段不驱动物理出口故无记录(见 `docs/子系统设计/IEC104上行设计说明.md` §0.5) | +| 遥控 | `SYSLOG_YK` / `yk.log` | 256 | **当前无生产者**——原写入点旧 `App/protocol/iec104/iec104_pts.c`(`s_src_yk_exec()`:选择段、执行段、非法 DPC、未知 IOA;该文件 2026-11-18 已删除) | ⚠ 骨架阶段**有意不记**:模拟动作绝不驱动物理出口,照旧写"选择/执行"即为伪造记录(判据与后果见 `docs/子系统设计/IEC104上行设计说明.md` §0.5)。恢复记录需新增观测接缝,待另行立项 | - **"哪些元件算跳闸"只有一个真源**:定值表 `g_prot_set_meta` 里的 `PS_*_TRIP`(枚举注释 即"0 告警 / 1 跳闸")+ 实例表 `k_pe[]` 的 `trip_ctl` 列。分类入口 diff --git a/App/protocol/.gitkeep b/App/protocol/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/App/protocol/README.md b/App/protocol/README.md deleted file mode 100644 index f092776a..00000000 --- a/App/protocol/README.md +++ /dev/null @@ -1,30 +0,0 @@ -# App/protocol/ — 通信协议与共享运行核心 - -> 存放**跨接口复用的协议逻辑**(解析 / 组帧 / 状态机)及成熟协议运行核心。 -> 纯逻辑部分依赖注入;网络后端承担 I/O,板端既有胶水在对应 task(如 `App/task/iec104_serv.c`)。 -> 其余协议实现暂分散在: -> - RS-485 侧:`App/task/rs485_task.c`(CRC 在驱动内) -> - 网络侧:`Drivers/BSP/NET/` -> - 远端显示:`docs/UI设计/RemoDispBus协议与接收设计说明.md` - -## 已落地协议 - -| 子目录 | 协议 | 说明 | -|---|---|---| -| `iec104/` 旧板端路径(尚保留) | IEC 60870-5-104 被控站(TCP 工厂默认 2404 上行) | 旧纯逻辑三件套(asdu/pts/link,零 I/O、数据源 vtable 注入)与现行板端服务;历史单测及板端决策见 `docs/子系统设计/IEC104上行设计说明.md` | -| `iec104/` 新共享路径与 `iec60870/` | 成熟 Slave/TcpServer 共享核心,模拟器显式启用 | core/source/table 装配成熟业务状态机与平台网络后端;模拟器首里程碑已验证,未替换旧板端路径,详见下文边界 | - -## 成熟核心迁入边界 - -新入口 `iec104/iec104_core.c` 装配 `iec60870/` 的 Slave、TcpServer 与业务状态机,数据接缝位于 `iec104/iec104_source.c`,标准演示元数据位于 `iec104/iec104_dtu_table.c`。平台网络后端承担 I/O,因此本目录新增部分不能再一概称为零 I/O。来源及兼容补丁见 `iec60870/IMPORT.md`。 - -- 模拟器以 `--iec104` 显式启用共享核心;旧板端服务仍用原实现,尚未替换或删除旧栈。 -- 协议参数暂为独立 RAM 模型,不等于现有 UI 参数真源;新旧同址不能作为语义桥。模拟读写不持久、不驱动物理开出。 -- 虚拟设备墙钟不改宿主系统钟;链路与事务超时使用单调时基。 -- 模拟器首个里程碑已有同哈希独立 TCP 与黄金回归证据,见设计文档。MCU 替换、旧栈删除、真实 UI 参数绑定仍未完成;构建或模拟器通过不能代替 MCU 资源与硬件验证,也不代表全部门禁通过。 -- 设计与精确集合见 `docs/子系统设计/IEC104上行设计说明.md` §0;历史日志、录波继续归现有子系统,不另起示例存储栈。 - -## 何时使用本目录 - -当出现**跨接口复用的协议逻辑**(如统一的帧编解码器、协议状态机)时,落到此处, -避免散落到各 task 里。新增后请在本 README 补一行说明。 diff --git a/App/protocol/iec104/iec104_asdu.h b/App/protocol/iec104/iec104_asdu.h deleted file mode 100644 index 57a6b620..00000000 --- a/App/protocol/iec104/iec104_asdu.h +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 模块名称:IEC 60870-5-104 ASDU 编解码(应用层,纯逻辑) - * 模块功能:104 规约应用服务数据单元(ASDU)的类型/传送原因常量、组帧与解析。 - * **零 I/O、零平台依赖**(仅 stdint.h)→ 主机侧可离线纯逻辑单测 - * (分层约束:协议解析与硬件 I/O 分离)。 - * 口径来源:docs/算法/继电保护功能复现规划.md §1.5(B0 产品定义)—— - * 公共地址 2 字节、传送原因 2 字节、信息体地址 IOA **3 字节**(101 为 2 字节); - * 遥测上送**短浮点** M_ME_NC_1(系数 = 1);遥信双点上双点、其余单点; - * 遥控**双点命令**(选择 82H / 执行 02H,即 QDC 的 S 位 + 值 2)。 - * 帧结构(本层只管 ASDU,APCI 6 字节头归 iec104_link): - * [type 1B][vsq 1B][cot 2B][ca 2B]( [ioa 3B][元素...] )*n - * 多信息体地址对象(SQ=0)每对象带独立 IOA;顺序对象(SQ=1)单 IOA + n 元素。 - * 创建日期:2026-10-12(B4,W1 功能主线) - */ -#ifndef IEC104_ASDU_H -#define IEC104_ASDU_H - -#include - -/* ---------------- 类型标识(DL/T 634.5104,仅定义本期子集) ---------------- */ -#define IEC104_T_M_SP_NA_1 1U /* 单点遥信 SIQ */ -#define IEC104_T_M_DP_NA_1 3U /* 双点遥信 DIQ */ -#define IEC104_T_M_SP_TB_1 30U /* 单点遥信+CP56时标 SIQ+7B(B9 SOE 自发) */ -#define IEC104_T_M_ME_NC_1 13U /* 遥测短浮点 float+QDS(§1.5 口径) */ -#define IEC104_T_C_SE_NC_1 50U /* 定值写(短浮点)float+QDS */ -#define IEC104_T_C_DC_NA_1 52U /* 双点遥控 QDC(82H 选 / 02H 执行) */ -#define IEC104_T_C_IC_NA_1 100U /* 总召 RQT */ -#define IEC104_T_C_RD_NA_1 102U /* 读单个测量值 IOA only */ -#define IEC104_T_C_CS_NA_1 103U /* 时钟同步 CP56Time2a */ -#define IEC104_T_C_TS_NA_1 104U /* 试验 FBP 2B */ -#define IEC104_T_C_RP_NA_1 105U /* 进程复位 RPA 1B */ - -/* ---------------- 传送原因 COT(低字节 6bit;高字节 T|PN|RBT/…) ---------- */ -#define IEC104_COT_PERIODIC 1U /* 周期/循环 */ -#define IEC104_COT_BG_SCAN 2U /* 背景扫描(总召响应) */ -#define IEC104_COT_SPONT 3U /* 突发(cos) */ -#define IEC104_COT_INIT 4U /* 初始化(总召 + RBT=1 时用) */ -#define IEC104_COT_REQ 5U /* 请求(C_RD 响应) */ -#define IEC104_COT_ACT 6U /* 激活 */ -#define IEC104_COT_ACTCON 7U /* 激活确认 */ -#define IEC104_COT_ACTTERM 8U /* 激活终止 */ -#define IEC104_COT_DEACT 9U /* deactivate */ -#define IEC104_COT_DEACTCON 10U /* 停止激活确认 */ -#define IEC104_COT_UNK_COT 12U /* 未知传送原因 */ -#define IEC104_COT_UNK_CA 13U /* 未知公共地址 */ -#define IEC104_COT_UNK_IOA 14U /* 未知信息体地址(+EVI) */ -#define IEC104_COT_BIT_T 0x80U /* COT 高字节 bit7:试验 */ -#define IEC104_COT_BIT_PN 0x40U /* COT 高字节 bit6:否定确认 */ -#define IEC104_COT_BIT_RBT 0x10U /* COT 高字节 bit4:请求链路仿真(总召初始化) */ - -/* ---------------- VSQ ---------------- */ -#define IEC104_VSQ_SQ 0x80U /* 1 = 顺序地址(单 IOA + n 元素) */ -#define IEC104_VSQ_N(n) ((uint8_t)((n) & 0x7FU)) - -/* ---------------- 遥信/遥测品质描述位(本期只用溢出/异常/非当前) --------- */ -#define IEC104_QDS_OV 0x01U -#define IEC104_QDS_BL 0x10U /* blocked(闭锁) */ -#define IEC104_QDS_NT 0x20U /* not top(暂态品质,遥测未就绪用) */ -#define IEC104_QDS_IV 0x80U /* invalid(无效,通道不可用用) */ -#define IEC104_DIQ_IV 0x80U -#define IEC104_SIQ_IV 0x80U - -/* ---------------- 双点值(DIQ/QDC 低 2bit) ---------------- */ -#define IEC104_DPC_DONTCARE 0U -#define IEC104_DPC_OFF 1U -#define IEC104_DPC_ON 2U -#define IEC104_QDC_S 0x80U /* 1 = 选择,0 = 执行(§1.5:82H/02H) */ - -/* ---------------- 总召 RQT ---------------- */ -#define IEC104_RQT_GROUP1 20U /* 总查询(组 1) */ - -/* ---------------- ASDU 头(解析产物) ---------------- */ -typedef struct { - uint8_t type; /* 类型标识 */ - uint8_t vsq; /* 可变结构限定词 */ - uint8_t cot; /* 传送原因低 6bit */ - uint8_t cot_hi; /* COT 首字节的高位标志(T=0x80 / PN=0x40 / RBT=0x10 原样保留) */ - uint8_t oa; /* 源发站地址(第 2 COT 字节;bit7 = EVI) */ - uint16_t ca; /* 公共地址(链路地址 = ASDU 公共地址,2B) */ - const uint8_t *obj; /* 信息体区首址(指向调用方缓冲,生命周期同 on_rx) */ - uint16_t obj_len; /* 信息体区长度 */ -} iec104_asdu_hdr_t; - -/* - * 函数功能:解析 ASDU 头(不解析信息体——各命令的体解析在 iec104_link 内做) - * 入口参数:buf - ASDU 首址(不含 APCI);len - ASDU 长度 - * hdr - 输出头 - * 返 回 值:0 成功 / -1 参数或长度错(len < 6) - * 函数说明:纯只读,不改动 buf。 - */ -int iec104_asdu_parse_hdr(const uint8_t *buf, uint16_t len, iec104_asdu_hdr_t *hdr); - -/* - * 函数功能:写 ASDU 头 - * 入口参数:buf - 目标缓冲(容量须 ≥ 6);type/vsq/cot/cot_hi/ca 见常量 - * 返 回 值:固定 6(已写字节数) - */ -uint16_t iec104_asdu_put_hdr(uint8_t *buf, uint8_t type, uint8_t vsq, - uint8_t cot, uint8_t cot_hi, uint16_t ca); - -/* ---------------- 小工具(IOA 3B 小端 / IEEE 短浮点小端) ---------------- */ - -/* IOA(3 字节小端)写入 */ -void iec104_put_ioa(uint8_t *buf, uint32_t ioa); -/* IOA(3 字节小端)读取 */ -uint32_t iec104_get_ioa(const uint8_t *buf); -/* IEEE754 float 按 104 小端写入(memcpy 位模式,不做字节序假设) */ -void iec104_put_float(uint8_t *buf, float v); -/* IEEE754 float 按 104 小端读取 */ -float iec104_get_float(const uint8_t *buf); - -/* ---------------- CP56Time2a(C_CS 时钟同步用) ---------------- */ - -/* - * 函数功能:解析 CP56Time2a(7 字节)为 epoch 毫秒 - * 入口参数:buf - 7B 首址;epoch_ms - 输出(UTC 毫秒) - * 返 回 值:0 成功 / -1 参数错 / -2 IV 位置起(时间无效,调用方应拒绝) - * 函数说明:年字段仅 7bit(0..127,基准 2000);月/日/时/分按 1.. 语义; - * 不处理 SU(夏令时)位——忽略。 - */ -int iec104_cp56_to_epoch_ms(const uint8_t *buf, uint64_t *epoch_ms); - -/* - * 函数功能:epoch 毫秒 → CP56Time2a(7 字节,UTC 分解) - * 入口参数:epoch_ms - UTC 毫秒;buf - 目标 7B - * 返 回 值:固定 7 - * 函数说明:epoch_ms < 2000-01-01 时钳到 2000(年字段下限);IV 清 0。 - */ -uint16_t iec104_epoch_ms_to_cp56(uint64_t epoch_ms, uint8_t *buf); - -#endif /* IEC104_ASDU_H */ diff --git a/App/protocol/iec60870/104/IEC104.h b/App/protocol/iec60870/104/IEC104.h deleted file mode 100644 index 8318878b..00000000 --- a/App/protocol/iec60870/104/IEC104.h +++ /dev/null @@ -1,72 +0,0 @@ -/* IEC 60870-5-104旧单路接收入口;包含Codec以兼容原有编解码调用方。 */ -#ifndef IEC104_H -#define IEC104_H - -#include "IEC104_Codec.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* 接收状态机的三个阶段。 */ -typedef enum { - RX_SYNC = 0, /* 等待起始字节 0x68 */ - RX_LEN, /* 等待长度域 */ - RX_BODY /* 按目标长度接收控制域和 ASDU */ -} IEC104_RxStage_t; - -/* 逐字节接收结果;负值表示已经完成错误分类。 */ -typedef enum { - IEC104_RX_INTERNAL_ERROR = -3, /* 接收器内部状态异常 */ - IEC104_RX_SEQUENCE_ERROR = -2, /* I/S帧序号非法,应断开当前连接 */ - IEC104_RX_FRAME_ERROR = -1, /* 长度或APCI格式非法 */ - IEC104_RX_IN_PROGRESS = 0, /* 当前APDU尚未收齐 */ - IEC104_RX_FRAME_READY = 1 /* 完整APDU通过APCI检查及适用的I/S序号检查;未校验ASDU内容 */ -} IEC104_RxResult_t; - -/* 单路字节流接收器的全部解析状态。 */ -typedef struct { - uint8_t buf[IEC104_MAX_APDU_LEN]; /* 当前APDU的接收缓冲区 */ - uint16_t len; /* 已经收到的字节数 */ - uint16_t expected_len; /* 根据长度域计算出的完整APDU长度 */ - IEC104_RxStage_t stage; /* 当前状态机阶段 */ -} IEC104_RxParser_t; - -/** - * 功能:向IEC-104接收状态机递入一个字节。 - * 输入参数:byte——当前收到的一个字节。 - * 输出参数:无。 - * 返回值:返回IEC104_RxResult_t;序号错误要求调用方停止处理并断开当前连接。 - * 说明:该旧单路兼容入口只返回接收结果,不向调用方输出完整报文或ASDU内容。 - * 不分派STARTDT/STOPDT U帧,因此预设已启动 - * 数据传输,只对I/S帧执行序号检查。完整连接应使用独立的 - * IEC104_LinkState_t并显式处理启停流程。 - */ -extern IEC104_RxResult_t IEC104_Rx_Feed_Byte(uint8_t byte); - -/** - * 功能:丢弃当前未完成APDU并复位接收进度。 - * 输入参数:无。 - * 输出参数:无。 - * 返回值:无。 - * 说明:只重置内部接收阶段和长度,不清零接收缓冲区,不修改链路序号状态。 - */ -extern void IEC104_Rx_Reset(void); - -/** - * 功能:复位旧单路兼容入口的I/S序号状态。 - * 输入参数:无。 - * 输出参数:无。 - * 返回值:无。 - * 说明:清零I/S序号并恢复兼容路径的STARTED预设,不改变当前 - * APDU接收进度;仅应在旧会话已经结束时调用。 - * 仅影响IEC104_Rx_Feed_Byte的私有全局状态;外部独立的IEC104_LinkState_t - * 应使用IEC104_Link_State_Reset复位,后者恢复STOPPED。 - */ -extern void IEC104_Legacy_Link_Reset(void); - -#ifdef __cplusplus -} -#endif - -#endif /* IEC104_H */ diff --git a/App/protocol/iec60870/104/IEC104_Link.h b/App/protocol/iec60870/104/IEC104_Link.h deleted file mode 100644 index 1322b047..00000000 --- a/App/protocol/iec60870/104/IEC104_Link.h +++ /dev/null @@ -1,15 +0,0 @@ -/** - * 兼容总头文件:汇总公共接口和两种角色的启停接口,保留既有include用法。 - * 新代码可直接包含Common.h、Master_StartStop.h或Slave_StartStop.h;角色头文件已包含Common.h。 - * 头文件的选择不设置本端角色,仍须由State_Init为每条连接固定角色;包含两端 - * 声明也不允许混用角色专用接口。构建时包含公共链路实现,并按使用的启停接口加入角色实现。 - * Internal.h面向实现内部的跨文件协作,故不由本公开入口转发。 - */ -#ifndef IEC104_LINK_H -#define IEC104_LINK_H - -#include "IEC104_Link_Common.h" -#include "IEC104_Link_Master_StartStop.h" -#include "IEC104_Link_Slave_StartStop.h" - -#endif /* IEC104_LINK_H */ diff --git a/App/protocol/iec60870/104/IEC104_Link_Master_StartStop.h b/App/protocol/iec60870/104/IEC104_Link_Master_StartStop.h deleted file mode 100644 index 4e37ed60..00000000 --- a/App/protocol/iec60870/104/IEC104_Link_Master_StartStop.h +++ /dev/null @@ -1,174 +0,0 @@ -/** - * 主站启停公开接口:本端为CONTROLLING,主动发送STARTDT/STOPDT_ACT并接收CON。 - * START:Prepare -> 实际发送 -> Complete -> Handle CON; - * STOP:Request -> Prepare(S/ACT)-> 按tx类型发送并Complete -> Handle CON。 - * 主站的两个CON处理接口都只接受CON_WAITING过程,不缓存ACT完成前的CON; - * 调用方必须先提交已知的ACT完整发送结果。I/S与TESTFR使用Common.h的公共接口。 - * 主动启停须等本次CON成功处理后再发起下一过程;忙或重复请求不得重发ACT或重启计时。 - * 实现见Master_StartStop.c;Internal.h仅供实现协作,不供业务调用。 - */ -#ifndef IEC104_LINK_MASTER_STARTSTOP_H -#define IEC104_LINK_MASTER_STARTSTOP_H - -#include "IEC104_Link_Common.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * 功能:生成主动启动请求STARTDT_ACT,并记录等待最终发送结果的状态。 - * 输入参数:state——链路状态;request——输出缓冲;capacity——实际容量,至少6字节。 - * 输出参数:request——写入68 04 07 00 00 00;state——主动请求转ACT_SEND_PENDING。 - * 返回值:6表示生成新请求;0表示已有启停过程或链路已启动; - * -1表示参数或状态非法。返回0或-1时不修改状态和输出缓冲。 - * 说明:适用端:仅控制站。 - * 仅控制站可调用,只允许从STOPPED且过程IDLE时开始;不执行网络发送,不修改序号。 - * 返回6后必须提交最终发送结果;同一连接的三个主动启动接口须串行调用。 - * ACT成功入队后,控制站可预留命令I帧,不必等待CON;ACT必须在 - * 同一FIFO中先于这些I帧发送和提交Complete。未受理STARTDT前仍禁止I帧。 - */ -extern int IEC104_Link_Prepare_Startdt_Act(IEC104_LinkState_t *state, - uint8_t *request, - uint16_t capacity); - -/** - * 功能:记录主动STARTDT_ACT的最终发送结果。 - * 输入参数:state——链路状态;sent_len——最终累计成功发送字节数,恰好6表示成功。 - * 输出参数:有匹配ACT时,完整成功转START_CON_WAITING,发送失败回IDLE; - * 无匹配过程或状态/角色非法时不修改状态。所有分支均不改变稳定状态。 - * 返回值:OK表示完整发送并开始等待CON;IGNORED表示没有ACT等待完成; - * FATAL表示状态/角色非法或发送失败。 - * 说明:适用端:仅控制站。 - * 失败后上层须断连。部分写入未结束时不要调用;调用方必须与具体枚举值比较。 - * 状态合法但无匹配ACT时先返回IGNORED,不检查sent_len;成功提交后才处理CON。 - * ACT失败后不得继续发送其后已预留的I帧,也不得回滚vs后复用当前连接。 - */ -extern IEC104_LinkResult_t IEC104_Link_Complete_Startdt_Act_Send( - IEC104_LinkState_t *state, int sent_len); - -/** - * 功能:接受正在等待的STARTDT_CON,完成本端主动启动。 - * 输入参数:state——链路状态;apci——已通过APCI解析的STARTDT_CON。 - * 输出参数:过程回IDLE,dt_state进入STARTED。 - * 返回值:OK表示接受并提交;IGNORED表示当前未等待CON; - * FATAL表示参数、角色、报文或状态非法。 - * 说明:适用端:仅控制站。 - * 仅控制站可调用;不修改序号、确认位置及TESTFR状态。 - * START_ACT_SEND_PENDING时返回IGNORED,不保存提前CON;须先完成本ACT的Complete。 - * 报文/角色/状态检查先于等待过程检查,非法输入不会因当前未等待而被忽略。 - */ -extern IEC104_LinkResult_t IEC104_Link_Handle_Startdt_Con( - IEC104_LinkState_t *state, const IEC104_ApciInfo_t *apci); - -/** - * 功能:判断主动STARTDT_ACT发送成功后等待STARTDT_CON是否达到t1超时。 - * 输入参数:state——链路状态;elapsed_ms——等待STARTDT_CON的毫秒数; - * t1_ms——t1配置值,必须大于0。 - * 输出参数:无,不修改链路状态。 - * 返回值:1表示正在等待STARTDT_CON且已经超时;0表示未等待或尚未超时; - * -1表示参数或链路状态非法。 - * 说明:适用端:控制站与被控站;实际超时只适用于控制站等待CON的过程。 - * 调用方在Complete_Startdt_Act_Send()成功后,以ACT实际完整发送时刻为单调计时起点, - * Handle_Startdt_Con()成功时取消计时;返回1后的断连由调用方执行。 - * 同一次ACT的计时起点只记录一次;重复调用、业务收发或无匹配的完成事件不重置起点。 - * 合法被控站没有对应等待过程,返回0;角色与过程组合非法仍返回-1。 - */ -extern int IEC104_Link_T1_Startdt_Con_Expired( - const IEC104_LinkState_t *state, - uint32_t elapsed_ms, uint32_t t1_ms); - -/** - * 功能:受理主动停止意图,进入STOP_REQUESTED,立即禁止新的业务I帧预留。 - * 输入参数:state——控制站链路状态。 - * 输出参数:ACCEPTED时dt_procedure转为STOP_REQUESTED,保留稳定状态和序号。 - * 返回值:ACCEPTED表示新受理;ALREADY_STOPPED表示已经停止;IN_PROGRESS表示 - * 停止已在进行;BUSY表示存在其他启停过程;REQUEST_ERROR表示参数、角色 - * 或状态非法。除ACCEPTED外均不修改状态。 - * 说明:适用端:仅控制站。 - * 不构帧;重复请求不重置进度。受理后调用Prepare_Stopdt_Request推进, - * 接收数据和发送完成事件到达后继续推进;等待期间停止意图始终保留。 - * 只有ACCEPTED代表新过程;其余结果不得重启已有的准备/排队或CON等待计时。 - * 等待CON的t1须等ACT完整发送成功后开始,不能从本接口受理时刻开始计算。 - */ -extern IEC104_StopdtRequestResult_t IEC104_Link_Request_Stopdt( - IEC104_LinkState_t *state); - -/** - * 功能:推进已受理的主动停止,按需生成S确认或STOPDT_ACT。 - * 输入参数:state——控制站链路状态;request——输出缓冲;capacity——至少6字节; - * tx——本次报文类型和长度的输出地址,须随报文保存在FIFO节点中。 - * 输出参数:FRAME_READY时写入request和tx,并提交S确认或STOPDT_ACT待发送状态。 - * 返回值:FRAME_READY表示生成报文;NOT_ACTIVE表示没有对应停止过程; - * WAIT_SEND表示等待已有S/ACT发送完成;WAIT_PEER_CON表示等待STOPDT_CON; - * PREPARE_ERROR表示参数、角色、状态或编码结果非法。 - * 非FRAME_READY时不修改状态和输出;NOT_ACTIVE不会隐式受理停止请求。 - * 说明:适用端:仅控制站。 - * 在途S帧覆盖当前V(R)时可生成ACT,否则等待S完成后补确认。 - * 本端未获确认的I帧不阻止生成ACT;收到CON时检查V(A)==V(S)及接收确认覆盖。 - * 调用方须先取得有界FIFO节点,再构帧并按生成顺序排队;无法入队须断连。 - * 将tx与报文共同保存:S_ACK完成调用Complete_S_Ack_Send,ACT完成调用 - * Complete_Stopdt_Act_Send。 - * 同一连接按FIFO提交完成事件,不能因当前状态改变而重新猜测报文类型。 - * 等待CON的t1仍从ACT完整发送成功开始;准备/排队超时由连接层管理。 - */ -extern IEC104_StopdtPrepareResult_t IEC104_Link_Prepare_Stopdt_Request( - IEC104_LinkState_t *state, uint8_t *request, uint16_t capacity, - IEC104_StopdtTx_t *tx); - -/** - * 功能:记录主动STOPDT_ACT的最终发送结果。 - * 输入参数:state——链路状态;sent_len——最终累计成功发送字节数,恰好6表示成功。 - * 输出参数:有匹配ACT时,完整成功转STOP_CON_WAITING,发送失败回IDLE; - * 无匹配过程或状态/角色非法时不修改状态。 - * 返回值:OK表示完整发送并开始等待CON;IGNORED表示没有ACT等待完成; - * FATAL表示状态/角色非法或发送失败。 - * 说明:适用端:仅控制站。 - * 失败后上层须断连。部分写入未结束时不要调用;调用方必须与具体枚举值比较。 - * 状态合法但无匹配ACT时先返回IGNORED,不检查sent_len;匹配ACT发送失败时 - * dt_state仍为STARTED,不能因过程回IDLE而继续业务发送。 - * 成功提交后才处理STOPDT_CON;本接口不能代替前序S帧的Complete_S_Ack_Send。 - */ -extern IEC104_LinkResult_t IEC104_Link_Complete_Stopdt_Act_Send( - IEC104_LinkState_t *state, int sent_len); - -/** - * 功能:接受正在等待的STOPDT_CON,完成本端主动停止。 - * 输入参数:state——链路状态;apci——已通过APCI解析的STOPDT_CON。 - * 输出参数:过程回IDLE,dt_state进入STOPPED。 - * 返回值:OK表示接受并提交;IGNORED表示当前未等待CON;FATAL表示参数、角色、 - * 报文或状态非法、发送方向未排空,或接收数据未确认且无完整覆盖的在途S帧。 - * 说明:适用端:仅控制站。 - * 要求V(A)==V(S),并且acked_nr==V(R)或在途S帧s_ack_nr==V(R)。 - * 覆盖完整时允许CON早于本地S完成回调;保留S待完成状态和确认快照, - * 后续Complete_S_Ack_Send成功才推进确认位置,发送失败仍要求上层断连。 - * 非OK结果不修改状态;始终不修改序号、确认位置及TESTFR状态。 - * STOP_ACT_SEND_PENDING时返回IGNORED且不缓存CON;允许S完成回调晚到, - * 不代表允许本ACT完成回调晚到。V(A)==V(S)时,公共序号约束保证 - * sent_vs也已经到达vs;这些I帧的本地发送完成必须先于ACK提交。 - */ -extern IEC104_LinkResult_t IEC104_Link_Handle_Stopdt_Con( - IEC104_LinkState_t *state, const IEC104_ApciInfo_t *apci); - -/** - * 功能:判断主动STOPDT_ACT发送成功后等待STOPDT_CON是否达到t1超时。 - * 输入参数:state——链路状态;elapsed_ms——等待STOPDT_CON的毫秒数; - * t1_ms——t1配置值,必须大于0。 - * 输出参数:无,不修改链路状态。 - * 返回值:1表示正在等待STOPDT_CON且已经超时;0表示未等待或尚未超时; - * -1表示参数或链路状态非法。 - * 说明:适用端:控制站与被控站;实际超时只适用于控制站等待CON的过程。 - * 调用方在Complete_Stopdt_Act_Send()成功后,以ACT实际完整发送时刻为单调计时起点, - * Handle_Stopdt_Con()成功时取消计时;返回1后的断连由调用方执行。 - * 同一次ACT的计时起点只记录一次;重复请求、I/S收发及WAIT_*结果均不重置起点。 - * 合法被控站没有对应等待过程,返回0;角色与过程组合非法仍返回-1。 - */ -extern int IEC104_Link_T1_Stopdt_Con_Expired( - const IEC104_LinkState_t *state, - uint32_t elapsed_ms, uint32_t t1_ms); - -#ifdef __cplusplus -} -#endif - -#endif /* IEC104_LINK_MASTER_STARTSTOP_H */ diff --git a/App/protocol/iec60870/104/IEC104_Log.h b/App/protocol/iec60870/104/IEC104_Log.h deleted file mode 100644 index 6bad2aaf..00000000 --- a/App/protocol/iec60870/104/IEC104_Log.h +++ /dev/null @@ -1,103 +0,0 @@ -/** - * IEC104_Log.h —— IEC 60870-5-104 通用日志接口。 - * - * 本模块独立于报文解析和链路状态,只负责: - * 1. 按最低日志级别过滤消息; - * 2. 为消息添加本地时间和级别前缀; - * 3. 将完整消息交给用户回调或默认标准流。 - * - * 公共名称全部使用 IEC104_ 前缀,可与 POSIX 同时使用。 - * 构建与测试命令见 IEC104测试文档.md。 - */ -#ifndef IEC104_LOG_H -#define IEC104_LOG_H - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * 日志级别。 - * - * 数值必须按严重程度递增,因为过滤条件为: - * message_level >= minimum_level - */ -typedef enum { - IEC104_LOG_LEVEL_DEBUG = 0, - IEC104_LOG_LEVEL_INFO = 1, - IEC104_LOG_LEVEL_WARN = 2, - IEC104_LOG_LEVEL_ERR = 3 -} IEC104_LogLevel_t; - -/** - * 日志回调。 - * - * level:本条消息的 IEC104_LOG_LEVEL_* 级别。 - * msg 指向已经拼接时间戳和级别、但不含行末换行的临时字符串; - * 字符串只在本次回调期间有效,需要保留时应由回调自行复制。 - * 回调可能从不同调用线程执行,如需共享数据应自行同步。 - */ -typedef void (*IEC104_LogCb_t)(int level, const char *msg); - -/** - * 功能:设置日志输出回调。 - * 输入参数:cb——回调函数;传入空指针时恢复默认标准流输出。 - * 输出参数:无。 - * 返回值:无。 - * 说明:应在开始并发输出日志之前完成配置。 - */ -extern void IEC104_Set_Log_Callback(IEC104_LogCb_t cb); - -/** - * 功能:设置允许输出的最低日志级别。 - * 输入参数:min_level——IEC104_LOG_LEVEL_* 之一。 - * 输出参数:无。 - * 返回值:无。 - * 说明:应在开始并发输出日志之前完成配置。 - */ -extern void IEC104_Set_Log_Level(int min_level); - -/** - * 功能:格式化并输出一条日志。 - * 输入参数:level——日志级别;fmt——非空且不含行末换行的 printf 风格格式串; - * 其后为格式化参数。 - * 输出参数:无;日志交给回调,或默认写入 stdout/stderr。 - * 返回值:无。 - * 说明:时间戳、级别与正文合计最多保留511字节,不含结尾空字符及默认输出追加的换行; - * 超出部分按字节截断,不保证UTF-8等多字节字符的边界完整。 - */ -#if defined(__GNUC__) || defined(__clang__) -extern void IEC104_Log_Emit(int level, const char *fmt, ...) - __attribute__((format(printf, 2, 3))); -#else -/** - * 功能:格式化并输出一条带时间戳和级别前缀的日志。 - * 输入参数:level——日志级别;fmt——非空且不含行末换行的 printf 格式串; - * 其后为格式化参数。 - * 输出参数:无;优先交给用户回调,否则写入默认标准流。 - * 返回值:无。 - * 说明:低级别消息直接忽略;超出固定缓冲区的内容按字节截断,可能截断多字节字符。 - */ -extern void IEC104_Log_Emit(int level, const char *fmt, ...); -#endif - -/* - * 便捷输出宏。 - * - * 使用模块前缀,避免与 POSIX 的 LOG_DEBUG、LOG_INFO、 - * LOG_ERR 等常量冲突。宏至少需要传入一个格式串参数。 - */ -#define IEC104_LOG_DEBUG(...) \ - IEC104_Log_Emit(IEC104_LOG_LEVEL_DEBUG, __VA_ARGS__) -#define IEC104_LOG_INFO(...) \ - IEC104_Log_Emit(IEC104_LOG_LEVEL_INFO, __VA_ARGS__) -#define IEC104_LOG_WARN(...) \ - IEC104_Log_Emit(IEC104_LOG_LEVEL_WARN, __VA_ARGS__) -#define IEC104_LOG_ERR(...) \ - IEC104_Log_Emit(IEC104_LOG_LEVEL_ERR, __VA_ARGS__) - -#ifdef __cplusplus -} -#endif - -#endif /* IEC104_LOG_H */ diff --git a/App/protocol/iec60870/104/README.md b/App/protocol/iec60870/104/README.md deleted file mode 100644 index 309d9cfa..00000000 --- a/App/protocol/iec60870/104/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Transport import - -Byte-preserved subset of `IEC60870-Slave/104` at baseline f84855a5. -Slave/TcpServer own nonblocking I/O, partial sends and connection identity. -Only one Net backend may be linked into a target. diff --git a/App/protocol/iec60870/104/business/IEC104_FileService.h b/App/protocol/iec60870/104/business/IEC104_FileService.h deleted file mode 100644 index 9238714d..00000000 --- a/App/protocol/iec60870/104/business/IEC104_FileService.h +++ /dev/null @@ -1,374 +0,0 @@ -/* - * IEC104配电自动化文件服务:国网扩展Type210的目录、读文件和写文件过程。 - * 每Slave一个静态实例,读请求FIFO、独立写激活槽及固定数据段环;不建线程、不使用堆。 - * Handle_Event/Process不调用应用,所有应用动作仅在Execute_Next同步执行。 - * 目录与读文件必须保持快照;写入只进暂存,COMMIT才发布,成功后不得因回复失败回滚。 - * 数据环满返回BUSY:调用者保留原事件,执行至多BUSY_STEP_LIMIT步后重试;不得读取后续通知。 - * OPEN_WRITE/write/清理不等通知,COMMIT及所有发送必须通过原身份Check_Request。 - * 在途任务、资源及最终收尾完成前保持同一handlers/context;禁止回调重入修改入口或推进Slave。 - * 正常循环:分派通知(处理BUSY)-> Process -> Execute_Next -> Process;周期扫描最后推进。 - * 退出:停止接入 -> Cancel -> Slave_Close -> 分派生命周期 -> 交付全部收尾 -> Destroy。 - */ -#ifndef IEC104_FILE_SERVICE_H -#define IEC104_FILE_SERVICE_H - -#include -#include -#include -#include "IEC104_Slave.h" -#include "IEC60870_Time.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct IEC104_FileService IEC104_FileService_t; - -/* 专用类型不加入公共信息对象表;不得与标准Type120的F_FR_NA_1混用。 - * 249字节ASDU减去各操作头部,得到数据段和名称上限;名称长度不包含NUL。 - * BUSY上界仅适用于合法入口、回调完整且没有新故障的本地推进。 */ -#define IEC104_FILE_SERVICE_TYPE_ID 210U -#define IEC104_FILE_SERVICE_PACKAGE_FILE 2U -#define IEC104_FILE_SERVICE_MAX_SEGMENT 228U -#define IEC104_FILE_SERVICE_MAX_FILE_NAME 228U -#define IEC104_FILE_SERVICE_MAX_DIRECTORY_NAME 218U -#define IEC104_FILE_SERVICE_BUSY_STEP_LIMIT 7U - -/* 功能位只控制业务受理;关闭功能后,已识别的激活仍按对应操作回失败结果。 */ -#define IEC104_FILE_SERVICE_FEATURE_DIRECTORY 0x01U -#define IEC104_FILE_SERVICE_FEATURE_READ 0x02U -#define IEC104_FILE_SERVICE_FEATURE_WRITE 0x04U -#define IEC104_FILE_SERVICE_FEATURE_ALL 0x07U - -typedef enum { - IEC104_FILE_SERVICE_SEGMENT_UNCHECKED = 0, /* 显式兼容:按到达顺序拼接,不能检测等长重复/乱序。 */ - IEC104_FILE_SERVICE_SEGMENT_OFFSET = 1 /* 默认:段号等于已收字节数,读路径始终使用小端偏移。 */ -} IEC104_FileServiceSegmentMode_t; - -typedef enum { - IEC104_FILE_SERVICE_WRITE_CONFIRM_FINAL = 0, /* 默认:末段或错误时确认。 */ - IEC104_FILE_SERVICE_WRITE_CONFIRM_EACH = 1 /* 每段确认;容量不足只允许丢非末段确认。 */ -} IEC104_FileServiceWriteConfirmMode_t; - -typedef enum { - IEC104_FILE_SERVICE_READ_CONFIRM_COUNT = 0, /* 默认只统计op6;非零结果不是细则定义的失败码。 */ - IEC104_FILE_SERVICE_READ_CONFIRM_STOP_NONZERO = 1, /* 仅数据阶段的匹配op6且结果非零时停发。 */ - IEC104_FILE_SERVICE_READ_CONFIRM_STOP_ANY = 2 /* 数据阶段的任意匹配op6均停发;须与主站约定。 */ -} IEC104_FileServiceReadConfirmMode_t; - -typedef enum { - IEC104_FILE_SERVICE_ID_ZERO = 0, /* 默认按预留字段发零。 */ - IEC104_FILE_SERVICE_ID_ECHO = 1 /* 显式兼容:目录和写确认回显请求ID,读文件仍为零。 */ -} IEC104_FileServiceIdMode_t; - -/* OPEN返回OK后模块才取得handle;释放责任由对应收尾回调承担。 - * CALL_NONE不是动作入口,仅用于标识list/read/write的借用请求。 */ -typedef enum { - IEC104_FILE_SERVICE_CALL_NONE = 0, /* list/read/write的请求。 */ - IEC104_FILE_SERVICE_CALL_OPEN_DIRECTORY, /* 固定目录清单;本轮成功后不再调用list。 */ - IEC104_FILE_SERVICE_CALL_CLOSE_DIRECTORY, /* 释放快照,之后不再list。 */ - IEC104_FILE_SERVICE_CALL_OPEN_READ, /* 固定文件内容,输出大小和可选确认回显名。 */ - IEC104_FILE_SERVICE_CALL_OPEN_WRITE, /* 校验应用权限与容量,只创建暂存资源。 */ - IEC104_FILE_SERVICE_CALL_COMMIT, /* 完整长度已通过,原身份READY后发布并释放暂存。 */ - IEC104_FILE_SERVICE_CALL_CLOSE_READ, /* 释放读锁或快照,之后不再read。 */ - IEC104_FILE_SERVICE_CALL_ABORT_WRITE /* 丢弃暂存;不能影响其他会话或已提交文件。 */ -} IEC104_FileServiceCall_t; - -/* 仅收尾请求使用reason;COMPLETE只表示末帧已交发送层,不证明主站收到。 */ -typedef enum { - IEC104_FILE_SERVICE_END_NONE = 0, - IEC104_FILE_SERVICE_END_COMPLETE, - IEC104_FILE_SERVICE_END_MASTER, /* 匹配op6按配置要求停止读数据。 */ - IEC104_FILE_SERVICE_END_SUPERSEDED, /* 已受理的新同类激活取代旧会话,满槽丢新不取代。 */ - IEC104_FILE_SERVICE_END_ERROR, /* 应用取值/写入或字段校验失败;不保证错误回复已交出。 */ - IEC104_FILE_SERVICE_END_TIMEOUT, /* 目录总期限、读写进度或COMMIT预留回复期限到期。 */ - IEC104_FILE_SERVICE_END_CANCELLED /* Cancel、生命周期失效或发送故障;未交COMMIT改为放弃。 */ -} IEC104_FileServiceEndReason_t; - -/* 回调期只读借用,逐次初始化,不得保存指针。 - * identity原样贯穿检查、发送和关闭;instance_id是模块编号,不能替代Slave实例编号。 - * station_id固定原注册身份,同CA重注册不继承旧文件句柄。清理沿用成功OPEN的来源。 - * name是不带NUL的字节串,模块不解析路径或权限;read/write与收尾不携带名称。 - * OA只用于回复和诊断,不能充当认证。升级目标绑定由应用按完整身份和独立token完成。 */ -typedef struct { - IEC104_SlaveEventIdentity_t identity; - uint64_t instance_id; - uint64_t receive_serial; /* 发起请求/会话的原I帧流水号;读写和收尾沿用激活帧,不是当前数据段N(S)。 */ - uint64_t station_id; - uint16_t common_address; - uint8_t originator_address; - IEC104_FileServiceCall_t call; - IEC104_FileServiceEndReason_t reason; - bool test; /* TEST目录/读照常只读;TEST写不调用任何应用回调。 */ - const uint8_t *name; - uint8_t name_length; /* 目录为0表示默认目录;文件激活必须非空。 */ - bool time_filter; /* 目录过滤由模块完成,list仍按原快照顺序枚举。 */ - IEC60870_CP56Time2a_t start_time, stop_time; /* 未启用过滤时清零。 */ - uint32_t file_id; /* 写为op7原ID,读为0;与线上ZERO/ECHO模式分开。 */ - uint32_t file_size; /* 写为激活声明大小;读会话为OPEN_READ成功输出的大小,目录为0。 */ - uintptr_t handle; /* 应用不透明句柄,0可以有效。 */ - uint32_t transferred; /* COMMIT/CLOSE_READ/ABORT_WRITE中的进度;read/write用独立offset,其他调用为0。 */ - uint64_t accepted_ms; /* 发起请求的Net单调毫秒,WAIT不会刷新。 */ -} IEC104_FileServiceRequest_t; - -/* list返回后即时复制名称;指针至少有效到复制完成,不能指向回调的局部栈数组。 */ -typedef struct { - const uint8_t *name; - uint8_t name_length; /* 1..218,不带结束符。 */ - uint8_t attribute; /* 预留属性,未约定时填0。 */ - uint32_t size; - IEC60870_CP56Time2a_t time; /* 必须可编码;过滤开启时IV项跳过,否则保留IV原意。 */ -} IEC104_FileServiceEntry_t; - -typedef enum { - IEC104_FILE_SERVICE_LIST_ERROR = -1, /* 放弃本轮未交出的条目,转固定错误末帧并关闭快照。 */ - IEC104_FILE_SERVICE_LIST_END = 0, /* 正常结束;index=0时表示存在的空目录。 */ - IEC104_FILE_SERVICE_LIST_ENTRY = 1, /* entry各字段有效;即使随后被过滤,也先做合法性检查。 */ - IEC104_FILE_SERVICE_LIST_NO_DIRECTORY = 2 /* 仅index=0有效,与存在但为空的目录区分。 */ -} IEC104_FileServiceListResult_t; - -/* OPEN_DIRECTORY固定清单后按index从0枚举,不能在index=0重建快照。 - * 先校验ENTRY再按时段过滤;发送WAIT会重取同一下标,名称/时间/大小/顺序须保持不变。 - * entry进入回调前清零;END/NO_DIRECTORY忽略其他输出,ENTRY名称由模块即时复制。 - * index=SIZE_MAX只能以END正常结束,ENTRY不能自增回绕;每轮调用数受list_scan_budget限制。 - * 预算边界可跨轮前瞻并重取待发页:index不保证单调增加,回调不能把枚举当成一次性消费。 - * 非空匹配结果的最后一帧仍含条目;空结果正常发送零项末帧,不虚构文件规避客户端限制。 */ -typedef IEC104_FileServiceListResult_t (*IEC104_FileServiceList_t)(void *context, - const IEC104_FileServiceRequest_t *request, size_t index, IEC104_FileServiceEntry_t *entry); - -/* OPEN_DIRECTORY/OPEN_READ/COMMIT只区分OK与失败;2、3仅用于写激活的细分结果。 - * 非法枚举按失败收尾并计invalid_callbacks,不能借未知返回值保留暂存或资源。 */ -typedef enum { - IEC104_FILE_SERVICE_RESULT_OK = 0, - IEC104_FILE_SERVICE_RESULT_FAILED = 1, - IEC104_FILE_SERVICE_RESULT_NAME_UNSUPPORTED = 2, /* 只用于OPEN_WRITE。 */ - IEC104_FILE_SERVICE_RESULT_SIZE_OUT_OF_RANGE = 3 /* 只用于OPEN_WRITE。 */ -} IEC104_FileServiceResult_t; - -/* 调用前清零。OPEN_DIRECTORY/OPEN_WRITE只使用handle,OPEN_READ另使用size及可选回显名。 */ -typedef struct { - uint32_t size; - uintptr_t handle; - const uint8_t *name; /* OPEN_READ为NULL时回显原名,否则必须至少有效到返回后的即时复制。 */ - uint8_t name_length; /* 非NULL名称为1..228;name为NULL时忽略。 */ -} IEC104_FileServiceOpen_t; - -/* 同步短时;两次Slave推进之间所有写回调累计耗时也须远小于主站t1-t2。 - * OPEN_*非OK须在返回前释放临时资源,不会收到收尾;成功OPEN恰好收尾一次。 - * 目录/读分别CLOSE_DIRECTORY/CLOSE_READ;写为COMMIT或ABORT_WRITE之一。 - * COMMIT是不可撤销发布边界:成功后回复丢失不再ABORT;失败须保持旧文件并释放暂存。 - * CLOSE/ABORT返回值忽略,open=NULL;COMMIT也以open=NULL调用。 - * COMMIT等待读空通知期间,新写激活可能先执行,只有一个暂存区时应用可拒绝该OPEN。 - * 回调仅允许Get_Status等只读跨模块查询,不能推进Slave或保存借用请求。 */ -typedef IEC104_FileServiceResult_t (*IEC104_FileServiceAction_t)(void *context, - const IEC104_FileServiceRequest_t *request, IEC104_FileServiceOpen_t *open); - -/* 读出恰好length字节;会话期间文件内容固定,WAIT后同offset须返回相同数据。 - * buffer由模块借出,仅本轮有效;空文件也会以length=0调用,不得要求一次读取必有数据。 - * false使本次读取进入固定空末段中止;后续重试不再read。IDLE尚未准入时不调用本回调。 */ -typedef bool (*IEC104_FileServiceRead_t)(void *context, const IEC104_FileServiceRequest_t *request, - uint32_t offset, uint8_t *buffer, uint16_t length); - -/* 只写暂存,offset为已经写入的字节数,length可为0,last表示无后续。 - * 模块已检查长度、校验码、ID及配置的偏移规则;同一受理段不会调用两次。 - * data只在本轮有效,返回前须已完成复制或暂存,不能保存该指针供后台读取。 - * false形成结果1并安排ABORT_WRITE,成功非空写才刷新进度期限。 */ -typedef bool (*IEC104_FileServiceWrite_t)(void *context, const IEC104_FileServiceRequest_t *request, - uint32_t offset, const uint8_t *data, uint16_t length, bool last); - -typedef struct { - IEC104_FileServiceList_t list; /* 启用DIRECTORY必需,未启用可为NULL。 */ - IEC104_FileServiceAction_t action; /* 任意功能都需要,含TEST与待清理阶段的入口校验。 */ - IEC104_FileServiceRead_t read; /* 启用READ必需,包含TEST读取。 */ - IEC104_FileServiceWrite_t write; /* 启用WRITE必需;TEST虽不调用,入口仍要求完整环境。 */ -} IEC104_FileServiceHandlers_t; - -/* Create按值复制且实例内冻结。所有期限单位ms;reply必须>0,其余0禁用。 - * 期限启用时now回退或elapsed>=timeout均到期,WAIT/重复段不重置期限。 */ -typedef struct { - uint8_t features; /* FEATURE_*非空组合,不接受未定义位。 */ - IEC104_FileServiceSegmentMode_t segment_mode; - IEC104_FileServiceWriteConfirmMode_t write_confirm_mode; - IEC104_FileServiceReadConfirmMode_t read_confirm_mode; - IEC104_FileServiceIdMode_t id_mode; - bool allow_short_directory_request; /* 默认false;仅允许召唤标志0完全省略14字节时标。 */ - uint8_t write_confirm_cause; /* 7或5。 */ - uint16_t read_segment_bytes; /* 1..228。 */ - uint16_t window_reserve; /* 非零;激活时须小于k和发送记录容量。 */ - uint16_t list_scan_budget; /* 1..65535,每轮list调用上限;过滤、前瞻和重建同样消耗预算。 */ - uint32_t directory_timeout_ms; /* OPEN_DIRECTORY成功至正常末帧交出,包含过滤和WAIT,不是逐帧期限。 */ - uint32_t reply_timeout_ms; /* 形成即计时,包含未执行COMMIT的实际预留回复槽。 */ - uint32_t execute_timeout_ms; /* 从受理计时;读FIFO仅队首检查,写激活槽独立检查。 */ - uint32_t read_idle_timeout_ms; /* op4或上一段交出至下一段的间隔;HIGH/NORMAL拥塞同样计入。 */ - uint32_t write_idle_timeout_ms; /* op8交出/最近成功非空write的较晚时刻起算。 */ -} IEC104_FileServiceConfig_t; - -typedef enum { - IEC104_FILE_SERVICE_EVENT_ERROR = -1, /* 参数/来源/重入或准备失败;不得继续当未知类型回44。 */ - IEC104_FILE_SERVICE_EVENT_IGNORED = 0, /* 本模块未接手,应用可继续分派给其他业务。 */ - IEC104_FILE_SERVICE_EVENT_HANDLED = 1, /* 含拒绝、丢新、faulted消费,不表示已回复。 */ - IEC104_FILE_SERVICE_EVENT_BUSY = 2 /* 仅op9;未受理且原事件不变,先执行再重试同一事件。 */ -} IEC104_FileServiceEventResult_t; - -typedef enum { - IEC104_FILE_SERVICE_EXECUTE_ERROR = -1, /* 入口错误或本轮回调前的新故障,可能已安排清理。 */ - IEC104_FILE_SERVICE_EXECUTE_EMPTY = 0, /* 当前无本入口可推进项;固定回复或暂缓COMMIT可能仍占槽。 */ - IEC104_FILE_SERVICE_EXECUTE_WAIT = 1, /* 纯等通知/容量;正常list/read可能已调用,候选帧未交出。 */ - IEC104_FILE_SERVICE_EXECUTE_OK = 2 /* 含消费残段、到期清理等无回调推进,不等于业务成功。 */ -} IEC104_FileServiceExecuteResult_t; - -/* 集中仲裁把文件召唤级10与传输级11分开推进;原Execute_Next等价于ALL。 - * 模式不等于发送许可:DATA仍检查op4已HANDED、窗口及当前等级;也不暂停CONTROL资源清理。 */ -typedef enum { - IEC104_FILE_SERVICE_EXECUTE_ALL = 0, - IEC104_FILE_SERVICE_EXECUTE_CONTROL = 1, /* 收尾、目录、OPEN、写入及COMMIT;不读取op5数据。 */ - IEC104_FILE_SERVICE_EXECUTE_DATA = 2 /* 仅已打开读会话的数据;仍检查期限/身份/确认交接。 */ -} IEC104_FileServiceExecuteMode_t; - -/* 计数自Create累计;Cancel/生命周期不清零,计数溢出不参与协议正确性。 - * 调度使用events_pending || execute_ready || need_process,不用execute_pending直接零等待。 - * 这是调用时刻的快照,不是执行许可;网络推进后须重新查询并重试之前的WAIT。 - * 回调期间可查询诊断,但execute_ready/need_process/timer_active被抑制,不能据此递归执行。 */ -typedef struct { - uint64_t generation; /* 由生命周期通知建立的当前代次,不是累计计数。 */ - /* active记录启停状态,faulted时即使active也不得执行业务。 - * execute_pending只表示有工作;execute_ready包括不等通知的写本地步骤和资源清理。 - * need_process用于可提交固定回复、期限及失效处理,发送WAIT后不要求空转。 */ - bool active, events_pending, execute_pending, execute_ready, need_process, timer_active; - /* active只反映当前打开资源;移入收尾记录后变false,仍须检查finish_pending。 */ - bool read_active, write_active, write_test; - bool segments_full; /* 当前数据环满;BUSY重试必须保留原事件,而不是构造新事件。 */ - bool idle_waiting; /* 上次读数据准入或提交WAIT,偏移未推进,网络唤醒后再取。 */ - bool finish_pending; /* 包含暂缓COMMIT;清理可在断线及faulted后交付。 */ - /* 目录等待CLOSE仍为active;CLOSE已交付而错误回复仍等待时,快照已不活跃。 - * faulted粘滞至销毁重建;原连接结束只解除Destroy前置条件,不自动恢复业务。 */ - bool directory_active, faulted; - bool commit_waiting; /* 已安排COMMIT且仍有未分派Slave通知;不阻塞本地写入/清理。 */ - bool reserve_invalid; /* 本代次reserve不满足发送容量;仅拒绝读文件激活,其他功能继续。 */ - uint32_t timeout_remaining_ms; /* 0同时可表示无计时;须结合timer_active。 */ - /* requests含读FIFO和写激活槽(含其待发回复);replies也含这些固定回复,不能简单相加。 - * segments只计数据环,独立资源/收尾不计入requests。 */ - unsigned pending_requests, pending_segments, pending_replies; /* replies含RESERVED_COMMIT。 */ - uint32_t read_offset, read_size, write_received, write_size; /* 当前打开会话的进度;收尾最终值由Request携带。 */ - /* accepted是协议入槽,不是文件生效;错误再遇满槽可同时计rejected和dropped_requests。 - * dropped_replies只统计EACH模式被驱逐/丢新的非末段确认,终结和COMMIT预留不可驱逐。 */ - unsigned long accepted, rejected, dropped_requests, dropped_replies, busy_returns, timeouts; - unsigned long directories, directory_frames, directory_failures; - unsigned long reads_opened, read_frames, reads_completed, reads_aborted, read_timeouts; - unsigned long read_confirms, read_confirm_nonzero; /* 匹配op6的计数;非零不自动解释为规范失败码。 */ - /* opened/written/committed为真实应用成功,不计TEST写模拟;failed/timeout仍覆盖协议模拟失败。 */ - unsigned long writes_opened, segments_written, writes_committed, writes_failed, write_timeouts; - unsigned long commits_cancelled, stray_segments; - /* submitted仅代表发送层接手。negative同时识别P/N和操作结果码,COT5失败也可能计入。 - * waits/idle_waits按每次实际等待累计;finishes只在应用收尾交付时累计。 */ - unsigned long submitted, negative_submitted, waits, idle_waits, cancelled, finishes; - unsigned long directory_timeouts, reply_timeouts, invalid_callbacks, send_errors, close_errors; - unsigned long serial_exhausted, faulted_dropped; -} IEC104_FileServiceStatus_t; - -/** - * 功能:全功能、OFFSET/FINAL/COUNT/ZERO,op10原因7,段228,reserve2,list预算64; - * 输入参数:config——配置。 - * 输出参数:config——配置的更新结果。 - * 返回值:无。 - * 说明:directory/reply/execute/read/write期限为60000/15000/15000/60000/60000ms。NULL无操作。 - */ -void IEC104_FileService_Config_Default(IEC104_FileServiceConfig_t *config); -/** - * 功能:早于消费首条Slave通知;允许Init前创建。非法配置、重复绑定、池满或编号耗尽返回NULL。 - * 输入参数:slave——所属从站服务。 - * config——配置。 - * 输出参数:无。 - * 返回值:按处理分支返回NULL、slot。 - * 说明:固定104头COT/CA/IOA=2/2/3。实现容量宏默认TCP容量/请求2/段2/确认2,确认至少2,其他至少1。 - * 成功后持有Slave借用,调用者须让Slave活到模块Destroy;配置被复制,不保存config指针。 - * window_reserve与实际k/记录槽的关系在ACTIVATED时检查,不在未初始化Slave上猜测容量。 - */ -IEC104_FileService_t *IEC104_FileService_Create(IEC104_Slave_t *slave, - const IEC104_FileServiceConfig_t *config); -/** - * 功能:不隐式取消;请求/数据/回复/资源/待收尾未清空或回调中均失败,不归还池槽。 - * 输入参数:self——本模块实例。 - * 输出参数:self——本模块实例的更新结果。 - * 返回值:self->write_finish[i].occupied时返回false;self->confirms[i].occupied时返回false;!self->fault_ended时返回false;其余分支返回false、true。 - * 说明:faulted且关闭失败时,还须证实原连接已终结,不能用Destroy/Create绕过故障边界。 - * true之后旧句柄失效;函数不销毁Slave,也不替应用释放文件存储。 - */ -bool IEC104_FileService_Destroy(IEC104_FileService_t *self); -/** - * 功能:清全部队列;未交COMMIT改ABORT,清理保留原身份/handle/站点引用到交付。 - * 输入参数:self——本模块实例。 - * 输出参数:self——本模块实例的更新结果。 - * 返回值:无。 - * 说明:健康连接对最高未提交写会话留一次无声结束标记;已COMMIT不改判失败。 - * 不撤回已交出帧、不回滚已提交文件;无效句柄/回调重入无操作。 - * 本调用不执行清理回调、不停用健康模块;返回后须继续Execute_Next归还成功OPEN的资源。 - */ -void IEC104_FileService_Cancel(IEC104_FileService_t *self); -/** - * 功能:按Slave FIFO分派;生命周期广播其他模块,HANDLED/ERROR的I帧不得再落44。 - * 输入参数:self——本模块实例。 - * event——事件。 - * 输出参数:self——本模块实例的更新结果。 - * 返回值:返回IEC104_FileServiceEventResult_t结果;本函数显式处理IEC104_FILE_SERVICE_EVENT_ERROR、IEC104_FILE_SERVICE_EVENT_IGNORED、IEC104_FILE_SERVICE_EVENT_HANDLED、IEC104_FILE_SERVICE_TASK_CAPACITY、IEC104_FILE_SERVICE_EVENT_BUSY,其余结果由下层调用传回。 - * 说明:BUSY时保留同一event,最多BUSY_STEP_LIMIT次Execute_Next解除正常背压,不读后续通知。 - * 返回HANDLED包含满请求槽丢新;只有实际保存的新激活才取代旧会话。 - * 参数校验和必要字节复制均在本次完成,受理后不保存event或ASDU视图的借用指针。 - */ -IEC104_FileServiceEventResult_t IEC104_FileService_Handle_Event(IEC104_FileService_t *self, - const IEC104_SlaveEvent_t *event); -/** - * 功能:有界检查期限及按形成序号提交HIGH回复,不调用应用。网络推进后即使need_process=false也重试。 - * 输入参数:self——本模块实例。 - * 输出参数:self——本模块实例的更新结果。 - * 返回值:每轮即使need_process=false也可调用以重试WAIT。 - * true表示本轮正常结束,不表示队列已空。 - * 说明:false表示入口/查询/发送/关闭故障或已faulted,不表示此前COMMIT失败。 - * true可仍有WAIT、未执行请求或待清理资源;队列是否为空应从Get_Status分别判断。 - */ -bool IEC104_FileService_Process(IEC104_FileService_t *self); -/** - * 功能:优先清理,再写激活/写段,再FIFO队首,再IDLE读段;暂缓COMMIT不阻挡本地步骤。 - * 输入参数:self——本模块实例。 - * handlers——回调集合。 - * context——调用方上下文。 - * 输出参数:self——本模块实例的更新结果。 - * 返回值:回调借用及返回语义沿用模式入口。 - * 说明:每轮至多一次action/read/write或list_scan_budget次list,OPEN_DIRECTORY本轮不再list。 - * 本轮回调后新故障返回OK并安排清理;纯list/read组帧WAIT可返回WAIT且允许重取。 - * 在途任务至最终收尾须保持同一函数集合/context,结构体本身只在调用期借用。 - * 已启用功能缺少任一对应回调时,清理及TEST也不执行;返回ERROR,修正调用环境后再推进。 - * 入口先处理旧期限;调用者直接执行而未先Process,也不能让迟到数据段刷新过期会话。 - */ -IEC104_FileServiceExecuteResult_t IEC104_FileService_Execute_Next(IEC104_FileService_t *self, - const IEC104_FileServiceHandlers_t *handlers, void *context); -/** - * 功能:DATA不会代替CONTROL交付CLOSE/ABORT/COMMIT;所属事件循环必须继续推进CONTROL以归还资源。 - * 输入参数:self——本模块实例。 - * handlers——回调集合。 - * context——调用方上下文。 - * mode——处理模式。 - * 输出参数:self——本模块实例的更新结果。 - * 返回值:未调用回调的超时推进也返回OK。 - * 说明:CONTROL的OPEN可仅建立快照,需继续有界推进才能形成目录应答;预算耗尽且仍本地就绪时, - * 应用须登记待准备的级10,避免尚未组帧的目录候选被后续级11/12遗漏。 - * op4提交OK即开始读间隔计时;等待其HANDED仍消耗原期限,不以DATA调度或确认ACK重新起算。 - */ -IEC104_FileServiceExecuteResult_t IEC104_FileService_Execute_Next_Mode(IEC104_FileService_t *self, - const IEC104_FileServiceHandlers_t *handlers, void *context, IEC104_FileServiceExecuteMode_t mode); -/** - * 功能:只读且回调内允许,失败不修改输出;回调内抑制递归推进提示。 - * 输入参数:self——本模块实例。 - * status——状态快照。 - * 输出参数:status——全部查询成功后写回快照,失败保持原值。 - * 返回值:!Owned(self) || status == NULL || FS_STATUS(self->slave, &transport, NULL) != IEC104_TCP_OK时返回false;其余分支返回false、true。 - * 说明:查询Slave状态失败只报告false,本入口不关闭连接、不触发应用清理、不改变faulted。 - */ -bool IEC104_FileService_Get_Status(const IEC104_FileService_t *self, - IEC104_FileServiceStatus_t *status); - -#ifdef __cplusplus -} -#endif - -#endif /* IEC104_FILE_SERVICE_H */ diff --git a/App/protocol/iec60870/104/business/IEC104_SoftwareUpgrade.h b/App/protocol/iec60870/104/business/IEC104_SoftwareUpgrade.h deleted file mode 100644 index bff80f8b..00000000 --- a/App/protocol/iec60870/104/business/IEC104_SoftwareUpgrade.h +++ /dev/null @@ -1,210 +0,0 @@ -/* - * 国网扩展 Type211 软件升级:命令校验、单会话和经 ACK 确认的重启授权。 - * 升级包经 Type210 文件服务到达;文件存储、校验、设备独占和实际激活由应用负责。 - * 本模块与 Slave 在同一串行上下文推进,仅 Execute_Next 同步调用应用动作。 - * 接入流程、互操作配置和应用所有权约定见 docs/104/IEC104_SoftwareUpgrade_设计架构.md。 - */ -#ifndef IEC104_SOFTWAREUPGRADE_H -#define IEC104_SOFTWAREUPGRADE_H - -#include "IEC104_Slave.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct IEC104_SoftwareUpgrade IEC104_SoftwareUpgrade_t; -/* 211 是本模块的国网扩展类型,不复用公共层标准 Type121 的 F_SR_NA_1 名称。 */ -#define IEC104_SOFTWARE_UPGRADE_TYPE_ID 211U -/* CTYPE 高位区分启动/结束;低七位未定义,动作与确认均保留请求原值。 */ -#define IEC104_SOFTWARE_UPGRADE_CTYPE_SE 0x80U - -typedef enum { - IEC104_SOFTWARE_UPGRADE_OP_START = 1, /* COT6、S/E1:准备候选并取得应用设备所有权。 */ - IEC104_SOFTWARE_UPGRADE_OP_END, /* COT6、S/E0:验收并冻结候选;此处不得重启。 */ - IEC104_SOFTWARE_UPGRADE_OP_CANCEL, /* COT8、S/E0:使候选失效,接受即结束会话。 */ - IEC104_SOFTWARE_UPGRADE_OP_ABANDON /* 非命令收尾通知,不发送确认,动作返回值忽略。 */ -} IEC104_SoftwareUpgradeOperation_t; - -typedef enum { - IEC104_SOFTWARE_UPGRADE_ABANDON_NONE = 0, /* 普通动作的默认值。 */ - IEC104_SOFTWARE_UPGRADE_ABANDON_SUPERSEDED, /* 同归属的新 START 取代旧 OPEN 会话。 */ - IEC104_SOFTWARE_UPGRADE_ABANDON_SESSION_TIMEOUT, /* OPEN 会话期限到期。 */ - IEC104_SOFTWARE_UPGRADE_ABANDON_ACK_TIMEOUT, /* END 肯定确认提交或获 ACK 超期。 */ - IEC104_SOFTWARE_UPGRADE_ABANDON_ACK_LOST, /* 策略允许观察的时段结束,尚未获 ACK。 */ - IEC104_SOFTWARE_UPGRADE_ABANDON_CANCELLED /* 生命周期/故障清理,或应用显式 Cancel。 */ -} IEC104_SoftwareUpgradeAbandonReason_t; - -typedef enum { - IEC104_SOFTWARE_UPGRADE_RESTART_ACKED = 0, /* 默认:期限内 ACK,包含首次 STOP 后排空期。 */ - IEC104_SOFTWARE_UPGRADE_RESTART_ACTIVE_ACKED = 1 /* 仅认首次 STOP 或断开前的 ACK,与 105 QRP1 相同。 */ -} IEC104_SoftwareUpgradeRestartPolicy_t; - -typedef enum { - IEC104_SOFTWARE_UPGRADE_SESSION_NONE = 0, /* 无真实会话;仍可能欠 ABANDON 应用收尾。 */ - IEC104_SOFTWARE_UPGRADE_SESSION_OPEN, /* START 已接受,允许写候选、END 或 CANCEL。 */ - IEC104_SOFTWARE_UPGRADE_SESSION_WAIT_ACK, /* END 已接受;肯定确认待提交或等待 ACK。 */ - IEC104_SOFTWARE_UPGRADE_SESSION_RESTART_READY /* 授权已确定,跨连接保留到领取或 Cancel。 */ -} IEC104_SoftwareUpgradeSessionState_t; - -/* 只读值副本;回调只能在返回前借用此指针,Take_Restart 则按值写出 END 请求。 - * ABANDON 的原请求字段取被接受的 START,仅 operation/reason 改为通知, - * session_serial/session_started_ms 使用接受后的会话值,不混用触发清理的请求。 */ -typedef struct { - IEC104_SlaveEventIdentity_t identity; /* 原 Slave 句柄、实例编号及连接代次,整体比较。 */ - uint64_t receive_serial, station_id, session_serial; /* 原 I 帧流水号、站点注册编号、升级会话序号。 */ - uint16_t common_address; /* 与完整 identity、station_id 一起确定会话归属。 */ - uint8_t originator_address, ctype; /* 原 OA 和完整 CTYPE;OA 不参与会话键。 */ - uint32_t ioa; /* 原三字节 IOA,默认不限制其值。 */ - IEC104_SoftwareUpgradeOperation_t operation; - IEC104_SoftwareUpgradeAbandonReason_t reason; /* 仅 ABANDON 有收尾原因。 */ - uint64_t accepted_ms, session_started_ms; /* 请求入槽、START 接受时刻;START 动作内后者为 0。 */ -} IEC104_SoftwareUpgradeRequest_t; - -/* 未列出的动作返回值也按 REJECT 处理;START 拒绝不消耗会话序号。 */ -typedef enum { - IEC104_SOFTWARE_UPGRADE_DECISION_REJECT = 0, - IEC104_SOFTWARE_UPGRADE_DECISION_ACCEPT = 1 -} IEC104_SoftwareUpgradeDecision_t; - -/* 同步短时动作,REJECT 必须没有副作用;END 验收并冻结候选,但不得重启。 - * ABANDON 使候选失去激活资格;旧文件/验证引用须由应用安全收尾,不能提前释放仍会使用的存储。 - * 从请求入槽到会话结局交付,action/context 身份必须稳定;仍被应用异步工作引用时继续延寿。 - * 回调内可 Get_Status 或只读查询站点;不得推进 Slave,也不得重入本模块修改入口。 */ -typedef IEC104_SoftwareUpgradeDecision_t (*IEC104_SoftwareUpgradeAction_t)(void *context, - const IEC104_SoftwareUpgradeRequest_t *request); - -typedef struct { - IEC104_SoftwareUpgradeRestartPolicy_t restart_policy; /* 只支持上述两种 ACK 策略。 */ - /* 分别为 END 确认置 S/E1、要求 IOA0、额外接受 VSQ1;默认均 false。 */ - bool end_confirm_se_one, check_ioa, accept_vsq_one; - /* 分别从请求入槽、普通回复首次到队首、START 接受、END 动作调用前开始计时。 */ - uint32_t execute_timeout_ms, reply_timeout_ms, session_timeout_ms, restart_ack_timeout_ms; -} IEC104_SoftwareUpgradeConfig_t; - -typedef enum { - IEC104_SOFTWARE_UPGRADE_EVENT_ERROR = -1, /* 参数/归属/重入/内部失败,不能再按未知类型回 44。 */ - IEC104_SOFTWARE_UPGRADE_EVENT_IGNORED = 0, /* 未接手该事件,由应用继续分派。 */ - IEC104_SOFTWARE_UPGRADE_EVENT_HANDLED = 1 /* 已接手,含拒绝/丢新/生命周期;不代表确认已提交。 */ -} IEC104_SoftwareUpgradeEventResult_t; - -typedef enum { - IEC104_SOFTWARE_UPGRADE_EXECUTE_ERROR = -1, /* 参数/重入/查询失败,本次未调用动作。 */ - IEC104_SOFTWARE_UPGRADE_EXECUTE_EMPTY = 0, /* 无可执行队首;待发确认交由 Process 推进。 */ - IEC104_SOFTWARE_UPGRADE_EXECUTE_WAIT = 1, /* 待执行队首保留,先读空并分派 Slave 通知。 */ - IEC104_SOFTWARE_UPGRADE_EXECUTE_OK = 2 /* 执行一个任务或交付 ABANDON,不代表确认已提交。 */ -} IEC104_SoftwareUpgradeExecuteResult_t; - -/* 只读调度快照;计数从 Create 累计,Cancel/连接启停均不清零。 - * execute_pending 表示 FIFO 任意位置有待执行请求或欠 ABANDON;execute_ready 才表示可立即推进。 - * need_process 不因单纯等 ACK/发送 WAIT 而置位,应用仍须每轮调用 Process。 - * faulted 粘滞至 Destroy/Create,停止普通业务计时,只允许清理及既有授权处置。 */ -typedef struct { - uint64_t generation; - bool active, events_pending, execute_pending, execute_ready, need_process, timer_active; - IEC104_SoftwareUpgradeSessionState_t session_state; /* 真实会话;session_active 仅含 OPEN/WAIT_ACK。 */ - bool session_active, session_test, ack_pending, restart_ready, abandon_pending, faulted; - /* 真实会话为 NONE 时清零;应用设备 owner 可能仍由 ABANDON/文件收尾/激活任务持有。 */ - IEC104_SlaveEventIdentity_t session_identity; - uint16_t session_common_address; - uint64_t session_station_id, session_serial; - uint32_t timeout_remaining_ms; /* 各启用期限的最早剩余值;为 0 时须结合 timer_active 判是否到期。 */ - unsigned pending_requests; /* 占用任务槽数,含待执行和待提交确认。 */ - unsigned long accepted, rejected, dropped_requests, timeouts; - unsigned long starts, ends_accepted, ends_rejected, cancels, abandons; - unsigned long session_timeouts, ack_timeouts, acks_lost, ack_errors, restarts_released; - unsigned long submitted, negative_submitted, waits, cancelled; - unsigned long reply_timeouts, send_errors, close_errors, faulted_dropped; -} IEC104_SoftwareUpgradeStatus_t; - -/** - * 功能:默认 ACKED、S/E 镜像、IOA 不检查、仅 VSQ0;执行/普通回复各 15s、会话不限、ACK 30s。 - * 输入参数:config——配置。 - * 输出参数:config——配置的更新结果。 - * 返回值:无。 - * 说明:任一期限为 0 仅禁用该业务计时,不取消链路期限或 ACK 要求;config 为 NULL 无操作。 - */ -void IEC104_SoftwareUpgrade_Config_Default(IEC104_SoftwareUpgradeConfig_t *config); -/** - * 功能:每 Slave 至多一个实例,按值复制 config;可在 Slave_Init 前创建,但须早于首条通知消费。 - * 输入参数:slave——所属从站服务。 - * config——配置。 - * 输出参数:无。 - * 返回值: 参数非法、池满或实例编号耗尽返回NULL; - * 说明:无效 slave/config、策略越界、重复绑定、池满或实例编号耗尽返回 NULL,不占用池槽。 - */ -IEC104_SoftwareUpgrade_t *IEC104_SoftwareUpgrade_Create(IEC104_Slave_t *slave, - const IEC104_SoftwareUpgradeConfig_t *config); -/** - * 功能:不隐式 Cancel;仍有任务、真实/TEST 会话、ACK、ABANDON、未领取授权或在回调内均失败。 - * 输入参数:self——本模块实例。 - * 输出参数:self——本模块实例的更新结果。 - * 返回值:回调内或仍有未完成责任时返回false。 - * 说明:不隐式取消工作;回调内或仍有未完成责任时返回false。 - */ -bool IEC104_SoftwareUpgrade_Destroy(IEC104_SoftwareUpgrade_t *self); -/** - * 功能:必须在 Slave_Close 前调用:清任务/TEST、释放观察,并放弃真实工作(含未领取 READY)。 - * 输入参数:self——本模块实例。 - * 输出参数:self——本模块实例的更新结果。 - * 返回值:无。 - * 说明:真实会话站点引用留到随后 Execute_Next 交付 ABANDON;不撤回已提交确认、不解除 faulted。 - */ -void IEC104_SoftwareUpgrade_Cancel(IEC104_SoftwareUpgrade_t *self); -/** - * 功能:按 Slave FIFO 次序传入全部生命周期通知及候选 I 帧,不调用动作。 - * 输入参数:self——本模块实例。 - * event——事件。 - * 输出参数:self——本模块实例的更新结果。 - * 返回值:旧代次通知忽略,身份或重入错误返回ERROR。 - * 说明:faulted 消费可识别的 211,防止落入未知类型兜底;其他模块仍须接收生命周期通知。 - */ -IEC104_SoftwareUpgradeEventResult_t IEC104_SoftwareUpgrade_Handle_Event(IEC104_SoftwareUpgrade_t *self, - const IEC104_SlaveEvent_t *event); -/** - * 功能:每轮都调用,即使 need_process 为 false;有界推进确认、期限和 ACK,不调用应用动作。 - * 输入参数:self——本模块实例。 - * 输出参数:self——本模块实例的更新结果。 - * 返回值:false表示实例/查询/发送故障,true不承诺已有工作完成。 - * 说明:发送/查询/关闭故障置 faulted 并返回 false,应用须有序收尾,不能忙循环重试。 - */ -bool IEC104_SoftwareUpgrade_Process(IEC104_SoftwareUpgrade_t *self); -/** - * 功能:先交付 ABANDON,否则只处理队首,至多调用一次 action;action/context 不保存。 - * 输入参数:self——本模块实例。 - * action——动作回调。 - * context——调用方上下文。 - * 输出参数:self——本模块实例的更新结果。 - * 返回值: 通知阻塞有待执行队首时返回WAIT,无工作返回EMPTY; - * 动作完成后返回OK,即使随后的确认提交失败也不能据此重做动作; - * 说明:动作后的提交故障仍返回 OK,通过状态/Process 报告,调用者不得重做已发生的动作。 - */ -IEC104_SoftwareUpgradeExecuteResult_t IEC104_SoftwareUpgrade_Execute_Next(IEC104_SoftwareUpgrade_t *self, - IEC104_SoftwareUpgradeAction_t action, void *context); -/** - * 功能:已确定授权用原 END 身份检查:READY/STALE 可且仅可领取一次,WAIT_EVENTS/ERROR 保留授权。 - * 输入参数:self——本模块实例。 - * request——请求。 - * 输出参数:self——本模块实例的更新结果。 - * request——请求的更新结果。 - * 返回值:存在满足确认条件且可领取的重启授权时返回true并交付;身份、状态、通知或观察条件不满足时返回false。 - * 说明:false 不改输出;本函数不执行/排空任务 FIFO。应用在 END 接受前预留激活任务,领取前固定候选, - * 成功同轮进入设备 QUIESCING,取消尚未执行的请求并停止新业务,候选所有权交给应用激活任务。 - */ -bool IEC104_SoftwareUpgrade_Take_Restart(IEC104_SoftwareUpgrade_t *self, - IEC104_SoftwareUpgradeRequest_t *request); -/** - * 功能:允许在动作内查询;会话/ACK 查询失败返回 false 且输出不变,不得继续用旧快照调度。 - * 输入参数:self——本模块实例。 - * status——状态快照。 - * 输出参数:status——全部查询成功后写回快照,失败保持原值。 - * 返回值:查询错误返回false且输出不变。 - * 说明:不推进ACK裁决或调用清理,回调内压住推进提示;查询错误返回false且输出不变。 - */ -bool IEC104_SoftwareUpgrade_Get_Status(const IEC104_SoftwareUpgrade_t *self, - IEC104_SoftwareUpgradeStatus_t *status); - -#ifdef __cplusplus -} -#endif -#endif /* IEC104_SOFTWAREUPGRADE_H */ diff --git a/App/protocol/iec60870/104/business/README.md b/App/protocol/iec60870/104/business/README.md deleted file mode 100644 index 91af909f..00000000 --- a/App/protocol/iec60870/104/business/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Business import - -Byte-preserved subset of `IEC60870-Slave/104/business` at baseline f84855a5. -Application data providers remain outside these protocol state machines. -File/history/recording/firmware-update implementations are not imported. diff --git a/App/protocol/iec60870/IMPORT.md b/App/protocol/iec60870/IMPORT.md deleted file mode 100644 index 4ae7d4bf..00000000 --- a/App/protocol/iec60870/IMPORT.md +++ /dev/null @@ -1,124 +0,0 @@ -# IEC60870-Slave product subset - -Source: repository `IEC60870-Slave/` at baseline `f84855a5`. - -The source directory is retained as the independent validation baseline. Only -this product subset is to be compiled into the replacement product target. -No example main is included. Copying is byte-preserving; source hashes are -recorded in the directory manifests before local compatibility edits. - -## Verification status - -| Check | Status | -| --- | --- | -| Original byte provenance | `UPSTREAM.sha256`; independent final 84-file check passed, seventeen locally differing files: twelve reviewed patches and five trailing-blank-line-only. The command-table patch spans two files in one directory (`IEC104_Command.h` and `.c`) and both are counted. The SOE-128 change touches `IEC104_TcpServer_Config.h` and `IEC104_AsduQueue.h` (capacity) plus `IEC104_TcpServer.c` (assert message text), with three comment-only corrections in `IEC104_Slave.h`, `IEC104_TcpServer.h`, `IEC104_Spontaneous.h` (stale "256" SOE wording fixed to 128, quantifiers only, semantics untouched; Lead decision 2026-11-18). | -| C99 assertions | 43 original invocations remain; every assertion condition unchanged (one message text tracks the SOE capacity macro); independent AC5 true passes / false fails, invalid capacities including SOE128 rejected | -| Final compiler diagnostics | Independent AC5 default/compact: 62 translation-unit compilations, RC0 and zero diagnostics; simulator and runtime tests tracked separately | -| Static memory / runtime integration | Separate build-verifier and integration task evidence; no board runtime claim | -| License | No license grant confirmed; redistribution not authorized by this import | - -Required scope: APCI transport, GI/CI, spontaneous/periodic measurements, -commands, clock synchronization, read, standard parameters and Type200-203. -History, recording, file storage and firmware-upgrade backends are not imported; -product integrations must reuse existing subsystems. -Organizational source import is not a rename; baseline paths remain unchanged. -Local edits use the Edit tool only. - -## Local patches - -- Added `common/IEC60870_StaticAssert.h`, included by shared Types and the - standalone Net header. In pre-C11 C, each existing assertion expands to a - line-unique typedef with array bound `(condition) ? 1 : -1`; false assertions - are compile errors. C11 targets retain native assertions. All 43 assertion - invocations remain, and every assertion CONDITION is unchanged. The only - message text that differs is the SOE guard's event count, which tracks the - capacity macro this product sets to 128 (see below); on C99 the message is - discarded by the shim, so no assertion semantics move with it. -- `104/IEC104_TcpServer.c`: two explicit `IEC104_TcpEventType_t` casts when - expanding the byte-sized ring header into event validation helpers; no - condition, capacity, storage layout or runtime behavior is changed. -- `104/IEC104_SendManager.c` and `104/business/IEC104_Spontaneous.c`: - convert nonnegative enum range checks to unsigned upper-bound comparisons. - Invalid negative values still convert above the valid range and are rejected; - AC5 no longer diagnoses pointless unsigned comparisons against zero. -- `104/business/IEC104_Command.h` + `104/business/IEC104_Command.c`: mask each - TYPE_BIT shift count with 15, and remove the per-point `common_address`. - Selected valid branches already use shifts 0..13; range guards still return - zero for unsupported types. This avoids MSVC diagnostics about unsigned - underflow in unselected conditional branches, not a proven executed runtime UB. - The point table now sorts by IOA only; the instance binds its station CA on the - first accepted request and `Find_Point` rejects any other CA before searching, - so a CA mismatch still takes the unchanged unknown-IOA path. Point entry size - drops from 12 to 8 bytes on ARM Compiler 5, letting the application hold the - table in const Flash instead of static RAM. No capacity, SOE, ordering or - acceptance semantics change; see `ci-artifacts/iec104-mcu-skeleton/core-trim/` - for the element-wise and lookup equivalence probes. -- Added `common/IEC60870_FaultEvent.c` as an exact-copy link dependency of - `IEC104_Spontaneous_Publish_Fault_Event`, with Lead authorization. -- `UPSTREAM.sha256`: 84 original byte hashes (29 implementations, 54 directory - headers and the declarative profile header). Paths are relative to this - directory and to `IEC60870-Slave/`; hashes describe upstream bytes, not the - twelve locally differing files. The compatibility header is new and not upstream. -- Trailing blank lines: five files (`common/IEC60870_Codec.c`, - `common/IEC60870_InformationObjects.c`, `common/IEC60870_InformationObjects.h`, - `common/IEC60870_InformationObjects_Internal.h`, - `examples/iec104_dtu_profile.h`) differ from upstream by exactly one - end-of-file blank line, removed by the repository's `end-of-file-fixer` - pre-commit hook (it does not exempt this tree). Content normalized for that - single line is byte-identical to upstream, and `verify_vendor.py` asserts as - much: its `BLANK` class may only list such files, and a semantic edit carried - into one of them fails the check instead of hiding behind the class. -- SOE capacity: this product sets `IEC104_TCP_SOE_CAPACITY` and - `IEC104_ASDU_SOE_MAX_CAPACITY` to `128U` (upstream `256U`) to fit the RAM - budget, and the guard message text follows the new count. IEC 60870-5-101/104 - does not specify SOE depth; the only numeric lower bound in play is the - Swedish Svk TR02-04-04 §7.4.1 guidance of 100 entries, so 128 stays compliant. - The assertion CONDITION (`SOE_CAPACITY == ASDU_SOE_MAX_CAPACITY`) is untouched, - so the invariant it guards still holds. - -## Capacity override surface (skeleton profile) - -Eleven per-module capacity macros are already wrapped in `#ifndef`, so a build may -override them with `-D` **without editing any source file**. This is what keeps the -MCU skeleton profile small while the simulator keeps every business module enabled. -`verify_vendor.py` compiles both the default and compact configurations and would -catch an undefined-macro regression, but note that no `-D` is baked into any source. - -| Macro | Default | File | -| --- | --- | --- | -| `IEC104_INTERROGATION_TASK_CAPACITY` | `4U` | `104/business/IEC104_Interrogation.c` | -| `IEC104_INTERROGATION_EVENT_CAPACITY` | `4U` | `104/business/IEC104_Interrogation.c` | -| `IEC104_SYSTEM_COMMAND_TASK_CAPACITY` | `4U` | `104/business/IEC104_SystemCommand.c` | -| `IEC104_SYSTEM_COMMAND_RESET_CAPACITY` | `4U` | `104/business/IEC104_SystemCommand.c` | -| `IEC104_PERIODIC_SCAN_GROUP_CAPACITY` | `4U` | `104/business/IEC104_PeriodicScan.c` | -| `IEC104_PARAMETER_TASK_CAPACITY` | `4U` | `104/business/IEC104_Parameter.c` | -| `IEC104_REMOTE_PARAMETER_TASK_CAPACITY` | `2U` | `104/business/IEC104_RemoteParameter.c` | -| `IEC104_CLOCK_SYNCHRONIZATION_TASK_CAPACITY` | `4U` | `104/business/IEC104_ClockSynchronization.c` | -| `IEC104_READ_TASK_CAPACITY` | `4U` | `104/business/IEC104_Read.c` | -| `IEC104_COMMAND_REPLY_CAPACITY` | `4U` | `104/business/IEC104_Command.c` | -| `IEC104_SPONTANEOUS_CAPACITY` | `IEC104_TCP_SERVER_CAPACITY` | `104/business/IEC104_Spontaneous.c` | - -`IEC104_SPONTANEOUS_CAPACITY` is overrideable but yields no RAM saving (its pool -element is callbacks/state, not a capacity-sized array), so the skeleton profile -leaves it at its default. The 92% gate is unaffected: these macros size single -instance work queues inside a business module, not the TCP server pool, SOE=128, -k/w windows or concurrency semantics. -- Independent hash/diff and AC5 true/false assertion verification is performed - by build-verifier; product integration and simulator build have separate owners. - -## License - -No license grant has been inferred. The baseline license must be checked before -redistribution outside this authorized project integration. - -## Layout - -- `common`: shared ASDU, information-object codecs and time representation. -- `104`: mature transport and business state machines. -- `examples`: DTU declarative point-profile header only, never an example main. - -The board network backend is a later integration task; importing this subset -does not by itself remove dependencies of the current board service. - -Resource capacities must be measured before adjustment. No assertions, quality -gates, stack limits or compiler diagnostics are disabled by this import. diff --git a/App/protocol/iec60870/UPSTREAM.sha256 b/App/protocol/iec60870/UPSTREAM.sha256 deleted file mode 100644 index 92f76aee..00000000 --- a/App/protocol/iec60870/UPSTREAM.sha256 +++ /dev/null @@ -1,84 +0,0 @@ -327031ef8dc8939f5ed61a182caf66d7204d30f8022a4b9541db063187a477ea common/IEC60870_FaultEvent.c -3233d4c114de769dcf0572bad9be9fb962e0ac9da085dc294f33eb97327ff4aa common/IEC60870_Asdu.c -0410b30a3b67301af145f8a2337f80dae9ac6c15a39ae3d0ecd82b22de085b55 common/IEC60870_Codec.c -5a068619e313f4c40f2e054e7a1ef5199bb8e38871c8294e6de901ec9ef10e95 common/IEC60870_InformationObjects.c -74742af727ce571c137aa3eff49c427e4e9788f4ca55a5a75689329874c33029 common/IEC60870_Slave.c -7e647faf1411068768a1763782eb11a9386605194e91cec42f30349fd2cf0637 common/IEC60870_Time.c -6ea101c4cc867cd54e7d58484b1ce22e54e2a51ed14c8b181864304162a06f3f 104/IEC104_AsduQueue.c -cbcbc548ee1eacdd52ff473220924d0a4e87d01278da139e2295a16eca28988b 104/IEC104_Codec.c -c6b8b017f246e3c69e43d52810b2214b4047ee065de37a20c411471642c6611a 104/IEC104_Connection.c -f1fd5e378b573c28bdbf633435b812148d18246fbf9c727d09af113e0075ecb4 104/IEC104_Link.c -ba0f92161655fcf0d89526d9ca0235294f3808629281528552e797530ad4860b 104/IEC104_Link_Slave_StartStop.c -6fdbac76e7578453875ecfd2067d17cd62b32b75cf45c022521b6fb6bcd7b331 104/IEC104_Receiver.c -2b1e46491cf0b60ecbb102e6eaacf98b8650e6e27bba2ef9ba09a811b18a8773 104/IEC104_SendBuffer.c -c50de5654fa1a9ae002302b3bba46b0766ac0d6effd1c42bc2c3e77b4f258ddc 104/IEC104_SendManager.c -d6e14ec7c5b2c9f2a3f1eed1af3d2ed65bff8acdd58682769b8d0bccb0f06d52 104/IEC104_Slave.c -4f0cd643272aee21b62a0753f17ae0deda41eeacc4649efe23141faadad8fa21 104/IEC104_TcpServer.c -67a6633d7cb60eb4ef7a2917145d76f1d5912230a37977f43cf2dc963c65ef6e 104/IEC104_Net_Windows.c -94f10165db4c1910d3111c1b99d59f1f7eeb9bcf5d9020fc67a4604d4fea5bba 104/business/IEC104_GeneralInterrogation.c -b301157bc2d36def848d660c02c54dc5757061fd989f9795129351c11cca060e 104/business/IEC104_CounterInterrogation.c -0d706feaf3e44cc2401b62dfffbcb598c28ee2e1fd9b6c16d9919b1a7657303e 104/business/IEC104_Interrogation.c -a1c20fd50ad6bfffb317b97ec68ff818bf6f8ab87f2a9c06c4d02e3bbf220cfa 104/business/IEC104_Command.c -fb3246e3ea200826c6a95a6326806259b7e88883bad9f6db6ebaae372bdd9261 104/business/IEC104_ClockSynchronization.c -b3388f8d69123c17e636c5a66361b013b9dfb8546c1f4838ba38c18aad11b770 104/business/IEC104_RemoteParameter.c -57d3e648e2f1a40bf2dbba2b20295a91d11bf2db5370dcdb6ff3607d984466ff 104/business/IEC104_Read.c -0cfd97f763fcb7a06208f8c8c225581c1d78a2dd3e75e259a7481cd6a8141d60 104/business/IEC104_Parameter.c -1ffa8c162870e4161308720e26df0662c1549a5a00eef3beb47a0230dca651ec 104/business/IEC104_Startup.c -3b2566e7baf2fcb6fd7e745fb05c59d423e7fa8d6df005e8581cd8a9b8cdcd55 104/business/IEC104_SystemCommand.c -99105c1b62adaaff4e4cd93f11f860620e864a72e528a1291e66c102ce71c00f 104/business/IEC104_Spontaneous.c -795aa4f58bb6558890bd39f3d5667e41d420ed7cffcf52348d888b89ffdbbf1c 104/business/IEC104_PeriodicScan.c -b9593f92d2fd0a9f62c903a1d3796c3397b9d4c5a7926860a017744f07a915bc examples/iec104_dtu_profile.h -8bdaed26d6bfb4a2542f2a3a05d83d3a167f8b83da227dc51a250aa49af71296 common/IEC60870_Asdu.h -bbc770a0c8c9d5f3db1e3bef23b226ba35a651f550bbd76fa5d2d1b037b238d3 common/IEC60870_Clock.h -d469ab5ab1c5dc9bcc63f73c8b78d2755c8f29245b9a60ea1288116bd067f246 common/IEC60870_Codec.h -37cb14ba14d9f1c203a88bd44d13c91feb173f34d6bb3047b6c6258ffb047709 common/IEC60870_Comtrade.h -ab613c01496c1a4db1f200a72fb0daa6a26a9ab18e211ac096b8c416a012b9e7 common/IEC60870_EnergyFreeze.h -7551feed3f9677e7530730d78fe41d2c4e2d8e68bc20e929ebe7e71b46118071 common/IEC60870_EnergyFreezeFile.h -48978f098e1ffd2d5e63a746105807b8a6e7f26b81c8eb9949ca8ba177a4f215 common/IEC60870_FaultEvent.h -e684c5c08a02a75cdce916a2723d46acf88913697d60e65dbeb8f31e7635e9c7 common/IEC60870_FaultRecorder.h -a31c1af966eae8e8db72cbba1b421f26571b387dbfd0d40d2134b7f5028dfc94 common/IEC60870_FirmwareUpdate.h -9a348feedbaee0f19052c104a0d4691412180441ed3bab4c268b71f704dd36e2 common/IEC60870_History.h -fb651a7880508028c000478407989eed799fda06aa0625066654c99a299c7c05 common/IEC60870_HistoryFile.h -6abb49ad964f06eb67c08740a22ed4b63d758fd79e73cb5382b0bc1d50ed61f1 common/IEC60870_InformationObjects.h -f48f007af81fd7cf115543013624c6db692ba9a5624df4692b1650233fa8b733 common/IEC60870_InformationObjects_Internal.h -ccce0a5a60f63f18f7102beb544f3c31bacf84487de7895513b45015e92b2914 common/IEC60870_Slave.h -e3c7272690f6b19dd22b667e70800f7bb537fd25152735597334292ea1589ede common/IEC60870_Time.h -5630a82e2f8d091e7a5f03947aa3edc4ce0d6918dca4520295ac341cc50cadaf common/IEC60870_Types.h -b932b901c8fb72d7d81c59fbfc07421b80be9b11e20b3a7296ef06553be99b02 common/IEC60870_UserLog.h -7f55ec5b078ba5c3eddebdb7ab0fcbb3ff720a2049947004c808f6a65c70216c common/IEC60870_UserLogFile.h -c2895eb330ac965f15bef3497040c6057750bdc91884e14e9f4b1fbfe2676c40 104/IEC104.h -9d4fb32cd6d3f9ed27da15a25af3b0e9d6c4330e284e7e1f226bde6b5c64db89 104/IEC104_AsduQueue.h -f8fd4ff0729bffc8ff61bd5a141f0835a65c3748c0edb989da44317ccc92af91 104/IEC104_Codec.h -6faab842068b08a62085134b3afd03ed80a9edba78bb805198c72105b48916c9 104/IEC104_Config_Internal.h -67581c583e25ab7ecc1d5c48dbf37061f27550b6eac7fd9833949ec37b4e3733 104/IEC104_Connection.h -aa0b38c75c8d7a45ab025bda362e9232570ab4d24b20d6e208bcf86957acf14d 104/IEC104_Link.h -1286b460c3d0f4227fe71863a802fdb2df432e7a421011f67d102400d537542b 104/IEC104_Link_Common.h -52b17e1569f3f77d3854b49ba4578b43b38e508fe13effff20320c78c6de6e94 104/IEC104_Link_Internal.h -0f775839caf342595994fc39d1c80c777d6518c22d8e446a0f1a2c460f38e5ca 104/IEC104_Link_Master_StartStop.h -abd78dbb2ff0e1fb5cb523bb723fbc0f2f99a4c83972adad6c9b077950c349ff 104/IEC104_Link_Slave_StartStop.h -fd638e59aebb6f4e290d64bf4d118241726f5b50a2c988541001ac7a3870f734 104/IEC104_Log.h -7f4dd379903597d7862558d2a64160123cdbf81386968e174f47b8715b5b1689 104/IEC104_Net.h -2e537e84cdbea9bb22ee1d51324283004e39b0baf56f179fe9b0c5515db5383e 104/IEC104_Receiver.h -355685ef39ebc7a2f23576d0c1a30d19330a9710f26b1031ae30b5d87463b89b 104/IEC104_SendBuffer.h -0c3016d4b4b9d2a102e735231b69ec61f9fb6a2d9ea54265f76c2371ad40a20f 104/IEC104_SendManager.h -79323ec066c967bec4659c09a3704e6b85841c43b1b9ead744bc1967d6c90bb7 104/IEC104_Slave.h -24bc094ae559969d4e9d00e954ff975e8d11222d475a8463aacd5bbb1d4cab34 104/IEC104_TcpServer.h -dde7e19193f059c287022be21612faa56924c6f4d09a5d30948afbce4bde0044 104/IEC104_TcpServer_Config.h -62cfef7d7b26602132948f89a22f9ec6804ea6514254867ba7ceff3c01478b93 104/IEC104_TcpTypes.h -8c4a7393c2c4ed179d7ea7ed7a2416bc15dc21d6bf3e6e6bcb6dffe01dcfa1ce 104/IEC104_Types.h -3dd3fad52a82887d7289fbef6dd833eee0768863cd8a5419979fa1208116c731 104/business/IEC104_BusinessConfig_Internal.h -1d401209adc80765ed0e75a355ee09a9436b2a6f859dab706dca14eed23c9f04 104/business/IEC104_ClockSynchronization.h -fac10b37cb07ec2a28cf542f0110ad173234f06d42b2366f72cb233bcc50ddc2 104/business/IEC104_Command.h -d33cf5ff2d4ea5c47ce0cf31c6a061378658145ffed32dc381754d56bd671a5a 104/business/IEC104_CounterInterrogation.h -9cdc16cd13af259cd95ec8a48fc09d40be4af7ee6c3df9496f78cb819737e2f4 104/business/IEC104_FileService.h -785d298fa21493592b61d72aede75f5e48f8909472eae9a897dc5d1bb8a1df79 104/business/IEC104_GeneralInterrogation.h -8e918298330d7e3fc21b019cdd07e603c9fd71d84aad328399ca708f517f8fd7 104/business/IEC104_Interrogation.h -eca3aed1c801fdb33a2a5de3da97832af417d3676e80fd70ea400381183ff407 104/business/IEC104_Interrogation_Internal.h -4eff0700b1ddb7eba97e35717f39de7a4f06ade86456e7956bfba7b970a8b1fc 104/business/IEC104_Parameter.h -6c67a4dd97eb4a7ac097eed198f6d72a102f0011e34a94d38f427f29a1957e44 104/business/IEC104_PeriodicScan.h -92558942b53b5651dac9867b60107fba2dc2e17cb20f13abcd271b336f83b0fa 104/business/IEC104_Read.h -f07d9faeb25c7d3c7053d123af06c38be0678faba0d2f97038364dddb41d4b83 104/business/IEC104_RemoteParameter.h -25deb64a0653efaf840419b2c58ab226eb17771900591294658127b5257855fa 104/business/IEC104_SoftwareUpgrade.h -fa0c3acb87beff12d2b62aee27b52b1501b3db06bb45314ee4880c6210029bd0 104/business/IEC104_Spontaneous.h -d8dc8c018917f99239e85845aa2125528dd60b1865bfde7980a8174f16e0fb06 104/business/IEC104_Startup.h -556db981f2d58e1441ecafc676917f70698eac5d790e2fe2a5bc1e58f8b2e35d 104/business/IEC104_SystemCommand.h diff --git a/App/protocol/iec60870/common/IEC60870_Clock.h b/App/protocol/iec60870/common/IEC60870_Clock.h deleted file mode 100644 index 696f2d19..00000000 --- a/App/protocol/iec60870/common/IEC60870_Clock.h +++ /dev/null @@ -1,103 +0,0 @@ -/* - * IEC 60870-5-101/104 共用时间源接口:读取当前日历、设置实际时钟。 - * 读写日历统一采用固定UTC+8标准时间,年份1970..2099;CP56编码另限2000..2099。 - * 此处的本地时间指固定UTC+8,不随Windows本地时区设置或夏令时变化。 - * 时间源仅考虑Windows系统时钟和RTC,构建时二选一,业务直接调用Clock_Read/Clock_Set。 - * Windows实现已提供;RTC目前只保留接入接口,具体芯片驱动暂不实现。 - * 与IEC60870_Time的日期转换、CP56编解码分工;不自动接入ASDU或链路单调计时。 - */ -#ifndef IEC60870_CLOCK_H -#define IEC60870_CLOCK_H - -#include "IEC60870_Time.h" - -/* - * 时间源编译选项:0=Windows系统时钟(默认,须在Windows构建),1=RTC预留接口。 - * 这是编译时选择,不在运行期间切换;RTC模式不编译Windows读写代码。 - * 选项须作用于IEC60870_Clock.c的编译,不能只在业务源文件中定义。 - * RTC模式须由板级驱动实现下方的Clock_RTC_Read/Set;本模块不提供芯片驱动。 - * 此选项与IEC60870_TIME_USE_PLATFORM的日期转换算法选择相互独立: - * 前者决定从哪里读取/设置当前时间,后者决定如何将UTC秒数转换为日历。 - * RTC已提供约定的日历时,Clock读写入口不需要时间戳与日历之间的往返转换。 - */ -#ifndef IEC60870_CLOCK_USE_RTC -#define IEC60870_CLOCK_USE_RTC 0 -#endif - -#if IEC60870_CLOCK_USE_RTC != 0 && IEC60870_CLOCK_USE_RTC != 1 -#error "IEC60870_CLOCK_USE_RTC must be 0 (Windows) or 1 (RTC)" -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * 时间源的读取结果。日历数值合法与时间质量分开表示。 - * is_invalid=1仍须提供合法日历;没有可用日历时,平台读时函数应返回0。 - * is_invalid=0仅表示未标记无效,不证明时钟已经校准或与外部时间源同步。 - */ -typedef struct { - IEC60870_WallTime_t time; /* 固定UTC+8标准时间,ms为0..999,星期由公共入口重算 */ - uint8_t is_invalid; /* 0=未标记无效,1=时间无效;可按业务约定传递给CP56的IV */ -} IEC60870_ClockValue_t; - -/* - * 构建:IEC60870_Clock.c + IEC60870_Time.c;Windows读写实现在Clock.c内部。 - * 以后接RTC时,定义IEC60870_CLOCK_USE_RTC=1并加入实现下方RTC接口的板级驱动。 - * 时间源由构建选择,公共接口不需要时钟对象、函数指针绑定或初始化。 - * RTC等硬件仍须由应用按驱动要求初始化;同一时钟的读写由调用方串行执行。 - * 本模块不提供设备锁,不进行动态内存分配。 - */ - -/** - * 功能:从构建时选定的时间源读取固定UTC+8标准时间,并校验日历和质量标志。 - * 输入参数:value——接收结果的指针,不得为空。 - * 输出参数:value——合法日历、星期(0=周日..6=周六)及源提供的is_invalid。 - * 返回值:1 取得格式合法的结果,is_invalid可能为1;0 参数非法、底层失败或结果非法。 - * 说明:先读取局部变量,检查完成后才提交输出,失败不修改value。 局部结果的is_invalid初始为1,驱动应按实际状态明确填写0或1。 调用方须同时检查返回值和is_invalid, - * 读取成功不等于时钟准确或已同步。 - */ -int IEC60870_Clock_Read(IEC60870_ClockValue_t *value); - -/** - * 功能:将固定UTC+8标准时间交给构建时选定的时间源设置实际时钟。 - * 输入参数:local_time——非空,1970..2099的合法UTC+8标准时间;输入的weekday可忽略。 - * 输出参数:无。 - * 返回值:1 底层报告设置成功;0 参数非法、平台不支持设时或底层未报告成功。 - * 说明:先检查日历并重算星期,再将副本交给时间源实现,原始输入保持不变。 Windows分支转换为UTC后调用系统设时接口;RTC分支直接将日历交给驱动。 本接口不接收IV/SU; - * 校时报文须先通过CP56转换及业务校时条件检查。 不提供硬件写入回滚;失败时设备是否已有部分修改由具体驱动决定。 - */ -int IEC60870_Clock_Set(const IEC60870_WallTime_t *local_time); - -/* - * RTC预留接入接口:仅RTC模式需要由板级驱动实现,Windows模式不引用这两个符号。 - * 业务调用上方公共入口,下面的函数由公共层同步调用,无需注册回调或绑定时钟对象。 - * 不得保留输入/输出指针供返回后使用,也不能反向调用公共读写入口。 - * 本模块仅声明,不提供空实现或默认成功结果;RTC硬件由应用按驱动要求初始化。 - */ - -/** - * 功能:由板级驱动读取RTC日历,供IEC60870_Clock_Read调用。 - * 输入参数:value——公共层提供的非空局部结果,其is_invalid初始为1。 - * 输出参数:value——一组一致的固定UTC+8日历和is_invalid=0/1;weekday由公共层重算。 - * 返回值:1 取得可供检查的日历;0 读取失败或没有可用日历。 - * 说明:驱动负责寄存器格式转换及读取一致性,避免读到跨秒、跨日拼接的字段。 RTC日历的时间基准由设备约定,驱动须保证输出为UTC+8;无毫秒能力时可填写ms=0。 即使日历数值合法, - * 停振、掉电等状态仍可能使时间无效,须按实际状态填写质量。 - */ -int IEC60870_Clock_RTC_Read(IEC60870_ClockValue_t *value); - -/** - * 功能:由板级驱动设置RTC实际时钟,供IEC60870_Clock_Set调用。 - * 输入参数:local_time——非空,公共层已校验并重算星期的UTC+8日历副本,只在调用期间有效。 - * 输出参数:无。 - * 返回值:1 驱动报告设置成功;0 设置失败或设备不支持设置。 - * 说明:驱动负责将日历转换为芯片要求的寄存器格式,按芯片能力处理毫秒。 只读驱动直接返回0;写入失败时可能已有部分寄存器改变,公共层不提供回滚。 - */ -int IEC60870_Clock_RTC_Set(const IEC60870_WallTime_t *local_time); - -#ifdef __cplusplus -} -#endif - -#endif /* IEC60870_CLOCK_H */ diff --git a/App/protocol/iec60870/common/IEC60870_Comtrade.h b/App/protocol/iec60870/common/IEC60870_Comtrade.h deleted file mode 100644 index f2a39102..00000000 --- a/App/protocol/iec60870/common/IEC60870_Comtrade.h +++ /dev/null @@ -1,120 +0,0 @@ -/* - * COMTRADE 1999 编码:生成 ASCII 配置文件和 BINARY 波形数据。 - * 调用方持有冻结的录波、元数据及全部输出缓冲;本模块不分配内存, - * 不操作文件系统、平台时钟或通信链路。文件保存与 TI=210 传输由上层负责。 - */ -#ifndef IEC60870_COMTRADE_H -#define IEC60870_COMTRADE_H - -#include "IEC60870_FaultRecorder.h" -#include "IEC60870_Time.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* BAY08_0010_20141114_192135_830.cfg 共 34 字符,另留结尾 NUL;不含目录前缀。 */ -#define IEC60870_COMTRADE_FILENAME_CAPACITY 35U -#define IEC60870_COMTRADE_TEXT_MAX 64U -#define IEC60870_COMTRADE_NUMBER_MAX 13U - -/* 工程量 = multiplier * DAT 整数值 + offset。 - * 系数用十进制 ASCII 字符串传入,避免区域设置影响小数点和目标端浮点 printf。 - * 允许正负号、小数点及 e/E 指数;尾数至少一位数字,总长不超过 13 字符, - * 指数绝对值不超过 99。multiplier 必须非零,primary/secondary 必须为正数。 - * 通道顺序固定为 Ua/Ub/Uc/U0(V)、Ia/Ib/Ic/I0(A),对应录波帧 analog[]。 - * 'P' 表示换算后为一次量,'S' 表示二次量;primary/secondary 描述变比。 - * DAT 的 -32768 保留为缺测标记,有效数值范围为 -32767..32767。 - * 本模块按原值编码,不限幅,也不把无符号 ADC 计数自动转换成电气量。 */ -typedef struct { - const char *multiplier, *offset, *primary, *secondary; - char primary_or_secondary; -} IEC60870_ComtradeAnalog_t; - -typedef struct { - const char *station, *device; /* 非空可打印 ASCII,最长 64 字符,禁止逗号。 */ - IEC60870_ComtradeAnalog_t analog[IEC60870_FAULT_RECORDER_ANALOG_COUNT]; - /* 两数组均按录波的 digital_count 提供元素,顺序对应遥信位顺序。 - * 名称数组为 NULL 时生成 D1..D64;常态数组为 NULL 时各通道常态均为 0。 - * 名称限制与 station 相同;常态只能为 0 或 1。这些指针均不转移所有权。 */ - const char *const *digital_names; - const uint8_t *digital_normal; - /* 捕获触发时刻后保持不变,采用项目本地标准时间 UTC+8,IV=0、SU=0。 - * COMTRADE 1999 的日期行不含时区,接收端须按相同时间口径解释。 - * trigger_microseconds 仅补足 CP56 毫秒以下的余数,不是整秒内微秒数。 */ - IEC60870_CP56Time2a_t trigger_time; - uint16_t trigger_microseconds; /* 毫秒以下的 0..999 微秒。 */ -} IEC60870_ComtradeConfig_t; - -/** - * 功能:设置默认标识、单位比例系数/变比和自动遥信名;config=NULL 时无操作。 - * 输入参数:无。 - * 输出参数:config——写入默认配置;NULL时不操作。 - * 返回值:无。 - * 说明:触发时间仍为无效状态,调用方必须填写实际捕获的时间后才能生成 CFG。 - */ -void IEC60870_Comtrade_Config_Default(IEC60870_ComtradeConfig_t *config); - -/** - * 功能:根据 READY 状态的冻结录波生成 CFG;成功返回 true,失败返回 false。 - * 输入参数:recorder——冻结录波源;config——配置及调用期间借用的元数据;capacity——缓冲可用容量。 - * 输出参数:buffer——可选CFG缓冲;容量足够且预检通过后写入文本和终止NUL;length——成功写入不含NUL的CFG长度。 - * 返回值:true表示CFG长度查询或完整生成成功;false表示输入、格式边界或容量校验失败。 - * 说明:输出为 ASCII、CRLF 换行、无 BOM,末尾附加 NUL;length 不含 NUL, 保存文件时只写 length 字节。buffer=NULL 且 capacity=0 - * 可查询所需长度, 实际输出容量必须大于该长度。失败不改输出及 length。 调用期间借用全部元数据,元数据和录波必须保持不变;输入、输出不得重叠。 固定为单采样率、BINARY、时标倍率 - * 1;首点时间 = 触发时间减去 trigger_index/rate。小数微秒四舍五入,CFG 起始/触发时刻和 DAT 时标 采用同一舍入规则,因此不能另用“当前时间”代替冻结的触发时间。 - * 拒绝超过 1 MHz 的采样率、超出 uint32 的 DAT 长度、达到保留缺测时标 0xffffffff 的时间偏移、非法元数据/日期和落在 2000..2099 以外的首点。 - * 不支持闰秒。 - */ -bool IEC60870_Comtrade_Build_CFG(const IEC60870_FaultRecorder_t *recorder, - const IEC60870_ComtradeConfig_t *config, char *buffer, size_t capacity, - size_t *length); - -/** - * 功能:返回 DAT 的精确字节数;只需不可变的 READY 录波,不依赖 CFG 元数据。 - * 输入参数:recorder——冻结录波源。 - * 输出参数:size——非NULL长度输出;成功写入DAT总字节数,失败保持原值。 - * 返回值:true表示DAT长度已计算;false表示录波未就绪、格式边界或输出指针非法。 - * 说明:成功返回 true 并写 size,失败返回 false 且不改 size。 - */ -bool IEC60870_Comtrade_Data_Size(const IEC60870_FaultRecorder_t *recorder, - uint32_t *size); - -/** - * 功能:从任意字节 offset 开始编码恰好 length 字节,允许在一条采样记录内部开始 或跨多条记录,便于 TI=210 分段读取及重复读取同一偏移。 - * 输入参数:recorder——冻结录波源;offset——文件或映像内的字节偏移;length——字节数。 - * 输出参数:buffer——编码或复制结果的目标字节区。 - * 返回值:true表示请求字节范围已复制;false表示录波、范围或目标缓冲无效。 - * 说明:成功返回 true。 每条记录依次为:4 字节点号(从 1 开始)、4 字节相对首点的微秒时标、 8 个 int16 模拟量、向上取整(digital_count/16) 个 uint16 - * 遥信字。 多字节字段均为小端;遥信 1 对应首字最低位,末字未使用位清零。 offset==文件大小且 length==0 合法;其他请求必须整体处于文件范围内, 不自动补齐 EOF。 - * length 非零时 buffer 不得为 NULL。 从 CFG/DAT 读取开始直到应用最后关闭文件,录波必须保持 READY 且不变, 不得提前 Release。 - * 输出不得与录波对象/帧存储重叠;非法参数不改输出。 - */ -bool IEC60870_Comtrade_Read_DAT(const IEC60870_FaultRecorder_t *recorder, - uint32_t offset, uint8_t *buffer, size_t length); - -/** - * 功能:生成不含目录的 BAY 文件名,data_file=true 选 .dat,否则选 .cfg。 - * 输入参数:bay——间隔编号;sequence——顺序号;trigger_time——触发日历;data_file——true生成DAT名称,false生成CFG名称;capacity——缓冲可用容量。 - * 输出参数:buffer——编码或复制结果的目标字节区。 - * 返回值:true表示文件名已完整生成;false表示参数非法或容量不足,输出不变。 - * 说明:bay=1..99、sequence=1..9999,名称精确到触发时刻的毫秒;同一对文件须 使用相同参数。调用方负责按间隔持久化序号、检查重名和添加 COMTRADE 目录。 成功返回 - * true;非法时间/参数或容量不足返回 false 且不改 buffer。 - */ -bool IEC60870_Comtrade_File_Name(uint8_t bay, uint16_t sequence, - const IEC60870_CP56Time2a_t *trigger_time, bool data_file, - char *buffer, size_t capacity); -/** - * 功能:序号 9999 的下一值为 1;输入 0 或大于 9999 时返回 0 表示非法输入。 - * 输入参数:sequence——顺序号。 - * 输出参数:无。 - * 返回值:1..9999循环序号的下一值;9999回到1,0或大于9999的非法输入返回0。 - * 说明:此函数只计算下一值,不保存序号,也不保证对应文件名尚未使用。 - */ -uint16_t IEC60870_Comtrade_Next_Sequence(uint16_t sequence); - -#ifdef __cplusplus -} -#endif - -#endif /* IEC60870_COMTRADE_H */ diff --git a/App/protocol/iec60870/common/IEC60870_EnergyFreeze.h b/App/protocol/iec60870/common/IEC60870_EnergyFreeze.h deleted file mode 100644 index 73af7c1e..00000000 --- a/App/protocol/iec60870/common/IEC60870_EnergyFreeze.h +++ /dev/null @@ -1,334 +0,0 @@ -/* 电能量冻结持久核心:维护定时冻结、日冻结、潮流反转及封存事实。 - * 不依赖堆、线程、文件系统或104协议;与计数量召唤的FRZ命令限定词无关。 - * 调用方持有实例和存储,并串行执行全部操作(含查询、恢复和XML导出); - * 存储回调不得重入同一实例。公开时刻均为UTC纪元毫秒,窗口按固定UTC+8划分。 - * INTERVAL与DAY保存采样示值;本模块不计算累计值的差分或日用电量。 */ -#ifndef IEC60870_ENERGY_FREEZE_H -#define IEC60870_ENERGY_FREEZE_H - -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* 三张点表各最多64点;单条反转事件最多携带其中8点。 - * 32个存储窗口供循环复用;XML导出层另限制为最近30个已封存窗口。 */ -#define IEC60870_ENERGY_FREEZE_MAX_POINTS 64U -#define IEC60870_ENERGY_FREEZE_EVENT_POINTS 8U -#define IEC60870_ENERGY_FREEZE_DAYS 32U -#define IEC60870_ENERGY_FREEZE_SLOTS 96U -#define IEC60870_ENERGY_FREEZE_FLOW_CAPACITY 256U -#define IEC60870_ENERGY_FREEZE_DEDUP 16U -/* 最大记录 = 44字节公共头 + 64组(4字节值+1字节品质) + 4字节CRC。 */ -#define IEC60870_ENERGY_FREEZE_WIRE_MAX 368U -/* 固定UTC+8本地2000-01-01 00:00:00至2099-12-31 23:59:59.999。 */ -#define IEC60870_ENERGY_FREEZE_UTC_MIN UINT64_C(946656000000) -#define IEC60870_ENERGY_FREEZE_UTC_MAX UINT64_C(4102415999999) - -/* INTERVAL/DAY为示值,FLOWREV为事件;SEAL证明窗口封存,META保存恢复边界。 */ -typedef enum { - IEC60870_ENERGY_FREEZE_INTERVAL = 1, IEC60870_ENERGY_FREEZE_DAY = 2, - IEC60870_ENERGY_FREEZE_FLOWREV = 3, IEC60870_ENERGY_FREEZE_SEAL = 4, - IEC60870_ENERGY_FREEZE_META = 5 -} IEC60870_EnergyFreezeKind_t; - -/* ERROR:实例不可用、介质失败或记录损坏;INVALID:调用参数/初始化配置非法; - * CONFIG:持久记录指纹不匹配;TIME_REVERSED:now低于已观测高水位; - * TIME_REJECTED:网格、延迟、保留范围、封存或写入顺序不允许此次冻结; - * CONFLICT:同一冻结位置已有不同值;EMPTY:无记录或无到期任务; - * OK:成功;DUPLICATE:内容相同、未重复写入;SKIPPED:整条冻结品质不合格。 - * 不应把正返回值一概当成新提交,也不能由失败推断介质一定未改变。 */ -typedef enum { - IEC60870_ENERGY_FREEZE_ERROR = -1, IEC60870_ENERGY_FREEZE_INVALID = -2, - IEC60870_ENERGY_FREEZE_CONFIG = -3, IEC60870_ENERGY_FREEZE_TIME_REVERSED = -4, - IEC60870_ENERGY_FREEZE_TIME_REJECTED = -5, IEC60870_ENERGY_FREEZE_CONFLICT = -6, - IEC60870_ENERGY_FREEZE_EMPTY = 0, IEC60870_ENERGY_FREEZE_OK = 1, - IEC60870_ENERGY_FREEZE_DUPLICATE = 2, IEC60870_ENERGY_FREEZE_SKIPPED = 3 -} IEC60870_EnergyFreezeResult_t; - -/* Init按值复制此结构,但借用三张点表;表须持续有效且不可重排或修改。 - * 每张表内IOA为非零24位地址且不重复;不同表之间不要求地址互斥。 */ -typedef struct { - const uint32_t *interval_ioas; /* INTERVAL值数组的点序。 */ - const uint32_t *day_ioas; /* DAY值数组的点序,与INTERVAL共用点数。 */ - size_t point_count; /* 0..64;0关闭定时冻结,仍可启用FLOWREV。 */ - const uint32_t *flowrev_ioas; /* 事件indices引用的独立点表。 */ - size_t flowrev_count; /* 0..64;0表示未配置反转事件点。 */ - uint32_t value_semantics; /* 应用定义的值含义/单位/映射版本,参与指纹。 */ - uint16_t day_start_minutes; /* UTC+8本地窗口起点,0..1425且为15的倍数。 */ - uint32_t grid_tolerance_ms; /* 采样时刻距最近15分钟网格的容差,最大60000。 */ - uint32_t max_delay_ms; /* now晚于采样时刻的最大延迟,最大900000。 */ -} IEC60870_EnergyFreezeConfig_t; - -/* 同步逻辑槽接口:kind区分区域,index范围为[0, Slot_Count(kind))。 - * read仅在没有已提交记录时返回EMPTY;成功返回OK并写回实际size。 - * 已提交数据损坏必须报错,不能退回旧版本或伪装成EMPTY。 - * commit返回true承诺原子、持久地替换该槽;回调返回前须消费完bytes。 - * 返回false仍可能已落盘,核心随即锁存faulted;须重新Init核验介质后再用。 - * context由调用方持有,核心共用wire工作区,回调不得保留其缓冲指针。 */ -typedef struct { - void *context; - IEC60870_EnergyFreezeResult_t (*read)(void *context, - IEC60870_EnergyFreezeKind_t kind, uint32_t index, uint8_t *bytes, - size_t capacity, size_t *size); - bool (*commit)(void *context, IEC60870_EnergyFreezeKind_t kind, - uint32_t index, const uint8_t *bytes, size_t size); -} IEC60870_EnergyFreezeStore_t; - -typedef struct { - uint32_t day; /* 窗口起始本地日期距1970-01-01的日序,不是YYYYMMDD。 */ - uint16_t slot; /* INTERVAL: 1..96;DAY: 0;第1节为窗口起点,第96节为起点+23:45。 */ - uint64_t freeze_utc_ms; /* 实际采样时刻,保留与名义网格的偏差。 */ - uint64_t observed_utc_ms; /* 提交该记录时传入的now;派生DAY时可晚于采样。 */ - size_t count; /* values/quality的有效长度,等于配置point_count。 */ - float values[IEC60870_ENERGY_FREEZE_MAX_POINTS]; - uint8_t quality[IEC60870_ENERGY_FREEZE_MAX_POINTS]; -} IEC60870_EnergyFreezeRecord_t; - -typedef struct { - uint64_t sequence; /* 从1开始的持久到达序号,不按occur排序、不回绕。 */ - uint64_t occur_utc_ms; /* 原始发生时刻,允许乱序/回拨,不推进冻结观测高水位。 */ - size_t count; /* 1..8;事件可保留坏品质/非有限值,XML仅输出有效项。 */ - uint8_t indices[IEC60870_ENERGY_FREEZE_EVENT_POINTS]; /* flowrev_ioas的0起始索引,严格递增。 */ - float values[IEC60870_ENERGY_FREEZE_EVENT_POINTS]; - uint8_t quality[IEC60870_ENERGY_FREEZE_EVENT_POINTS]; -} IEC60870_EnergyFreezeFlowReverse_t; - -typedef struct { - uint32_t day; - uint64_t observed_utc_ms; /* 封存时的观测时刻。 */ - uint8_t bitmap[13]; /* 位0..95对应INTERVAL,位96对应DAY;剩余7位必须为0。 */ - uint8_t count; /* 置位数(含DAY),允许0,表示合法封存的空窗口。 */ - uint32_t content_crc; /* 日序、位图及按节序排列的记录正文摘要,不含各记录尾CRC。 */ -} IEC60870_EnergyFreezeSeal_t; - -typedef struct { - bool interval; /* 当前网格有一次可尝试的定时冻结。 */ - uint64_t grid_utc_ms; /* interval为true时有效,只是名义时刻,不可冒充实际采样时刻。 */ - bool derive_day; /* 有窗口已存第1节且尚缺DAY;可与interval同时为true。 */ - uint32_t day; /* derive_day为true时有效,为最早待派生窗口的日序。 */ -} IEC60870_EnergyFreezeDue_t; - -typedef struct { - bool sealed_valid; - uint32_t sealed_day; /* sealed_valid时有效,为当前连续封存前沿。 */ - bool retained_valid; - uint32_t retained_from; /* retained_valid时有效,为32窗口保留下界R。 */ - uint32_t seal_backlog; /* 按当前观测高水位计算的待封存窗口数。 */ - uint32_t evicted_unsealed; /* 有数据但未封存即被淘汰的窗口累计数,UINT32_MAX饱和。 */ - uint64_t observed_utc_ms; /* 已观测now高水位W;0表示尚未观测。 */ - uint64_t flow_sequence; /* 最大已提交FLOWREV序号;0表示尚无事件。 */ - size_t flow_count; /* 当前保留事件数,最大256。 */ - bool faulted; /* 故障锁存后只供诊断,重新Init成功前不再提供正常读写。 */ -} IEC60870_EnergyFreezeStatus_t; - -/* 公开布局仅用于调用方静态分配;字段由核心维护,不可直接修改。 - * Config/Store结构按值复制,点表及store.context仍为借用对象。 - * 只缓存存在位图与边界,不缓存全部示值;读操作也会复用wire并可能锁存故障。 */ -typedef struct { - IEC60870_EnergyFreezeConfig_t config; - IEC60870_EnergyFreezeStore_t store; - uint32_t fingerprint; - uint32_t retained_from; - uint32_t sealed_day; - uint32_t evicted_unsealed; - uint64_t observed_utc_ms; - uint64_t latest_interval; /* have_interval时有效,该类已写最大名义网格。 */ - uint64_t latest_day; /* have_day时有效;补派生较早DAY也不会降低此值。 */ - uint64_t flow_sequence; - size_t flow_count; - bool retained_valid; - bool sealed_valid; - bool have_interval; - bool have_day; - bool have_meta; - bool initialized; - bool faulted; - uint8_t present[IEC60870_ENERGY_FREEZE_DAYS][13]; /* 按day % 32寻址的97位存在图。 */ - bool seals[IEC60870_ENERGY_FREEZE_DAYS]; /* 同一物理窗口槽是否已封存。 */ - uint8_t wire[IEC60870_ENERGY_FREEZE_WIRE_MAX]; /* 序列化/读取共用的临时字节区。 */ -} IEC60870_EnergyFreeze_t; - -/** - * 功能:清零配置并将网格容差、最大延迟设为1000ms;点表仍须应用填写。 - * 输入参数:无。 - * 输出参数:config——写入默认配置;NULL时不操作。 - * 返回值:无。 - * 说明:NULL无操作。 - */ -void IEC60870_EnergyFreeze_Config_Default(IEC60870_EnergyFreezeConfig_t *config); -/** - * 功能:存储后端所需逻辑槽数;未知kind返回0,不含后端自己的双bank冗余。 - * 输入参数:kind——记录或文件类别。 - * 输出参数:无。 - * 返回值:该类别的逻辑槽容量;未知类别返回0。 - * 说明:不包含后端双bank等冗余,存储后端据此为各类别分配逻辑区域。 - */ -uint32_t IEC60870_EnergyFreeze_Slot_Count(IEC60870_EnergyFreezeKind_t kind); -/** - * 功能:将名义网格时刻映射到业务窗口日序;参数或所得日期越界返回UINT32_MAX。 - * 输入参数:nominal_utc_ms——名义UTC毫秒,本入口不进行15分钟取整;day_start_minutes——UTC+8午夜起算的业务日界分钟偏移。 - * 输出参数:无。 - * 返回值:业务窗口起始日序;时刻、日界偏移或归属日非法时返回UINT32_MAX。 - * 说明:调用者提供名义时刻,本函数不负责按15分钟取整。 - */ -uint32_t IEC60870_EnergyFreeze_Window_Day(uint64_t nominal_utc_ms, - uint16_t day_start_minutes); -/** - * 功能:日序转窗口起点UTC;失败返回false且不写utc_ms。 - * 输入参数:day——相对1970-01-01的本地日序;day_start_minutes——UTC+8午夜起算的业务日界分钟偏移。 - * 输出参数:utc_ms——成功写入窗口起点UTC毫秒;失败保持原值。 - * 返回值:true表示起点已计算并写回;false表示参数无效且输出不变。 - * 说明:日期、偏移或utc_ms无效时返回false且不改写输出,成功才填写*utc_ms。 - */ -bool IEC60870_EnergyFreeze_Window_Start(uint32_t day, uint16_t day_start_minutes, - uint64_t *utc_ms); -/** - * 功能:初始化/故障后恢复:先读META,再扫描全部记录并核验封存摘要和事件连续性。 - * 输入参数:self——调用方持有的模块实例及当前状态;config——配置及调用期间借用的元数据;store——同步存储回调表及其上下文。 - * 输出参数:self——本次操作后的运行状态及复用工作区。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;CONFIG表示持久记录与当前配置指纹不符;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:全空存储可初始化成功;只读介质,不自动修复、清空或改写不兼容记录。 配置指纹不匹配返回CONFIG,介质/内容错误返回ERROR并锁存faulted。 - */ -IEC60870_EnergyFreezeResult_t IEC60870_EnergyFreeze_Init(IEC60870_EnergyFreeze_t *self, - const IEC60870_EnergyFreezeConfig_t *config, const IEC60870_EnergyFreezeStore_t *store); -/** - * 功能:推进观测高水位,每次至多封存一个已到窗口结束+max_delay_ms的窗口。 - * 输入参数:self——调用方持有的模块实例及当前状态;now_utc_ms——本次观测UTC毫秒。 - * 输出参数:self——本次操作后的运行状态及复用工作区。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏;CONFIG表示持久记录与当前配置指纹不符; - * TIME_REVERSED表示观测时间低于高水位;TIME_REJECTED表示网格、延迟或窗口顺序不允许。 - * 说明:空窗口也可封存;OK可能只推进时间而未封存,积压量通过Get_Status查询。 先提交SEAL事实再提交META提示;后者失败也不能撤销已完成的封存。 - */ -IEC60870_EnergyFreezeResult_t IEC60870_EnergyFreeze_Advance(IEC60870_EnergyFreeze_t *self, - uint64_t now_utc_ms); -/** - * 功能:纯查询:不推进观测高水位、不访问介质;只在OK时写out,EMPTY表示无任务。 - * 输入参数:self——只读模块实例;now_utc_ms——本次观测UTC毫秒。 - * 输出参数:out——仅OK时写入到期名义网格及窗口任务。 - * 返回值:OK表示有任务并写出结果;EMPTY表示无任务;INVALID表示参数非法;ERROR表示实例不可用;TIME_REVERSED表示now_utc_ms低于观测高水位。 - * 说明:仅提示当前网格之后容差范围内的INTERVAL及可由已存第1节派生的DAY, 不补造错过网格的值。记录时应传实际采样时间,不要把grid_utc_ms当成采样时刻。 - */ -IEC60870_EnergyFreezeResult_t IEC60870_EnergyFreeze_Due(const IEC60870_EnergyFreeze_t *self, - uint64_t now_utc_ms, IEC60870_EnergyFreezeDue_t *out); -/** - * 功能:写一条INTERVAL:count必须等于point_count且非0,数组仅在调用期间借用。 - * 输入参数:self——调用方持有的模块实例及当前状态;now_utc_ms——本次观测UTC毫秒;freeze_utc_ms——实际采样UTC毫秒;values——按配置点序排列的值; - * quality——与值数组同序的品质;count——数组项数。 - * 输出参数:self——本次操作后的运行状态及复用工作区。 - * 返回值:OK表示操作完成;DUPLICATE表示已有相同内容,未重复提交;SKIPPED表示整条冻结品质不合格;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏; - * CONFIG表示持久记录与当前配置指纹不符;TIME_REVERSED表示观测时间低于高水位;TIME_REJECTED表示网格、延迟或窗口顺序不允许;CONFLICT表示已有记录内容不同。 - * 说明:freeze按最近15分钟网格归槽,保留实际时刻;now用于延迟及回拨检查。 任一点品质非0或值非有限则整条SKIPPED;同类最新网格值/品质逐字节相同 返回DUPLICATE, - * 不同返回CONFLICT;更旧网格/封存窗等返回TIME_REJECTED。 参数及回拨检查通过即推进内存观测高水位,后续拒绝或跳过不回退该高水位。 - */ -IEC60870_EnergyFreezeResult_t IEC60870_EnergyFreeze_Record_Interval( - IEC60870_EnergyFreeze_t *self, uint64_t now_utc_ms, uint64_t freeze_utc_ms, - const float *values, const uint8_t *quality, size_t count); -/** - * 功能:与Record_Interval同一准入规则,但名义网格必须恰为窗口起点,slot固定为0。 - * 输入参数:self——调用方持有的模块实例及当前状态;now_utc_ms——本次观测UTC毫秒;freeze_utc_ms——实际采样UTC毫秒;values——按配置点序排列的值; - * quality——与值数组同序的品质;count——数组项数。 - * 输出参数:self——本次操作后的运行状态及复用工作区。 - * 返回值:OK表示操作完成;DUPLICATE表示已有相同内容,未重复提交;SKIPPED表示整条冻结品质不合格;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏; - * CONFIG表示持久记录与当前配置指纹不符;TIME_REVERSED表示观测时间低于高水位;TIME_REJECTED表示网格、延迟或窗口顺序不允许;CONFLICT表示已有记录内容不同。 - * 说明:freeze_utc_ms归槽后的名义网格须为窗口起点;count须非零且等于point_count。 其余时间、品质、重复/冲突及状态副作用与Record_Interval一致, - * 透传Record结果。 - */ -IEC60870_EnergyFreezeResult_t IEC60870_EnergyFreeze_Record_Day( - IEC60870_EnergyFreeze_t *self, uint64_t now_utc_ms, uint64_t freeze_utc_ms, - const float *values, const uint8_t *quality, size_t count); -/** - * 功能:从指定未封存窗口的已存第1节复制DAY,保留原值、品质和freeze,observed取now。 - * 输入参数:self——调用方持有的模块实例及当前状态;now_utc_ms——本次观测UTC毫秒;day——相对1970-01-01的本地日序。 - * 输出参数:self——本次操作后的运行状态及复用工作区。 - * 返回值:OK表示操作完成;DUPLICATE表示已有相同内容,未重复提交;EMPTY表示没有所需记录或到期任务;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏; - * CONFIG表示持久记录与当前配置指纹不符;TIME_REVERSED表示观测时间低于高水位;TIME_REJECTED表示网格、延迟或窗口顺序不允许;CONFLICT表示已有记录内容不同。 - * 说明:不重新采样或检查源记录的提交延迟;源缺失返回EMPTY,已有DAY则比较内容。 可补较早窗口,但不能降低DAY已写最大网格。 - */ -IEC60870_EnergyFreezeResult_t IEC60870_EnergyFreeze_Derive_Day( - IEC60870_EnergyFreeze_t *self, uint64_t now_utc_ms, uint32_t day); -/** - * 功能:追加反转事件:1..8个严格递增索引,引用flowrev_ioas,值及品质原样保存。 - * 输入参数:self——调用方持有的模块实例及当前状态;occur_utc_ms——事件发生UTC毫秒;indices——FLOWREV点表的索引数组;values——与indices同序排列的事件值; - * quality——与值数组同序的品质;count——数组项数。 - * 输出参数:self——本次操作后的运行状态及复用工作区。 - * 返回值:OK表示操作完成;DUPLICATE表示已有相同内容,未重复提交;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:最近16条按occur、索引、float原始字节和品质完全匹配去重;occur允许倒退。 先提交事件再更新META;任一提交失败后须恢复实例,不可盲目重试。 不推进冻结观测高水位; - * 环满覆盖最旧事件,序号耗尽返回ERROR且不回绕。 - */ -IEC60870_EnergyFreezeResult_t IEC60870_EnergyFreeze_Append_FlowReverse( - IEC60870_EnergyFreeze_t *self, uint64_t occur_utc_ms, const uint8_t *indices, - const float *values, const uint8_t *quality, size_t count); -/** - * 功能:读取保留范围内记录,未封存数据也可读;INTERVAL的slot为1..96。 - * 输入参数:self——调用方持有的模块实例及当前状态;day——相对1970-01-01的本地日序;slot——冻结节号;INTERVAL为1..96,DAY为0。 - * 输出参数:self——复用工作区及读取校验可能锁存的故障状态;out——成功时写入的独立结果副本。 - * 返回值:OK表示操作完成;EMPTY表示没有所需记录或到期任务;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏;CONFIG表示持久记录与当前配置指纹不符。 - * 说明:缺测或范围外返回EMPTY;已知存在的记录丢失/损坏则报错并锁存故障。 两个Read接口仅在OK时写out,结果为副本,不借用内部wire。 - */ -IEC60870_EnergyFreezeResult_t IEC60870_EnergyFreeze_Read_Interval( - IEC60870_EnergyFreeze_t *self, uint32_t day, uint16_t slot, - IEC60870_EnergyFreezeRecord_t *out); -/** - * 功能:读取指定业务窗口起点的DAY示值,返回记录slot为0,不计算日用电量。 - * 输入参数:self——调用方持有的模块实例及当前状态;day——相对1970-01-01的本地日序。 - * 输出参数:self——复用工作区及读取校验可能锁存的故障状态;out——成功时写入的独立结果副本。 - * 返回值:OK表示操作完成;EMPTY表示没有所需记录或到期任务;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏;CONFIG表示持久记录与当前配置指纹不符。 - * 说明:透传Read_Record结果,仅OK时填写out;普通缺测或保留范围外返回EMPTY。 - */ -IEC60870_EnergyFreezeResult_t IEC60870_EnergyFreeze_Read_Day( - IEC60870_EnergyFreeze_t *self, uint32_t day, IEC60870_EnergyFreezeRecord_t *out); -/** - * 功能:当前保留事件条数;实例未就绪/故障时返回0,可用Get_Status区分故障与空库。 - * 输入参数:self——只读模块实例。 - * 输出参数:无。 - * 返回值:当前保留的FLOWREV事件数;实例不可用时返回0。 - * 说明:不能以0单独判断空库,应结合Get_Status检查健康状态。 - */ -size_t IEC60870_EnergyFreeze_FlowReverse_Count(const IEC60870_EnergyFreeze_t *self); -/** - * 功能:oldest_index从0起按持久序号由旧到新读取;越界EMPTY,仅OK时写out。 - * 输入参数:self——调用方持有的模块实例及当前状态;oldest_index——按提交顺序从最旧记录起的零基索引。 - * 输出参数:self——复用工作区及读取校验可能锁存的故障状态;out——成功时写入的独立结果副本。 - * 返回值:OK表示操作完成;EMPTY表示没有所需记录或到期任务;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:仅OK时填写out,越界返回EMPTY,参数或实例/读取错误返回相应结果。 应存在的事件读取失败或序号不符会锁存故障;不按occur墙钟排序。 - */ -IEC60870_EnergyFreezeResult_t IEC60870_EnergyFreeze_Get_FlowReverse( - IEC60870_EnergyFreeze_t *self, size_t oldest_index, IEC60870_EnergyFreezeFlowReverse_t *out); -/** - * 功能:内存状态快照,不访问介质;faulted实例仍可诊断(Init失败时可能是部分恢复状态)。 - * 输入参数:self——只读模块实例。 - * 输出参数:out——诊断快照,允许Init失败后faulted的部分状态;失败不变。 - * 返回值:true表示已复制诊断快照;false表示指针无效或实例既未初始化也未故障。 - * 说明:参数无效或既未初始化又未故障时返回false,out保持不变。 - */ -bool IEC60870_EnergyFreeze_Get_Status(const IEC60870_EnergyFreeze_t *self, - IEC60870_EnergyFreezeStatus_t *out); - -/** - * 功能:Get_Seal读取封存记录自身,不扫描数据正文;无封存返回EMPTY,仅OK时写out。 - * 输入参数:self——调用方持有的模块实例及当前状态;day——相对1970-01-01的本地日序。 - * 输出参数:self——复用工作区及读取校验可能锁存的故障状态;out——成功时写入的独立结果副本。 - * 返回值:OK表示操作完成;EMPTY表示没有所需记录或到期任务;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:SEAL一旦提交即是封存事实,后续数据缺失不能退化成缺测;空窗有count=0的合法SEAL。 Validate_Seal另扫描全部97个位置,核对存在位图及规范内容摘要。 - * XML导出必须校验通过后才能发布,整个过程禁止并发修改核心或介质。 - */ -IEC60870_EnergyFreezeResult_t IEC60870_EnergyFreeze_Get_Seal( - IEC60870_EnergyFreeze_t *self, uint32_t day, IEC60870_EnergyFreezeSeal_t *out); -/** - * 功能:验证SEAL的存在位图及正文摘要,空封存同样验证;整个过程须串行独占。 - * 输入参数:self——调用方持有的模块实例及当前状态;day——相对1970-01-01的本地日序。 - * 输出参数:self——复用工作区及读取校验可能锁存的故障状态。 - * 返回值:OK表示操作完成;EMPTY表示没有所需记录或到期任务;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏;CONFIG表示持久记录与当前配置指纹不符。 - * 说明:全部一致返回OK,无封存返回EMPTY,参数/读取错误透传;摘要不符返回ERROR。 不修改介质,但正文缺失、意外增添或摘要不符会锁存faulted。 - */ -IEC60870_EnergyFreezeResult_t IEC60870_EnergyFreeze_Validate_Seal( - IEC60870_EnergyFreeze_t *self, uint32_t day); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/App/protocol/iec60870/common/IEC60870_EnergyFreezeFile.h b/App/protocol/iec60870/common/IEC60870_EnergyFreezeFile.h deleted file mode 100644 index beb3c483..00000000 --- a/App/protocol/iec60870/common/IEC60870_EnergyFreezeFile.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 附录B电能量XML编码:FRZ读取已封存窗口,FLOWREV读取已提交的反转事件。 - * 本模块只负责同步编码,不创建文件、不管理下载会话;存储和输出均由调用方提供。 - * 输出在最终校验通过前都是候选内容,失败时调用方须丢弃整份候选文件。 - */ -#ifndef IEC60870_ENERGY_FREEZE_FILE_H -#define IEC60870_ENERGY_FREEZE_FILE_H - -#include "IEC60870_EnergyFreeze.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* 路径缓冲容量含结尾NUL;属性上限按UTF-8字节计数,不含NUL。 */ -#define IEC60870_ENERGY_FREEZE_FILE_PATH_CAPACITY 48U -#define IEC60870_ENERGY_FREEZE_FILE_ATTRIBUTE_MAX 255U - -typedef enum { - IEC60870_ENERGY_FREEZE_FILE_FRZ = 1, - IEC60870_ENERGY_FREEZE_FILE_FLOWREV = 2 -} IEC60870_EnergyFreezeFileKind_t; - -/* 字符串及数组只在Write期间借用,须保持有效且不变;内容须符合UTF-8/XML属性规则。 */ -typedef struct { - const char *device_name; /* 两类文件都需要;由编码器转义,不应预先转义。 */ - const char *const *units; /* FRZ按point_count逐点配置;DAY沿用同索引单位,FLOWREV不使用。 */ -} IEC60870_EnergyFreezeFileConfig_t; - -/* 同步接收片段:true表示本片段length字节全部接收,false立即中止编码。 - * bytes仅在回调内有效,片段不含结尾NUL,也不保证按XML节点或UTF-8字符分界。 - * 不得重入或修改核心、点表和配置;已接收片段在后续校验失败时不会自动撤回。 */ -typedef bool (*IEC60870_EnergyFreezeFileWriteFn)(void *context, - const uint8_t *bytes, size_t length); - -/** - * 功能:生成相对路径,成功才改写name;capacity含结尾NUL,容量不足或类别/日期无效则失败。 - * 输入参数:kind——记录或文件类别;day——相对1970-01-01的本地日序;capacity——缓冲可用容量。 - * 输出参数:name——成功生成的NUL结尾相对文件名;失败不变。 - * 返回值:true表示文件名已完整生成;false表示参数非法或容量不足,输出不变。 - * 说明:FRZ的day为Window_Day返回的窗口起始日序,路径为HISTORY/FRZ/frzYYYYMMDD.xml。 FLOWREV忽略day, - * 路径固定为HISTORY/FLOWREV/flowrev.xml。 此函数仅格式化名称,不检查核心中是否存在可导出的记录。 - */ -bool IEC60870_EnergyFreezeFile_Name(IEC60870_EnergyFreezeFileKind_t kind, - uint32_t day, char *name, size_t capacity); - -/** - * 功能:同步生成XML。 - * 输入参数:freeze——电能冻结核心实例;kind——记录或文件类别;day——相对1970-01-01的本地日序;config——配置及调用期间借用的元数据;write——同步接收输出片段的回调; - * context——传给输出回调的调用方上下文。 - * 输出参数:freeze——复用读取工作区及完整性校验可能锁存的故障状态;size——仅完整成功时写入文件字节数,不含NUL;允许NULL的入口不强制输出。 - * 返回值:true表示完整文件已输出;false表示参数、读取校验或输出回调失败,候选内容不可发布。 - * 说明:freeze须已初始化且未故障;整个调用须串行独占核心及其存储、点表和配置。 FRZ仅接受最近30个已封存窗口中实际有数据的day,缺窗不向更早日期补足30份。 - * 读取SEAL后单遍读取96节及DAY共97个位置,同时核验位图、正文摘要并输出同一份快照; 缺节保持缺失,空封存仍需验证完整性,但不生成文件。各点单位应区分有功与无功电能。 - * FLOWREV忽略day,要求启用事件点表;按持久序号排列,单条内按配置索引输出有效DI。 num为有效DI数量而非事件数,允许为零;品质非零或数值非有限的点不导出。 成功返回true, - * size非NULL时写入XML总字节数(不含NUL);失败保持size原值, 但回调可能已经收到部分XML,调用方必须丢弃候选内容,成功后再发布稳定下载快照。 - * 存储/封存完整性错误会锁存核心faulted;参数错误或输出回调失败本身不锁存故障。 - */ -bool IEC60870_EnergyFreezeFile_Write(IEC60870_EnergyFreeze_t *freeze, - IEC60870_EnergyFreezeFileKind_t kind, uint32_t day, - const IEC60870_EnergyFreezeFileConfig_t *config, - IEC60870_EnergyFreezeFileWriteFn write, void *context, uint32_t *size); - -#ifdef __cplusplus -} -#endif -#endif /* IEC60870_ENERGY_FREEZE_FILE_H */ diff --git a/App/protocol/iec60870/common/IEC60870_FaultRecorder.h b/App/protocol/iec60870/common/IEC60870_FaultRecorder.h deleted file mode 100644 index 7118266d..00000000 --- a/App/protocol/iec60870/common/IEC60870_FaultRecorder.h +++ /dev/null @@ -1,176 +0,0 @@ -/* - * 模块:故障录波采样缓存。 - * 职责:保存连续瞬时采样的故障前历史,按采样序号触发,收齐故障后窗口后冻结记录。 - * 本模块不采集硬件、不生成波形、不写文件;不依赖 RTOS、时钟或传输层,也不分配内存。 - * 调用者提供控制对象和采样数组,并负责实际采样率、同一时刻性及调用串行化。 - */ -#ifndef IEC60870_FAULT_RECORDER_H -#define IEC60870_FAULT_RECORDER_H - -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -#define IEC60870_FAULT_RECORDER_ANALOG_COUNT 8U -#define IEC60870_FAULT_RECORDER_MAX_DIGITAL 64U -#define IEC60870_FAULT_RECORDER_DIGITAL_WORDS 4U - -/* 一帧必须来自同一采样时刻:模拟量依次为 Ua、Ub、Uc、U0、Ia、Ib、Ic、I0。 - * 保存输入的瞬时整数值,不做有效值、相量或标度换算;物理单位和系数由导出层说明。 - * 遥信第 1 路为 digital[0] 的 bit 0,后续通道依次排列;未配置的位在入队时清零。 */ -typedef struct { - int16_t analog[IEC60870_FAULT_RECORDER_ANALOG_COUNT]; - uint16_t digital[IEC60870_FAULT_RECORDER_DIGITAL_WORDS]; -} IEC60870_FaultRecorderFrame_t; - -typedef struct { - uint32_t sample_rate_hz; /* 实际输入帧率;须不少于额定频率的 80 倍。 */ - uint32_t nominal_frequency_hz; /* 窗口计算使用的额定频率,不能为 0。 */ - uint32_t pre_cycles; /* 不少于 4;前后时长均向上取整到完整采样间隔。 */ - uint32_t post_cycles; /* 不少于 8;窗口两端点及触发点都保留。 */ - uint16_t digital_count; /* 有效遥信通道数:1..64。 */ -} IEC60870_FaultRecorderConfig_t; - -/* 主流程:ARMED -> CAPTURING -> READY;迟触发也可从 ARMED 直接完成到 READY。 - * CAPTURING 遇到不连续采样进入 FAILED;Release 后重新从空历史的 ARMED 开始。 */ -typedef enum { - IEC60870_FAULT_RECORDER_ARMED = 0, /* 循环更新故障前历史,允许触发。 */ - IEC60870_FAULT_RECORDER_CAPTURING, /* 已固定触发序号,等待故障后端点。 */ - IEC60870_FAULT_RECORDER_READY, /* 完整记录冻结,允许读取,拒绝继续写入。 */ - IEC60870_FAULT_RECORDER_FAILED /* 本次窗口不连续,须显式释放后重建历史。 */ -} IEC60870_FaultRecorderState_t; - -typedef enum { - IEC60870_FAULT_RECORDER_OK = 0, /* 已接收采样或触发,窗口尚未完成。 */ - IEC60870_FAULT_RECORDER_COMPLETE, /* 本次调用使完整窗口进入 READY。 */ - IEC60870_FAULT_RECORDER_BUSY, /* 当前状态不允许该操作。 */ - IEC60870_FAULT_RECORDER_NO_HISTORY, /* 触发所需的故障前采样尚未收齐或已被覆盖。 */ - IEC60870_FAULT_RECORDER_DISCONTINUITY, /* 输入序号重复、跳变或试图回绕。 */ - IEC60870_FAULT_RECORDER_INVALID /* 参数、内存重叠或序号范围不合法。 */ -} IEC60870_FaultRecorderResult_t; - -typedef struct { - IEC60870_FaultRecorderState_t state; - uint32_t sample_rate_hz; - uint32_t nominal_frequency_hz; - uint16_t digital_count; - size_t pre_samples, post_samples; /* 触发点前后各有多少个采样间隔。 */ - size_t frame_count; /* 仅 READY 返回完整记录帧数,其他状态为 0。 */ - size_t trigger_index; /* 触发帧在完整记录中的下标,从 0 开始。 */ - uint64_t first_sequence, trigger_sequence, last_sequence; /* 有效触发后才有意义的窗口绝对序号。 */ - uint32_t triggers, completed, busy_triggers, history_misses, discontinuities; /* 饱和计数,Release 保留。 */ -} IEC60870_FaultRecorderInfo_t; - -/* 控制对象由调用者持有;成员仅供实现维护,应用不要直接改写。 - * 使用对象前必须 Init;所有调用(含读取)须串行化,或在采集与导出上下文间转交所有权。 - * 内部没有锁。self 和 storage 不得重叠,且必须存活到全部读取者结束。 - * absolute sequence 表示采样时间顺序;oldest/record_start 等仅是环形数组的物理下标。 */ -typedef struct { - IEC60870_FaultRecorderConfig_t config; - IEC60870_FaultRecorderFrame_t *storage; - size_t capacity, oldest, count, pre_samples, post_samples, record_count; - size_t record_start; - uint64_t first_sequence, last_sequence, trigger_sequence, record_first, record_last; - uint32_t triggers, completed, busy_triggers, history_misses, discontinuities; - IEC60870_FaultRecorderState_t state; - bool initialized; -} IEC60870_FaultRecorder_t; - -/** - * 功能:向 config 写入默认配置;config 为 NULL 时不操作。 默认 50 Hz、4000 帧/秒、故障前 4 周波/后 8 周波、16 路遥信。 保留两端点后共 320 + 640 - * + 1 = 961 帧,触发帧下标为 320。 周波覆盖按额定频率计算;实际验收频率范围所需的帧率与窗口由调用者配置。 - * 输入参数:无。 - * 输出参数:config——写入默认配置;NULL时不操作。 - * 返回值:无。 - * 说明:仅填写配置,不分配存储或初始化模块实例。 - */ -void IEC60870_FaultRecorder_Config_Default(IEC60870_FaultRecorderConfig_t *config); - -/** - * 功能:校验 config,并将所需最小帧数写入 capacity(不是字节数)。 校验每额定周波不少于 80 点、前后周波下限、遥信数量和帧数/字节数溢出。 返回 true 表示成功;无效参数返回 - * false,并保持 capacity 的原值。 Init 可使用更大的采样数组,以保留更早的历史并容纳更迟到的故障触发。 - * 输入参数:config——配置及调用期间借用的元数据。 - * 输出参数:capacity——成功写入所需最小帧数。 - * 返回值:true表示容量计算成功;false表示配置或输出指针无效,输出不变。 - * 说明:调用方串行访问同一实例,采样数组的存储寿命由调用方负责。 - */ -bool IEC60870_FaultRecorder_Required_Capacity( - const IEC60870_FaultRecorderConfig_t *config, size_t *capacity); - -/** - * 功能:用 config 初始化 self,借用含 capacity 帧的 storage,进入空历史 ARMED。 - * 输入参数:self——调用方持有的模块实例及当前状态;config——配置及调用期间借用的元数据;storage——由调用方持有的采样帧数组;capacity——采样数组可容纳的帧数。 - * 输出参数:self——成功建立ARMED状态并重置统计;参数失败不变。 - * 返回值:true表示初始化完成;false表示配置、容量或内存重叠校验失败。 - * 说明:前提:storage 容量不少于 Required_Capacity 的结果,与 self 不重叠且生命周期足够。 返回 true 表示成功;失败返回 false 并保持 self 不变。 - * 成功会重置计数器;不分配或清空采样数组,调用者后续须逐帧 Push 建立历史。 - */ -bool IEC60870_FaultRecorder_Init(IEC60870_FaultRecorder_t *self, - const IEC60870_FaultRecorderConfig_t *config, - IEC60870_FaultRecorderFrame_t *storage, size_t capacity); - -/** - * 功能:复制一帧瞬时采样;sequence 是采样源的绝对序号,首帧可从任意值开始。 - * 输入参数:self——调用方持有的模块实例及当前状态;sequence——顺序号;frame——采样帧。 - * 输出参数:self——更新后的录波状态、环形索引及统计。 - * 返回值:INVALID表示参数或操作状态非法;BUSY表示当前状态不允许继续;DISCONTINUITY表示采样序号不连续;COMPLETE表示本次收齐完整录波窗口;OK表示操作完成。 - * 说明:前提:后续每帧序号严格加 1,UINT64_MAX 不回绕;frame 不得与 self/storage 重叠。 ARMED 遇到不连续序号时丢弃旧历史,以本帧重新开始并返回 - * DISCONTINUITY。 CAPTURING 遇到不连续序号时拒收本帧,进入 FAILED 并返回 DISCONTINUITY, 防止将缺点的窗口误当成固定采样率的有效录波。 - * READY/FAILED 拒收并返回 BUSY。 正常接收返回 OK;收齐故障后端点返回 COMPLETE,记录被冻结以供导出。 未初始化、NULL 或重叠内存返回 INVALID, - * 不修改对象。 - */ -IEC60870_FaultRecorderResult_t IEC60870_FaultRecorder_Push( - IEC60870_FaultRecorder_t *self, uint64_t sequence, - const IEC60870_FaultRecorderFrame_t *frame); - -/** - * 功能:按已接收的 trigger_sequence 触发录波;该值是绝对序号,不是环形下标。 - * 输入参数:self——调用方持有的模块实例及当前状态;trigger_sequence——触发采样的绝对序号。 - * 输出参数:self——更新后的录波状态、环形索引及统计。 - * 返回值:INVALID表示参数或操作状态非法;BUSY表示当前状态不允许继续;NO_HISTORY表示故障前历史不足;COMPLETE表示本次收齐完整录波窗口;OK表示操作完成。 - * 说明:前提:状态为 ARMED,触发帧及其前 pre_samples 个间隔仍完整保留在历史中。 支持判据延迟上报:若故障后窗口也已在缓存内,立即冻结并返回 COMPLETE; 否则进入 - * CAPTURING 并返回 OK,后续 Push 收齐剩余窗口。 非 ARMED 返回 BUSY;故障前历史不足返回 NO_HISTORY;未来触发序号或故障后 序号加法溢出返回 - * INVALID。失败不会改动缓存采样,但可能更新对应统计计数。 - */ -IEC60870_FaultRecorderResult_t IEC60870_FaultRecorder_Trigger( - IEC60870_FaultRecorder_t *self, uint64_t trigger_sequence); - -/** - * 功能:将当前状态、配置与统计快照写入 info,任意已初始化状态均可读取。 frame_count 仅在 READY 非零;窗口绝对序号字段仅在有效触发后有意义。 - * 输入参数:self——只读模块实例。 - * 输出参数:info——成功时写入的独立结果副本。 - * 返回值:true表示已取得状态快照;false表示实例或输出内存无效,输出不变。 - * 说明:前提:info 不得与 self/storage 重叠,读取也须遵守对象的串行访问约定。 返回 true 表示成功;失败返回 false,保持 info 不变。 - */ -bool IEC60870_FaultRecorder_Get_Info(const IEC60870_FaultRecorder_t *self, - IEC60870_FaultRecorderInfo_t *info); -/** - * 功能:按时间顺序复制冻结记录的第 index 帧,index 从 0 开始且须小于 frame_count。 - * 输入参数:self——只读模块实例;index——零基索引。 - * 输出参数:frame——成功时写入的独立结果副本。 - * 返回值:true表示已复制指定冻结帧;false表示状态、索引或输出内存不合法,输出不变。 - * 说明:前提:状态为 READY,frame 不得与 self/storage 重叠,读取期间不得 Release/Init。 返回 true 表示成功;失败返回 false,保持 frame 不变。 - * READY 的采样保持不变直到显式 Release/Init,可供导出层按需反复读取。 - */ -bool IEC60870_FaultRecorder_Get_Frame(const IEC60870_FaultRecorder_t *self, - size_t index, IEC60870_FaultRecorderFrame_t *frame); - -/** - * 功能:放弃历史、正在录制或冻结的记录,保留配置与计数器,重新进入空历史 ARMED。 - * 输入参数:self——调用方持有的模块实例及当前状态。 - * 输出参数:self——更新后的录波状态、环形索引及统计。 - * 返回值:true表示已重新进入空历史ARMED;false表示实例未初始化或为空。 - * 说明:前提:所有导出者/读取句柄已结束对冻结记录的使用,且没有并发读写。 返回 true 表示成功;对象未初始化或为 NULL 时返回 false。 本模块只有一个采样数组:READY - * 期间不接收新样本,释放后须重新积累故障前历史; Release 不补采这段空档,也不清零数组的旧字节。 - */ -bool IEC60870_FaultRecorder_Release(IEC60870_FaultRecorder_t *self); - -#ifdef __cplusplus -} -#endif - -#endif /* IEC60870_FAULT_RECORDER_H */ diff --git a/App/protocol/iec60870/common/IEC60870_FirmwareUpdate.h b/App/protocol/iec60870/common/IEC60870_FirmwareUpdate.h deleted file mode 100644 index 3cb01610..00000000 --- a/App/protocol/iec60870/common/IEC60870_FirmwareUpdate.h +++ /dev/null @@ -1,203 +0,0 @@ -/* 三映像槽升级核心:角色与动作意图持久化,介质及安装动作由平台回调实现。 - * 纯 C99,无堆/RTOS/文件系统;调用方持有实例和后端,所有操作必须串行。 */ -#ifndef IEC60870_FIRMWARE_UPDATE_H -#define IEC60870_FIRMWARE_UPDATE_H - -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -#define IEC60870_FIRMWARE_UPDATE_SLOT_COUNT 3U -#define IEC60870_FIRMWARE_UPDATE_NO_SLOT 255U -#define IEC60870_FIRMWARE_UPDATE_WIRE_SIZE 60U -#define IEC60870_FIRMWARE_UPDATE_SCRATCH_SIZE 256U - -/* INVALID 表示参数或调用阶段不符,不产生介质副作用;REJECTED 表示基线/候选 - * 完整性或产品许可拒绝。ERROR 表示不可继续当前操作;介质/安装不确定时会置 - * faulted,事务号耗尽则仅拒绝 Begin,不置故障。EMPTY 仅用于无基线的启动准备。 */ -typedef enum { - IEC60870_FIRMWARE_UPDATE_REJECTED = -3, - IEC60870_FIRMWARE_UPDATE_INVALID = -2, - IEC60870_FIRMWARE_UPDATE_ERROR = -1, - IEC60870_FIRMWARE_UPDATE_EMPTY = 0, - IEC60870_FIRMWARE_UPDATE_OK = 1 -} IEC60870_FirmwareUpdateResult_t; - -/* 这些值写入元数据,已有值的含义不能随枚举顺序调整。VERIFIED 仅表示内容 - * 已核验;AUTHORIZED 才允许下一次启动安装。TRIAL 尚未轮转已确认的源槽。 */ -typedef enum { - IEC60870_FIRMWARE_UPDATE_STATE_EMPTY = 0, - IEC60870_FIRMWARE_UPDATE_STABLE = 1, - IEC60870_FIRMWARE_UPDATE_RECEIVING = 2, - IEC60870_FIRMWARE_UPDATE_VERIFIED = 3, - IEC60870_FIRMWARE_UPDATE_AUTHORIZED = 4, - IEC60870_FIRMWARE_UPDATE_INSTALLING = 5, - IEC60870_FIRMWARE_UPDATE_TRIAL = 6, - IEC60870_FIRMWARE_UPDATE_ROLLING_BACK = 7 -} IEC60870_FirmwareUpdateState_t; - -/* 槽中仅保存 payload,不含传输包头。version/size 必须非零,crc 是 payload - * 的反射 CRC32;CRC 完整性检查不代替产品的签名、机型及版本许可策略。 */ -typedef struct { - uint32_t version; /* 产品版本标识;核心只检查非零,不内置升降级准入规则。 */ - uint32_t size; /* 纯负载字节数,受 Init 的 max_image_size 限制。 */ - uint32_t crc; /* 完整负载的 CRC32 最终值;零本身也是合法校验值。 */ -} IEC60870_FirmwareUpdateDescriptor_t; - -/* 所有缓冲只在同步回调期间借用,不保存指针或重入会修改本实例的接口; - * 回调允许通过 Get_Status 只读查询角色,供平台决定当前/备份派生内容。 - * metadata_read:仅从未提交返回 EMPTY;读取/损坏 ERROR,OK 才填写 size。 - * metadata_commit:单条原子替换并完成持久同步才 true,false 可能已提交。 - * image_begin:重置指定空闲槽为新候选;write/read 必须完成全部 length 字节。 - * image_sync:候选完整内容已持久化才 true。install 不修改这三个源槽,按 - * (transaction_id,slot,descriptor) 幂等地安装/选择运行映像,成功须持久完成; - * 它不得在返回前跳转或重启。相同回调用于安装、回退及确保稳定映像已安装。 - * validate 可 NULL,在实际读回 CRC 正确后执行产品许可校验,false 为拒绝。 - * 它也用于 current/backup 复验,不能无条件把旧版拒绝掉;实际槽长等介质 - * 约束也由后端在这里检查,核心只读取描述符指定的字节数。 - * context 由调用方保活;Init 不自动启动安装或取得后端资源所有权。 */ -typedef struct { - void *context; - IEC60870_FirmwareUpdateResult_t (*metadata_read)(void *context, - uint8_t *bytes, size_t capacity, size_t *size); - bool (*metadata_commit)(void *context, const uint8_t *bytes, size_t size); - bool (*image_begin)(void *context, uint8_t slot, uint32_t size); - bool (*image_write)(void *context, uint8_t slot, uint32_t offset, - const uint8_t *bytes, size_t length); - bool (*image_read)(void *context, uint8_t slot, uint32_t offset, - uint8_t *bytes, size_t length); - bool (*image_sync)(void *context, uint8_t slot); - bool (*install)(void *context, uint8_t slot, - const IEC60870_FirmwareUpdateDescriptor_t *descriptor, uint64_t transaction_id); - bool (*validate)(void *context, uint8_t slot, - const IEC60870_FirmwareUpdateDescriptor_t *descriptor); -} IEC60870_FirmwareUpdateStore_t; - -/* current 始终表示最后确认的映像;TRIAL 时实际试运行的是 candidate。 - * Confirm 才轮转 current/backup,回退保留旧 current 及其原 backup。 - * received_size 只在本次连续接收会话有效,不作为断电续传偏移。 */ -typedef struct { - IEC60870_FirmwareUpdateState_t state; /* 最近一次已知成功提交的状态,故障时未必等于介质最新值。 */ - uint8_t current_slot; /* 已确认角色;空库为 NO_SLOT。 */ - uint8_t backup_slot; /* 上一个确认版本;首次 Provision 后为 NO_SLOT。 */ - uint8_t candidate_slot; /* 有候选的持久阶段才有效,与两个保留角色互异。 */ - uint64_t transaction_id; /* Provision 从1开始,每次 Begin 加1;安装及回退重试沿用它。 */ - IEC60870_FirmwareUpdateDescriptor_t images[IEC60870_FIRMWARE_UPDATE_SLOT_COUNT]; /* 按物理槽索引,无角色项全零。 */ - uint32_t received_size; /* 易失的已接收负载字节数,Init 后归零。 */ - bool faulted; /* 易失闭锁位;仅重新 Init 可解除,查询仍可读取该位。 */ -} IEC60870_FirmwareUpdateStatus_t; - -/* 公开布局仅供静态分配,应用须通过API读取/修改状态。store 为浅拷贝; - * 接收会话和工作缓冲均不是可跨调用借用的文件快照。 */ -typedef struct { - IEC60870_FirmwareUpdateStore_t store; /* 回调表按值保存,context 仍由调用方拥有。 */ - IEC60870_FirmwareUpdateStatus_t status; - uint32_t max_image_size; /* 所有槽统一的负载上限,不包含任何传输封装。 */ - bool initialized; /* 元数据结构及角色关系完整校验后才置位。 */ - bool receiving_active; /* 仅本次 Begin 成功可写;恢复 RECEIVING 不会恢复写权限。 */ - uint8_t wire[IEC60870_FIRMWARE_UPDATE_WIRE_SIZE]; /* 独立格式编码缓冲,不按结构体布局保存。 */ - uint8_t scratch[IEC60870_FIRMWARE_UPDATE_SCRATCH_SIZE]; /* 同步读回工作区,不随映像增大。 */ -} IEC60870_FirmwareUpdate_t; - -/** - * 功能:校验参数和元数据,允许 store=&self->store。 - * 输入参数:self——调用方持有的模块实例及当前状态;store——同步存储回调表及其上下文;max_image_size——允许的映像大小上限,单位字节。 - * 输出参数:self——更新后的角色、接收进度及故障状态。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:参数 INVALID 保留原实例; 恢复失败实例不可用。空介质恢复为 STATE_EMPTY,不制造初始运行映像。 max_image_size 非零;Init 只恢复,不调用 - * install 或自动授权候选。 恢复成功(包括空介质)返回 OK;此时尚未复验各映像的实际字节。 - */ -IEC60870_FirmwareUpdateResult_t IEC60870_FirmwareUpdate_Init( - IEC60870_FirmwareUpdate_t *self, const IEC60870_FirmwareUpdateStore_t *store, - uint32_t max_image_size); -/** - * 功能:只允许空库;调用方先把真实基线 payload 写入 slot。 - * 输入参数:self——调用方持有的模块实例及当前状态;slot——映像物理槽号;descriptor——映像版本、大小和CRC描述。 - * 输出参数:self——更新后的角色、接收进度及故障状态。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;REJECTED表示映像内容或描述校验不通过;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:本接口同步并读回校验, 成功后持久登记为唯一 current,不创建假备份,也不调用 install。 descriptor 本次借用;内容/策略拒绝返回 REJECTED,仍保持空库角色。 - */ -IEC60870_FirmwareUpdateResult_t IEC60870_FirmwareUpdate_Provision( - IEC60870_FirmwareUpdate_t *self, uint8_t slot, - const IEC60870_FirmwareUpdateDescriptor_t *descriptor); -/** - * 功能:只在 STABLE 接受候选,选择 current/backup 之外的槽,先持久记录接收意图。 - * 输入参数:self——调用方持有的模块实例及当前状态;descriptor——映像版本、大小和CRC描述。 - * 输出参数:self——更新后的角色、接收进度及故障状态。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:Write 要求连续 offset,Finish 同步并读回完整 payload;不能靠包头宣称验证。 重启不续传接收偏移,Prepare_Boot 将未授权 - * RECEIVING/VERIFIED 候选取消。 - */ -IEC60870_FirmwareUpdateResult_t IEC60870_FirmwareUpdate_Begin( - IEC60870_FirmwareUpdate_t *self, const IEC60870_FirmwareUpdateDescriptor_t *descriptor); -/** - * 功能:bytes 在同步调用期间借用,length 必须非零;OK 才推进易失接收偏移。 - * 输入参数:self——调用方持有的模块实例及当前状态;offset——文件或映像内的字节偏移;bytes——字节数据;length——字节数。 - * 输出参数:self——更新后的角色、接收进度及故障状态。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:后端写失败可能已有部分副作用,核心闭锁而不猜测可继续的偏移。 - */ -IEC60870_FirmwareUpdateResult_t IEC60870_FirmwareUpdate_Write( - IEC60870_FirmwareUpdate_t *self, uint32_t offset, const uint8_t *bytes, size_t length); -/** - * 功能:仅完整接收会话可结束。 - * 输入参数:self——调用方持有的模块实例及当前状态。 - * 输出参数:self——更新后的角色、接收进度及故障状态。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;REJECTED表示映像内容或描述校验不通过;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:REJECTED 不闭锁,候选仍未验证,可由 Abort 撤销; 同步/读回 I/O 及元数据提交失败均闭锁,不能把完整接收当作持久成功。 - */ -IEC60870_FirmwareUpdateResult_t IEC60870_FirmwareUpdate_Finish(IEC60870_FirmwareUpdate_t *self); -/** - * 功能:Abort 只取消未授权候选,EMPTY/STABLE 无候选时幂等返回 OK;Authorize 只 接受 VERIFIED,持久成功才返回 OK。 - * 输入参数:self——调用方持有的模块实例及当前状态。 - * 输出参数:self——更新后的角色、接收进度及故障状态。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:任意不确定元数据提交均故障闭锁直到 Init,不能原样重试同一动作。 - */ -IEC60870_FirmwareUpdateResult_t IEC60870_FirmwareUpdate_Abort(IEC60870_FirmwareUpdate_t *self); -/** - * 功能:只保存授权事实,不执行安装。 - * 输入参数:self——调用方持有的模块实例及当前状态。 - * 输出参数:self——更新后的角色、接收进度及故障状态。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:外层负责证明授权来源及等待激活时点;核心 不接触协议 ACK,不能根据本接口参数自行判断业务授权是否成立。 - */ -IEC60870_FirmwareUpdateResult_t IEC60870_FirmwareUpdate_Authorize(IEC60870_FirmwareUpdate_t *self); -/** - * 功能:每次真实启动/应用激活只调用一次,不是循环推进接口。 - * 输入参数:self——调用方持有的模块实例及当前状态。 - * 输出参数:self——更新后的角色、接收进度及故障状态;boot_image——仅OK时写入本次选择的启动映像描述。 - * 返回值:OK表示操作完成;EMPTY表示没有所需记录或到期任务;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:先保存安装/回退意图, 再调用幂等 install;AUTHORIZED/恢复的 INSTALLING 成功进入 TRIAL。 后一次启动见 TRIAL 即回退到旧 current;恢复的 - * ROLLING_BACK 继续回退。 STABLE 校验并确保 current 已安装;未授权候选被取消。仅 OK 填写 boot_image, EMPTY 或失败保持输出; - * 输出对象不得与实例重叠。实际引导/跳转由返回后的 平台代码执行。已复验旧 current/backup 后,候选内容或读取失败均转入回退; - * 旧映像验证、元数据提交或安装失败则闭锁等待重新初始化。安装失败保留 调用时的持久状态,稳定启动修复失败仍是 STABLE,不会凭失败制造回退意图。 - */ -IEC60870_FirmwareUpdateResult_t IEC60870_FirmwareUpdate_Prepare_Boot( - IEC60870_FirmwareUpdate_t *self, IEC60870_FirmwareUpdateDescriptor_t *boot_image); -/** - * 功能:只在 TRIAL 的实际健康检查通过后调用,持久轮转角色;不能以收到协议ACK 代替运行确认。 - * 输入参数:self——调用方持有的模块实例及当前状态。 - * 输出参数:self——更新后的角色、接收进度及故障状态。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:本接口复验源槽,但不代替应用的运行/安装目标健康检查。 元数据提交失败可能已提交,须重新 Init 核对事实;调用阶段不符仍为 INVALID。 - */ -IEC60870_FirmwareUpdateResult_t IEC60870_FirmwareUpdate_Confirm(IEC60870_FirmwareUpdate_t *self); -/** - * 功能:成功拷贝状态值,含故障位;NULL/未初始化返回 false 且输出不变。 - * 输入参数:self——只读模块实例。 - * 输出参数:status——仅成功时写入升级状态副本。 - * 返回值:true表示已复制已初始化实例状态,false表示实例或输出无效。 - * 说明:查询不验证映像字节、不推进状态,输出对象不得与实例重叠。 - */ -bool IEC60870_FirmwareUpdate_Get_Status(const IEC60870_FirmwareUpdate_t *self, - IEC60870_FirmwareUpdateStatus_t *status); - -#ifdef __cplusplus -} -#endif -#endif /* IEC60870_FIRMWARE_UPDATE_H */ diff --git a/App/protocol/iec60870/common/IEC60870_History.h b/App/protocol/iec60870/common/IEC60870_History.h deleted file mode 100644 index ca9ffce6..00000000 --- a/App/protocol/iec60870/common/IEC60870_History.h +++ /dev/null @@ -1,247 +0,0 @@ -/* 附录 B 历史记录核心:事件循环记录、定点冻结、日极值及启动恢复。 - * 本模块不分配堆内存,不依赖操作系统或传输层;介质访问由存储回调完成。 - * 提交成功必须表示一个槽已原子、持久替换;提交失败后实例进入故障态, - * 必须重新 Init 核对实际存储结果,不能直接重试同一条记录。 - * 实例、点表和存储均由调用方持有;包括查询、导出在内的所有访问须串行。 */ -#ifndef IEC60870_HISTORY_H -#define IEC60870_HISTORY_H - -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* 事件容量按条数保留;日记录槽覆盖当前日和之前 31 个自然日。 - * WIRE_MAX 是单条内部编码的工作区上限,不是历史总容量。 */ -#define IEC60870_HISTORY_MAX_ANALOG 32U -#define IEC60870_HISTORY_SOE_CAPACITY 1024U -#define IEC60870_HISTORY_CO_CAPACITY 30U -#define IEC60870_HISTORY_DAYS 32U -#define IEC60870_HISTORY_SLOTS_PER_DAY 96U -#define IEC60870_HISTORY_WIRE_MAX 1024U - -/* 类别值同时用于持久记录标识;存储后端按类别划分独立槽空间。 */ -typedef enum { - IEC60870_HISTORY_SOE = 1, IEC60870_HISTORY_CO = 2, - IEC60870_HISTORY_FIXPT = 3, IEC60870_HISTORY_EXV = 4 -} IEC60870_HistoryKind_t; - -/* ERROR 为存储/状态错误,INVALID 为调用参数错误,CONFIG 为点表指纹不符; - * TIME_REVERSED 表示观测时刻回退。EMPTY 表示没有对应记录或没有配置遥测点, - * OK 表示操作成功;Observe 的 OK 不保证本次一定产生了新定点或新极值。 */ -typedef enum { - IEC60870_HISTORY_ERROR = -1, IEC60870_HISTORY_INVALID = -2, - IEC60870_HISTORY_CONFIG = -3, IEC60870_HISTORY_TIME_REVERSED = -4, - IEC60870_HISTORY_EMPTY = 0, IEC60870_HISTORY_OK = 1 -} IEC60870_HistoryResult_t; - -/* 遥控操作阶段分别记条;它们不表示设备动作成功,也不等同网络应答状态。 */ -typedef enum { - IEC60870_HISTORY_SELECT = 0, IEC60870_HISTORY_OPER = 1, - IEC60870_HISTORY_CANCEL = 2 -} IEC60870_HistoryCommand_t; - -/* 存储回调约定: - * read 按 kind/index 读取一个逻辑槽,最多写 capacity 字节,仅在 OK 时填写 - * 实际 size;EMPTY 只用于没有已提交记录的槽,坏记录及读取失败必须报 ERROR。 - * commit 完整接收 bytes/size,成功返回前须完成介质同步。提交前中断必须仍能 - * 恢复旧记录;返回 false 也可能已经落盘,因此核心会锁住后续操作并要求恢复。 - * context 只借用;字节缓冲只在回调期间有效,回调不得保存指针或重入本实例。 */ -typedef struct { - void *context; - IEC60870_HistoryResult_t (*read)(void *context, IEC60870_HistoryKind_t kind, - uint32_t index, uint8_t *bytes, size_t capacity, size_t *size); - bool (*commit)(void *context, IEC60870_HistoryKind_t kind, uint32_t index, - const uint8_t *bytes, size_t size); -} IEC60870_HistoryStore_t; - -/* 三组点表在实例整个使用期间借用,不得修改;组内地址须唯一且为非零 24 位值。 - * 遥测数组顺序决定定点及极值数组的顺序,也参与持久记录指纹;改变点表后不能 - * 用新配置解释旧存储,调用方须另行处理迁移或使用新的存储空间。 - * freeze_grace_ms 为 0..1000 毫秒,允许在每刻钟边界后的窗口内取首个有效快照; - * 0 表示只接受精确边界。错过窗口保留缺测,不拿后来的值补写旧时段。 */ -typedef struct { - const uint32_t *soe_ioas; - size_t soe_count; - const uint32_t *co_ioas; - size_t co_count; - const uint32_t *analog_ioas; - size_t analog_count; - uint32_t freeze_grace_ms; -} IEC60870_HistoryConfig_t; - -/* 一条 SOE 或遥控记录的值副本。sequence 按类别递增,与墙钟是否回拨无关; - * quality 与 time_valid 保留采集事实,XML 未定义的字段不会被编码器擅自扩展。 */ -typedef struct { - uint64_t sequence; - uint64_t utc_ms; - uint32_t ioa; - uint8_t value; - uint8_t quality; - IEC60870_HistoryCommand_t command; - bool time_valid; -} IEC60870_HistoryEvent_t; - -/* day 是 UTC+8 本地日期对应的自 1970-01-01 起日序,slot 为当天第 1..96 节。 - * 第 1 节对应 00:15,第 96 节对应归属日的 24:00;即使采样已到次日零点, - * 该定点仍保存在前一日。utc_ms 保留实际采样时刻,包含允许的调度迟到量。 - * values/quality 的前 count 项与配置的 analog_ioas 一一对应。 */ -typedef struct { - uint32_t day; - uint16_t slot; - uint64_t utc_ms; - size_t count; - float values[IEC60870_HISTORY_MAX_ANALOG]; - uint8_t quality[IEC60870_HISTORY_MAX_ANALOG]; -} IEC60870_HistoryFixed_t; - -/* 单点当天的极值及其首次达到该值的时刻;相等值不更新时标。 - * valid=false 表示当天尚无有效样本,此时不能解释其数值或发生时刻。 */ -typedef struct { - float max; - float min; - uint64_t max_utc_ms; - uint64_t min_utc_ms; - bool valid; -} IEC60870_HistoryExtremePoint_t; - -/* 一天全部遥测点的累计状态。utc_ms 是最近一次持久化变更的观测时刻, - * 不是文件生成时间;points 顺序沿用点表,当前日也保存以支持重启续算。 */ -typedef struct { - uint32_t day; - uint64_t utc_ms; - size_t count; - IEC60870_HistoryExtremePoint_t points[IEC60870_HISTORY_MAX_ANALOG]; -} IEC60870_HistoryExtrema_t; - -/* 调用方持有的实例及固定工作区。公开布局用于静态分配,业务不得修改内部状态。 - * config/store 是浅拷贝,数组和 context 的生命周期仍由调用方负责。 - * wire/work_extrema 会在读写时复用,不是可跨调用借用的历史快照。 */ -typedef struct { - IEC60870_HistoryConfig_t config; - IEC60870_HistoryStore_t store; - uint32_t fingerprint; - uint64_t event_sequence[2]; - size_t event_count[2]; - uint32_t latest_day; - uint64_t observed_utc_ms; - bool have_day; - bool initialized; - bool faulted; - uint8_t wire[IEC60870_HISTORY_WIRE_MAX]; - IEC60870_HistoryExtrema_t work_extrema; -} IEC60870_History_t; - -/** - * 功能:返回指定类别所需的逻辑槽数,供存储后端布局使用;未知类别返回 0。 - * 输入参数:kind——记录或文件类别。 - * 输出参数:无。 - * 返回值:该类别的逻辑槽容量;未知类别返回0。 - * 说明:冗余副本、提交元数据和介质对齐空间由后端在此槽数之外自行预留。 - */ -uint32_t IEC60870_History_Slot_Count(IEC60870_HistoryKind_t kind); -/** - * 功能:UTC 毫秒转换成本地日序,不读取系统时间,不修改任何实例。 - * 输入参数:utc_ms——UTC纪元毫秒。 - * 输出参数:无。 - * 返回值:固定UTC+8本地日序;超出支持历法范围返回UINT32_MAX。 - * 说明:全模块接受的日历范围是 UTC+8 的 2000-01-01 00:00:00.000 至 2099-12-31 23:59:59.999,即 UTC 毫秒 - * 946656000000..4102415999999。 超出范围返回 UINT32_MAX;事件 time_valid=false 也不能绕过此日历限制。 - */ -uint32_t IEC60870_History_Local_Day(uint64_t utc_ms); -/** - * 功能:校验配置后扫描全部槽,恢复事件序号/条数、最新测量日及已保存的时间下界。 - * 输入参数:self——调用方持有的模块实例及当前状态;config——配置及调用期间借用的元数据;store——同步存储回调表及其上下文。 - * 输出参数:self——本次操作后的运行状态及复用工作区。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;CONFIG表示持久记录与当前配置指纹不符;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:self 由调用方提供;复制配置及回调表,但不接管其中指针。允许使用实例自身 config/store 字段作为重建输入。参数校验失败返回 INVALID 且不重置旧实例; - * 进入恢复后失败则实例不可用:CONFIG 为点表不匹配,ERROR 为损坏或读取失败。 本接口不清空存储、不修复坏记录,也不创建系统资源。 - */ -IEC60870_HistoryResult_t IEC60870_History_Init(IEC60870_History_t *self, - const IEC60870_HistoryConfig_t *config, const IEC60870_HistoryStore_t *store); -/** - * 功能:追加一次已确认的遥信变位;ioa 必须属于 SOE 点表,value 为 0..3 的状态码。 - * 输入参数:self——调用方持有的模块实例及当前状态;ioa——信息对象地址;value——待处理数值;quality——事件品质字节;utc_ms——UTC纪元毫秒; - * time_valid——事件原始时标是否有效。 - * 输出参数:self——本次操作后的运行状态及复用工作区。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:quality 与 time_valid 原样保留;utc_ms 是事件发生时间,不能改用发送重试时间。 成功后递增序号并按容量覆盖最旧记录;非法输入返回 INVALID,存储或实例问题 - * 返回 ERROR。函数不做变位检测或重复消除,调用方须保证每个实际事件只追加一次。 - */ -IEC60870_HistoryResult_t IEC60870_History_Append_Soe(IEC60870_History_t *self, - uint32_t ioa, uint8_t value, uint8_t quality, uint64_t utc_ms, bool time_valid); -/** - * 功能:追加指定遥控阶段;ioa 必须属于遥控点表,command 为选择/执行/撤销,value 为 0..3。 - * 输入参数:self——调用方持有的模块实例及当前状态;ioa——信息对象地址;command——遥控操作阶段;value——待处理数值;utc_ms——UTC纪元毫秒; - * time_valid——事件原始时标是否有效。 - * 输出参数:self——本次操作后的运行状态及复用工作区。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:时标及循环提交规则同 SOE;本接口只保存操作事实,不判设备执行结果。 参数只按值使用,无借用输出;返回 OK、INVALID 或 ERROR。 - */ -IEC60870_HistoryResult_t IEC60870_History_Append_Control(IEC60870_History_t *self, - uint32_t ioa, IEC60870_HistoryCommand_t command, uint8_t value, - uint64_t utc_ms, bool time_valid); -/** - * 功能:提供同一实际观测时刻的遥测数组,count 必须等于配置点数;输入数组仅本次借用。 - * 输入参数:self——调用方持有的模块实例及当前状态;utc_ms——UTC纪元毫秒;values——按配置点序排列的值;quality——与值数组同序的品质;count——数组项数。 - * 输出参数:self——本次操作后的运行状态及复用工作区。 - * 返回值:OK表示操作完成;EMPTY表示没有所需记录或到期任务;INVALID表示参数或操作状态非法;CONFIG表示持久记录与当前配置指纹不符;ERROR表示实例不可用、I/O失败或内容损坏; - * TIME_REVERSED表示观测时间低于高水位。 - * 说明:仅品质为 0 的有限浮点数参加极值统计;定点则要求本次全部点有效。应持续调用 以捕获日极值,并保证每个冻结宽限窗口至少有一次有效调用,才能得到每日 96 节。 只接受可信墙钟; - * 小于实例已观测时刻返回 TIME_REVERSED,不改历史;零遥测点返回 EMPTY。OK 也可能只是时间推进,没有新记录。非法输入返回 INVALID。 定点和极值各自提交,非跨类型事务; - * 若后一次提交失败,前一次已落盘记录仍保留, 返回 ERROR 并须 Init 恢复,不能因为整次 Observe 失败而回滚已提交数据。 - */ -IEC60870_HistoryResult_t IEC60870_History_Observe(IEC60870_History_t *self, - uint64_t utc_ms, const float *values, const uint8_t *quality, size_t count); -/** - * 功能:返回恢复/提交后缓存的事件条数,不访问存储;仅接受 SOE/CO。 - * 输入参数:self——只读模块实例;kind——记录或文件类别。 - * 输出参数:无。 - * 返回值:指定SOE/CO环的保留条数;类别或实例不可用时返回0。 - * 说明:空记录、未知类别、未初始化或故障实例均返回 0,不能据此区分存储故障与空库。 - */ -size_t IEC60870_History_Event_Count(const IEC60870_History_t *self, - IEC60870_HistoryKind_t kind); -/** - * 功能:按从旧到新的下标读取事件,oldest_index=0 是当前保留的最旧条目。 - * 输入参数:self——调用方持有的模块实例及当前状态;kind——记录或文件类别;oldest_index——按提交顺序从最旧记录起的零基索引。 - * 输出参数:self——复用工作区及读取校验可能锁存的故障状态;out——成功时写入的独立结果副本。 - * 返回值:OK表示操作完成;EMPTY表示没有所需记录或到期任务;INVALID表示参数或操作状态非法;CONFIG表示持久记录与当前配置指纹不符;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:out 由调用方持有,只有 OK 才填写;越界/缺槽返回 EMPTY,参数错误为 INVALID, 存储异常为 ERROR/CONFIG。输出是独立值副本;查询期间必须禁止同实例追加/轮转。 - */ -IEC60870_HistoryResult_t IEC60870_History_Get_Event(IEC60870_History_t *self, - IEC60870_HistoryKind_t kind, size_t oldest_index, IEC60870_HistoryEvent_t *out); -/** - * 功能:读取归属日 day 的第 slot 节;slot 只能为 1..96,不按已有条目重新编号。 - * 输入参数:self——调用方持有的模块实例及当前状态;day——相对1970-01-01的本地日序;slot——定点节号1..96;事件及极值公共头使用0。 - * 输出参数:self——复用工作区及读取校验可能锁存的故障状态;out——成功时写入的独立结果副本。 - * 返回值:OK表示操作完成;EMPTY表示没有所需记录或到期任务;INVALID表示参数或操作状态非法;CONFIG表示持久记录与当前配置指纹不符;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:不在 32 日保留窗口、该节缺测或物理槽已归属其他日期时返回 EMPTY。 out 仅在 OK 时填写完整值副本;其他失败返回 INVALID、ERROR 或 CONFIG。 - */ -IEC60870_HistoryResult_t IEC60870_History_Read_Fixed(IEC60870_History_t *self, - uint32_t day, uint16_t slot, IEC60870_HistoryFixed_t *out); -/** - * 功能:读取一天的累计极值,也可读取未结束的当前日;是否导出该日由文件层决定。 - * 输入参数:self——调用方持有的模块实例及当前状态;day——相对1970-01-01的本地日序。 - * 输出参数:self——复用工作区及读取校验可能锁存的故障状态;out——成功时写入的独立结果副本。 - * 返回值:OK表示操作完成;EMPTY表示没有所需记录或到期任务;INVALID表示参数或操作状态非法;CONFIG表示持久记录与当前配置指纹不符;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:无记录/超保留窗口返回 EMPTY;参数或存储失败返回 INVALID、ERROR、CONFIG。 out 仅在 OK 时填写;逐点 valid 才能判定该点是否曾有有效样本。 - */ -IEC60870_HistoryResult_t IEC60870_History_Read_Extrema(IEC60870_History_t *self, - uint32_t day, IEC60870_HistoryExtrema_t *out); -/** - * 功能:输出已恢复或观测到的最新测量日,不等于调用瞬间系统日期,也不由事件时间推进。 - * 输入参数:self——只读模块实例。 - * 输出参数:day——成功时写入的本地日序。 - * 返回值:true表示已有最近测量日并填写day;false表示实例不可用或尚无测量日。 - * 说明:未有测量日、实例不可用或 day=NULL 返回 false 并保留输出;true 时仅写 *day。 - */ -bool IEC60870_History_Latest_Day(const IEC60870_History_t *self, uint32_t *day); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/App/protocol/iec60870/common/IEC60870_HistoryFile.h b/App/protocol/iec60870/common/IEC60870_HistoryFile.h deleted file mode 100644 index d39e23b3..00000000 --- a/App/protocol/iec60870/common/IEC60870_HistoryFile.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * 附录 B 历史 XML 编码:将 SOE、遥控操作、日极值和定点记录转换为传输文件。 - * 编码器分片输出、不分配堆内存,不访问文件系统或传输层。 - * 记录持久化由历史核心/后端负责;对外可重复读取的冻结文件由调用方保存。 - */ -#ifndef IEC60870_HISTORY_FILE_H -#define IEC60870_HISTORY_FILE_H - -#include "IEC60870_History.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* 路径容量包含末尾 NUL;属性上限按原始 UTF-8 字节计,不含 NUL。 - * XML 转义后可能变长,编码器逐片输出,不要求调用方准备等大的整行缓冲。 */ -#define IEC60870_HISTORY_FILE_PATH_CAPACITY 48U -#define IEC60870_HISTORY_FILE_ATTRIBUTE_MAX 255U - -typedef struct { - const char *device_name; /* 借用有效 UTF-8/XML 文本,最多 ATTRIBUTE_MAX 字节。 */ - const char *const *analog_units; /* 可空;非空须按点表顺序提供 analog_count 个单位字符串。 */ -} IEC60870_HistoryFileConfig_t; - -/* 同步接收且保存全部 length 字节才返回 true;短写或其他失败必须返回 false。 - * bytes 仅在回调期间借用,可能是临时栈缓冲或一个 UTF-8 字符的部分字节,不能 - * 保留指针,也不能假设每片自带 NUL。合并全部分片后才构成完整 UTF-8 XML。 - * 失败时可能已经输出文件前缀,调用方须丢弃整个候选文件,不能把前缀发布出去。 - * 回调不得修改历史记录、点表或编码配置,也不得重入同一历史实例。 */ -typedef bool (*IEC60870_HistoryFileWriteFn)(void *context, const uint8_t *bytes, size_t length); - -/** - * 功能:生成大小写固定的完整虚拟路径,供目录项与读文件请求共同使用。 - * 输入参数:kind——记录或文件类别;day——相对1970-01-01的本地日序;capacity——缓冲可用容量。 - * 输出参数:name——成功生成的NUL结尾相对文件名;失败不变。 - * 返回值:true表示文件名已完整生成;false表示参数非法或容量不足,输出不变。 - * 说明:day 是 UTC+8 本地日序;SOE/CO 忽略 day,日文件只接受可表示的 2000..2099 日期。 name/capacity 由调用方提供,容量含 NUL;true - * 时填写结果,false 时不修改输出。 失败包括未知类别、日期无效或容量不足;这里只生成名称,不查询存在性/保留窗口。 - */ -bool IEC60870_HistoryFile_Name(IEC60870_HistoryKind_t kind, uint32_t day, - char *name, size_t capacity); - -/** - * 功能:通过 write/context 输出一份附录 B.3.2 XML,整个调用期间须独占历史实例。 - * 输入参数:history——历史核心实例;kind——记录或文件类别;day——相对1970-01-01的本地日序;config——配置及调用期间借用的元数据;write——同步接收输出片段的回调; - * context——传给输出回调的调用方上下文。 - * 输出参数:history——复用读取工作区及读取错误可能锁存的故障状态;size——仅完整成功时写入文件字节数,不含NUL;允许NULL的入口不强制输出。 - * 返回值:true表示完整文件已输出;false表示参数、读取校验或输出回调失败,候选内容不可发布。 - * 说明:history、config 及其字符串/数组都由调用方持有,编码器仅在本次调用中借用; 不消费记录、不改变保留策略。调用方须将成功输出冻结后再交给文件服务下载。 SOE/CO - * 从旧到新输出当前保留事件,允许 num=0;day 对这两类不起作用。 日文件仅开放最新测量日前的 30 个完整自然日。EXV 同时从属性表和数据表省略 没有有效样本的点;FIXPT - * 省略含失效值的快照,sectNum 写实际节数,sect 保留 原来的 1..96 节编号,不能因缺测重新编号;第 96 节写归属日 24:00。 规范 XML - * 没有定义独立品质/时间有效位属性,这些信息仍保留在内部持久记录中。 无日数据、输入无效、存储读取失败、输出失败或长度溢出均返回 false;已输出的 前缀须整体废弃。size 可为 NULL, - * 仅在完整成功后写入文件字节数,不包含 NUL。 - */ -bool IEC60870_HistoryFile_Write(IEC60870_History_t *history, - IEC60870_HistoryKind_t kind, uint32_t day, - const IEC60870_HistoryFileConfig_t *config, - IEC60870_HistoryFileWriteFn write, void *context, - uint32_t *size); - -#ifdef __cplusplus -} -#endif -#endif /* IEC60870_HISTORY_FILE_H */ diff --git a/App/protocol/iec60870/common/IEC60870_UserLog.h b/App/protocol/iec60870/common/IEC60870_UserLog.h deleted file mode 100644 index 5825d121..00000000 --- a/App/protocol/iec60870/common/IEC60870_UserLog.h +++ /dev/null @@ -1,119 +0,0 @@ -/* 附录 C 运行日志:固定容量循环保存,介质原子性由调用方后端保证。 - * 无堆、无操作系统和文件系统依赖;全部访问须由调用方串行化。 */ -#ifndef IEC60870_USER_LOG_H -#define IEC60870_USER_LOG_H - -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CAPACITY 是介质逻辑槽数,不要求 RAM 保存整环;WIRE_MAX 为单条最大编码: - * 32 字节固定头 + 128 字节文本 + 4 字节 CRC。UTC 两端均包含在合法范围内。 */ -#define IEC60870_USER_LOG_CAPACITY 1024U -#define IEC60870_USER_LOG_TEXT_MAX 128U -#define IEC60870_USER_LOG_WIRE_MAX 164U -#define IEC60870_USER_LOG_UTC_MIN UINT64_C(946656000000) -#define IEC60870_USER_LOG_UTC_MAX UINT64_C(4102415999999) - -/* INVALID 表示输入错误;ERROR 包括实例/介质错误及序号耗尽。并非所有 ERROR - * 都设置 faulted,例如耗尽时已有记录仍可查询;EMPTY 用于空槽或越界查询。 */ -typedef enum { - IEC60870_USER_LOG_INVALID = -2, - IEC60870_USER_LOG_ERROR = -1, - IEC60870_USER_LOG_EMPTY = 0, - IEC60870_USER_LOG_OK = 1 -} IEC60870_UserLogResult_t; - -/* index 为 0..1023 的逻辑槽。read 仅在 OK 时填写实际 size;EMPTY 只表示 - * 从未提交的空槽,损坏/短读/I/O 失败必须 ERROR。commit 成功表示原子替换并 - * 完成持久同步;失败可能已经提交,核心将故障闭锁直到重新 Init。 - * context 由调用方持有,缓冲仅在回调中借用,不得保存指针或重入实例。 */ -typedef struct { - void *context; - IEC60870_UserLogResult_t (*read)(void *context, uint32_t index, - uint8_t *bytes, size_t capacity, size_t *size); - bool (*commit)(void *context, uint32_t index, const uint8_t *bytes, size_t size); -} IEC60870_UserLogStore_t; - -/* sequence 按提交顺序递增,校时回拨不改变记录顺序;text 始终以 NUL 结尾。 - * 这是独立的内存值副本,text 的终止符和结构体填充不属于持久化字节布局。 */ -typedef struct { - uint64_t sequence; - uint64_t utc_ms; - uint8_t type; - uint8_t value; - char text[IEC60870_USER_LOG_TEXT_MAX + 1U]; -} IEC60870_UserLogRecord_t; - -/* 调用方静态分配;公开布局仅为分配方便,业务不得直接改内部状态。 - * store 为浅拷贝;wire 是复用工作区,不能作为跨调用的记录借用。 */ -typedef struct { - IEC60870_UserLogStore_t store; - uint64_t sequence; - uint64_t latest_utc_ms; - size_t count; - bool initialized; - bool faulted; - uint8_t wire[IEC60870_USER_LOG_WIRE_MAX]; -} IEC60870_UserLog_t; - -/** - * 功能:扫描全部槽并校验格式、CRC、槽号和序号连续性;不清空或修复介质。 - * 输入参数:self——调用方持有的模块实例及当前状态;store——同步存储回调表及其上下文。 - * 输出参数:self——本次操作后的运行状态及复用工作区。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:self/store 必须非空且回调齐全。允许 store=&self->store;参数错误返回 INVALID 并保留旧实例,扫描失败返回 ERROR 且实例不可用,成功返回 OK。 - * 实例与回调 context 均由调用方持有,初始化不取得资源所有权。 - */ -IEC60870_UserLogResult_t IEC60870_UserLog_Init(IEC60870_UserLog_t *self, - const IEC60870_UserLogStore_t *store); - -/** - * 功能:追加一条事实:type 为 1..11;1/10/11 的 value 只能为 1,其余为 0/1。 - * 输入参数:self——调用方持有的模块实例及当前状态;type——类别编号;utc_ms——UTC纪元毫秒;value——待处理数值;text——文本或文本输出器。 - * 输出参数:self——本次操作后的运行状态及复用工作区。 - * 返回值:OK表示操作完成;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:text 是非空、至多 128 字节的可打印 ASCII;utc_ms 是 UTC 毫秒,允许范围 对应 UTC+8 的 2000..2099。时标允许回拨,不按类别去重,来源状态转换由 - * 应用控制。参数本次调用内借用。成功 OK,非法输入 INVALID,故障/序号耗尽 ERROR;仅持久提交成功后推进内存条数/序号,失败不会自动重试。 01/10/11 - * 分别表达重启、参数修改、升级行为;02..09 为状态类。核心只检验 类型和值,不推断来源身份、连接极性或设备动作是否真的发生。 - */ -IEC60870_UserLogResult_t IEC60870_UserLog_Append(IEC60870_UserLog_t *self, - uint8_t type, uint64_t utc_ms, uint8_t value, const char *text); - -/** - * 功能:返回当前保留条数;空库、空指针、未初始化或故障实例都返回 0,不能据此 区分空库与错误。 - * 输入参数:self——只读模块实例。 - * 输出参数:无。 - * 返回值:当前保留条数;NULL、未初始化或故障实例返回0。 - * 说明:需要导出时应由 Write/Get 的结果确认实例可用性。 - */ -size_t IEC60870_UserLog_Count(const IEC60870_UserLog_t *self); - -/** - * 功能:oldest_index 从 0 起,按提交顺序从旧到新查询;超出条数返回 EMPTY。 - * 输入参数:self——调用方持有的模块实例及当前状态;oldest_index——按提交顺序从最旧记录起的零基索引。 - * 输出参数:self——本次操作后的运行状态及复用工作区;record——成功时写入的独立结果副本。 - * 返回值:OK表示操作完成;EMPTY表示没有所需记录或到期任务;INVALID表示参数或操作状态非法;ERROR表示实例不可用、I/O失败或内容损坏。 - * 说明:record 须指向调用方独立的输出对象,不得与 self 或存储重叠。成功 OK 时 拷贝完整记录;其他结果保持输出不变。读取/校验错误返回 ERROR 并故障闭锁, 参数错误返回 - * INVALID;查询不消费记录。 - */ -IEC60870_UserLogResult_t IEC60870_UserLog_Get(IEC60870_UserLog_t *self, - size_t oldest_index, IEC60870_UserLogRecord_t *record); - -/** - * 功能:返回最新提交记录的时标,并非所有记录中的最大墙钟值;空库/实例无效/ 输出为空时返回 false,保持输出不变。 - * 输入参数:self——只读模块实例。 - * 输出参数:utc_ms——成功时写入最新提交记录的UTC毫秒。 - * 返回值:true表示已取得最新提交记录的时标;false表示不可用或无记录,输出不变。 - * 说明:调用方拥有输出值,无介质读取。 - */ -bool IEC60870_UserLog_Latest_Time(const IEC60870_UserLog_t *self, uint64_t *utc_ms); - -#ifdef __cplusplus -} -#endif -#endif /* IEC60870_USER_LOG_H */ diff --git a/App/protocol/iec60870/common/IEC60870_UserLogFile.h b/App/protocol/iec60870/common/IEC60870_UserLogFile.h deleted file mode 100644 index 152b8398..00000000 --- a/App/protocol/iec60870/common/IEC60870_UserLogFile.h +++ /dev/null @@ -1,38 +0,0 @@ -/* 附录 C XML 编码:同步流式输出,不分配堆内存,不操作文件系统。 */ -#ifndef IEC60870_USER_LOG_FILE_H -#define IEC60870_USER_LOG_FILE_H - -#include "IEC60870_UserLog.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* 传输使用的完整虚拟路径,大小写固定;不代表编码器会创建文件系统目录。 - * 设备 ID 上限不含 NUL,调用方存放最大长度字符串时需另留一个终止字节。 */ -#define IEC60870_USER_LOG_FILE_NAME "HISTORY/ULOG/ulog.xml" -#define IEC60870_USER_LOG_DEVICE_ID_MAX 24U - -/* 成功须同步保存全部 length 字节;短写或错误返回 false。bytes 只在回调 - * 期间有效,不含隐式 NUL,调用方不得保留指针或修改/重入日志实例。 - * 失败可能已写出文件前缀,调用方必须丢弃整个候选文件。 */ -typedef bool (*IEC60870_UserLogFileWriteFn)(void *context, - const uint8_t *bytes, size_t length); - -/** - * 功能:按递增序号输出保留的全部记录,允许 num=0。 - * 输入参数:log——用户日志核心实例;device_id——设备标识;write——同步接收输出片段的回调;context——传给输出回调的调用方上下文。 - * 输出参数:log——复用读取工作区及读取错误可能锁存的故障状态;size——仅完整成功时写入文件字节数,不含NUL;允许NULL的入口不强制输出。 - * 返回值:true表示完整文件已输出;false表示参数、读取校验或输出回调失败,候选内容不可发布。 - * 说明:device_id 为非空、最多 24 字节的可打印 ASCII,编码器转义 XML 属性中的特殊字符。记录时标以固定 UTC+8 输出两位年份。实例、字符串、sink context - * 全部由调用方持有,本次 同步调用期间须独占日志实例,成功产物应冻结后再交给文件服务。 非法输入、存储错误、sink 失败或长度溢出返回 false;size 可空,仅完整 成功后写入字节数, - * 不含 NUL,失败保持输出不变且丢弃已输出的任何前缀。 使用附录 C 正式模板的 Ulog/devID/txt 字段;不扩展内部序号等私有属性。 空库仍输出完整 Header 和空 - * DataRec,不为凑满 1024 条创建虚构日志。 - */ -bool IEC60870_UserLogFile_Write(IEC60870_UserLog_t *log, const char *device_id, - IEC60870_UserLogFileWriteFn write, void *context, uint32_t *size); - -#ifdef __cplusplus -} -#endif -#endif /* IEC60870_USER_LOG_FILE_H */ diff --git a/App/protocol/iec60870/common/README.md b/App/protocol/iec60870/common/README.md deleted file mode 100644 index b9db1c03..00000000 --- a/App/protocol/iec60870/common/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Shared codec import - -Byte-preserved subset of `IEC60870-Slave/common` at baseline f84855a5. -Asdu, Codec, InformationObjects, Slave and Time implement shared protocol data. -FaultEvent is also required by the imported spontaneous Type42 encoder. -Local compatibility patches preserve every compile-time assertion condition. diff --git a/App/protocol/iec60870/examples/README.md b/App/protocol/iec60870/examples/README.md deleted file mode 100644 index 466f5639..00000000 --- a/App/protocol/iec60870/examples/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# Declarative DTU profile - -Only `iec104_dtu_profile.h` is imported from the baseline examples directory. -No example main or runtime implementation is compiled in the product. diff --git a/App/task/iec104_serv.c b/App/task/iec104_serv.c index 9f766acc..e32dab44 100644 --- a/App/task/iec104_serv.c +++ b/App/task/iec104_serv.c @@ -2,8 +2,8 @@ * 模块名称:IEC 60870-5-104 被控站服务(netTask 单属主驱动) * 模块功能:在 netTask 的 1 ms 主循环里驱动 threadless 的 iec104_core: * 代次自愈 -> iec104_core_start/poll/stop -> 四字段统计单调化。 - * 协议解析、socket I/O、点表全部在 App/protocol/iec104/ 与 vendor - * App/protocol/iec60870/ 内,本文件只做属主编排与对外只读契约。 + * 协议解析、socket I/O、点表全部在 App/iec60870/104/ 与 common/ + * App/iec60870/ 内,本文件只做属主编排与对外只读契约。 * 线程约定:**所有 core 调用只在 iec104_serv_net_tick() 内**(netTask 上下文)。 * iec104_core 是单属主、零等待对象,绝不跨任务调用;本文件不含 * 任何 osDelay / 阻塞等待,避免拖垮 netTask 的 1 ms 网络循环。 diff --git a/App/task/iec104_serv.h b/App/task/iec104_serv.h index ee7cc149..ab95f006 100644 --- a/App/task/iec104_serv.h +++ b/App/task/iec104_serv.h @@ -1,7 +1,7 @@ /* * 模块名称:IEC 60870-5-104 被控站服务(对外接口) * 模块功能:声明 IEC104 服务的 netTask 驱动入口与对外只读契约;协议实现在 - * App/protocol/iec104/ 与 App/protocol/iec60870/,由 netTask 单属主 + * App/iec60870/104/ 与 App/iec60870/common/,由 netTask 单属主 * 在 1 ms 循环内调用 iec104_serv_net_tick() 驱动 threadless 核心; * iec104Task 已退役,其任务体声明/创建点已全部删除。 * 创建日期:2026-10-12(B4) @@ -12,7 +12,7 @@ #include /* uint32_t(观测计数声明):头文件自含——2026-10-27 /keil-build 实测 * 本头此前全靠包含者先带 stdint,feed 换 include 即断链报 #20 */ /* 监听端口的宏出口已删除(道G task-9 收口 task-8 交接痕):运行期真源 = - * [comm] 段 getter(App/protocol/iec104/iec104_comm.h 的 iec104_comm_port(), + * [comm] 段 getter(App/iec60870/104/iec104_comm.h 的 iec104_comm_port(), * 工厂默认 IEC104_COMM_DEF_PORT = 2404 = DL/T 634.5104 标准端口)。 */ /* diff --git a/App/task/ui_task.c b/App/task/ui_task.c index 09066a35..27268a44 100644 --- a/App/task/ui_task.c +++ b/App/task/ui_task.c @@ -246,8 +246,9 @@ static int ui_task_maint_clock_set(uint32_t a_epoch) { * 返回值:0 - 已投递(prot_elm_request_reset 无拒绝分支) int * 限定条件:uiTask 上下文;不等待执行结果 * 函数说明:只投递不阻塞(契约:UI 页面二次确认后调,页面立刻给"已请求复归")。 - * **不在这里投操作记录**:远端 104 YK11 那条已经在 - * App/protocol/iec104/iec104_pts.c 投过,在这里再投一次就会给每一次 + * **不在这里投操作记录**:远端 104 YK11 那条原先已经由旧 + * App/protocol/iec104/iec104_pts.c 投过(该文件 2026-11-18 已删除,骨架阶段 + * 104 侧不再投递),在这里再投一次就会给每一次 * 主站复归多记一条"面板复归",审计面直接失真。本地这条由页面投 * (只有页面知道"这是人按的"),措辞也不同串:见 Drivers/BSP/UI/ui_page_reset.c */ diff --git a/Drivers/BSP/UI/ui_data.c b/Drivers/BSP/UI/ui_data.c index 1b4882eb..29c26824 100644 --- a/Drivers/BSP/UI/ui_data.c +++ b/Drivers/BSP/UI/ui_data.c @@ -574,8 +574,10 @@ int ui_data_maint_clear_state(uint8_t a_log_id) { /* * 私有宏定义区(本小节自带,不与其它小节共用): * 算法 = Howard Hinnant 的 days_from_civil / civil_from_days(以 0000-03-01 - * 为纪元、400 年一周期),与 App/protocol/iec104/iec104_asdu.c 的正反两套实现 - * 同族;本工程年域 2000..2038,全程非负,用 uint32 就够,不引 int64 也不引 time.h + * 为纪元、400 年一周期),与旧 App/protocol/iec104/iec104_asdu.c 的正反两套实现 + * 同族(该文件 2026-11-18 已删除;现网 ASDU 时间在 + * App/iec60870/common/IEC60870_Time.c);本工程年域 2000..2038,全程非负, + * 用 uint32 就够,不引 int64 也不引 time.h */ #define CL_SECONDS_PER_DAY 86400u #define CL_SECONDS_OF_DAY_MAX 11647u /* 0x7FFFFFFF % 86400 = 2038-01-19 的 03:14:07 */ @@ -1032,7 +1034,7 @@ uint8_t ui_data_yt_pending(void) { * 通道六:通讯参数([comm])整定注入(道G task-9,通讯设置页) * * 与通道五同一组存在理由(ui_data.h 通道六表注:分层 / 模拟器 / 原子性); - * 本层同样**不持有任何 [comm] 值**——真源在 App/protocol/iec104/iec104_comm.c + * 本层同样**不持有任何 [comm] 值**——真源在 App/iec60870/104/iec104_comm.c * 的 RAM 副本,落盘动力在 defaultTask 每轮无条件 iec104_comm_store_save()。 * 未注入语义按"能力不可用"退化(row/set → -1、pending → 0),页面不崩不猜。 * ============================================================ */ diff --git a/Drivers/BSP/UI/ui_data.h b/Drivers/BSP/UI/ui_data.h index 63720848..14672408 100644 --- a/Drivers/BSP/UI/ui_data.h +++ b/Drivers/BSP/UI/ui_data.h @@ -175,9 +175,13 @@ typedef struct { uint64_t yx_dp; /* 遥信双点位图: bit i = 1 该点是双点型(M_DP) * 值列打"合位/分位",单点打"动作/复归"。 * 为什么下发位图而不让页面自己认定"前 4 点是 - * 双点":单/双点是**104 点表事实**(见 - * App/protocol/iec104/iec104_pts.c 的 YX_DP_N 与 - * iec104_pts_yx_is_dp),抄一份进表现层就是第二 + * 双点":单/双点是**104 点表事实**(旧产品 + * 33 点表 App/protocol/iec104/iec104_pts.c 的 + * YX_DP_N 与 iec104_pts_yx_is_dp,该文件 + * 2026-11-18 已删除;现行口径见 + * App/iec60870/104/iec104_dtu_table.c 的 + * IEC104_DTU_SP_COUNT / IEC104_DTU_DP_COUNT), + * 抄一份进表现层就是第二 * 真相——点表把某点改成双点、或把双点段挪到下标 * 中段,屏上不会报错,只会用错词形容同一个点。 * V0.1 双点 4 点无开入硬件 → 不在 yx_valid 内, @@ -558,7 +562,8 @@ typedef struct { * const char * * 返回值:无 * 限定条件:真机实现 = syslog_post_quiet(SYSLOG_OPER, desc)。**谁触发谁投**: - * 远端 104 遥控那条已由 App/protocol/iec104/iec104_pts.c 投, + * 远端 104 遥控那条原由旧 App/protocol/iec104/iec104_pts.c 投(该文件 + * 2026-11-18 已删除,骨架阶段 104 侧无此记录), * 本地面板这条由页面在受理成功后投,两边各一条、不得互替 */ void (*oper_note)(const char *a_desc); @@ -912,7 +917,7 @@ uint8_t ui_data_yt_pending(void); /* ── 通道六:通讯参数([comm])整定注入(道G task-9,通讯设置页)─────── * - * 理由与通道五逐字同构(分层方向 layer-deps / 模拟器不链 App/protocol / + * 理由与通道五逐字同构(分层方向 layer-deps / 模拟器不链 App/iec60870 / * "写值+置脏"原子性归执行侧),此处只记差异: * ① 行数不进表——[comm] 就两个键(ca/port),行名与行数是**页面形状**, * 不是数据源;lo/hi 与值由 row() 现给(合法带唯一出口 = iec104_comm.h diff --git a/Drivers/BSP/UI/ui_page_oper.c b/Drivers/BSP/UI/ui_page_oper.c index 2f0a7c21..29a08cbe 100644 --- a/Drivers/BSP/UI/ui_page_oper.c +++ b/Drivers/BSP/UI/ui_page_oper.c @@ -6,7 +6,12 @@ * 空日志显示单条伪行"无记录";向框架 ui_content_page 提供页面描述符(零 LVGL 对象) * 记录口径(本文件只读显示、不实现写入方;权威表 App/log/README.md §五类记录): * 触发判据 = 人工/远端操作留痕:定值保存、强制复归、对时(SNTP 与 104)、清除记录; - * 写入点 = App/task/default_task.c(定值保存)、App/protocol/iec104/iec104_pts.c(复归与整定写入)、App/task/iec104_serv.c 与 App/sync/time_sntp.c(对时)、App/log/sys_log_mcu.c(清除记录留痕,OPER 自身除外); + * 写入点 = App/task/default_task.c(定值保存)、 + * App/log/sys_log_mcu.c(清除记录留痕,OPER 自身除外)、 + * App/sync/time_sntp.c(对时); + * 旧实现另有旧 App/protocol/iec104/iec104_pts.c(复归与整定写入, + * 该文件 2026-11-18 已删除)与 App/task/iec104_serv.c 的 + * s_clock_sync()(104 对时,同日重写为新契约后不再投递); * "记录类型 = 日志 ID 本身"(一类记录一个文件,记录体内没有类型字段位, * Lead 裁定 2026-10-26)——本页只读 oper.log 一个文件,不做跨文件混排。 * 台架复核已完成(2026-11-06,Issue #53 台架轮、实机 boot 188–193,证据贴 Issue #53 评论): diff --git a/Drivers/BSP/UI/ui_page_reset.c b/Drivers/BSP/UI/ui_page_reset.c index d664b696..ad3c9590 100644 --- a/Drivers/BSP/UI/ui_page_reset.c +++ b/Drivers/BSP/UI/ui_page_reset.c @@ -31,7 +31,8 @@ /* * 本地这条操作记录的描述串:ASCII 20 字节 < SYSLOG_DESC_MAX(28)。 - * 与远端那条(App/protocol/iec104/iec104_pts.c 的 "force reset")**刻意不同串**—— + * 与远端那条(旧 App/protocol/iec104/iec104_pts.c 的 "force reset",该文件 + * 2026-11-18 已删除,骨架阶段 104 侧无此记录)**刻意不同串**—— * 操作记录是审计面,两条一样就再也分不出"是主站下发的还是现场有人按面板", * 而那正是查遥控事故时第一个要问的问题。 * 为什么由页面投而不是由 prot_elm_request_reset() 投:那条函数在 algo 层, diff --git a/Drivers/BSP/UI/ui_page_yk.c b/Drivers/BSP/UI/ui_page_yk.c index b6ff63f0..12ad8b4f 100644 --- a/Drivers/BSP/UI/ui_page_yk.c +++ b/Drivers/BSP/UI/ui_page_yk.c @@ -6,7 +6,9 @@ * 空日志显示单条伪行"无记录";向框架 ui_content_page 提供页面描述符(零 LVGL 对象) * 记录口径(本文件只读显示、不实现写入方;权威表 App/log/README.md §五类记录): * 触发判据 = 104 遥控的选择 / 执行 / 拒绝(含未知类型与参数越界); - * 写入点 = App/protocol/iec104/iec104_pts.c 的遥控段; + * 写入点 = 旧 App/protocol/iec104/iec104_pts.c 的遥控段(该文件 2026-11-18 + * 已删除);骨架阶段**当前无生产者**——模拟动作绝不驱动物理出口, + * 见 docs/子系统设计/IEC104上行设计说明.md §0.5; * "记录类型 = 日志 ID 本身"(一类记录一个文件,记录体内没有类型字段位, * Lead 裁定 2026-10-26)——本页只读 yk.log 一个文件,不做跨文件混排。 * 台架复核已完成(2026-11-06,Issue #53 台架轮、实机 boot 188–193,证据贴 Issue #53 评论): diff --git a/MDK-ARM/STM32F407-Demo.uvprojx b/MDK-ARM/STM32F407-Demo.uvprojx index 63c769b6..6105aa41 100644 --- a/MDK-ARM/STM32F407-Demo.uvprojx +++ b/MDK-ARM/STM32F407-Demo.uvprojx @@ -337,7 +337,7 @@ --diag_suppress=1,68,111,188,191,546,1293 USE_HAL_DRIVER,STM32F407xx,NDEBUG,IEC104_TCP_RX_CAPACITY=256,IEC104_TCP_HIGH_CAPACITY=288,IEC104_TCP_NORMAL_CAPACITY=272,IEC104_TCP_RECORD_CAPACITY=4,IEC104_TCP_EVENT_CAPACITY=11,IEC104_INTERROGATION_TASK_CAPACITY=1,IEC104_INTERROGATION_EVENT_CAPACITY=2,IEC104_SYSTEM_COMMAND_TASK_CAPACITY=1,IEC104_SYSTEM_COMMAND_RESET_CAPACITY=1,IEC104_PERIODIC_SCAN_GROUP_CAPACITY=1,IEC104_PARAMETER_TASK_CAPACITY=1,IEC104_REMOTE_PARAMETER_TASK_CAPACITY=1,IEC104_CLOCK_SYNCHRONIZATION_TASK_CAPACITY=1,IEC104_READ_TASK_CAPACITY=1,IEC104_COMMAND_REPLY_CAPACITY=1 - ../Inc;../Drivers/STM32F4xx_HAL_Driver/Inc;../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy;../Drivers/CMSIS/Device/ST/STM32F4xx/Include;../Drivers/CMSIS/Include;../Drivers/BSP;../Drivers/BSP/CH395F;../Drivers/BSP/GD5F2GQ5UE;../Drivers/BSP/TPAFE5160;../Drivers/BSP/SD2506;../Drivers/BSP/RS485;../Drivers/BSP/ScreenLink;../Drivers/BSP/NET;../Drivers/BSP/NET/lftpd;../Drivers/BSP/NETCFG;../Drivers/BSP/IOBOARD;../App;../App/app;../App/algo;../App/cfg;../App/fs;../App/log;../App/sync;../App/task;../App/protocol/iec104;../App/protocol/iec60870/common;../App/protocol/iec60870/104;../App/protocol/iec60870/104/business;../App/protocol/iec60870/examples;../App/util;../Middlewares/Third_Party/FreeRTOS/Source/include;../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2;../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F;../Lib/dhara;../Lib/FatFs;../test/board;../Lib/lvgl;../Drivers/BSP/UI;../Lib;../Lib/coreSNTP/include + ../Inc;../Drivers/STM32F4xx_HAL_Driver/Inc;../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy;../Drivers/CMSIS/Device/ST/STM32F4xx/Include;../Drivers/CMSIS/Include;../Drivers/BSP;../Drivers/BSP/CH395F;../Drivers/BSP/GD5F2GQ5UE;../Drivers/BSP/TPAFE5160;../Drivers/BSP/SD2506;../Drivers/BSP/RS485;../Drivers/BSP/ScreenLink;../Drivers/BSP/NET;../Drivers/BSP/NET/lftpd;../Drivers/BSP/NETCFG;../Drivers/BSP/IOBOARD;../App;../App/app;../App/algo;../App/cfg;../App/fs;../App/log;../App/sync;../App/task;../App/iec60870/common;../App/iec60870/104;../App/iec60870/104/business;../App/iec60870/examples;../App/util;../Middlewares/Third_Party/FreeRTOS/Source/include;../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2;../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F;../Lib/dhara;../Lib/FatFs;../test/board;../Lib/lvgl;../Drivers/BSP/UI;../Lib;../Lib/coreSNTP/include @@ -995,167 +995,167 @@ iec104_comm.c 1 - ..\App\protocol\iec104\iec104_comm.c + ..\App\iec60870\104\iec104_comm.c iec104_core.c 1 - ..\App\protocol\iec104\iec104_core.c + ..\App\iec60870\104\iec104_core.c iec104_source.c 1 - ..\App\protocol\iec104\iec104_source.c + ..\App\iec60870\104\iec104_source.c iec104_dtu_table.c 1 - ..\App\protocol\iec104\iec104_dtu_table.c + ..\App\iec60870\104\iec104_dtu_table.c iec104_net_mcu.c 1 - ..\App\protocol\iec104\iec104_net_mcu.c + ..\App\iec60870\104\iec104_net_mcu.c IEC104_AsduQueue.c 1 - ..\App\protocol\iec60870\104\IEC104_AsduQueue.c + ..\App\iec60870\104\IEC104_AsduQueue.c IEC104_Codec.c 1 - ..\App\protocol\iec60870\104\IEC104_Codec.c + ..\App\iec60870\104\IEC104_Codec.c IEC104_Connection.c 1 - ..\App\protocol\iec60870\104\IEC104_Connection.c + ..\App\iec60870\104\IEC104_Connection.c IEC104_Link.c 1 - ..\App\protocol\iec60870\104\IEC104_Link.c + ..\App\iec60870\104\IEC104_Link.c IEC104_Link_Slave_StartStop.c 1 - ..\App\protocol\iec60870\104\IEC104_Link_Slave_StartStop.c + ..\App\iec60870\104\IEC104_Link_Slave_StartStop.c IEC104_Receiver.c 1 - ..\App\protocol\iec60870\104\IEC104_Receiver.c + ..\App\iec60870\104\IEC104_Receiver.c IEC104_SendBuffer.c 1 - ..\App\protocol\iec60870\104\IEC104_SendBuffer.c + ..\App\iec60870\104\IEC104_SendBuffer.c IEC104_SendManager.c 1 - ..\App\protocol\iec60870\104\IEC104_SendManager.c + ..\App\iec60870\104\IEC104_SendManager.c IEC104_Slave.c 1 - ..\App\protocol\iec60870\104\IEC104_Slave.c + ..\App\iec60870\104\IEC104_Slave.c IEC104_TcpServer.c 1 - ..\App\protocol\iec60870\104\IEC104_TcpServer.c + ..\App\iec60870\104\IEC104_TcpServer.c IEC104_ClockSynchronization.c 1 - ..\App\protocol\iec60870\104\business\IEC104_ClockSynchronization.c + ..\App\iec60870\104\business\IEC104_ClockSynchronization.c IEC104_Command.c 1 - ..\App\protocol\iec60870\104\business\IEC104_Command.c + ..\App\iec60870\104\business\IEC104_Command.c IEC104_CounterInterrogation.c 1 - ..\App\protocol\iec60870\104\business\IEC104_CounterInterrogation.c + ..\App\iec60870\104\business\IEC104_CounterInterrogation.c IEC104_GeneralInterrogation.c 1 - ..\App\protocol\iec60870\104\business\IEC104_GeneralInterrogation.c + ..\App\iec60870\104\business\IEC104_GeneralInterrogation.c IEC104_Interrogation.c 1 - ..\App\protocol\iec60870\104\business\IEC104_Interrogation.c + ..\App\iec60870\104\business\IEC104_Interrogation.c IEC104_Parameter.c 1 - ..\App\protocol\iec60870\104\business\IEC104_Parameter.c + ..\App\iec60870\104\business\IEC104_Parameter.c IEC104_PeriodicScan.c 1 - ..\App\protocol\iec60870\104\business\IEC104_PeriodicScan.c + ..\App\iec60870\104\business\IEC104_PeriodicScan.c IEC104_Read.c 1 - ..\App\protocol\iec60870\104\business\IEC104_Read.c + ..\App\iec60870\104\business\IEC104_Read.c IEC104_RemoteParameter.c 1 - ..\App\protocol\iec60870\104\business\IEC104_RemoteParameter.c + ..\App\iec60870\104\business\IEC104_RemoteParameter.c IEC104_Spontaneous.c 1 - ..\App\protocol\iec60870\104\business\IEC104_Spontaneous.c + ..\App\iec60870\104\business\IEC104_Spontaneous.c IEC104_Startup.c 1 - ..\App\protocol\iec60870\104\business\IEC104_Startup.c + ..\App\iec60870\104\business\IEC104_Startup.c IEC104_SystemCommand.c 1 - ..\App\protocol\iec60870\104\business\IEC104_SystemCommand.c + ..\App\iec60870\104\business\IEC104_SystemCommand.c IEC60870_Asdu.c 1 - ..\App\protocol\iec60870\common\IEC60870_Asdu.c + ..\App\iec60870\common\IEC60870_Asdu.c IEC60870_Codec.c 1 - ..\App\protocol\iec60870\common\IEC60870_Codec.c + ..\App\iec60870\common\IEC60870_Codec.c IEC60870_FaultEvent.c 1 - ..\App\protocol\iec60870\common\IEC60870_FaultEvent.c + ..\App\iec60870\common\IEC60870_FaultEvent.c IEC60870_InformationObjects.c 1 - ..\App\protocol\iec60870\common\IEC60870_InformationObjects.c + ..\App\iec60870\common\IEC60870_InformationObjects.c IEC60870_Slave.c 1 - ..\App\protocol\iec60870\common\IEC60870_Slave.c + ..\App\iec60870\common\IEC60870_Slave.c IEC60870_Time.c 1 - ..\App\protocol\iec60870\common\IEC60870_Time.c + ..\App\iec60870\common\IEC60870_Time.c adc_input.c diff --git a/README.md b/README.md index 511a254b..06d6bb02 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ STM32F4-Base/ │ │ ├── protect_task.c/h # 保护判据任务(保护判据 20ms 节拍) │ │ └── rs485_task.c/h # RS-485 任务(已实现,未创建,暂缓) │ ├── util/ # 工具函数(crc / ringbuf / sys_clock) -│ └── protocol/ # 通信协议(预留) +│ └── iec60870/ # IEC 60870-5-104(只维护一个):common 编解码 + 104 协议(含平台适配) ├── Drivers/ │ ├── BSP/ # 板级驱动(手工编写) │ │ ├── CH395F/ # 以太网控制器驱动 diff --git a/_all_hook.txt b/_all_hook.txt deleted file mode 100644 index 7ad1f94d..00000000 --- a/_all_hook.txt +++ /dev/null @@ -1,512 +0,0 @@ -App/algo/adc_cal.c -App/algo/adc_cal.h -App/algo/adc_health.c -App/algo/adc_health.h -App/algo/adc_input.c -App/algo/adc_input.h -App/algo/freq.c -App/algo/freq.h -App/algo/meas.c -App/algo/meas.h -App/algo/phasor.c -App/algo/phasor.h -App/algo/prot_elm.c -App/algo/prot_elm.h -App/algo/prot_set.c -App/algo/prot_set.h -App/algo/run_par.c -App/algo/run_par.h -App/algo/sample_ring.c -App/algo/sample_ring.h -App/algo/sb_led_map.c -App/algo/sb_led_map.h -App/algo/wave_ring.c -App/algo/wave_ring.h -App/algo/wave_store.c -App/algo/wave_store.h -App/app/app_cfg.h -App/app/app_main.c -App/app/app_main.h -App/app/sys_events.h -App/app/ui_data_feed.c -App/app/ui_data_feed.h -App/cfg/cfg_file.c -App/cfg/cfg_file.h -App/cfg/cfg_file_store.h -App/cfg/cfg_file_store_mcu.c -App/cfg/prot_set_store.c -App/cfg/prot_set_store.h -App/fs/vol_idle_sync.c -App/fs/vol_idle_sync.h -App/fs/vol_lock.c -App/fs/vol_lock.h -App/log/console_log.c -App/log/console_log.h -App/log/soe_rec.c -App/log/soe_rec.h -App/log/soe_store.c -App/log/soe_store.h -App/log/sys_log.h -App/log/sys_log_mcu.c -App/protocol/iec104/iec104_asdu.h -App/protocol/iec104/iec104_comm.c -App/protocol/iec104/iec104_comm.h -App/protocol/iec104/iec104_core.c -App/protocol/iec104/iec104_core.h -App/protocol/iec104/iec104_dtu_table.c -App/protocol/iec104/iec104_dtu_table.h -App/protocol/iec104/iec104_net_mcu.c -App/protocol/iec104/iec104_net_mcu.h -App/protocol/iec104/iec104_source.c -App/protocol/iec104/iec104_source.h -App/protocol/iec104/iec104_source_ranks.h -App/protocol/iec60870/104/IEC104.h -App/protocol/iec60870/104/IEC104_AsduQueue.c -App/protocol/iec60870/104/IEC104_AsduQueue.h -App/protocol/iec60870/104/IEC104_Codec.c -App/protocol/iec60870/104/IEC104_Codec.h -App/protocol/iec60870/104/IEC104_Config_Internal.h -App/protocol/iec60870/104/IEC104_Connection.c -App/protocol/iec60870/104/IEC104_Connection.h -App/protocol/iec60870/104/IEC104_Link.c -App/protocol/iec60870/104/IEC104_Link.h -App/protocol/iec60870/104/IEC104_Link_Common.h -App/protocol/iec60870/104/IEC104_Link_Internal.h -App/protocol/iec60870/104/IEC104_Link_Master_StartStop.h -App/protocol/iec60870/104/IEC104_Link_Slave_StartStop.c -App/protocol/iec60870/104/IEC104_Link_Slave_StartStop.h -App/protocol/iec60870/104/IEC104_Log.h -App/protocol/iec60870/104/IEC104_Net.h -App/protocol/iec60870/104/IEC104_Net_Windows.c -App/protocol/iec60870/104/IEC104_Receiver.c -App/protocol/iec60870/104/IEC104_Receiver.h -App/protocol/iec60870/104/IEC104_SendBuffer.c -App/protocol/iec60870/104/IEC104_SendBuffer.h -App/protocol/iec60870/104/IEC104_SendManager.c -App/protocol/iec60870/104/IEC104_SendManager.h -App/protocol/iec60870/104/IEC104_Slave.c -App/protocol/iec60870/104/IEC104_Slave.h -App/protocol/iec60870/104/IEC104_TcpServer.c -App/protocol/iec60870/104/IEC104_TcpServer.h -App/protocol/iec60870/104/IEC104_TcpServer_Config.h -App/protocol/iec60870/104/IEC104_TcpTypes.h -App/protocol/iec60870/104/IEC104_Types.h -App/protocol/iec60870/104/business/IEC104_BusinessConfig_Internal.h -App/protocol/iec60870/104/business/IEC104_ClockSynchronization.c -App/protocol/iec60870/104/business/IEC104_ClockSynchronization.h -App/protocol/iec60870/104/business/IEC104_Command.c -App/protocol/iec60870/104/business/IEC104_Command.h -App/protocol/iec60870/104/business/IEC104_CounterInterrogation.c -App/protocol/iec60870/104/business/IEC104_CounterInterrogation.h -App/protocol/iec60870/104/business/IEC104_FileService.h -App/protocol/iec60870/104/business/IEC104_GeneralInterrogation.c -App/protocol/iec60870/104/business/IEC104_GeneralInterrogation.h -App/protocol/iec60870/104/business/IEC104_Interrogation.c -App/protocol/iec60870/104/business/IEC104_Interrogation.h -App/protocol/iec60870/104/business/IEC104_Interrogation_Internal.h -App/protocol/iec60870/104/business/IEC104_Parameter.c -App/protocol/iec60870/104/business/IEC104_Parameter.h -App/protocol/iec60870/104/business/IEC104_PeriodicScan.c -App/protocol/iec60870/104/business/IEC104_PeriodicScan.h -App/protocol/iec60870/104/business/IEC104_Read.c -App/protocol/iec60870/104/business/IEC104_Read.h -App/protocol/iec60870/104/business/IEC104_RemoteParameter.c -App/protocol/iec60870/104/business/IEC104_RemoteParameter.h -App/protocol/iec60870/104/business/IEC104_SoftwareUpgrade.h -App/protocol/iec60870/104/business/IEC104_Spontaneous.c -App/protocol/iec60870/104/business/IEC104_Spontaneous.h -App/protocol/iec60870/104/business/IEC104_Startup.c -App/protocol/iec60870/104/business/IEC104_Startup.h -App/protocol/iec60870/104/business/IEC104_SystemCommand.c -App/protocol/iec60870/104/business/IEC104_SystemCommand.h -App/protocol/iec60870/common/IEC60870_Asdu.c -App/protocol/iec60870/common/IEC60870_Asdu.h -App/protocol/iec60870/common/IEC60870_Clock.h -App/protocol/iec60870/common/IEC60870_Codec.c -App/protocol/iec60870/common/IEC60870_Codec.h -App/protocol/iec60870/common/IEC60870_Comtrade.h -App/protocol/iec60870/common/IEC60870_EnergyFreeze.h -App/protocol/iec60870/common/IEC60870_EnergyFreezeFile.h -App/protocol/iec60870/common/IEC60870_FaultEvent.c -App/protocol/iec60870/common/IEC60870_FaultEvent.h -App/protocol/iec60870/common/IEC60870_FaultRecorder.h -App/protocol/iec60870/common/IEC60870_FirmwareUpdate.h -App/protocol/iec60870/common/IEC60870_History.h -App/protocol/iec60870/common/IEC60870_HistoryFile.h -App/protocol/iec60870/common/IEC60870_InformationObjects.c -App/protocol/iec60870/common/IEC60870_InformationObjects.h -App/protocol/iec60870/common/IEC60870_InformationObjects_Internal.h -App/protocol/iec60870/common/IEC60870_Slave.c -App/protocol/iec60870/common/IEC60870_Slave.h -App/protocol/iec60870/common/IEC60870_StaticAssert.h -App/protocol/iec60870/common/IEC60870_Time.c -App/protocol/iec60870/common/IEC60870_Time.h -App/protocol/iec60870/common/IEC60870_Types.h -App/protocol/iec60870/common/IEC60870_UserLog.h -App/protocol/iec60870/common/IEC60870_UserLogFile.h -App/protocol/iec60870/examples/iec104_dtu_profile.h -App/sync/time_sntp.c -App/sync/time_sntp.h -App/sync/time_sync.c -App/sync/time_sync.h -App/task/adc_task.c -App/task/adc_task.h -App/task/default_task.c -App/task/default_task.h -App/task/iec104_serv.c -App/task/iec104_serv.h -App/task/net_task.c -App/task/net_task.h -App/task/protect_task.c -App/task/protect_task.h -App/task/rs485_task.c -App/task/rs485_task.h -App/task/task_handles.h -App/task/ui_task.c -App/task/ui_task.h -App/util/boot_stats.c -App/util/boot_stats.h -App/util/ioboard_di.c -App/util/ioboard_di.h -App/util/sha256.c -App/util/sha256.h -App/util/sys_clock.c -App/util/sys_clock.h -App/util/task_prof.c -App/util/task_prof.h -App/util/task_watchdog.c -App/util/task_watchdog.h -Drivers/BSP/CH395F/ch395f.c -Drivers/BSP/CH395F/ch395f.h -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h -Drivers/BSP/IOBOARD/ioboard.c -Drivers/BSP/IOBOARD/ioboard.h -Drivers/BSP/IOBOARD/ioboard_bits.c -Drivers/BSP/IOBOARD/ioboard_bits.h -Drivers/BSP/NET/net_config.h -Drivers/BSP/NET/net_events.c -Drivers/BSP/NET/net_events.h -Drivers/BSP/NET/net_listener.c -Drivers/BSP/NET/net_listener.h -Drivers/BSP/NET/net_pending.c -Drivers/BSP/NET/net_pending.h -Drivers/BSP/NET/net_select.c -Drivers/BSP/NET/net_select.h -Drivers/BSP/NET/net_socket.c -Drivers/BSP/NET/net_socket.h -Drivers/BSP/NET/net_types.h -Drivers/BSP/NET/net_udp.c -Drivers/BSP/NET/net_udp.h -Drivers/BSP/NETCFG/ftp_cfg.c -Drivers/BSP/NETCFG/ftp_cfg.h -Drivers/BSP/NETCFG/net_cfg.c -Drivers/BSP/NETCFG/net_cfg.h -Drivers/BSP/NETCFG/sntp_cfg.c -Drivers/BSP/NETCFG/sntp_cfg.h -Drivers/BSP/RS485/rs485.c -Drivers/BSP/RS485/rs485.h -Drivers/BSP/SD2506/sd2506.c -Drivers/BSP/SD2506/sd2506.h -Drivers/BSP/ScreenLink/sb_link.c -Drivers/BSP/ScreenLink/sb_link.h -Drivers/BSP/ScreenLink/sb_proto.c -Drivers/BSP/ScreenLink/sb_proto.h -Drivers/BSP/TPAFE5160/tpafe5160.c -Drivers/BSP/TPAFE5160/tpafe5160.h -Drivers/BSP/UI/ui_content_page.c -Drivers/BSP/UI/ui_content_page.h -Drivers/BSP/UI/ui_data.c -Drivers/BSP/UI/ui_data.h -Drivers/BSP/UI/ui_deco.c -Drivers/BSP/UI/ui_deco.h -Drivers/BSP/UI/ui_font_cn_12.c -Drivers/BSP/UI/ui_menu.c -Drivers/BSP/UI/ui_menu.h -Drivers/BSP/UI/ui_menu_tab.c -Drivers/BSP/UI/ui_menu_tab.h -Drivers/BSP/UI/ui_menu_view.c -Drivers/BSP/UI/ui_menu_view.h -Drivers/BSP/UI/ui_net_sink.c -Drivers/BSP/UI/ui_net_sink.h -Drivers/BSP/UI/ui_net_sink_backend.h -Drivers/BSP/UI/ui_net_sink_backend_mcu.c -Drivers/BSP/UI/ui_page_ac.c -Drivers/BSP/UI/ui_page_ac.h -Drivers/BSP/UI/ui_page_accident.c -Drivers/BSP/UI/ui_page_accident.h -Drivers/BSP/UI/ui_page_action.c -Drivers/BSP/UI/ui_page_action.h -Drivers/BSP/UI/ui_page_alarm.c -Drivers/BSP/UI/ui_page_alarm.h -Drivers/BSP/UI/ui_page_calib.c -Drivers/BSP/UI/ui_page_calib.h -Drivers/BSP/UI/ui_page_clear.c -Drivers/BSP/UI/ui_page_clear.h -Drivers/BSP/UI/ui_page_clock.c -Drivers/BSP/UI/ui_page_clock.h -Drivers/BSP/UI/ui_page_comm.c -Drivers/BSP/UI/ui_page_comm.h -Drivers/BSP/UI/ui_page_dc.c -Drivers/BSP/UI/ui_page_dc.h -Drivers/BSP/UI/ui_page_deadband.c -Drivers/BSP/UI/ui_page_deadband.h -Drivers/BSP/UI/ui_page_device_info.c -Drivers/BSP/UI/ui_page_device_info.h -Drivers/BSP/UI/ui_page_net_cfg.c -Drivers/BSP/UI/ui_page_net_cfg.h -Drivers/BSP/UI/ui_page_oper.c -Drivers/BSP/UI/ui_page_oper.h -Drivers/BSP/UI/ui_page_password.c -Drivers/BSP/UI/ui_page_password.h -Drivers/BSP/UI/ui_page_registry.c -Drivers/BSP/UI/ui_page_registry.h -Drivers/BSP/UI/ui_page_reset.c -Drivers/BSP/UI/ui_page_reset.h -Drivers/BSP/UI/ui_page_runlog.c -Drivers/BSP/UI/ui_page_runlog.h -Drivers/BSP/UI/ui_page_runreport.c -Drivers/BSP/UI/ui_page_runreport.h -Drivers/BSP/UI/ui_page_selftest.c -Drivers/BSP/UI/ui_page_selftest.h -Drivers/BSP/UI/ui_page_sntp.c -Drivers/BSP/UI/ui_page_sntp.h -Drivers/BSP/UI/ui_page_soe.c -Drivers/BSP/UI/ui_page_soe.h -Drivers/BSP/UI/ui_page_start.c -Drivers/BSP/UI/ui_page_start.h -Drivers/BSP/UI/ui_page_view_param.c -Drivers/BSP/UI/ui_page_view_param.h -Drivers/BSP/UI/ui_page_view_plate.c -Drivers/BSP/UI/ui_page_view_plate.h -Drivers/BSP/UI/ui_page_view_set.c -Drivers/BSP/UI/ui_page_view_set.h -Drivers/BSP/UI/ui_page_view_word.c -Drivers/BSP/UI/ui_page_view_word.h -Drivers/BSP/UI/ui_page_wave_manual.c -Drivers/BSP/UI/ui_page_wave_manual.h -Drivers/BSP/UI/ui_page_wave_play.c -Drivers/BSP/UI/ui_page_wave_play.h -Drivers/BSP/UI/ui_page_yk.c -Drivers/BSP/UI/ui_page_yk.h -Drivers/BSP/UI/ui_page_yx.c -Drivers/BSP/UI/ui_page_yx.h -Drivers/BSP/UI/ui_port.c -Drivers/BSP/UI/ui_port.h -Drivers/BSP/UI/ui_pwd_def.h -Drivers/BSP/UI/ui_standby.c -Drivers/BSP/UI/ui_standby.h -Drivers/BSP/UI/ui_style.c -Drivers/BSP/UI/ui_style.h -Drivers/BSP/UI/ui_tokens.h -Drivers/BSP/UI/ui_w_editor.c -Drivers/BSP/UI/ui_w_editor.h -Drivers/BSP/UI/ui_w_records.c -Drivers/BSP/UI/ui_w_records.h -Drivers/BSP/UI/ui_w_setlist.c -Drivers/BSP/UI/ui_w_setlist.h -Drivers/BSP/UI/ui_w_setview.c -Drivers/BSP/UI/ui_w_setview.h -Drivers/BSP/UI/ui_w_soe.c -Drivers/BSP/UI/ui_w_soe.h -Drivers/BSP/UI/ui_w_ytview.c -Drivers/BSP/UI/ui_w_ytview.h -Drivers/BSP/app_assert.h -Drivers/BSP/bsp_err.h -Drivers/BSP/dbg_cfg.h -Drivers/BSP/dbg_log.h -IEC60870-Slave/104/IEC104.c -IEC60870-Slave/104/IEC104.h -IEC60870-Slave/104/IEC104_AsduQueue.c -IEC60870-Slave/104/IEC104_AsduQueue.h -IEC60870-Slave/104/IEC104_Codec.c -IEC60870-Slave/104/IEC104_Codec.h -IEC60870-Slave/104/IEC104_Config_Internal.h -IEC60870-Slave/104/IEC104_Connection.c -IEC60870-Slave/104/IEC104_Connection.h -IEC60870-Slave/104/IEC104_Link.c -IEC60870-Slave/104/IEC104_Link.h -IEC60870-Slave/104/IEC104_Link_Common.h -IEC60870-Slave/104/IEC104_Link_Internal.h -IEC60870-Slave/104/IEC104_Link_Master_StartStop.c -IEC60870-Slave/104/IEC104_Link_Master_StartStop.h -IEC60870-Slave/104/IEC104_Link_Slave_StartStop.c -IEC60870-Slave/104/IEC104_Link_Slave_StartStop.h -IEC60870-Slave/104/IEC104_Log.c -IEC60870-Slave/104/IEC104_Log.h -IEC60870-Slave/104/IEC104_Net.h -IEC60870-Slave/104/IEC104_Net_Windows.c -IEC60870-Slave/104/IEC104_Receiver.c -IEC60870-Slave/104/IEC104_Receiver.h -IEC60870-Slave/104/IEC104_SendBuffer.c -IEC60870-Slave/104/IEC104_SendBuffer.h -IEC60870-Slave/104/IEC104_SendManager.c -IEC60870-Slave/104/IEC104_SendManager.h -IEC60870-Slave/104/IEC104_Slave.c -IEC60870-Slave/104/IEC104_Slave.h -IEC60870-Slave/104/IEC104_TcpServer.c -IEC60870-Slave/104/IEC104_TcpServer.h -IEC60870-Slave/104/IEC104_TcpServer_Config.h -IEC60870-Slave/104/IEC104_TcpTypes.h -IEC60870-Slave/104/IEC104_Types.h -IEC60870-Slave/104/business/IEC104_BusinessConfig_Internal.h -IEC60870-Slave/104/business/IEC104_ClockSynchronization.c -IEC60870-Slave/104/business/IEC104_ClockSynchronization.h -IEC60870-Slave/104/business/IEC104_Command.c -IEC60870-Slave/104/business/IEC104_Command.h -IEC60870-Slave/104/business/IEC104_CounterInterrogation.c -IEC60870-Slave/104/business/IEC104_CounterInterrogation.h -IEC60870-Slave/104/business/IEC104_FileService.c -IEC60870-Slave/104/business/IEC104_FileService.h -IEC60870-Slave/104/business/IEC104_GeneralInterrogation.c -IEC60870-Slave/104/business/IEC104_GeneralInterrogation.h -IEC60870-Slave/104/business/IEC104_Interrogation.c -IEC60870-Slave/104/business/IEC104_Interrogation.h -IEC60870-Slave/104/business/IEC104_Interrogation_Internal.h -IEC60870-Slave/104/business/IEC104_Parameter.c -IEC60870-Slave/104/business/IEC104_Parameter.h -IEC60870-Slave/104/business/IEC104_PeriodicScan.c -IEC60870-Slave/104/business/IEC104_PeriodicScan.h -IEC60870-Slave/104/business/IEC104_Read.c -IEC60870-Slave/104/business/IEC104_Read.h -IEC60870-Slave/104/business/IEC104_RemoteParameter.c -IEC60870-Slave/104/business/IEC104_RemoteParameter.h -IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.c -IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.h -IEC60870-Slave/104/business/IEC104_Spontaneous.c -IEC60870-Slave/104/business/IEC104_Spontaneous.h -IEC60870-Slave/104/business/IEC104_Startup.c -IEC60870-Slave/104/business/IEC104_Startup.h -IEC60870-Slave/104/business/IEC104_SystemCommand.c -IEC60870-Slave/104/business/IEC104_SystemCommand.h -IEC60870-Slave/common/IEC60870_Asdu.c -IEC60870-Slave/common/IEC60870_Asdu.h -IEC60870-Slave/common/IEC60870_Clock.c -IEC60870-Slave/common/IEC60870_Clock.h -IEC60870-Slave/common/IEC60870_Codec.c -IEC60870-Slave/common/IEC60870_Codec.h -IEC60870-Slave/common/IEC60870_Comtrade.c -IEC60870-Slave/common/IEC60870_Comtrade.h -IEC60870-Slave/common/IEC60870_EnergyFreeze.c -IEC60870-Slave/common/IEC60870_EnergyFreeze.h -IEC60870-Slave/common/IEC60870_EnergyFreezeFile.c -IEC60870-Slave/common/IEC60870_EnergyFreezeFile.h -IEC60870-Slave/common/IEC60870_FaultEvent.c -IEC60870-Slave/common/IEC60870_FaultEvent.h -IEC60870-Slave/common/IEC60870_FaultRecorder.c -IEC60870-Slave/common/IEC60870_FaultRecorder.h -IEC60870-Slave/common/IEC60870_FirmwareUpdate.c -IEC60870-Slave/common/IEC60870_FirmwareUpdate.h -IEC60870-Slave/common/IEC60870_History.c -IEC60870-Slave/common/IEC60870_History.h -IEC60870-Slave/common/IEC60870_HistoryFile.c -IEC60870-Slave/common/IEC60870_HistoryFile.h -IEC60870-Slave/common/IEC60870_InformationObjects.c -IEC60870-Slave/common/IEC60870_InformationObjects.h -IEC60870-Slave/common/IEC60870_InformationObjects_Internal.h -IEC60870-Slave/common/IEC60870_Slave.c -IEC60870-Slave/common/IEC60870_Slave.h -IEC60870-Slave/common/IEC60870_Time.c -IEC60870-Slave/common/IEC60870_Time.h -IEC60870-Slave/common/IEC60870_Types.h -IEC60870-Slave/common/IEC60870_UserLog.c -IEC60870-Slave/common/IEC60870_UserLog.h -IEC60870-Slave/common/IEC60870_UserLogFile.c -IEC60870-Slave/common/IEC60870_UserLogFile.h -IEC60870-Slave/examples/iec104_dtu_example.c -IEC60870-Slave/examples/iec104_dtu_measurement.c -IEC60870-Slave/examples/iec104_dtu_measurement.h -IEC60870-Slave/examples/iec104_dtu_profile.h -IEC60870-Slave/examples/iec104_dtu_protection.c -IEC60870-Slave/examples/iec104_dtu_protection.h -IEC60870-Slave/examples/iec104_dtu_settings.c -IEC60870-Slave/examples/iec104_dtu_settings.h -IEC60870-Slave/examples/iec104_example_config.c -IEC60870-Slave/examples/iec104_example_config.h -IEC60870-Slave/examples/iec104_example_energy_freeze.c -IEC60870-Slave/examples/iec104_example_energy_freeze.h -IEC60870-Slave/examples/iec104_example_energy_meter.c -IEC60870-Slave/examples/iec104_example_energy_meter.h -IEC60870-Slave/examples/iec104_example_history.c -IEC60870-Slave/examples/iec104_example_history.h -IEC60870-Slave/examples/iec104_example_points.h -IEC60870-Slave/examples/iec104_example_recording.c -IEC60870-Slave/examples/iec104_example_recording.h -IEC60870-Slave/examples/iec104_example_upgrade.c -IEC60870-Slave/examples/iec104_example_upgrade.h -IEC60870-Slave/examples/iec104_example_user_log.c -IEC60870-Slave/examples/iec104_example_user_log.h -IEC60870-Slave/examples/iec104_parameter_multi_master.c -IEC60870-Slave/examples/iec104_slave_example.c -IEC60870-Slave/test/iec104_ack_tracking_test.c -IEC60870-Slave/test/iec104_asdu_transport_test.c -IEC60870-Slave/test/iec104_command_test.c -IEC60870-Slave/test/iec104_dtu_energy_settings_test.c -IEC60870-Slave/test/iec104_dtu_measurement_test.c -IEC60870-Slave/test/iec104_dtu_protection_test.c -IEC60870-Slave/test/iec104_dtu_settings_model_test.c -IEC60870-Slave/test/iec104_dtu_storage_test.c -IEC60870-Slave/test/iec104_dtu_trigger_recording_test.c -IEC60870-Slave/test/iec104_energy_freeze_transitions_test.c -IEC60870-Slave/test/iec104_example_energy_freeze_test.c -IEC60870-Slave/test/iec104_example_energy_meter_test.c -IEC60870-Slave/test/iec104_example_history_test.c -IEC60870-Slave/test/iec104_example_recording_test.c -IEC60870-Slave/test/iec104_example_upgrade_test.c -IEC60870-Slave/test/iec104_example_user_log_test.c -IEC60870-Slave/test/iec104_fault_event_test.c -IEC60870-Slave/test/iec104_file_service_internal_test.c -IEC60870-Slave/test/iec104_file_service_test.c -IEC60870-Slave/test/iec104_idle_transport_test.c -IEC60870-Slave/test/iec104_interrogation_rules_test.c -IEC60870-Slave/test/iec104_net_pending_input_test.c -IEC60870-Slave/test/iec104_parameter_edge_test.c -IEC60870-Slave/test/iec104_parameter_test.c -IEC60870-Slave/test/iec104_periodic_scan_test.c -IEC60870-Slave/test/iec104_read_test.c -IEC60870-Slave/test/iec104_remote_parameter_internal_test.c -IEC60870-Slave/test/iec104_remote_parameter_test.c -IEC60870-Slave/test/iec104_response_queue_test.c -IEC60870-Slave/test/iec104_response_transport_test.c -IEC60870-Slave/test/iec104_slave_example_test.c -IEC60870-Slave/test/iec104_slave_test.c -IEC60870-Slave/test/iec104_software_upgrade_internal_test.c -IEC60870-Slave/test/iec104_software_upgrade_test.c -IEC60870-Slave/test/iec104_spontaneous_test.c -IEC60870-Slave/test/iec104_strict_priority_queue_test.c -IEC60870-Slave/test/iec104_strict_priority_transport_test.c -IEC60870-Slave/test/iec104_system_command_test.c -IEC60870-Slave/test/iec104_tcp_event_ring_test.c -IEC60870-Slave/test/iec104_tcp_fixture.h -IEC60870-Slave/test/iec104_tcp_scheduler_test.c -IEC60870-Slave/test/iec104_test_config.h -IEC60870-Slave/test/iec60870_asdu_extended_test.c -IEC60870-Slave/test/iec60870_asdu_fixture.h -IEC60870-Slave/test/iec60870_asdu_test.c -IEC60870-Slave/test/iec60870_comtrade_test.c -IEC60870-Slave/test/iec60870_energy_freeze_file_test.c -IEC60870-Slave/test/iec60870_energy_freeze_test.c -IEC60870-Slave/test/iec60870_fault_event_test.c -IEC60870-Slave/test/iec60870_fault_recorder_test.c -IEC60870-Slave/test/iec60870_firmware_update_test.c -IEC60870-Slave/test/iec60870_history_file_test.c -IEC60870-Slave/test/iec60870_history_test.c -IEC60870-Slave/test/iec60870_user_log_file_test.c -IEC60870-Slave/test/iec60870_user_log_test.c -IEC60870-Slave/test/parameter_interop_slave.c -IEC60870-Slave/test/parameter_lib60870_client.c -IEC60870-Slave/test/periodic_scan_interop_server.c -IEC60870-Slave/test/periodic_scan_lib60870_client.c -IEC60870-Slave/test/periodic_scan_soak_example.c -simulator/dbg_log.h -simulator/lv_conf.h -simulator/main.c -simulator/sim/cfg_file_store_sim.c -simulator/sim/iec104_sim.c -simulator/sim/iec104_sim.h -simulator/sim/net_socket_sim.c -simulator/sim/sim_latency_stub.c -simulator/sim/sim_port.c -simulator/sim/sim_port.h -simulator/sim/sim_syslog.c -simulator/sim/ui_net_sink_backend_sim.c diff --git a/_scope.txt b/_scope.txt deleted file mode 100644 index 7ad1f94d..00000000 --- a/_scope.txt +++ /dev/null @@ -1,512 +0,0 @@ -App/algo/adc_cal.c -App/algo/adc_cal.h -App/algo/adc_health.c -App/algo/adc_health.h -App/algo/adc_input.c -App/algo/adc_input.h -App/algo/freq.c -App/algo/freq.h -App/algo/meas.c -App/algo/meas.h -App/algo/phasor.c -App/algo/phasor.h -App/algo/prot_elm.c -App/algo/prot_elm.h -App/algo/prot_set.c -App/algo/prot_set.h -App/algo/run_par.c -App/algo/run_par.h -App/algo/sample_ring.c -App/algo/sample_ring.h -App/algo/sb_led_map.c -App/algo/sb_led_map.h -App/algo/wave_ring.c -App/algo/wave_ring.h -App/algo/wave_store.c -App/algo/wave_store.h -App/app/app_cfg.h -App/app/app_main.c -App/app/app_main.h -App/app/sys_events.h -App/app/ui_data_feed.c -App/app/ui_data_feed.h -App/cfg/cfg_file.c -App/cfg/cfg_file.h -App/cfg/cfg_file_store.h -App/cfg/cfg_file_store_mcu.c -App/cfg/prot_set_store.c -App/cfg/prot_set_store.h -App/fs/vol_idle_sync.c -App/fs/vol_idle_sync.h -App/fs/vol_lock.c -App/fs/vol_lock.h -App/log/console_log.c -App/log/console_log.h -App/log/soe_rec.c -App/log/soe_rec.h -App/log/soe_store.c -App/log/soe_store.h -App/log/sys_log.h -App/log/sys_log_mcu.c -App/protocol/iec104/iec104_asdu.h -App/protocol/iec104/iec104_comm.c -App/protocol/iec104/iec104_comm.h -App/protocol/iec104/iec104_core.c -App/protocol/iec104/iec104_core.h -App/protocol/iec104/iec104_dtu_table.c -App/protocol/iec104/iec104_dtu_table.h -App/protocol/iec104/iec104_net_mcu.c -App/protocol/iec104/iec104_net_mcu.h -App/protocol/iec104/iec104_source.c -App/protocol/iec104/iec104_source.h -App/protocol/iec104/iec104_source_ranks.h -App/protocol/iec60870/104/IEC104.h -App/protocol/iec60870/104/IEC104_AsduQueue.c -App/protocol/iec60870/104/IEC104_AsduQueue.h -App/protocol/iec60870/104/IEC104_Codec.c -App/protocol/iec60870/104/IEC104_Codec.h -App/protocol/iec60870/104/IEC104_Config_Internal.h -App/protocol/iec60870/104/IEC104_Connection.c -App/protocol/iec60870/104/IEC104_Connection.h -App/protocol/iec60870/104/IEC104_Link.c -App/protocol/iec60870/104/IEC104_Link.h -App/protocol/iec60870/104/IEC104_Link_Common.h -App/protocol/iec60870/104/IEC104_Link_Internal.h -App/protocol/iec60870/104/IEC104_Link_Master_StartStop.h -App/protocol/iec60870/104/IEC104_Link_Slave_StartStop.c -App/protocol/iec60870/104/IEC104_Link_Slave_StartStop.h -App/protocol/iec60870/104/IEC104_Log.h -App/protocol/iec60870/104/IEC104_Net.h -App/protocol/iec60870/104/IEC104_Net_Windows.c -App/protocol/iec60870/104/IEC104_Receiver.c -App/protocol/iec60870/104/IEC104_Receiver.h -App/protocol/iec60870/104/IEC104_SendBuffer.c -App/protocol/iec60870/104/IEC104_SendBuffer.h -App/protocol/iec60870/104/IEC104_SendManager.c -App/protocol/iec60870/104/IEC104_SendManager.h -App/protocol/iec60870/104/IEC104_Slave.c -App/protocol/iec60870/104/IEC104_Slave.h -App/protocol/iec60870/104/IEC104_TcpServer.c -App/protocol/iec60870/104/IEC104_TcpServer.h -App/protocol/iec60870/104/IEC104_TcpServer_Config.h -App/protocol/iec60870/104/IEC104_TcpTypes.h -App/protocol/iec60870/104/IEC104_Types.h -App/protocol/iec60870/104/business/IEC104_BusinessConfig_Internal.h -App/protocol/iec60870/104/business/IEC104_ClockSynchronization.c -App/protocol/iec60870/104/business/IEC104_ClockSynchronization.h -App/protocol/iec60870/104/business/IEC104_Command.c -App/protocol/iec60870/104/business/IEC104_Command.h -App/protocol/iec60870/104/business/IEC104_CounterInterrogation.c -App/protocol/iec60870/104/business/IEC104_CounterInterrogation.h -App/protocol/iec60870/104/business/IEC104_FileService.h -App/protocol/iec60870/104/business/IEC104_GeneralInterrogation.c -App/protocol/iec60870/104/business/IEC104_GeneralInterrogation.h -App/protocol/iec60870/104/business/IEC104_Interrogation.c -App/protocol/iec60870/104/business/IEC104_Interrogation.h -App/protocol/iec60870/104/business/IEC104_Interrogation_Internal.h -App/protocol/iec60870/104/business/IEC104_Parameter.c -App/protocol/iec60870/104/business/IEC104_Parameter.h -App/protocol/iec60870/104/business/IEC104_PeriodicScan.c -App/protocol/iec60870/104/business/IEC104_PeriodicScan.h -App/protocol/iec60870/104/business/IEC104_Read.c -App/protocol/iec60870/104/business/IEC104_Read.h -App/protocol/iec60870/104/business/IEC104_RemoteParameter.c -App/protocol/iec60870/104/business/IEC104_RemoteParameter.h -App/protocol/iec60870/104/business/IEC104_SoftwareUpgrade.h -App/protocol/iec60870/104/business/IEC104_Spontaneous.c -App/protocol/iec60870/104/business/IEC104_Spontaneous.h -App/protocol/iec60870/104/business/IEC104_Startup.c -App/protocol/iec60870/104/business/IEC104_Startup.h -App/protocol/iec60870/104/business/IEC104_SystemCommand.c -App/protocol/iec60870/104/business/IEC104_SystemCommand.h -App/protocol/iec60870/common/IEC60870_Asdu.c -App/protocol/iec60870/common/IEC60870_Asdu.h -App/protocol/iec60870/common/IEC60870_Clock.h -App/protocol/iec60870/common/IEC60870_Codec.c -App/protocol/iec60870/common/IEC60870_Codec.h -App/protocol/iec60870/common/IEC60870_Comtrade.h -App/protocol/iec60870/common/IEC60870_EnergyFreeze.h -App/protocol/iec60870/common/IEC60870_EnergyFreezeFile.h -App/protocol/iec60870/common/IEC60870_FaultEvent.c -App/protocol/iec60870/common/IEC60870_FaultEvent.h -App/protocol/iec60870/common/IEC60870_FaultRecorder.h -App/protocol/iec60870/common/IEC60870_FirmwareUpdate.h -App/protocol/iec60870/common/IEC60870_History.h -App/protocol/iec60870/common/IEC60870_HistoryFile.h -App/protocol/iec60870/common/IEC60870_InformationObjects.c -App/protocol/iec60870/common/IEC60870_InformationObjects.h -App/protocol/iec60870/common/IEC60870_InformationObjects_Internal.h -App/protocol/iec60870/common/IEC60870_Slave.c -App/protocol/iec60870/common/IEC60870_Slave.h -App/protocol/iec60870/common/IEC60870_StaticAssert.h -App/protocol/iec60870/common/IEC60870_Time.c -App/protocol/iec60870/common/IEC60870_Time.h -App/protocol/iec60870/common/IEC60870_Types.h -App/protocol/iec60870/common/IEC60870_UserLog.h -App/protocol/iec60870/common/IEC60870_UserLogFile.h -App/protocol/iec60870/examples/iec104_dtu_profile.h -App/sync/time_sntp.c -App/sync/time_sntp.h -App/sync/time_sync.c -App/sync/time_sync.h -App/task/adc_task.c -App/task/adc_task.h -App/task/default_task.c -App/task/default_task.h -App/task/iec104_serv.c -App/task/iec104_serv.h -App/task/net_task.c -App/task/net_task.h -App/task/protect_task.c -App/task/protect_task.h -App/task/rs485_task.c -App/task/rs485_task.h -App/task/task_handles.h -App/task/ui_task.c -App/task/ui_task.h -App/util/boot_stats.c -App/util/boot_stats.h -App/util/ioboard_di.c -App/util/ioboard_di.h -App/util/sha256.c -App/util/sha256.h -App/util/sys_clock.c -App/util/sys_clock.h -App/util/task_prof.c -App/util/task_prof.h -App/util/task_watchdog.c -App/util/task_watchdog.h -Drivers/BSP/CH395F/ch395f.c -Drivers/BSP/CH395F/ch395f.h -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h -Drivers/BSP/IOBOARD/ioboard.c -Drivers/BSP/IOBOARD/ioboard.h -Drivers/BSP/IOBOARD/ioboard_bits.c -Drivers/BSP/IOBOARD/ioboard_bits.h -Drivers/BSP/NET/net_config.h -Drivers/BSP/NET/net_events.c -Drivers/BSP/NET/net_events.h -Drivers/BSP/NET/net_listener.c -Drivers/BSP/NET/net_listener.h -Drivers/BSP/NET/net_pending.c -Drivers/BSP/NET/net_pending.h -Drivers/BSP/NET/net_select.c -Drivers/BSP/NET/net_select.h -Drivers/BSP/NET/net_socket.c -Drivers/BSP/NET/net_socket.h -Drivers/BSP/NET/net_types.h -Drivers/BSP/NET/net_udp.c -Drivers/BSP/NET/net_udp.h -Drivers/BSP/NETCFG/ftp_cfg.c -Drivers/BSP/NETCFG/ftp_cfg.h -Drivers/BSP/NETCFG/net_cfg.c -Drivers/BSP/NETCFG/net_cfg.h -Drivers/BSP/NETCFG/sntp_cfg.c -Drivers/BSP/NETCFG/sntp_cfg.h -Drivers/BSP/RS485/rs485.c -Drivers/BSP/RS485/rs485.h -Drivers/BSP/SD2506/sd2506.c -Drivers/BSP/SD2506/sd2506.h -Drivers/BSP/ScreenLink/sb_link.c -Drivers/BSP/ScreenLink/sb_link.h -Drivers/BSP/ScreenLink/sb_proto.c -Drivers/BSP/ScreenLink/sb_proto.h -Drivers/BSP/TPAFE5160/tpafe5160.c -Drivers/BSP/TPAFE5160/tpafe5160.h -Drivers/BSP/UI/ui_content_page.c -Drivers/BSP/UI/ui_content_page.h -Drivers/BSP/UI/ui_data.c -Drivers/BSP/UI/ui_data.h -Drivers/BSP/UI/ui_deco.c -Drivers/BSP/UI/ui_deco.h -Drivers/BSP/UI/ui_font_cn_12.c -Drivers/BSP/UI/ui_menu.c -Drivers/BSP/UI/ui_menu.h -Drivers/BSP/UI/ui_menu_tab.c -Drivers/BSP/UI/ui_menu_tab.h -Drivers/BSP/UI/ui_menu_view.c -Drivers/BSP/UI/ui_menu_view.h -Drivers/BSP/UI/ui_net_sink.c -Drivers/BSP/UI/ui_net_sink.h -Drivers/BSP/UI/ui_net_sink_backend.h -Drivers/BSP/UI/ui_net_sink_backend_mcu.c -Drivers/BSP/UI/ui_page_ac.c -Drivers/BSP/UI/ui_page_ac.h -Drivers/BSP/UI/ui_page_accident.c -Drivers/BSP/UI/ui_page_accident.h -Drivers/BSP/UI/ui_page_action.c -Drivers/BSP/UI/ui_page_action.h -Drivers/BSP/UI/ui_page_alarm.c -Drivers/BSP/UI/ui_page_alarm.h -Drivers/BSP/UI/ui_page_calib.c -Drivers/BSP/UI/ui_page_calib.h -Drivers/BSP/UI/ui_page_clear.c -Drivers/BSP/UI/ui_page_clear.h -Drivers/BSP/UI/ui_page_clock.c -Drivers/BSP/UI/ui_page_clock.h -Drivers/BSP/UI/ui_page_comm.c -Drivers/BSP/UI/ui_page_comm.h -Drivers/BSP/UI/ui_page_dc.c -Drivers/BSP/UI/ui_page_dc.h -Drivers/BSP/UI/ui_page_deadband.c -Drivers/BSP/UI/ui_page_deadband.h -Drivers/BSP/UI/ui_page_device_info.c -Drivers/BSP/UI/ui_page_device_info.h -Drivers/BSP/UI/ui_page_net_cfg.c -Drivers/BSP/UI/ui_page_net_cfg.h -Drivers/BSP/UI/ui_page_oper.c -Drivers/BSP/UI/ui_page_oper.h -Drivers/BSP/UI/ui_page_password.c -Drivers/BSP/UI/ui_page_password.h -Drivers/BSP/UI/ui_page_registry.c -Drivers/BSP/UI/ui_page_registry.h -Drivers/BSP/UI/ui_page_reset.c -Drivers/BSP/UI/ui_page_reset.h -Drivers/BSP/UI/ui_page_runlog.c -Drivers/BSP/UI/ui_page_runlog.h -Drivers/BSP/UI/ui_page_runreport.c -Drivers/BSP/UI/ui_page_runreport.h -Drivers/BSP/UI/ui_page_selftest.c -Drivers/BSP/UI/ui_page_selftest.h -Drivers/BSP/UI/ui_page_sntp.c -Drivers/BSP/UI/ui_page_sntp.h -Drivers/BSP/UI/ui_page_soe.c -Drivers/BSP/UI/ui_page_soe.h -Drivers/BSP/UI/ui_page_start.c -Drivers/BSP/UI/ui_page_start.h -Drivers/BSP/UI/ui_page_view_param.c -Drivers/BSP/UI/ui_page_view_param.h -Drivers/BSP/UI/ui_page_view_plate.c -Drivers/BSP/UI/ui_page_view_plate.h -Drivers/BSP/UI/ui_page_view_set.c -Drivers/BSP/UI/ui_page_view_set.h -Drivers/BSP/UI/ui_page_view_word.c -Drivers/BSP/UI/ui_page_view_word.h -Drivers/BSP/UI/ui_page_wave_manual.c -Drivers/BSP/UI/ui_page_wave_manual.h -Drivers/BSP/UI/ui_page_wave_play.c -Drivers/BSP/UI/ui_page_wave_play.h -Drivers/BSP/UI/ui_page_yk.c -Drivers/BSP/UI/ui_page_yk.h -Drivers/BSP/UI/ui_page_yx.c -Drivers/BSP/UI/ui_page_yx.h -Drivers/BSP/UI/ui_port.c -Drivers/BSP/UI/ui_port.h -Drivers/BSP/UI/ui_pwd_def.h -Drivers/BSP/UI/ui_standby.c -Drivers/BSP/UI/ui_standby.h -Drivers/BSP/UI/ui_style.c -Drivers/BSP/UI/ui_style.h -Drivers/BSP/UI/ui_tokens.h -Drivers/BSP/UI/ui_w_editor.c -Drivers/BSP/UI/ui_w_editor.h -Drivers/BSP/UI/ui_w_records.c -Drivers/BSP/UI/ui_w_records.h -Drivers/BSP/UI/ui_w_setlist.c -Drivers/BSP/UI/ui_w_setlist.h -Drivers/BSP/UI/ui_w_setview.c -Drivers/BSP/UI/ui_w_setview.h -Drivers/BSP/UI/ui_w_soe.c -Drivers/BSP/UI/ui_w_soe.h -Drivers/BSP/UI/ui_w_ytview.c -Drivers/BSP/UI/ui_w_ytview.h -Drivers/BSP/app_assert.h -Drivers/BSP/bsp_err.h -Drivers/BSP/dbg_cfg.h -Drivers/BSP/dbg_log.h -IEC60870-Slave/104/IEC104.c -IEC60870-Slave/104/IEC104.h -IEC60870-Slave/104/IEC104_AsduQueue.c -IEC60870-Slave/104/IEC104_AsduQueue.h -IEC60870-Slave/104/IEC104_Codec.c -IEC60870-Slave/104/IEC104_Codec.h -IEC60870-Slave/104/IEC104_Config_Internal.h -IEC60870-Slave/104/IEC104_Connection.c -IEC60870-Slave/104/IEC104_Connection.h -IEC60870-Slave/104/IEC104_Link.c -IEC60870-Slave/104/IEC104_Link.h -IEC60870-Slave/104/IEC104_Link_Common.h -IEC60870-Slave/104/IEC104_Link_Internal.h -IEC60870-Slave/104/IEC104_Link_Master_StartStop.c -IEC60870-Slave/104/IEC104_Link_Master_StartStop.h -IEC60870-Slave/104/IEC104_Link_Slave_StartStop.c -IEC60870-Slave/104/IEC104_Link_Slave_StartStop.h -IEC60870-Slave/104/IEC104_Log.c -IEC60870-Slave/104/IEC104_Log.h -IEC60870-Slave/104/IEC104_Net.h -IEC60870-Slave/104/IEC104_Net_Windows.c -IEC60870-Slave/104/IEC104_Receiver.c -IEC60870-Slave/104/IEC104_Receiver.h -IEC60870-Slave/104/IEC104_SendBuffer.c -IEC60870-Slave/104/IEC104_SendBuffer.h -IEC60870-Slave/104/IEC104_SendManager.c -IEC60870-Slave/104/IEC104_SendManager.h -IEC60870-Slave/104/IEC104_Slave.c -IEC60870-Slave/104/IEC104_Slave.h -IEC60870-Slave/104/IEC104_TcpServer.c -IEC60870-Slave/104/IEC104_TcpServer.h -IEC60870-Slave/104/IEC104_TcpServer_Config.h -IEC60870-Slave/104/IEC104_TcpTypes.h -IEC60870-Slave/104/IEC104_Types.h -IEC60870-Slave/104/business/IEC104_BusinessConfig_Internal.h -IEC60870-Slave/104/business/IEC104_ClockSynchronization.c -IEC60870-Slave/104/business/IEC104_ClockSynchronization.h -IEC60870-Slave/104/business/IEC104_Command.c -IEC60870-Slave/104/business/IEC104_Command.h -IEC60870-Slave/104/business/IEC104_CounterInterrogation.c -IEC60870-Slave/104/business/IEC104_CounterInterrogation.h -IEC60870-Slave/104/business/IEC104_FileService.c -IEC60870-Slave/104/business/IEC104_FileService.h -IEC60870-Slave/104/business/IEC104_GeneralInterrogation.c -IEC60870-Slave/104/business/IEC104_GeneralInterrogation.h -IEC60870-Slave/104/business/IEC104_Interrogation.c -IEC60870-Slave/104/business/IEC104_Interrogation.h -IEC60870-Slave/104/business/IEC104_Interrogation_Internal.h -IEC60870-Slave/104/business/IEC104_Parameter.c -IEC60870-Slave/104/business/IEC104_Parameter.h -IEC60870-Slave/104/business/IEC104_PeriodicScan.c -IEC60870-Slave/104/business/IEC104_PeriodicScan.h -IEC60870-Slave/104/business/IEC104_Read.c -IEC60870-Slave/104/business/IEC104_Read.h -IEC60870-Slave/104/business/IEC104_RemoteParameter.c -IEC60870-Slave/104/business/IEC104_RemoteParameter.h -IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.c -IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.h -IEC60870-Slave/104/business/IEC104_Spontaneous.c -IEC60870-Slave/104/business/IEC104_Spontaneous.h -IEC60870-Slave/104/business/IEC104_Startup.c -IEC60870-Slave/104/business/IEC104_Startup.h -IEC60870-Slave/104/business/IEC104_SystemCommand.c -IEC60870-Slave/104/business/IEC104_SystemCommand.h -IEC60870-Slave/common/IEC60870_Asdu.c -IEC60870-Slave/common/IEC60870_Asdu.h -IEC60870-Slave/common/IEC60870_Clock.c -IEC60870-Slave/common/IEC60870_Clock.h -IEC60870-Slave/common/IEC60870_Codec.c -IEC60870-Slave/common/IEC60870_Codec.h -IEC60870-Slave/common/IEC60870_Comtrade.c -IEC60870-Slave/common/IEC60870_Comtrade.h -IEC60870-Slave/common/IEC60870_EnergyFreeze.c -IEC60870-Slave/common/IEC60870_EnergyFreeze.h -IEC60870-Slave/common/IEC60870_EnergyFreezeFile.c -IEC60870-Slave/common/IEC60870_EnergyFreezeFile.h -IEC60870-Slave/common/IEC60870_FaultEvent.c -IEC60870-Slave/common/IEC60870_FaultEvent.h -IEC60870-Slave/common/IEC60870_FaultRecorder.c -IEC60870-Slave/common/IEC60870_FaultRecorder.h -IEC60870-Slave/common/IEC60870_FirmwareUpdate.c -IEC60870-Slave/common/IEC60870_FirmwareUpdate.h -IEC60870-Slave/common/IEC60870_History.c -IEC60870-Slave/common/IEC60870_History.h -IEC60870-Slave/common/IEC60870_HistoryFile.c -IEC60870-Slave/common/IEC60870_HistoryFile.h -IEC60870-Slave/common/IEC60870_InformationObjects.c -IEC60870-Slave/common/IEC60870_InformationObjects.h -IEC60870-Slave/common/IEC60870_InformationObjects_Internal.h -IEC60870-Slave/common/IEC60870_Slave.c -IEC60870-Slave/common/IEC60870_Slave.h -IEC60870-Slave/common/IEC60870_Time.c -IEC60870-Slave/common/IEC60870_Time.h -IEC60870-Slave/common/IEC60870_Types.h -IEC60870-Slave/common/IEC60870_UserLog.c -IEC60870-Slave/common/IEC60870_UserLog.h -IEC60870-Slave/common/IEC60870_UserLogFile.c -IEC60870-Slave/common/IEC60870_UserLogFile.h -IEC60870-Slave/examples/iec104_dtu_example.c -IEC60870-Slave/examples/iec104_dtu_measurement.c -IEC60870-Slave/examples/iec104_dtu_measurement.h -IEC60870-Slave/examples/iec104_dtu_profile.h -IEC60870-Slave/examples/iec104_dtu_protection.c -IEC60870-Slave/examples/iec104_dtu_protection.h -IEC60870-Slave/examples/iec104_dtu_settings.c -IEC60870-Slave/examples/iec104_dtu_settings.h -IEC60870-Slave/examples/iec104_example_config.c -IEC60870-Slave/examples/iec104_example_config.h -IEC60870-Slave/examples/iec104_example_energy_freeze.c -IEC60870-Slave/examples/iec104_example_energy_freeze.h -IEC60870-Slave/examples/iec104_example_energy_meter.c -IEC60870-Slave/examples/iec104_example_energy_meter.h -IEC60870-Slave/examples/iec104_example_history.c -IEC60870-Slave/examples/iec104_example_history.h -IEC60870-Slave/examples/iec104_example_points.h -IEC60870-Slave/examples/iec104_example_recording.c -IEC60870-Slave/examples/iec104_example_recording.h -IEC60870-Slave/examples/iec104_example_upgrade.c -IEC60870-Slave/examples/iec104_example_upgrade.h -IEC60870-Slave/examples/iec104_example_user_log.c -IEC60870-Slave/examples/iec104_example_user_log.h -IEC60870-Slave/examples/iec104_parameter_multi_master.c -IEC60870-Slave/examples/iec104_slave_example.c -IEC60870-Slave/test/iec104_ack_tracking_test.c -IEC60870-Slave/test/iec104_asdu_transport_test.c -IEC60870-Slave/test/iec104_command_test.c -IEC60870-Slave/test/iec104_dtu_energy_settings_test.c -IEC60870-Slave/test/iec104_dtu_measurement_test.c -IEC60870-Slave/test/iec104_dtu_protection_test.c -IEC60870-Slave/test/iec104_dtu_settings_model_test.c -IEC60870-Slave/test/iec104_dtu_storage_test.c -IEC60870-Slave/test/iec104_dtu_trigger_recording_test.c -IEC60870-Slave/test/iec104_energy_freeze_transitions_test.c -IEC60870-Slave/test/iec104_example_energy_freeze_test.c -IEC60870-Slave/test/iec104_example_energy_meter_test.c -IEC60870-Slave/test/iec104_example_history_test.c -IEC60870-Slave/test/iec104_example_recording_test.c -IEC60870-Slave/test/iec104_example_upgrade_test.c -IEC60870-Slave/test/iec104_example_user_log_test.c -IEC60870-Slave/test/iec104_fault_event_test.c -IEC60870-Slave/test/iec104_file_service_internal_test.c -IEC60870-Slave/test/iec104_file_service_test.c -IEC60870-Slave/test/iec104_idle_transport_test.c -IEC60870-Slave/test/iec104_interrogation_rules_test.c -IEC60870-Slave/test/iec104_net_pending_input_test.c -IEC60870-Slave/test/iec104_parameter_edge_test.c -IEC60870-Slave/test/iec104_parameter_test.c -IEC60870-Slave/test/iec104_periodic_scan_test.c -IEC60870-Slave/test/iec104_read_test.c -IEC60870-Slave/test/iec104_remote_parameter_internal_test.c -IEC60870-Slave/test/iec104_remote_parameter_test.c -IEC60870-Slave/test/iec104_response_queue_test.c -IEC60870-Slave/test/iec104_response_transport_test.c -IEC60870-Slave/test/iec104_slave_example_test.c -IEC60870-Slave/test/iec104_slave_test.c -IEC60870-Slave/test/iec104_software_upgrade_internal_test.c -IEC60870-Slave/test/iec104_software_upgrade_test.c -IEC60870-Slave/test/iec104_spontaneous_test.c -IEC60870-Slave/test/iec104_strict_priority_queue_test.c -IEC60870-Slave/test/iec104_strict_priority_transport_test.c -IEC60870-Slave/test/iec104_system_command_test.c -IEC60870-Slave/test/iec104_tcp_event_ring_test.c -IEC60870-Slave/test/iec104_tcp_fixture.h -IEC60870-Slave/test/iec104_tcp_scheduler_test.c -IEC60870-Slave/test/iec104_test_config.h -IEC60870-Slave/test/iec60870_asdu_extended_test.c -IEC60870-Slave/test/iec60870_asdu_fixture.h -IEC60870-Slave/test/iec60870_asdu_test.c -IEC60870-Slave/test/iec60870_comtrade_test.c -IEC60870-Slave/test/iec60870_energy_freeze_file_test.c -IEC60870-Slave/test/iec60870_energy_freeze_test.c -IEC60870-Slave/test/iec60870_fault_event_test.c -IEC60870-Slave/test/iec60870_fault_recorder_test.c -IEC60870-Slave/test/iec60870_firmware_update_test.c -IEC60870-Slave/test/iec60870_history_file_test.c -IEC60870-Slave/test/iec60870_history_test.c -IEC60870-Slave/test/iec60870_user_log_file_test.c -IEC60870-Slave/test/iec60870_user_log_test.c -IEC60870-Slave/test/parameter_interop_slave.c -IEC60870-Slave/test/parameter_lib60870_client.c -IEC60870-Slave/test/periodic_scan_interop_server.c -IEC60870-Slave/test/periodic_scan_lib60870_client.c -IEC60870-Slave/test/periodic_scan_soak_example.c -simulator/dbg_log.h -simulator/lv_conf.h -simulator/main.c -simulator/sim/cfg_file_store_sim.c -simulator/sim/iec104_sim.c -simulator/sim/iec104_sim.h -simulator/sim/net_socket_sim.c -simulator/sim/sim_latency_stub.c -simulator/sim/sim_port.c -simulator/sim/sim_port.h -simulator/sim/sim_syslog.c -simulator/sim/ui_net_sink_backend_sim.c diff --git a/docs/UI设计/UI_数据供给设计.md b/docs/UI设计/UI_数据供给设计.md index 413787f3..b14f1e70 100644 --- a/docs/UI设计/UI_数据供给设计.md +++ b/docs/UI设计/UI_数据供给设计.md @@ -18,7 +18,7 @@ | 相量(有效值/相角) | `App/algo/phasor.h` | 算法层 | | 频率 | `App/algo/freq.h` | 算法层 | | 定值(40 项 + 封存态) | `App/algo/prot_set.h` | 算法层 | -| 遥信位图 / 品质 / 单双点性质 | `App/protocol/iec104/iec104_dtu_table.h`(2026-11-17 割接前为 `iec104_pts.h`,该实现已删除) | 协议层 | +| 遥信位图 / 品质 / 单双点性质 | `App/iec60870/104/iec104_dtu_table.h`(2026-11-17 割接前为 `iec104_pts.h`,该实现已删除) | 协议层 | | 时钟 | `App/util/sys_clock.h` | 工具层(**已在 ALLOW 豁免内**) | | 运行/自检记录 | `App/log/sys_log.h` | 服务层 | @@ -172,10 +172,10 @@ typedef struct { - **字符串只用定长数组**:`clock[20]` 在结构体内,无指针、无生命周期问题(跨层传指针是经典事故源)。 - **`yx_valid` 与 `yx_bits` 分开**:无效点不参与显示、不参与变位判断(沿用 104 点表的既有做法,避免"IV 通道抖动成变位")。 - **`yx_dp`**:单点还是双点是 **104 点表事实**,由写侧 `ui_data_feed.c` 的 `feed_yx_dp()` 逐点问点表 `type` 字段(1 = 单点、3 = 双点)后下发位图;页面只按位图选词(双点"合位/分位"、单点"动作/复归"、无效 "--")。把"前 4 点是双点"抄进表现层就是第二真相:点表改成双点段挪位或加高起始下标,屏上不会报错,只会用错词形容同一个点。 - **2026-11-17 通信骨架割接后,问的点表换了源**:旧的产品自有 33 点表实现 `App/protocol/iec104/iec104_pts.c`(`YX_N = 33`、`YX_DP_N = 4`,`iec104_pts_yx_is_dp()` 逐点判型)已随割接删除;现在问的是 DTU 标准表 `iec104_dtu_point()`(`App/protocol/iec104/iec104_dtu_table.c`)。两套点表语义不同:新表 index 0~58 是单点(0~42 → IOA 0x0001~0x002B,43~58 → 0x0032~0x0041,源表 0x002C~0x0031 空号)、59~74 是双点(IOA 0x1001 起)、75~104 是测量值,共 59 + 16 = 75 个遥信点,**双点不在 0~3 而在 59~74**。 + **2026-11-17 通信骨架割接后,问的点表换了源**:旧的产品自有 33 点表实现 `App/protocol/iec104/iec104_pts.c`(`YX_N = 33`、`YX_DP_N = 4`,`iec104_pts_yx_is_dp()` 逐点判型)已随割接删除;现在问的是 DTU 标准表 `iec104_dtu_point()`(`App/iec60870/104/iec104_dtu_table.c`)。两套点表语义不同:新表 index 0~58 是单点(0~42 → IOA 0x0001~0x002B,43~58 → 0x0032~0x0041,源表 0x002C~0x0031 空号)、59~74 是双点(IOA 0x1001 起)、75~104 是测量值,共 59 + 16 = 75 个遥信点,**双点不在 0~3 而在 59~74**。 **这不改变任何像素**:本字段只覆盖 `UI_DATA_YX_N = 33` 行,即新表的单点段;双点段落在 33 之外,取不到。而产品视图的 YX1~4(页面名表"位置1~4")在新表里是单点、旧表里是双点——这 4 点 V0.1 无开入硬件,不在 `yx_valid` 内,页面先按 valid 短路打 "--",走不到双点/单点选词分支,所以屏上无差异。**点表口径差异是既有事实,不是本节引入的问题。** 点数一致性由写侧一条一次性 `DBG_ERROR` 兜(`UI_DATA_YX_N` 与 DTU 表 `SP_COUNT + DP_COUNT = 75` 不等时留痕)——该口径**自割接起会打且是应打的**:33 行产品视图与 75 点标准表本就不等,这条日志让差异现场可见,不影响显示。 -- **页面名表与 DTU 标准表同名下标语义不一致——这是既有事实,当前无运行期风险**。产品视图 `s_yx_name`(`Drivers/BSP/UI/ui_page_yx.c`)的前 33 行是按**旧产品点表**起的名;DTU 标准表同位置(前 59 个单点段中的同一 index)是另一批信号。逐点对照(下标取产品视图行号,DTU 侧取 `App/protocol/iec60870/examples/iec104_dtu_profile.h` 的 `dtu_signals[]` 原始名): +- **页面名表与 DTU 标准表同名下标语义不一致——这是既有事实,当前无运行期风险**。产品视图 `s_yx_name`(`Drivers/BSP/UI/ui_page_yx.c`)的前 33 行是按**旧产品点表**起的名;DTU 标准表同位置(前 59 个单点段中的同一 index)是另一批信号。逐点对照(下标取产品视图行号,DTU 侧取 `App/iec60870/examples/iec104_dtu_profile.h` 的 `dtu_signals[]` 原始名): | 下标 | 产品视图名(页面) | DTU 标准表同下标信号(原名 / 释义) | |---|---|---| @@ -418,7 +418,7 @@ ui_data_param_state() / ui_data_param_err_mask()(保存行显词 + 越界行 |---|---|---|---|---| | 维护动作 | `ui_data_maint_ops_t`(`ui_data_maint_bind()`,uiTask 启动时绑) | `clock_set`(写后必须回读复核)/ `reset_req`(`prot_elm_request_reset()`)/ `active_count`(`popcount(prot_elm_active_mask())`)/ `oper_note`(`syslog_post_quiet(SYSLOG_OPER)`,谁触发谁投 104 与本地各一条)/ `clear_req`(`syslog_request_clear()`)/ `clear_state`(`syslog_clear_state()`) | 装置维护 3 页(对时 / 强制复归 / 清除记录) | `docs/UI设计/内容页架构.md` §7 | | 遥测整定 | `ui_data_yt_ops_t`(`ui_data_yt_bind()`,feed 首轮懒绑,先于 `ui_menu_init`) | 死区 9 行(电气 8 + 频率,与 104 0x8030~0x8038 同序)+ 系数 8 路:`db_n/db_row/db_set`、`cal_n/cal_row/cal_k_set`、`cal_blocked`、`pending` | 遥测整定页(`ui_w_ytview`) | 行语义/单位/上下限归 `App/algo/run_par.c` 与 `App/algo/adc_cal.c`;`unit`/`decimals` 归装配层 `ui_data_feed.c`;lo/hi 唯一出口 `run_par_db_range()` / `RUN_PAR_K_MAX_UV`,页面不得抄数 | -| 通讯参数 | `ui_data_comm_ops_t`(`ui_data_comm_bind()`,与遥测整定同点位相邻) | `row` / `set` / `pending` 共 2 行:CA(1..65535,**改后重启生效**)与 104 端口(1024..65535,下次重 bind 监听生效) | 通讯设置页 | 真源 `App/protocol/iec104/iec104_comm.h`;行名行数归页面 | +| 通讯参数 | `ui_data_comm_ops_t`(`ui_data_comm_bind()`,与遥测整定同点位相邻) | `row` / `set` / `pending` 共 2 行:CA(1..65535,**改后重启生效**)与 104 端口(1024..65535,下次重 bind 监听生效) | 通讯设置页 | 真源 `App/iec60870/104/iec104_comm.h`;行名行数归页面 | | 录波回放 | `ui_data_wave_ops_t`(`ui_data_wave_bind()`,uiTask 启动时绑) | 7 件:`manual_req`(手动触发录波)/ 入场作废缓存钩子 / `seg_first/seg_prev/seg_next`(段导航,环形回绕)/ `seg_head`(事件名+触发字+削顶)/ `seg_win`(40 点码值 + 窗口峰值) | 录波回放页 | 取数口径唯一真源 `docs/子系统设计/故障录波设计说明.md` §6.3 | 三条共用口径: diff --git a/docs/images/引用关系图.dot b/docs/images/引用关系图.dot index fac622a4..35814a45 100644 --- a/docs/images/引用关系图.dot +++ b/docs/images/引用关系图.dot @@ -2,32 +2,128 @@ digraph refgraph_full { graph [rankdir=LR, bgcolor="white", labelloc=t, label="STM32F4-Base 项目文件引用关系图(项目代码视图)", fontname="Microsoft YaHei", fontsize=18]; node [fontname="Microsoft YaHei", fontsize=10, shape=box, style="rounded,filled"]; edge [fontname="Microsoft YaHei", fontsize=8]; + "App/algo/adc_cal.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/algo/adc_cal.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/adc_health.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/adc_health.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/adc_input.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/adc_input.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/freq.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/freq.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/algo/meas.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/algo/meas.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/phasor.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/phasor.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/prot_elm.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/prot_elm.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/prot_set.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/prot_set.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/algo/run_par.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/algo/run_par.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/sample_ring.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/algo/sample_ring.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/algo/sb_led_map.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/algo/sb_led_map.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/algo/wave_ring.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/algo/wave_ring.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/algo/wave_store.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/algo/wave_store.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/app/app_cfg.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/app/app_main.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/app/app_main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/app/sys_events.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/app/ui_data_feed.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/app/ui_data_feed.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/cfg/cfg_file.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/cfg/cfg_file.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/cfg/cfg_file_store.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/cfg/cfg_file_store_mcu.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/cfg/prot_set_store.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/cfg/prot_set_store.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/fs/vol_idle_sync.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/fs/vol_idle_sync.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/fs/vol_lock.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/fs/vol_lock.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_AsduQueue.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_AsduQueue.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Codec.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Codec.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Config_Internal.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Connection.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Connection.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Link.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Link_Common.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Link_Internal.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Link_Slave_StartStop.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Link_Slave_StartStop.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Net.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Net_Windows.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Receiver.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Receiver.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_SendBuffer.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_SendBuffer.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_SendManager.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_SendManager.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Slave.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Slave.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_TcpServer.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_TcpServer.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_TcpServer_Config.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_TcpTypes.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/IEC104_Types.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_ClockSynchronization.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_ClockSynchronization.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Command.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Command.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_CounterInterrogation.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_CounterInterrogation.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_GeneralInterrogation.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_GeneralInterrogation.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Interrogation.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Interrogation.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Interrogation_Internal.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Parameter.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Parameter.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_PeriodicScan.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_PeriodicScan.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Read.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Read.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_RemoteParameter.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_RemoteParameter.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Spontaneous.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Spontaneous.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Startup.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_Startup.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_SystemCommand.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/business/IEC104_SystemCommand.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/iec104_comm.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/iec104_comm.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/iec104_core.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/iec104_core.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/iec104_dtu_table.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/iec104_dtu_table.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/iec104_net_mcu.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/iec104_net_mcu.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/iec104_source.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/iec104_source.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/104/iec104_source_ranks.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_Asdu.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_Asdu.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_Codec.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_Codec.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_FaultEvent.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_FaultEvent.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_InformationObjects.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_InformationObjects.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_InformationObjects_Internal.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_Slave.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_Slave.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_StaticAssert.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_Time.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_Time.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/common/IEC60870_Types.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/iec60870/examples/iec104_dtu_profile.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/log/console_log.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/log/console_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/log/soe_rec.c" [fillcolor="#dbeafe", color="#1d4ed8"]; @@ -36,12 +132,8 @@ digraph refgraph_full { "App/log/soe_store.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/log/sys_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/log/sys_log_mcu.c" [fillcolor="#dbeafe", color="#1d4ed8"]; - "App/protocol/iec104/iec104_asdu.c" [fillcolor="#dbeafe", color="#1d4ed8"]; - "App/protocol/iec104/iec104_asdu.h" [fillcolor="#dbeafe", color="#1d4ed8"]; - "App/protocol/iec104/iec104_link.c" [fillcolor="#dbeafe", color="#1d4ed8"]; - "App/protocol/iec104/iec104_link.h" [fillcolor="#dbeafe", color="#1d4ed8"]; - "App/protocol/iec104/iec104_pts.c" [fillcolor="#dbeafe", color="#1d4ed8"]; - "App/protocol/iec104/iec104_pts.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/sync/time_sntp.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/sync/time_sntp.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/sync/time_sync.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/sync/time_sync.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/task/adc_task.c" [fillcolor="#dbeafe", color="#1d4ed8"]; @@ -56,8 +148,13 @@ digraph refgraph_full { "App/task/protect_task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/task/rs485_task.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/task/rs485_task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/task/task_handles.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/task/ui_task.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/task/ui_task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/util/boot_stats.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/util/boot_stats.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/util/ioboard_di.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "App/util/ioboard_di.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/util/sha256.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/util/sha256.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "App/util/sys_clock.c" [fillcolor="#dbeafe", color="#1d4ed8"]; @@ -72,8 +169,20 @@ digraph refgraph_full { "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/GD5F2GQ5UE/nand_ftl.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/IOBOARD/ioboard.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/IOBOARD/ioboard.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/IOBOARD/ioboard_bits.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/IOBOARD/ioboard_bits.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/NET/lftpd/lftpd.c" [fillcolor="#f3f4f6", color="#9ca3af"]; "Drivers/BSP/NET/lftpd/lftpd.h" [fillcolor="#f3f4f6", color="#9ca3af"]; "Drivers/BSP/NET/lftpd/lftpd_auth.c" [fillcolor="#f3f4f6", color="#9ca3af"]; + "Drivers/BSP/NET/lftpd/lftpd_auth.h" [fillcolor="#f3f4f6", color="#9ca3af"]; + "Drivers/BSP/NET/lftpd/lftpd_inet.c" [fillcolor="#f3f4f6", color="#9ca3af"]; + "Drivers/BSP/NET/lftpd/lftpd_io.c" [fillcolor="#f3f4f6", color="#9ca3af"]; + "Drivers/BSP/NET/lftpd/lftpd_string.c" [fillcolor="#f3f4f6", color="#9ca3af"]; + "Drivers/BSP/NET/lftpd/private/lftpd_inet.h" [fillcolor="#f3f4f6", color="#9ca3af"]; + "Drivers/BSP/NET/lftpd/private/lftpd_io.h" [fillcolor="#f3f4f6", color="#9ca3af"]; + "Drivers/BSP/NET/lftpd/private/lftpd_string.h" [fillcolor="#f3f4f6", color="#9ca3af"]; "Drivers/BSP/NET/net_config.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/NET/net_events.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/NET/net_events.h" [fillcolor="#dbeafe", color="#1d4ed8"]; @@ -86,18 +195,28 @@ digraph refgraph_full { "Drivers/BSP/NET/net_socket.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/NET/net_socket.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/NET/net_types.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/NET/net_udp.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/NET/net_udp.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/NETCFG/ftp_cfg.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/NETCFG/ftp_cfg.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/NETCFG/net_cfg.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/NETCFG/net_cfg.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/NETCFG/sntp_cfg.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/NETCFG/sntp_cfg.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/RS485/rs485.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/RS485/rs485.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/SD2506/sd2506.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/SD2506/sd2506.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/ScreenLink/sb_link.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/ScreenLink/sb_link.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/ScreenLink/sb_proto.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/ScreenLink/sb_proto.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/TPAFE5160/tpafe5160.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/TPAFE5160/tpafe5160.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_content_page.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_content_page.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_data.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_data.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_deco.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_deco.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_font_cn_12.c" [fillcolor="#dbeafe", color="#1d4ed8"]; @@ -113,23 +232,86 @@ digraph refgraph_full { "Drivers/BSP/UI/ui_net_sink_backend_mcu.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_ac.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_ac.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_accident.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_accident.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_action.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_action.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_alarm.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_alarm.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_calib.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_calib.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_clear.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_clear.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_clock.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_clock.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_comm.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_comm.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_dc.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_dc.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_deadband.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_deadband.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_device_info.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_device_info.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_net_cfg.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_net_cfg.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_oper.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_oper.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_password.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_password.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_registry.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_registry.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_reset.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_reset.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_runlog.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_runlog.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_runreport.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_runreport.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_selftest.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_page_selftest.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_sntp.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_sntp.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_soe.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_soe.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_start.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_start.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_view_param.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_view_param.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_view_plate.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_view_plate.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_view_set.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_view_set.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_view_word.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_view_word.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_wave_manual.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_wave_manual.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_wave_play.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_wave_play.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_yk.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_yk.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_yx.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_page_yx.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_port.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_port.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_pwd_def.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_standby.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/UI/ui_standby.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_style.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_style.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_tokens.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_w_editor.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_w_editor.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_w_records.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_w_records.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_w_setlist.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_w_setlist.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_w_setview.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_w_setview.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_w_soe.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_w_soe.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_w_ytview.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/UI/ui_w_ytview.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/app_assert.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "Drivers/BSP/bsp_err.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/dbg_cfg.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/BSP/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h" [fillcolor="#f3f4f6", color="#9ca3af"]; @@ -161,6 +343,9 @@ digraph refgraph_full { "Inc/usart.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "Lib/FatFs/diskio.h" [fillcolor="#f3f4f6", color="#9ca3af"]; "Lib/FatFs/ff.h" [fillcolor="#f3f4f6", color="#9ca3af"]; + "Lib/coreSNTP/include/core_sntp_serializer.h" [fillcolor="#f3f4f6", color="#9ca3af"]; + "Lib/dhara/journal.c" [fillcolor="#f3f4f6", color="#9ca3af"]; + "Lib/dhara/map.c" [fillcolor="#f3f4f6", color="#9ca3af"]; "Lib/dhara/map.h" [fillcolor="#f3f4f6", color="#9ca3af"]; "Lib/dhara/nand.h" [fillcolor="#f3f4f6", color="#9ca3af"]; "Lib/lvgl/lvgl.h" [fillcolor="#f3f4f6", color="#9ca3af"]; @@ -187,6 +372,8 @@ digraph refgraph_full { "simulator/lv_conf.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "simulator/main.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "simulator/sim/cfg_file_store_sim.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "simulator/sim/iec104_sim.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "simulator/sim/iec104_sim.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "simulator/sim/net_socket_sim.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "simulator/sim/sim_latency_stub.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "simulator/sim/sim_port.c" [fillcolor="#dbeafe", color="#1d4ed8"]; @@ -200,6 +387,8 @@ digraph refgraph_full { "test/board/ch395f_test_task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/board/gd5f_test.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/board/gd5f_test_task.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/board/ioboard_test.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/board/ioboard_test_task.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/board/net_latency_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/board/net_latency_test.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/board/net_test_task.c" [fillcolor="#dbeafe", color="#1d4ed8"]; @@ -211,41 +400,205 @@ digraph refgraph_full { "test/board/test_common.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/board/test_config.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/board/test_config.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/adc_cal/adc_cal_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/adc_cal/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/adc_health/adc_health_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/adc_input/adc_input_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/adc_input/stub/adc.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/adc_input/stub/tpafe5160.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/boot_stats/boot_stats_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/boot_stats/stub/main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/cfg_file/cfg_file_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/cfg_file/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/cfg_file_store_mcu/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/common/ch395f_fake.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/common/ch395f_fake.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/common/fatfs_fake.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/common/fatfs_fake.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/console_log/console_log_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/console_log/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/console_log/stub/cmsis_os.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/console_log/stub/cmsis_os2.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/console_log/stub/stm32f4_fake.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/console_log/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/console_log/stub/usart.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/freq/freq_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/ftp_auth/ftp_auth_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; - "test/host/iec104/iec104_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/ftp_cfg/ftp_cfg_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_comm/iec104_comm_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_dtu/core_lifecycle_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_dtu/source_binding_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_dtu/vendor_boundary_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_netmcu/net_socket_fake.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_netmcu/net_socket_fake.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_netmcu/netmcu_stub_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_netmcu/netmcu_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_netmcu/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_netmcu/stub/cmsis_os2.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_netmcu/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_netmcu/stub_iec104_netmcu.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_netmcu/stub_iec104_netmcu.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_serv/iec104_serv_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_serv/stub/cmsis_os2.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_serv/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_serv/stub/iec104_comm.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_serv/stub/net_socket.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/iec104_serv/stub/sys_events.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/ioboard/ioboard_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd/lftpd_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd/stub/net_socket.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd_inet/lftpd_inet_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd_inet/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd_inet/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd_inet/stub/net_socket.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd_inet/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd_io/lftpd_io_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd_io/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/lftpd_io/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/meas/meas_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/nand_port/nand_port_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/nand_port/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/nand_port/stub/gd5f2gq5ue.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_cfg/net_cfg_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_cfg/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_events/net_events_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_events/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_events/stub/ch395f.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_events/stub/cmsis_os.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_events/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_events/stub/main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_events/stub/net_latency_test.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_events/stub/net_socket.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_events/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_events/stub/test_config.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_listener/net_listener_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_listener/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_listener/stub/ch395f.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_listener/stub/cmsis_os.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_listener/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_listener/stub/main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_listener/stub/net_latency_test.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_listener/stub/net_socket.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_listener/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_listener/stub/test_config.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_pending/net_pending_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_pending/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_pending/stub/ch395f.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_pending/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_pending/stub/main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_pending/stub/net_socket.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_pending/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_select/net_select_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_select/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_select/stub/ch395f.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_select/stub/cmsis_os.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_select/stub/main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_select/stub/net_socket.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_select/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/net_socket_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/ns_peers.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/ns_peers.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/ns_rtos.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/ns_s3_msg.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/ns_s4_state.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/ns_s5_io.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/ns_s6_edges.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/ns_s7_udp.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/stub/ch395f.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/stub/cmsis_os.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/stub/main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/stub/net_latency_test.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/stub/ns_rtos.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/net_socket/stub/test_config.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/phasor/phasor_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/prot_dim/prot_dim_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/prot_dim/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/prot_elm/prot_elm_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/prot_set/prot_set_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/prot_set_store/prot_set_store_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/prot_set_store/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/run_par/run_par_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/run_par/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sb_led_map/sb_led_map_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sb_link/sb_link_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sb_link/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sb_link/stub/main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sb_proto/sb_proto_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/sha256/sha256_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sntp/sntp_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sntp/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sntp/stub/cmsis_os2.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sntp/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sntp/stub/net_socket.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sntp/stub/net_types.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sntp/stub/sys_clock.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sntp/stub/sys_events.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sntp/stub/sys_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sntp/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/soe/soe_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/soe_store/soe_store_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/soe_store/stub/cmsis_os.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/soe_store/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/soe_store/stub/main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/sys_clock/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/sys_clock/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/sys_clock/stub/main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/sys_clock/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/sys_clock/sys_clock_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sys_log_mcu/stub/cmsis_os.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sys_log_mcu/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sys_log_mcu/stub/main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/sys_log_mcu/sys_log_mcu_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/task_prof/stub/main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/task_prof/task_prof_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/time_sync/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/time_sync/stub/cmsis_os2.h" [fillcolor="#dbeafe", color="#1d4ed8"]; - "test/host/time_sync/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/time_sync/stub/net_socket.h" [fillcolor="#dbeafe", color="#1d4ed8"]; - "test/host/time_sync/stub/sys_clock.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/time_sync/stub/sys_events.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/time_sync/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/time_sync/time_sync_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/ui_data/ui_data_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/ui_sink/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/ui_sink/stub/lvgl.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/ui_sink/stub/net_latency_test.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/ui_sink/stub/net_socket.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/ui_sink/stub/net_types.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/ui_sink/stub/test_config.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/ui_sink/stub/ui_port.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/ui_sink/ui_sink_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/vol_idle_sync/stub/FreeRTOS.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/vol_idle_sync/stub/cmsis_os.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/vol_idle_sync/stub/cmsis_os2.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/vol_idle_sync/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/vol_idle_sync/stub/task.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/vol_idle_sync/stub/test_config.h" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/vol_idle_sync/vol_idle_sync_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/vol_lock/stub/cmsis_os.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/vol_lock/vol_lock_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/watchdog/stub/dbg_log.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/watchdog/stub/iwdg.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/watchdog/stub/main.h" [fillcolor="#dbeafe", color="#1d4ed8"]; "test/host/watchdog/watchdog_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/wave_ring/wave_ring_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/wave_store/wave_store_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; + "test/host/wave_trig/wave_trig_test.c" [fillcolor="#dbeafe", color="#1d4ed8"]; "外部/系统头文件" [shape=ellipse, fillcolor="#fef3c7", color="#d97706", fontsize=12]; + "App/algo/adc_cal.c" -> "App/algo/adc_cal.h" [color="#2563eb", penwidth=1.0]; + "App/algo/adc_cal.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; + "App/algo/adc_cal.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "App/algo/adc_cal.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/algo/adc_cal.h" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; + "App/algo/adc_cal.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/algo/adc_health.c" -> "App/algo/adc_health.h" [color="#2563eb", penwidth=1.0]; + "App/algo/adc_health.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/algo/adc_health.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/algo/adc_input.c" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; "App/algo/adc_input.c" -> "Drivers/BSP/TPAFE5160/tpafe5160.h" [color="#2563eb", penwidth=1.0]; @@ -256,6 +609,12 @@ digraph refgraph_full { "App/algo/freq.c" -> "App/algo/phasor.h" [color="#2563eb", penwidth=1.0]; "App/algo/freq.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/algo/freq.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/algo/meas.c" -> "App/algo/meas.h" [color="#2563eb", penwidth=1.0]; + "App/algo/meas.c" -> "App/algo/phasor.h" [color="#2563eb", penwidth=1.0]; + "App/algo/meas.c" -> "App/algo/sample_ring.h" [color="#2563eb", penwidth=1.0]; + "App/algo/meas.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/algo/meas.h" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; + "App/algo/meas.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/algo/phasor.c" -> "App/algo/phasor.h" [color="#2563eb", penwidth=1.0]; "App/algo/phasor.c" -> "App/algo/sample_ring.h" [color="#2563eb", penwidth=1.0]; "App/algo/phasor.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; @@ -270,25 +629,47 @@ digraph refgraph_full { "App/algo/prot_set.c" -> "App/algo/prot_set.h" [color="#2563eb", penwidth=1.0]; "App/algo/prot_set.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/algo/prot_set.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/algo/run_par.c" -> "App/algo/adc_cal.h" [color="#2563eb", penwidth=1.0]; + "App/algo/run_par.c" -> "App/algo/run_par.h" [color="#2563eb", penwidth=1.0]; + "App/algo/run_par.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; + "App/algo/run_par.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "App/algo/run_par.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/algo/run_par.h" -> "App/algo/adc_cal.h" [color="#2563eb", penwidth=1.0]; + "App/algo/run_par.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/algo/sample_ring.c" -> "App/algo/sample_ring.h" [color="#2563eb", penwidth=1.0]; "App/algo/sample_ring.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/algo/sample_ring.h" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; "App/algo/sample_ring.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/algo/sb_led_map.c" -> "App/algo/sb_led_map.h" [color="#2563eb", penwidth=1.0]; + "App/algo/sb_led_map.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/algo/sb_led_map.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/algo/wave_ring.c" -> "App/algo/wave_ring.h" [color="#2563eb", penwidth=1.0]; + "App/algo/wave_ring.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/algo/wave_ring.h" -> "App/algo/wave_store.h" [color="#2563eb", penwidth=1.0]; + "App/algo/wave_ring.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/algo/wave_store.c" -> "App/algo/wave_store.h" [color="#2563eb", penwidth=1.0]; + "App/algo/wave_store.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/algo/wave_store.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/app/app_main.c" -> "App/algo/adc_cal.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "App/algo/freq.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "App/algo/phasor.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "App/algo/prot_elm.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "App/algo/prot_set.h" [color="#2563eb", penwidth=1.0]; - "App/app/app_main.c" -> "App/app/app_cfg.h" [color="#2563eb", penwidth=1.0]; + "App/app/app_main.c" -> "App/algo/run_par.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "App/app/app_main.h" [color="#2563eb", penwidth=1.0]; + "App/app/app_main.c" -> "App/iec60870/104/iec104_comm.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; + "App/app/app_main.c" -> "App/util/boot_stats.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "App/util/sys_clock.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "App/util/task_watchdog.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "Drivers/BSP/RS485/rs485.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "Drivers/BSP/SD2506/sd2506.h" [color="#2563eb", penwidth=1.0]; + "App/app/app_main.c" -> "Drivers/BSP/ScreenLink/sb_link.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "Drivers/BSP/TPAFE5160/tpafe5160.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "App/app/app_main.c" -> "Inc/adc.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "Inc/stm32f4xx_it.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.c" -> "Inc/tim.h" [color="#2563eb", penwidth=1.0]; @@ -296,6 +677,27 @@ digraph refgraph_full { "App/app/app_main.c" -> "test/board/test_config.h" [color="#2563eb", penwidth=1.0]; "App/app/app_main.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/app/sys_events.h" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h" [color="#94a3b8", penwidth=0.7]; + "App/app/ui_data_feed.c" -> "App/algo/adc_cal.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/algo/freq.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/algo/phasor.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/algo/prot_elm.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/algo/prot_set.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/algo/run_par.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/app/ui_data_feed.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/iec60870/104/iec104_comm.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/iec60870/104/iec104_dtu_table.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/task/iec104_serv.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/util/boot_stats.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/util/ioboard_di.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "App/util/sys_clock.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "Drivers/BSP/IOBOARD/ioboard.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "Drivers/BSP/NETCFG/ftp_cfg.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "Drivers/BSP/UI/ui_net_sink.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "App/app/ui_data_feed.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; + "App/app/ui_data_feed.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/cfg/cfg_file.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; "App/cfg/cfg_file.c" -> "App/cfg/cfg_file_store.h" [color="#2563eb", penwidth=1.0]; "App/cfg/cfg_file.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; @@ -313,9 +715,210 @@ digraph refgraph_full { "App/cfg/prot_set_store.c" -> "App/cfg/prot_set_store.h" [color="#2563eb", penwidth=1.0]; "App/cfg/prot_set_store.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "App/cfg/prot_set_store.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/fs/vol_idle_sync.c" -> "App/app/sys_events.h" [color="#2563eb", penwidth=1.0]; + "App/fs/vol_idle_sync.c" -> "App/fs/vol_idle_sync.h" [color="#2563eb", penwidth=1.0]; + "App/fs/vol_idle_sync.c" -> "App/fs/vol_lock.h" [color="#2563eb", penwidth=1.0]; + "App/fs/vol_idle_sync.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "App/fs/vol_idle_sync.c" -> "Lib/FatFs/diskio.h" [color="#94a3b8", penwidth=0.7]; + "App/fs/vol_idle_sync.c" -> "Lib/FatFs/ff.h" [color="#94a3b8", penwidth=0.7]; + "App/fs/vol_idle_sync.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; + "App/fs/vol_idle_sync.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; + "App/fs/vol_idle_sync.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; + "App/fs/vol_idle_sync.c" -> "test/board/test_config.h" [color="#2563eb", penwidth=1.0]; "App/fs/vol_lock.c" -> "App/fs/vol_lock.h" [color="#2563eb", penwidth=1.0]; "App/fs/vol_lock.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; "App/fs/vol_lock.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_AsduQueue.c" -> "App/iec60870/104/IEC104_AsduQueue.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_AsduQueue.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_AsduQueue.h" -> "App/iec60870/104/IEC104_Codec.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_AsduQueue.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_Codec.c" -> "App/iec60870/104/IEC104_Codec.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Codec.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_Codec.h" -> "App/iec60870/104/IEC104_Types.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Config_Internal.h" -> "App/iec60870/104/IEC104_TcpTypes.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Connection.c" -> "App/iec60870/104/IEC104_Connection.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Connection.c" -> "App/iec60870/104/IEC104_Link_Slave_StartStop.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Connection.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_Connection.h" -> "App/iec60870/104/IEC104_Receiver.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Connection.h" -> "App/iec60870/104/IEC104_SendManager.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Link.c" -> "App/iec60870/104/IEC104_Link_Common.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Link.c" -> "App/iec60870/104/IEC104_Link_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Link.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_Link_Common.h" -> "App/iec60870/104/IEC104_Codec.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Link_Internal.h" -> "App/iec60870/104/IEC104_Link_Common.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Link_Slave_StartStop.c" -> "App/iec60870/104/IEC104_Link_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Link_Slave_StartStop.c" -> "App/iec60870/104/IEC104_Link_Slave_StartStop.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Link_Slave_StartStop.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_Link_Slave_StartStop.h" -> "App/iec60870/104/IEC104_Link_Common.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Net.h" -> "App/iec60870/common/IEC60870_StaticAssert.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Net.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_Net_Windows.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Net_Windows.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_Receiver.c" -> "App/iec60870/104/IEC104_Receiver.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Receiver.c" -> "App/iec60870/common/IEC60870_Codec.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Receiver.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_Receiver.h" -> "App/iec60870/104/IEC104_Codec.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_SendBuffer.c" -> "App/iec60870/104/IEC104_Codec.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_SendBuffer.c" -> "App/iec60870/104/IEC104_SendBuffer.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_SendBuffer.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_SendBuffer.h" -> "App/iec60870/104/IEC104_Link_Common.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_SendManager.c" -> "App/iec60870/104/IEC104_Link_Slave_StartStop.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_SendManager.c" -> "App/iec60870/104/IEC104_SendManager.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_SendManager.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_SendManager.h" -> "App/iec60870/104/IEC104_AsduQueue.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_SendManager.h" -> "App/iec60870/104/IEC104_SendBuffer.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Slave.c" -> "App/iec60870/104/IEC104_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Slave.c" -> "App/iec60870/104/IEC104_TcpServer.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Slave.c" -> "App/iec60870/104/IEC104_TcpServer_Config.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Slave.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_Slave.h" -> "App/iec60870/104/IEC104_TcpTypes.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Slave.h" -> "App/iec60870/common/IEC60870_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_TcpServer.c" -> "App/iec60870/104/IEC104_Config_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_TcpServer.c" -> "App/iec60870/104/IEC104_Connection.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_TcpServer.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_TcpServer.c" -> "App/iec60870/104/IEC104_TcpServer.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_TcpServer.c" -> "App/iec60870/104/IEC104_TcpServer_Config.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_TcpServer.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_TcpServer.h" -> "App/iec60870/104/IEC104_TcpTypes.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_TcpServer.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/IEC104_TcpTypes.h" -> "App/iec60870/104/IEC104_Types.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/IEC104_Types.h" -> "App/iec60870/common/IEC60870_Types.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h" -> "App/iec60870/104/business/IEC104_Interrogation.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h" -> "App/iec60870/104/business/IEC104_Spontaneous.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h" -> "App/iec60870/104/business/IEC104_SystemCommand.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_ClockSynchronization.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_ClockSynchronization.c" -> "App/iec60870/104/IEC104_TcpServer_Config.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_ClockSynchronization.c" -> "App/iec60870/104/business/IEC104_ClockSynchronization.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_ClockSynchronization.c" -> "App/iec60870/common/IEC60870_Codec.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_ClockSynchronization.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/business/IEC104_ClockSynchronization.h" -> "App/iec60870/104/IEC104_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_ClockSynchronization.h" -> "App/iec60870/common/IEC60870_Time.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Command.c" -> "App/iec60870/104/IEC104_AsduQueue.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Command.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Command.c" -> "App/iec60870/104/IEC104_TcpServer_Config.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Command.c" -> "App/iec60870/104/business/IEC104_Command.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Command.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/business/IEC104_Command.h" -> "App/iec60870/104/IEC104_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Command.h" -> "App/iec60870/common/IEC60870_Time.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Command.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/business/IEC104_CounterInterrogation.c" -> "App/iec60870/104/business/IEC104_CounterInterrogation.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_CounterInterrogation.c" -> "App/iec60870/104/business/IEC104_Interrogation_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_CounterInterrogation.h" -> "App/iec60870/104/business/IEC104_Interrogation.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_GeneralInterrogation.c" -> "App/iec60870/104/business/IEC104_GeneralInterrogation.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_GeneralInterrogation.c" -> "App/iec60870/104/business/IEC104_Interrogation_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_GeneralInterrogation.h" -> "App/iec60870/104/business/IEC104_Interrogation.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Interrogation.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Interrogation.c" -> "App/iec60870/104/IEC104_TcpServer_Config.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Interrogation.c" -> "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Interrogation.c" -> "App/iec60870/104/business/IEC104_Interrogation_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Interrogation.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/business/IEC104_Interrogation.h" -> "App/iec60870/104/IEC104_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Interrogation_Internal.h" -> "App/iec60870/104/business/IEC104_Interrogation.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Parameter.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Parameter.c" -> "App/iec60870/104/IEC104_TcpServer_Config.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Parameter.c" -> "App/iec60870/104/business/IEC104_Parameter.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Parameter.c" -> "App/iec60870/common/IEC60870_Codec.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Parameter.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/business/IEC104_Parameter.h" -> "App/iec60870/104/IEC104_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_PeriodicScan.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_PeriodicScan.c" -> "App/iec60870/104/IEC104_TcpServer_Config.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_PeriodicScan.c" -> "App/iec60870/104/business/IEC104_PeriodicScan.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_PeriodicScan.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/business/IEC104_PeriodicScan.h" -> "App/iec60870/104/IEC104_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Read.c" -> "App/iec60870/104/IEC104_AsduQueue.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Read.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Read.c" -> "App/iec60870/104/IEC104_TcpServer_Config.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Read.c" -> "App/iec60870/104/business/IEC104_Read.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Read.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/business/IEC104_Read.h" -> "App/iec60870/104/IEC104_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_RemoteParameter.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_RemoteParameter.c" -> "App/iec60870/104/IEC104_TcpServer_Config.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_RemoteParameter.c" -> "App/iec60870/104/business/IEC104_RemoteParameter.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_RemoteParameter.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/business/IEC104_RemoteParameter.h" -> "App/iec60870/104/IEC104_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_RemoteParameter.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/business/IEC104_Spontaneous.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Spontaneous.c" -> "App/iec60870/104/IEC104_TcpServer_Config.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Spontaneous.c" -> "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Spontaneous.c" -> "App/iec60870/104/business/IEC104_Spontaneous.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Spontaneous.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/business/IEC104_Spontaneous.h" -> "App/iec60870/104/IEC104_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Spontaneous.h" -> "App/iec60870/common/IEC60870_FaultEvent.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Startup.c" -> "App/iec60870/104/IEC104_Config_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Startup.c" -> "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Startup.c" -> "App/iec60870/104/business/IEC104_Startup.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Startup.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/business/IEC104_Startup.h" -> "App/iec60870/104/IEC104_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Startup.h" -> "App/iec60870/104/business/IEC104_Interrogation.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Startup.h" -> "App/iec60870/104/business/IEC104_Spontaneous.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_Startup.h" -> "App/iec60870/104/business/IEC104_SystemCommand.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_SystemCommand.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_SystemCommand.c" -> "App/iec60870/104/IEC104_TcpServer_Config.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_SystemCommand.c" -> "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_SystemCommand.c" -> "App/iec60870/104/business/IEC104_SystemCommand.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_SystemCommand.c" -> "App/iec60870/common/IEC60870_Codec.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/business/IEC104_SystemCommand.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/business/IEC104_SystemCommand.h" -> "App/iec60870/104/IEC104_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_comm.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_comm.c" -> "App/iec60870/104/iec104_comm.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_comm.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/iec104_comm.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/iec104_core.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_core.c" -> "App/iec60870/104/business/IEC104_CounterInterrogation.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_core.c" -> "App/iec60870/104/business/IEC104_GeneralInterrogation.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_core.c" -> "App/iec60870/104/business/IEC104_PeriodicScan.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_core.c" -> "App/iec60870/104/business/IEC104_Read.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_core.c" -> "App/iec60870/104/business/IEC104_Startup.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_core.c" -> "App/iec60870/104/iec104_core.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_core.c" -> "App/iec60870/104/iec104_source.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_core.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/iec104_core.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/iec104_dtu_table.c" -> "App/iec60870/104/iec104_dtu_table.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_dtu_table.c" -> "App/iec60870/examples/iec104_dtu_profile.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_dtu_table.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/iec104_dtu_table.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/iec104_net_mcu.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_net_mcu.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_net_mcu.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/iec104_net_mcu.h" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_net_mcu.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/iec104_source.c" -> "App/iec60870/104/iec104_source.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_source.c" -> "App/iec60870/104/iec104_source_ranks.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_source.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/104/iec104_source.h" -> "App/iec60870/104/business/IEC104_ClockSynchronization.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_source.h" -> "App/iec60870/104/business/IEC104_Command.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_source.h" -> "App/iec60870/104/business/IEC104_Parameter.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_source.h" -> "App/iec60870/104/business/IEC104_RemoteParameter.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_source.h" -> "App/iec60870/104/iec104_dtu_table.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/104/iec104_source_ranks.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/common/IEC60870_Asdu.c" -> "App/iec60870/common/IEC60870_Asdu.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_Asdu.c" -> "App/iec60870/common/IEC60870_InformationObjects_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_Asdu.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/common/IEC60870_Asdu.h" -> "App/iec60870/common/IEC60870_Codec.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_Asdu.h" -> "App/iec60870/common/IEC60870_InformationObjects.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_Codec.c" -> "App/iec60870/common/IEC60870_Codec.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_Codec.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/common/IEC60870_Codec.h" -> "App/iec60870/common/IEC60870_Types.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_FaultEvent.c" -> "App/iec60870/common/IEC60870_FaultEvent.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_FaultEvent.c" -> "App/iec60870/common/IEC60870_InformationObjects_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_FaultEvent.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/common/IEC60870_FaultEvent.h" -> "App/iec60870/common/IEC60870_Asdu.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_InformationObjects.c" -> "App/iec60870/common/IEC60870_Codec.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_InformationObjects.c" -> "App/iec60870/common/IEC60870_InformationObjects_Internal.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_InformationObjects.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/common/IEC60870_InformationObjects.h" -> "App/iec60870/common/IEC60870_Time.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_InformationObjects.h" -> "App/iec60870/common/IEC60870_Types.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_InformationObjects.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/common/IEC60870_InformationObjects_Internal.h" -> "App/iec60870/common/IEC60870_InformationObjects.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_Slave.c" -> "App/iec60870/common/IEC60870_Slave.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_Slave.h" -> "App/iec60870/common/IEC60870_Asdu.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_Slave.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/common/IEC60870_Time.c" -> "App/iec60870/common/IEC60870_Time.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_Time.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/common/IEC60870_Time.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/common/IEC60870_Types.h" -> "App/iec60870/common/IEC60870_StaticAssert.h" [color="#2563eb", penwidth=1.0]; + "App/iec60870/common/IEC60870_Types.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/iec60870/examples/iec104_dtu_profile.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/log/console_log.c" -> "App/app/sys_events.h" [color="#2563eb", penwidth=1.0]; "App/log/console_log.c" -> "App/log/console_log.h" [color="#2563eb", penwidth=1.0]; "App/log/console_log.c" -> "Inc/usart.h" [color="#2563eb", penwidth=1.0]; @@ -346,53 +949,60 @@ digraph refgraph_full { "App/log/sys_log_mcu.c" -> "Lib/FatFs/ff.h" [color="#94a3b8", penwidth=0.7]; "App/log/sys_log_mcu.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; "App/log/sys_log_mcu.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; - "App/protocol/iec104/iec104_asdu.c" -> "App/protocol/iec104/iec104_asdu.h" [color="#2563eb", penwidth=1.0]; - "App/protocol/iec104/iec104_asdu.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; - "App/protocol/iec104/iec104_asdu.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; - "App/protocol/iec104/iec104_link.c" -> "App/protocol/iec104/iec104_asdu.h" [color="#2563eb", penwidth=1.0]; - "App/protocol/iec104/iec104_link.c" -> "App/protocol/iec104/iec104_link.h" [color="#2563eb", penwidth=1.0]; - "App/protocol/iec104/iec104_link.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; - "App/protocol/iec104/iec104_link.h" -> "App/protocol/iec104/iec104_pts.h" [color="#2563eb", penwidth=1.0]; - "App/protocol/iec104/iec104_link.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; - "App/protocol/iec104/iec104_pts.c" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; - "App/protocol/iec104/iec104_pts.c" -> "App/algo/phasor.h" [color="#2563eb", penwidth=1.0]; - "App/protocol/iec104/iec104_pts.c" -> "App/algo/prot_elm.h" [color="#2563eb", penwidth=1.0]; - "App/protocol/iec104/iec104_pts.c" -> "App/algo/prot_set.h" [color="#2563eb", penwidth=1.0]; - "App/protocol/iec104/iec104_pts.c" -> "App/protocol/iec104/iec104_asdu.h" [color="#2563eb", penwidth=1.0]; - "App/protocol/iec104/iec104_pts.c" -> "App/protocol/iec104/iec104_pts.h" [color="#2563eb", penwidth=1.0]; - "App/protocol/iec104/iec104_pts.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; - "App/protocol/iec104/iec104_pts.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/sync/time_sntp.c" -> "App/app/sys_events.h" [color="#2563eb", penwidth=1.0]; + "App/sync/time_sntp.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; + "App/sync/time_sntp.c" -> "App/sync/time_sntp.h" [color="#2563eb", penwidth=1.0]; + "App/sync/time_sntp.c" -> "App/util/sys_clock.h" [color="#2563eb", penwidth=1.0]; + "App/sync/time_sntp.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "App/sync/time_sntp.c" -> "Drivers/BSP/NETCFG/sntp_cfg.h" [color="#2563eb", penwidth=1.0]; + "App/sync/time_sntp.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "App/sync/time_sntp.c" -> "Lib/coreSNTP/include/core_sntp_serializer.h" [color="#94a3b8", penwidth=0.7]; + "App/sync/time_sntp.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/sync/time_sntp.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/sync/time_sync.c" -> "App/app/sys_events.h" [color="#2563eb", penwidth=1.0]; + "App/sync/time_sync.c" -> "App/sync/time_sntp.h" [color="#2563eb", penwidth=1.0]; "App/sync/time_sync.c" -> "App/sync/time_sync.h" [color="#2563eb", penwidth=1.0]; - "App/sync/time_sync.c" -> "App/util/sys_clock.h" [color="#2563eb", penwidth=1.0]; "App/sync/time_sync.c" -> "App/util/task_watchdog.h" [color="#2563eb", penwidth=1.0]; "App/sync/time_sync.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; - "App/sync/time_sync.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; - "App/sync/time_sync.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/sync/time_sync.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/task/adc_task.c" -> "App/algo/adc_cal.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "App/algo/adc_health.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "App/algo/freq.h" [color="#2563eb", penwidth=1.0]; + "App/task/adc_task.c" -> "App/algo/meas.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "App/algo/phasor.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "App/algo/sample_ring.h" [color="#2563eb", penwidth=1.0]; + "App/task/adc_task.c" -> "App/algo/wave_ring.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "App/log/console_log.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "App/task/adc_task.h" [color="#2563eb", penwidth=1.0]; + "App/task/adc_task.c" -> "App/task/task_handles.h" [color="#2563eb", penwidth=1.0]; + "App/task/adc_task.c" -> "App/util/sys_clock.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "App/util/task_prof.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "App/util/task_watchdog.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "Drivers/BSP/TPAFE5160/tpafe5160.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "App/task/adc_task.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; + "App/task/default_task.c" -> "App/algo/prot_set.h" [color="#2563eb", penwidth=1.0]; + "App/task/default_task.c" -> "App/algo/run_par.h" [color="#2563eb", penwidth=1.0]; + "App/task/default_task.c" -> "App/algo/wave_ring.h" [color="#2563eb", penwidth=1.0]; + "App/task/default_task.c" -> "App/algo/wave_store.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "App/app/sys_events.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "App/cfg/prot_set_store.h" [color="#2563eb", penwidth=1.0]; + "App/task/default_task.c" -> "App/fs/vol_idle_sync.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "App/fs/vol_lock.h" [color="#2563eb", penwidth=1.0]; + "App/task/default_task.c" -> "App/iec60870/104/iec104_comm.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "App/task/default_task.h" [color="#2563eb", penwidth=1.0]; + "App/task/default_task.c" -> "App/task/task_handles.h" [color="#2563eb", penwidth=1.0]; + "App/task/default_task.c" -> "App/util/ioboard_di.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "App/util/task_prof.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "App/util/task_watchdog.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "Drivers/BSP/GD5F2GQ5UE/nand_ftl.h" [color="#2563eb", penwidth=1.0]; + "App/task/default_task.c" -> "Drivers/BSP/IOBOARD/ioboard.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "Drivers/BSP/NETCFG/net_cfg.h" [color="#2563eb", penwidth=1.0]; + "App/task/default_task.c" -> "Drivers/BSP/bsp_err.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; "App/task/default_task.c" -> "Lib/FatFs/ff.h" [color="#94a3b8", penwidth=0.7]; @@ -400,19 +1010,25 @@ digraph refgraph_full { "App/task/default_task.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; "App/task/default_task.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; "App/task/default_task.c" -> "test/board/test_config.h" [color="#2563eb", penwidth=1.0]; + "App/task/iec104_serv.c" -> "App/algo/adc_cal.h" [color="#2563eb", penwidth=1.0]; + "App/task/iec104_serv.c" -> "App/algo/meas.h" [color="#2563eb", penwidth=1.0]; "App/task/iec104_serv.c" -> "App/algo/prot_set.h" [color="#2563eb", penwidth=1.0]; + "App/task/iec104_serv.c" -> "App/algo/run_par.h" [color="#2563eb", penwidth=1.0]; "App/task/iec104_serv.c" -> "App/app/sys_events.h" [color="#2563eb", penwidth=1.0]; - "App/task/iec104_serv.c" -> "App/protocol/iec104/iec104_link.h" [color="#2563eb", penwidth=1.0]; - "App/task/iec104_serv.c" -> "App/protocol/iec104/iec104_pts.h" [color="#2563eb", penwidth=1.0]; + "App/task/iec104_serv.c" -> "App/iec60870/104/iec104_comm.h" [color="#2563eb", penwidth=1.0]; + "App/task/iec104_serv.c" -> "App/iec60870/104/iec104_core.h" [color="#2563eb", penwidth=1.0]; + "App/task/iec104_serv.c" -> "App/iec60870/104/iec104_net_mcu.h" [color="#2563eb", penwidth=1.0]; + "App/task/iec104_serv.c" -> "App/iec60870/104/iec104_source.h" [color="#2563eb", penwidth=1.0]; "App/task/iec104_serv.c" -> "App/task/iec104_serv.h" [color="#2563eb", penwidth=1.0]; - "App/task/iec104_serv.c" -> "App/util/sys_clock.h" [color="#2563eb", penwidth=1.0]; + "App/task/iec104_serv.c" -> "App/util/ioboard_di.h" [color="#2563eb", penwidth=1.0]; "App/task/iec104_serv.c" -> "App/util/task_watchdog.h" [color="#2563eb", penwidth=1.0]; "App/task/iec104_serv.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; "App/task/iec104_serv.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "App/task/iec104_serv.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h" [color="#94a3b8", penwidth=0.7]; - "App/task/iec104_serv.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/task/iec104_serv.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/task/net_task.c" -> "App/app/sys_events.h" [color="#2563eb", penwidth=1.0]; "App/task/net_task.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; + "App/task/net_task.c" -> "App/task/iec104_serv.h" [color="#2563eb", penwidth=1.0]; "App/task/net_task.c" -> "App/task/net_task.h" [color="#2563eb", penwidth=1.0]; "App/task/net_task.c" -> "App/util/task_prof.h" [color="#2563eb", penwidth=1.0]; "App/task/net_task.c" -> "App/util/task_watchdog.h" [color="#2563eb", penwidth=1.0]; @@ -424,33 +1040,63 @@ digraph refgraph_full { "App/task/net_task.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; "App/task/net_task.c" -> "test/board/test_config.h" [color="#2563eb", penwidth=1.0]; "App/task/net_task.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/task/protect_task.c" -> "App/algo/adc_cal.h" [color="#2563eb", penwidth=1.0]; "App/task/protect_task.c" -> "App/algo/adc_health.h" [color="#2563eb", penwidth=1.0]; + "App/task/protect_task.c" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; "App/task/protect_task.c" -> "App/algo/prot_elm.h" [color="#2563eb", penwidth=1.0]; "App/task/protect_task.c" -> "App/algo/prot_set.h" [color="#2563eb", penwidth=1.0]; + "App/task/protect_task.c" -> "App/algo/wave_ring.h" [color="#2563eb", penwidth=1.0]; "App/task/protect_task.c" -> "App/log/console_log.h" [color="#2563eb", penwidth=1.0]; "App/task/protect_task.c" -> "App/log/soe_store.h" [color="#2563eb", penwidth=1.0]; + "App/task/protect_task.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; "App/task/protect_task.c" -> "App/task/protect_task.h" [color="#2563eb", penwidth=1.0]; "App/task/protect_task.c" -> "App/util/task_watchdog.h" [color="#2563eb", penwidth=1.0]; + "App/task/protect_task.c" -> "Drivers/BSP/TPAFE5160/tpafe5160.h" [color="#2563eb", penwidth=1.0]; "App/task/protect_task.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "App/task/protect_task.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h" [color="#94a3b8", penwidth=0.7]; "App/task/rs485_task.c" -> "App/task/rs485_task.h" [color="#2563eb", penwidth=1.0]; "App/task/rs485_task.c" -> "Drivers/BSP/RS485/rs485.h" [color="#2563eb", penwidth=1.0]; "App/task/rs485_task.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "App/task/rs485_task.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; + "App/task/task_handles.h" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; + "App/task/ui_task.c" -> "App/algo/adc_health.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "App/algo/prot_elm.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "App/algo/sb_led_map.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "App/algo/wave_ring.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "App/algo/wave_store.h" [color="#2563eb", penwidth=1.0]; "App/task/ui_task.c" -> "App/app/sys_events.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "App/app/ui_data_feed.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "App/fs/vol_lock.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "App/log/soe_store.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "App/task/iec104_serv.h" [color="#2563eb", penwidth=1.0]; "App/task/ui_task.c" -> "App/task/ui_task.h" [color="#2563eb", penwidth=1.0]; "App/task/ui_task.c" -> "App/util/sys_clock.h" [color="#2563eb", penwidth=1.0]; "App/task/ui_task.c" -> "App/util/task_prof.h" [color="#2563eb", penwidth=1.0]; "App/task/ui_task.c" -> "App/util/task_watchdog.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "Drivers/BSP/ScreenLink/sb_link.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; "App/task/ui_task.c" -> "Drivers/BSP/UI/ui_menu.h" [color="#2563eb", penwidth=1.0]; "App/task/ui_task.c" -> "Drivers/BSP/UI/ui_net_sink.h" [color="#2563eb", penwidth=1.0]; "App/task/ui_task.c" -> "Drivers/BSP/UI/ui_port.h" [color="#2563eb", penwidth=1.0]; "App/task/ui_task.c" -> "Drivers/BSP/UI/ui_standby.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "Drivers/BSP/UI/ui_w_records.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "Drivers/BSP/UI/ui_w_soe.h" [color="#2563eb", penwidth=1.0]; "App/task/ui_task.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "App/task/ui_task.c" -> "Lib/FatFs/ff.h" [color="#94a3b8", penwidth=0.7]; "App/task/ui_task.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; "App/task/ui_task.c" -> "test/board/net_latency_test.h" [color="#2563eb", penwidth=1.0]; "App/task/ui_task.c" -> "test/board/test_config.h" [color="#2563eb", penwidth=1.0]; "App/task/ui_task.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/util/boot_stats.c" -> "App/app/app_main.h" [color="#2563eb", penwidth=1.0]; + "App/util/boot_stats.c" -> "App/util/boot_stats.h" [color="#2563eb", penwidth=1.0]; + "App/util/boot_stats.c" -> "Drivers/BSP/SD2506/sd2506.h" [color="#2563eb", penwidth=1.0]; + "App/util/boot_stats.c" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; + "App/util/boot_stats.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/util/boot_stats.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "App/util/ioboard_di.c" -> "App/util/ioboard_di.h" [color="#2563eb", penwidth=1.0]; + "App/util/ioboard_di.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/util/sha256.c" -> "App/util/sha256.h" [color="#2563eb", penwidth=1.0]; "App/util/sha256.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/util/sha256.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; @@ -476,9 +1122,11 @@ digraph refgraph_full { "App/util/task_watchdog.c" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; "App/util/task_watchdog.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; "App/util/task_watchdog.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; + "App/util/task_watchdog.c" -> "test/board/test_config.h" [color="#2563eb", penwidth=1.0]; "App/util/task_watchdog.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "App/util/task_watchdog.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/CH395F/ch395f.c" -> "Drivers/BSP/CH395F/ch395f.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/CH395F/ch395f.c" -> "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/CH395F/ch395f.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/CH395F/ch395f.c" -> "Inc/spi.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/CH395F/ch395f.c" -> "Inc/usart.h" [color="#2563eb", penwidth=1.0]; @@ -486,10 +1134,13 @@ digraph refgraph_full { "Drivers/BSP/CH395F/ch395f.h" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c" -> "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c" -> "Inc/spi.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c" -> "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c" -> "Drivers/BSP/GD5F2GQ5UE/nand_ftl.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c" -> "Drivers/BSP/bsp_err.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c" -> "Lib/FatFs/diskio.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c" -> "Lib/FatFs/ff.h" [color="#94a3b8", penwidth=0.7]; @@ -497,6 +1148,15 @@ digraph refgraph_full { "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c" -> "Lib/dhara/nand.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/GD5F2GQ5UE/nand_ftl.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/IOBOARD/ioboard.c" -> "Drivers/BSP/IOBOARD/ioboard.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/IOBOARD/ioboard.c" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/IOBOARD/ioboard.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; + "Drivers/BSP/IOBOARD/ioboard.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; + "Drivers/BSP/IOBOARD/ioboard.h" -> "Drivers/BSP/IOBOARD/ioboard_bits.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/IOBOARD/ioboard.h" -> "Drivers/BSP/bsp_err.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/IOBOARD/ioboard.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/IOBOARD/ioboard_bits.c" -> "Drivers/BSP/IOBOARD/ioboard_bits.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/IOBOARD/ioboard_bits.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/NET/net_events.c" -> "Drivers/BSP/CH395F/ch395f.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NET/net_events.c" -> "Drivers/BSP/NET/net_events.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NET/net_events.c" -> "Drivers/BSP/NET/net_listener.h" [color="#2563eb", penwidth=1.0]; @@ -554,6 +1214,8 @@ digraph refgraph_full { "Drivers/BSP/NET/net_socket.c" -> "Drivers/BSP/NET/net_listener.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NET/net_socket.c" -> "Drivers/BSP/NET/net_pending.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NET/net_socket.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NET/net_socket.c" -> "Drivers/BSP/NET/net_udp.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NET/net_socket.c" -> "Drivers/BSP/app_assert.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NET/net_socket.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NET/net_socket.c" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NET/net_socket.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; @@ -563,10 +1225,25 @@ digraph refgraph_full { "Drivers/BSP/NET/net_socket.c" -> "test/board/test_config.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NET/net_socket.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/NET/net_socket.h" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NET/net_socket.h" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/NET/net_socket.h" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/NET/net_socket.h" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/NET/net_types.h" -> "Drivers/BSP/NET/net_config.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NET/net_types.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/NET/net_udp.c" -> "Drivers/BSP/CH395F/ch395f.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NET/net_udp.c" -> "Drivers/BSP/NET/net_pending.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NET/net_udp.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NET/net_udp.c" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NET/net_udp.c" -> "Drivers/BSP/NET/net_udp.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NET/net_udp.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NET/net_udp.c" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NET/net_udp.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; + "Drivers/BSP/NET/net_udp.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; + "Drivers/BSP/NET/net_udp.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/NET/net_udp.h" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NET/net_udp.h" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; + "Drivers/BSP/NET/net_udp.h" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; + "Drivers/BSP/NET/net_udp.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/NETCFG/ftp_cfg.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NETCFG/ftp_cfg.c" -> "Drivers/BSP/NETCFG/ftp_cfg.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NETCFG/ftp_cfg.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; @@ -574,41 +1251,60 @@ digraph refgraph_full { "Drivers/BSP/NETCFG/net_cfg.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NETCFG/net_cfg.c" -> "Drivers/BSP/NETCFG/ftp_cfg.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NETCFG/net_cfg.c" -> "Drivers/BSP/NETCFG/net_cfg.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NETCFG/net_cfg.c" -> "Drivers/BSP/NETCFG/sntp_cfg.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NETCFG/net_cfg.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/NETCFG/net_cfg.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/NETCFG/net_cfg.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/NETCFG/sntp_cfg.c" -> "Drivers/BSP/NETCFG/sntp_cfg.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/NETCFG/sntp_cfg.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/NETCFG/sntp_cfg.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/RS485/rs485.c" -> "Drivers/BSP/RS485/rs485.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/RS485/rs485.c" -> "Drivers/BSP/ScreenLink/sb_link.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/RS485/rs485.h" -> "Drivers/BSP/bsp_err.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/RS485/rs485.h" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/SD2506/sd2506.c" -> "Drivers/BSP/SD2506/sd2506.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/SD2506/sd2506.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/SD2506/sd2506.c" -> "Inc/i2c.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/SD2506/sd2506.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/SD2506/sd2506.h" -> "Drivers/BSP/bsp_err.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/SD2506/sd2506.h" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/ScreenLink/sb_link.c" -> "Drivers/BSP/ScreenLink/sb_link.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/ScreenLink/sb_link.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/ScreenLink/sb_link.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/ScreenLink/sb_link.h" -> "Drivers/BSP/ScreenLink/sb_proto.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/ScreenLink/sb_link.h" -> "Drivers/BSP/bsp_err.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/ScreenLink/sb_link.h" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/ScreenLink/sb_link.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/ScreenLink/sb_proto.c" -> "Drivers/BSP/ScreenLink/sb_proto.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/ScreenLink/sb_proto.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/ScreenLink/sb_proto.h" -> "Drivers/BSP/bsp_err.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/ScreenLink/sb_proto.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/TPAFE5160/tpafe5160.c" -> "Drivers/BSP/TPAFE5160/tpafe5160.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/TPAFE5160/tpafe5160.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/TPAFE5160/tpafe5160.c" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/TPAFE5160/tpafe5160.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/TPAFE5160/tpafe5160.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/TPAFE5160/tpafe5160.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/TPAFE5160/tpafe5160.h" -> "Drivers/BSP/bsp_err.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/TPAFE5160/tpafe5160.h" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_deco.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_menu_view.h" [color="#2563eb", penwidth=1.0]; - "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_page_ac.h" [color="#2563eb", penwidth=1.0]; - "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_page_dc.h" [color="#2563eb", penwidth=1.0]; - "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_page_device_info.h" [color="#2563eb", penwidth=1.0]; - "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_page_net_cfg.h" [color="#2563eb", penwidth=1.0]; - "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_page_password.h" [color="#2563eb", penwidth=1.0]; - "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_page_runlog.h" [color="#2563eb", penwidth=1.0]; - "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_page_selftest.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_pwd_def.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_standby.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_style.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_content_page.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_content_page.c" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/UI/ui_content_page.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_content_page.h" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/UI/ui_content_page.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_data.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_data.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_data.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_deco.c" -> "Drivers/BSP/UI/ui_deco.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_deco.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_deco.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_deco.h" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/UI/ui_font_cn_12.c" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; @@ -617,68 +1313,278 @@ digraph refgraph_full { "Drivers/BSP/UI/ui_menu.c" -> "Drivers/BSP/UI/ui_menu_tab.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_menu.c" -> "Drivers/BSP/UI/ui_menu_view.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_menu.c" -> "Drivers/BSP/UI/ui_page_password.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_menu.c" -> "Drivers/BSP/UI/ui_page_registry.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_menu.c" -> "Drivers/BSP/UI/ui_pwd_def.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_menu.c" -> "Drivers/BSP/UI/ui_standby.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_menu.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_menu.c" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/UI/ui_menu.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_menu.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_menu_tab.c" -> "Drivers/BSP/UI/ui_menu_tab.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_menu_tab.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_menu_view.c" -> "Drivers/BSP/UI/ui_deco.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_menu_view.c" -> "Drivers/BSP/UI/ui_menu_tab.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_menu_view.c" -> "Drivers/BSP/UI/ui_menu_view.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_menu_view.c" -> "Drivers/BSP/UI/ui_style.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_menu_view.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_menu_view.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_menu_view.c" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/UI/ui_menu_view.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_menu_view.h" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_menu_view.h" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/UI/ui_menu_view.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_net_sink.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_net_sink.c" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_net_sink.c" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_net_sink.c" -> "Drivers/BSP/UI/ui_menu.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_net_sink.c" -> "Drivers/BSP/UI/ui_menu_view.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_net_sink.c" -> "Drivers/BSP/UI/ui_net_sink.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_net_sink.c" -> "Drivers/BSP/UI/ui_net_sink_backend.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_net_sink.c" -> "Drivers/BSP/UI/ui_page_registry.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_net_sink.c" -> "Drivers/BSP/UI/ui_pwd_def.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_net_sink.c" -> "Drivers/BSP/UI/ui_standby.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_net_sink.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_net_sink.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_net_sink.c" -> "test/board/net_latency_test.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_net_sink.c" -> "test/board/test_config.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_net_sink.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_net_sink.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_net_sink_backend.h" -> "Drivers/BSP/UI/ui_port.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_net_sink_backend.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_net_sink_backend_mcu.c" -> "Drivers/BSP/UI/ui_net_sink_backend.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_net_sink_backend_mcu.c" -> "Drivers/BSP/UI/ui_port.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_net_sink_backend_mcu.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_page_ac.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_ac.c" -> "Drivers/BSP/UI/ui_page_ac.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_ac.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_ac.c" -> "Drivers/BSP/UI/ui_w_editor.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_ac.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_page_ac.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_accident.c" -> "Drivers/BSP/UI/ui_page_accident.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_accident.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_accident.c" -> "Drivers/BSP/UI/ui_w_records.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_accident.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_action.c" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_action.c" -> "Drivers/BSP/UI/ui_page_action.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_action.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_action.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_page_action.h" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; + "Drivers/BSP/UI/ui_page_action.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_page_alarm.c" -> "Drivers/BSP/UI/ui_page_alarm.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_alarm.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_alarm.c" -> "Drivers/BSP/UI/ui_w_records.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_alarm.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_calib.c" -> "Drivers/BSP/UI/ui_page_calib.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_calib.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_calib.c" -> "Drivers/BSP/UI/ui_w_setlist.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_calib.c" -> "Drivers/BSP/UI/ui_w_ytview.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_calib.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_clear.c" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_clear.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_clear.c" -> "Drivers/BSP/UI/ui_page_clear.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_clear.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_clear.c" -> "Drivers/BSP/UI/ui_w_records.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_clear.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_page_clear.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_clock.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_clock.c" -> "Drivers/BSP/UI/ui_page_clock.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_clock.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_clock.c" -> "Drivers/BSP/UI/ui_w_editor.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_clock.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_page_clock.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_comm.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_comm.c" -> "Drivers/BSP/UI/ui_page_comm.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_comm.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_comm.c" -> "Drivers/BSP/UI/ui_w_setlist.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_comm.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_page_comm.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_dc.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_dc.c" -> "Drivers/BSP/UI/ui_page_dc.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_dc.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_dc.c" -> "Drivers/BSP/UI/ui_w_editor.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_dc.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_page_dc.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_deadband.c" -> "Drivers/BSP/UI/ui_page_deadband.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_deadband.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_deadband.c" -> "Drivers/BSP/UI/ui_w_setlist.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_deadband.c" -> "Drivers/BSP/UI/ui_w_ytview.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_deadband.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_device_info.c" -> "Drivers/BSP/NETCFG/net_cfg.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_device_info.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_device_info.c" -> "Drivers/BSP/UI/ui_page_device_info.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_device_info.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_device_info.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_page_device_info.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_net_cfg.c" -> "Drivers/BSP/NETCFG/net_cfg.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_net_cfg.c" -> "Drivers/BSP/UI/ui_page_net_cfg.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_net_cfg.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_net_cfg.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_page_net_cfg.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_oper.c" -> "Drivers/BSP/UI/ui_page_oper.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_oper.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_oper.c" -> "Drivers/BSP/UI/ui_w_records.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_oper.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_password.c" -> "Drivers/BSP/UI/ui_page_password.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_password.c" -> "Drivers/BSP/UI/ui_pwd_def.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_password.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_password.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_page_password.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; - "Drivers/BSP/UI/ui_page_runlog.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_ac.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_accident.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_alarm.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_calib.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_clear.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_clock.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_comm.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_dc.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_deadband.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_device_info.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_net_cfg.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_oper.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_password.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_registry.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_reset.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_runlog.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_runreport.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_selftest.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_sntp.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_soe.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_start.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_view_param.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_view_plate.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_view_set.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_view_word.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_wave_manual.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_wave_play.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_yk.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.c" -> "Drivers/BSP/UI/ui_page_yx.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_registry.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_page_reset.c" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_reset.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_reset.c" -> "Drivers/BSP/UI/ui_page_action.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_reset.c" -> "Drivers/BSP/UI/ui_page_reset.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_reset.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_runlog.c" -> "Drivers/BSP/UI/ui_page_runlog.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_runlog.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_runlog.c" -> "Drivers/BSP/UI/ui_w_records.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_runlog.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_page_runlog.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; - "Drivers/BSP/UI/ui_page_selftest.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_runreport.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_runreport.c" -> "Drivers/BSP/UI/ui_page_runreport.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_runreport.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_runreport.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_page_runreport.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_selftest.c" -> "Drivers/BSP/UI/ui_page_selftest.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_selftest.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_selftest.c" -> "Drivers/BSP/UI/ui_w_records.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_page_selftest.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_page_selftest.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_sntp.c" -> "Drivers/BSP/NETCFG/net_cfg.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_sntp.c" -> "Drivers/BSP/NETCFG/sntp_cfg.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_sntp.c" -> "Drivers/BSP/UI/ui_page_sntp.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_sntp.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_sntp.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_page_sntp.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_soe.c" -> "Drivers/BSP/UI/ui_page_soe.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_soe.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_soe.c" -> "Drivers/BSP/UI/ui_w_soe.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_soe.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_start.c" -> "Drivers/BSP/UI/ui_page_start.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_start.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_start.c" -> "Drivers/BSP/UI/ui_w_records.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_start.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_param.c" -> "Drivers/BSP/UI/ui_page_view_param.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_param.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_param.c" -> "Drivers/BSP/UI/ui_w_setlist.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_param.c" -> "Drivers/BSP/UI/ui_w_setview.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_param.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_plate.c" -> "Drivers/BSP/UI/ui_page_view_plate.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_plate.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_plate.c" -> "Drivers/BSP/UI/ui_w_setlist.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_plate.c" -> "Drivers/BSP/UI/ui_w_setview.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_plate.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_set.c" -> "Drivers/BSP/UI/ui_page_view_set.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_set.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_set.c" -> "Drivers/BSP/UI/ui_w_setlist.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_set.c" -> "Drivers/BSP/UI/ui_w_setview.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_set.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_word.c" -> "Drivers/BSP/UI/ui_page_view_word.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_word.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_word.c" -> "Drivers/BSP/UI/ui_w_setlist.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_word.c" -> "Drivers/BSP/UI/ui_w_setview.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_view_word.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_wave_manual.c" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_wave_manual.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_wave_manual.c" -> "Drivers/BSP/UI/ui_page_action.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_wave_manual.c" -> "Drivers/BSP/UI/ui_page_wave_manual.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_wave_manual.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_wave_play.c" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_wave_play.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_wave_play.c" -> "Drivers/BSP/UI/ui_page_wave_play.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_wave_play.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_wave_play.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_page_wave_play.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_yk.c" -> "Drivers/BSP/UI/ui_page_yk.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_yk.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_yk.c" -> "Drivers/BSP/UI/ui_w_records.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_yk.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_yx.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_yx.c" -> "Drivers/BSP/UI/ui_page_yx.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_yx.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_page_yx.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_page_yx.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_port.c" -> "Drivers/BSP/UI/ui_port.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_port.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_port.c" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/UI/ui_port.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_port.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_pwd_def.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_standby.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_standby.c" -> "Drivers/BSP/UI/ui_menu_view.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_standby.c" -> "Drivers/BSP/UI/ui_standby.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_standby.c" -> "Drivers/BSP/UI/ui_style.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_standby.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_standby.c" -> "Drivers/BSP/UI/ui_w_editor.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_standby.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/UI/ui_standby.c" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; "Drivers/BSP/UI/ui_standby.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/UI/ui_standby.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_style.c" -> "Drivers/BSP/UI/ui_style.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_style.h" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; + "Drivers/BSP/UI/ui_tokens.h" -> "Drivers/BSP/UI/ui_port.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_editor.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_editor.c" -> "Drivers/BSP/UI/ui_w_editor.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_editor.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_w_editor.h" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; + "Drivers/BSP/UI/ui_w_editor.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_w_records.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_records.c" -> "Drivers/BSP/UI/ui_w_records.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_records.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_w_records.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_w_setlist.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_setlist.c" -> "Drivers/BSP/UI/ui_w_setlist.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_setlist.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_w_setlist.h" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_setlist.h" -> "Drivers/BSP/UI/ui_w_editor.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_setlist.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_w_setview.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_setview.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_setview.c" -> "Drivers/BSP/UI/ui_w_setview.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_setview.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_w_setview.h" -> "Drivers/BSP/UI/ui_w_setlist.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_setview.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_w_soe.c" -> "Drivers/BSP/UI/ui_w_soe.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_soe.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_w_soe.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_w_ytview.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_ytview.c" -> "Drivers/BSP/UI/ui_tokens.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_ytview.c" -> "Drivers/BSP/UI/ui_w_ytview.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_ytview.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/UI/ui_w_ytview.h" -> "Drivers/BSP/UI/ui_w_setlist.h" [color="#2563eb", penwidth=1.0]; + "Drivers/BSP/UI/ui_w_ytview.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/app_assert.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "Drivers/BSP/bsp_err.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "Drivers/BSP/dbg_log.h" -> "App/log/console_log.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/dbg_log.h" -> "App/util/sys_clock.h" [color="#2563eb", penwidth=1.0]; "Drivers/BSP/dbg_log.h" -> "Drivers/BSP/dbg_cfg.h" [color="#2563eb", penwidth=1.0]; @@ -713,7 +1619,6 @@ digraph refgraph_full { "Src/freertos.c" -> "App/sync/time_sync.h" [color="#2563eb", penwidth=1.0]; "Src/freertos.c" -> "App/task/adc_task.h" [color="#2563eb", penwidth=1.0]; "Src/freertos.c" -> "App/task/default_task.h" [color="#2563eb", penwidth=1.0]; - "Src/freertos.c" -> "App/task/iec104_serv.h" [color="#2563eb", penwidth=1.0]; "Src/freertos.c" -> "App/task/net_task.h" [color="#2563eb", penwidth=1.0]; "Src/freertos.c" -> "App/task/protect_task.h" [color="#2563eb", penwidth=1.0]; "Src/freertos.c" -> "App/util/task_watchdog.h" [color="#2563eb", penwidth=1.0]; @@ -738,10 +1643,12 @@ digraph refgraph_full { "Src/main.c" -> "App/util/task_watchdog.h" [color="#2563eb", penwidth=1.0]; "Src/main.c" -> "Drivers/BSP/CH395F/ch395f.h" [color="#2563eb", penwidth=1.0]; "Src/main.c" -> "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h" [color="#2563eb", penwidth=1.0]; + "Src/main.c" -> "Drivers/BSP/IOBOARD/ioboard.h" [color="#2563eb", penwidth=1.0]; "Src/main.c" -> "Drivers/BSP/NET/net_select.h" [color="#2563eb", penwidth=1.0]; "Src/main.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; "Src/main.c" -> "Drivers/BSP/RS485/rs485.h" [color="#2563eb", penwidth=1.0]; "Src/main.c" -> "Drivers/BSP/SD2506/sd2506.h" [color="#2563eb", penwidth=1.0]; + "Src/main.c" -> "Drivers/BSP/ScreenLink/sb_link.h" [color="#2563eb", penwidth=1.0]; "Src/main.c" -> "Drivers/BSP/TPAFE5160/tpafe5160.h" [color="#2563eb", penwidth=1.0]; "Src/main.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "Src/main.c" -> "Inc/adc.h" [color="#2563eb", penwidth=1.0]; @@ -759,26 +1666,46 @@ digraph refgraph_full { "Src/stm32f4xx_hal_msp.c" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; "Src/stm32f4xx_hal_timebase_tim.c" -> "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h" [color="#94a3b8", penwidth=0.7]; "Src/stm32f4xx_hal_timebase_tim.c" -> "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h" [color="#94a3b8", penwidth=0.7]; + "Src/stm32f4xx_it.c" -> "App/log/console_log.h" [color="#2563eb", penwidth=1.0]; "Src/stm32f4xx_it.c" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; "Src/stm32f4xx_it.c" -> "Inc/stm32f4xx_it.h" [color="#2563eb", penwidth=1.0]; "Src/stm32f4xx_it.c" -> "Inc/usart.h" [color="#2563eb", penwidth=1.0]; "Src/system_stm32f4xx.c" -> "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h" [color="#94a3b8", penwidth=0.7]; "Src/tim.c" -> "Inc/tim.h" [color="#2563eb", penwidth=1.0]; + "Src/usart.c" -> "Drivers/BSP/ScreenLink/sb_link.h" [color="#2563eb", penwidth=1.0]; "Src/usart.c" -> "Inc/usart.h" [color="#2563eb", penwidth=1.0]; "simulator/dbg_log.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "simulator/main.c" -> "App/algo/adc_cal.h" [color="#2563eb", penwidth=1.0]; + "simulator/main.c" -> "App/algo/prot_set.h" [color="#2563eb", penwidth=1.0]; + "simulator/main.c" -> "App/algo/wave_ring.h" [color="#2563eb", penwidth=1.0]; + "simulator/main.c" -> "App/algo/wave_store.h" [color="#2563eb", penwidth=1.0]; "simulator/main.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; "simulator/main.c" -> "App/cfg/cfg_file_store.h" [color="#2563eb", penwidth=1.0]; + "simulator/main.c" -> "App/iec60870/104/iec104_core.h" [color="#2563eb", penwidth=1.0]; "simulator/main.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; "simulator/main.c" -> "Drivers/BSP/NETCFG/net_cfg.h" [color="#2563eb", penwidth=1.0]; + "simulator/main.c" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "simulator/main.c" -> "Drivers/BSP/UI/ui_data.h" [color="#2563eb", penwidth=1.0]; "simulator/main.c" -> "Drivers/BSP/UI/ui_menu.h" [color="#2563eb", penwidth=1.0]; "simulator/main.c" -> "Drivers/BSP/UI/ui_net_sink.h" [color="#2563eb", penwidth=1.0]; "simulator/main.c" -> "Drivers/BSP/UI/ui_standby.h" [color="#2563eb", penwidth=1.0]; + "simulator/main.c" -> "Drivers/BSP/UI/ui_w_records.h" [color="#2563eb", penwidth=1.0]; + "simulator/main.c" -> "Drivers/BSP/UI/ui_w_soe.h" [color="#2563eb", penwidth=1.0]; "simulator/main.c" -> "Lib/lvgl/lvgl.h" [color="#94a3b8", penwidth=0.7]; "simulator/main.c" -> "simulator/SDL2/SDL2-2.32.10/include/SDL.h" [color="#94a3b8", penwidth=0.7]; + "simulator/main.c" -> "simulator/sim/iec104_sim.h" [color="#2563eb", penwidth=1.0]; "simulator/main.c" -> "simulator/sim/sim_port.h" [color="#2563eb", penwidth=1.0]; "simulator/main.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "simulator/sim/cfg_file_store_sim.c" -> "App/cfg/cfg_file_store.h" [color="#2563eb", penwidth=1.0]; "simulator/sim/cfg_file_store_sim.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "simulator/sim/iec104_sim.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "simulator/sim/iec104_sim.c" -> "App/iec60870/104/iec104_core.h" [color="#2563eb", penwidth=1.0]; + "simulator/sim/iec104_sim.c" -> "App/iec60870/104/iec104_source.h" [color="#2563eb", penwidth=1.0]; + "simulator/sim/iec104_sim.c" -> "App/iec60870/common/IEC60870_Time.h" [color="#2563eb", penwidth=1.0]; + "simulator/sim/iec104_sim.c" -> "simulator/SDL2/SDL2-2.32.10/include/SDL.h" [color="#94a3b8", penwidth=0.7]; + "simulator/sim/iec104_sim.c" -> "simulator/sim/iec104_sim.h" [color="#2563eb", penwidth=1.0]; + "simulator/sim/iec104_sim.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "simulator/sim/iec104_sim.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "simulator/sim/net_socket_sim.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; "simulator/sim/net_socket_sim.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "simulator/sim/sim_latency_stub.c" -> "test/board/net_latency_test.h" [color="#2563eb", penwidth=1.0]; @@ -824,6 +1751,19 @@ digraph refgraph_full { "test/board/gd5f_test_task.c" -> "test/board/gd5f_test.h" [color="#2563eb", penwidth=1.0]; "test/board/gd5f_test_task.c" -> "test/board/test_config.h" [color="#2563eb", penwidth=1.0]; "test/board/gd5f_test_task.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/board/ioboard_test.h" -> "test/board/test_common.h" [color="#2563eb", penwidth=1.0]; + "test/board/ioboard_test.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/board/ioboard_test_task.c" -> "Drivers/BSP/IOBOARD/ioboard.h" [color="#2563eb", penwidth=1.0]; + "test/board/ioboard_test_task.c" -> "Drivers/BSP/IOBOARD/ioboard_bits.h" [color="#2563eb", penwidth=1.0]; + "test/board/ioboard_test_task.c" -> "Drivers/BSP/bsp_err.h" [color="#2563eb", penwidth=1.0]; + "test/board/ioboard_test_task.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "test/board/ioboard_test_task.c" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; + "test/board/ioboard_test_task.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; + "test/board/ioboard_test_task.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; + "test/board/ioboard_test_task.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; + "test/board/ioboard_test_task.c" -> "test/board/ioboard_test.h" [color="#2563eb", penwidth=1.0]; + "test/board/ioboard_test_task.c" -> "test/board/test_config.h" [color="#2563eb", penwidth=1.0]; + "test/board/ioboard_test_task.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/board/net_latency_test.c" -> "Drivers/BSP/CH395F/ch395f.h" [color="#2563eb", penwidth=1.0]; "test/board/net_latency_test.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; "test/board/net_latency_test.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; @@ -867,14 +1807,24 @@ digraph refgraph_full { "test/board/test_config.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; "test/board/test_config.c" -> "test/board/ch395f_test_task.h" [color="#2563eb", penwidth=1.0]; "test/board/test_config.c" -> "test/board/gd5f_test.h" [color="#2563eb", penwidth=1.0]; + "test/board/test_config.c" -> "test/board/ioboard_test.h" [color="#2563eb", penwidth=1.0]; "test/board/test_config.c" -> "test/board/sd2506_test.h" [color="#2563eb", penwidth=1.0]; "test/board/test_config.c" -> "test/board/storage_test.h" [color="#2563eb", penwidth=1.0]; "test/board/test_config.c" -> "test/board/test_config.h" [color="#2563eb", penwidth=1.0]; "test/board/test_config.h" -> "test/board/ch395f_test.h" [color="#2563eb", penwidth=1.0]; "test/board/test_config.h" -> "test/board/gd5f_test.h" [color="#2563eb", penwidth=1.0]; + "test/board/test_config.h" -> "test/board/ioboard_test.h" [color="#2563eb", penwidth=1.0]; "test/board/test_config.h" -> "test/board/sd2506_test.h" [color="#2563eb", penwidth=1.0]; "test/board/test_config.h" -> "test/board/storage_test.h" [color="#2563eb", penwidth=1.0]; "test/board/test_config.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/adc_cal/adc_cal_test.c" -> "App/algo/adc_cal.c" [color="#2563eb", penwidth=1.0]; + "test/host/adc_cal/adc_cal_test.c" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; + "test/host/adc_cal/adc_cal_test.c" -> "App/cfg/cfg_file.c" [color="#2563eb", penwidth=1.0]; + "test/host/adc_cal/adc_cal_test.c" -> "App/cfg/cfg_file_store.h" [color="#2563eb", penwidth=1.0]; + "test/host/adc_cal/adc_cal_test.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/adc_cal/adc_cal_test.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/adc_cal/adc_cal_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/adc_cal/stub/dbg_log.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/adc_health/adc_health_test.c" -> "App/algo/adc_health.c" [color="#2563eb", penwidth=1.0]; "test/host/adc_health/adc_health_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/adc_input/adc_input_test.c" -> "App/algo/adc_input.c" [color="#2563eb", penwidth=1.0]; @@ -884,12 +1834,43 @@ digraph refgraph_full { "test/host/adc_input/adc_input_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/adc_input/stub/adc.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/adc_input/stub/tpafe5160.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/boot_stats/boot_stats_test.c" -> "App/app/app_main.h" [color="#2563eb", penwidth=1.0]; + "test/host/boot_stats/boot_stats_test.c" -> "App/util/boot_stats.c" [color="#2563eb", penwidth=1.0]; + "test/host/boot_stats/boot_stats_test.c" -> "App/util/boot_stats.h" [color="#2563eb", penwidth=1.0]; + "test/host/boot_stats/boot_stats_test.c" -> "Drivers/BSP/SD2506/sd2506.h" [color="#2563eb", penwidth=1.0]; + "test/host/boot_stats/boot_stats_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/boot_stats/stub/main.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/cfg_file/cfg_file_test.c" -> "App/cfg/cfg_file.c" [color="#2563eb", penwidth=1.0]; "test/host/cfg_file/cfg_file_test.c" -> "App/cfg/cfg_file_store.h" [color="#2563eb", penwidth=1.0]; "test/host/cfg_file/cfg_file_test.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; "test/host/cfg_file/cfg_file_test.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; "test/host/cfg_file/cfg_file_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/cfg_file/stub/dbg_log.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c" -> "App/cfg/cfg_file_store.h" [color="#2563eb", penwidth=1.0]; + "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c" -> "App/cfg/cfg_file_store_mcu.c" [color="#2563eb", penwidth=1.0]; + "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c" -> "App/fs/vol_lock.h" [color="#2563eb", penwidth=1.0]; + "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c" -> "Lib/FatFs/ff.h" [color="#94a3b8", penwidth=0.7]; + "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; + "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/cfg_file_store_mcu/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/common/ch395f_fake.c" -> "test/host/common/ch395f_fake.h" [color="#2563eb", penwidth=1.0]; + "test/host/common/ch395f_fake.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/common/ch395f_fake.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/common/fatfs_fake.c" -> "test/host/common/fatfs_fake.h" [color="#2563eb", penwidth=1.0]; + "test/host/common/fatfs_fake.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/common/fatfs_fake.h" -> "Lib/FatFs/ff.h" [color="#94a3b8", penwidth=0.7]; + "test/host/common/fatfs_fake.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/console_log/console_log_test.c" -> "App/log/console_log.c" [color="#2563eb", penwidth=1.0]; + "test/host/console_log/console_log_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/console_log/stub/FreeRTOS.h" -> "test/host/console_log/stub/stm32f4_fake.h" [color="#2563eb", penwidth=1.0]; + "test/host/console_log/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/console_log/stub/cmsis_os.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/console_log/stub/cmsis_os2.h" -> "test/host/console_log/stub/stm32f4_fake.h" [color="#2563eb", penwidth=1.0]; + "test/host/console_log/stub/cmsis_os2.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/console_log/stub/stm32f4_fake.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/console_log/stub/task.h" -> "test/host/console_log/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; + "test/host/console_log/stub/usart.h" -> "test/host/console_log/stub/stm32f4_fake.h" [color="#2563eb", penwidth=1.0]; + "test/host/console_log/stub/usart.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/freq/freq_test.c" -> "App/algo/freq.c" [color="#2563eb", penwidth=1.0]; "test/host/freq/freq_test.c" -> "App/algo/phasor.c" [color="#2563eb", penwidth=1.0]; "test/host/freq/freq_test.c" -> "App/algo/sample_ring.c" [color="#2563eb", penwidth=1.0]; @@ -897,18 +1878,213 @@ digraph refgraph_full { "test/host/ftp_auth/ftp_auth_test.c" -> "App/util/sha256.c" [color="#2563eb", penwidth=1.0]; "test/host/ftp_auth/ftp_auth_test.c" -> "Drivers/BSP/NET/lftpd/lftpd_auth.c" [color="#94a3b8", penwidth=0.7]; "test/host/ftp_auth/ftp_auth_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; - "test/host/iec104/iec104_test.c" -> "App/algo/freq.c" [color="#2563eb", penwidth=1.0]; - "test/host/iec104/iec104_test.c" -> "App/algo/phasor.c" [color="#2563eb", penwidth=1.0]; - "test/host/iec104/iec104_test.c" -> "App/algo/prot_elm.c" [color="#2563eb", penwidth=1.0]; - "test/host/iec104/iec104_test.c" -> "App/algo/prot_set.c" [color="#2563eb", penwidth=1.0]; - "test/host/iec104/iec104_test.c" -> "App/algo/sample_ring.c" [color="#2563eb", penwidth=1.0]; - "test/host/iec104/iec104_test.c" -> "App/protocol/iec104/iec104_asdu.c" [color="#2563eb", penwidth=1.0]; - "test/host/iec104/iec104_test.c" -> "App/protocol/iec104/iec104_link.c" [color="#2563eb", penwidth=1.0]; - "test/host/iec104/iec104_test.c" -> "App/protocol/iec104/iec104_pts.c" [color="#2563eb", penwidth=1.0]; - "test/host/iec104/iec104_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/ftp_cfg/ftp_cfg_test.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; + "test/host/ftp_cfg/ftp_cfg_test.c" -> "Drivers/BSP/NETCFG/ftp_cfg.c" [color="#2563eb", penwidth=1.0]; + "test/host/ftp_cfg/ftp_cfg_test.c" -> "Drivers/BSP/NETCFG/ftp_cfg.h" [color="#2563eb", penwidth=1.0]; + "test/host/ftp_cfg/ftp_cfg_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_comm/iec104_comm_test.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_comm/iec104_comm_test.c" -> "App/iec60870/104/iec104_comm.c" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_comm/iec104_comm_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_dtu/core_lifecycle_test.c" -> "App/iec60870/104/iec104_core.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_dtu/core_lifecycle_test.c" -> "App/iec60870/104/iec104_source.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_dtu/core_lifecycle_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_dtu/source_binding_test.c" -> "App/iec60870/104/iec104_source.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_dtu/source_binding_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_dtu/vendor_boundary_test.c" -> "App/iec60870/104/business/IEC104_Command.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_dtu/vendor_boundary_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_netmcu/net_socket_fake.c" -> "test/host/iec104_netmcu/net_socket_fake.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/net_socket_fake.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_netmcu/net_socket_fake.h" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/net_socket_fake.h" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/net_socket_fake.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_netmcu/netmcu_stub_test.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/netmcu_stub_test.c" -> "test/host/iec104_netmcu/net_socket_fake.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/netmcu_stub_test.c" -> "test/host/iec104_netmcu/stub_iec104_netmcu.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/netmcu_stub_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_netmcu/netmcu_test.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/netmcu_test.c" -> "test/host/iec104_netmcu/net_socket_fake.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/netmcu_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_netmcu/stub/FreeRTOS.h" -> "test/host/net_socket/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/stub/cmsis_os2.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_netmcu/stub/task.h" -> "test/host/net_socket/stub/task.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/stub_iec104_netmcu.c" -> "test/host/iec104_netmcu/net_socket_fake.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/stub_iec104_netmcu.c" -> "test/host/iec104_netmcu/stub_iec104_netmcu.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_netmcu/stub_iec104_netmcu.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_netmcu/stub_iec104_netmcu.h" -> "App/iec60870/104/IEC104_Net.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/algo/adc_cal.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/algo/meas.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/algo/prot_set.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/algo/run_par.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/app/sys_events.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/iec60870/104/iec104_comm.c" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/iec60870/104/iec104_core.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/iec60870/104/iec104_net_mcu.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/iec60870/104/iec104_source.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/task/iec104_serv.c" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/util/ioboard_di.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "App/util/task_watchdog.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/iec104_serv/iec104_serv_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h" [color="#94a3b8", penwidth=0.7]; + "test/host/iec104_serv/iec104_serv_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_serv/stub/cmsis_os2.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_serv/stub/iec104_comm.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_serv/stub/net_socket.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/iec104_serv/stub/sys_events.h" -> "test/host/iec104_serv/stub/cmsis_os2.h" [color="#2563eb", penwidth=1.0]; + "test/host/ioboard/ioboard_test.c" -> "App/util/ioboard_di.c" [color="#2563eb", penwidth=1.0]; + "test/host/ioboard/ioboard_test.c" -> "App/util/ioboard_di.h" [color="#2563eb", penwidth=1.0]; + "test/host/ioboard/ioboard_test.c" -> "Drivers/BSP/IOBOARD/ioboard.h" [color="#2563eb", penwidth=1.0]; + "test/host/ioboard/ioboard_test.c" -> "Drivers/BSP/IOBOARD/ioboard_bits.c" [color="#2563eb", penwidth=1.0]; + "test/host/ioboard/ioboard_test.c" -> "Drivers/BSP/IOBOARD/ioboard_bits.h" [color="#2563eb", penwidth=1.0]; + "test/host/ioboard/ioboard_test.c" -> "Drivers/BSP/bsp_err.h" [color="#2563eb", penwidth=1.0]; + "test/host/ioboard/ioboard_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/lftpd/lftpd_test.c" -> "Drivers/BSP/NET/lftpd/lftpd.c" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd/lftpd_test.c" -> "Drivers/BSP/NET/lftpd/lftpd.h" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd/lftpd_test.c" -> "Drivers/BSP/NET/lftpd/lftpd_auth.h" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd/lftpd_test.c" -> "Drivers/BSP/NET/lftpd/lftpd_string.c" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd/lftpd_test.c" -> "Drivers/BSP/NETCFG/ftp_cfg.h" [color="#2563eb", penwidth=1.0]; + "test/host/lftpd/lftpd_test.c" -> "Lib/FatFs/ff.h" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd/lftpd_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/lftpd/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/lftpd/stub/net_socket.h" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "test/host/lftpd/stub/net_socket.h" -> "test/host/lftpd/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; + "test/host/lftpd/stub/net_socket.h" -> "test/host/lftpd/stub/task.h" [color="#2563eb", penwidth=1.0]; + "test/host/lftpd/stub/task.h" -> "test/host/lftpd/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; + "test/host/lftpd_inet/lftpd_inet_test.c" -> "Drivers/BSP/NET/lftpd/lftpd_inet.c" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd_inet/lftpd_inet_test.c" -> "Drivers/BSP/NET/lftpd/private/lftpd_inet.h" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd_inet/lftpd_inet_test.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/lftpd_inet/lftpd_inet_test.c" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "test/host/lftpd_inet/lftpd_inet_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/lftpd_inet/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/lftpd_inet/stub/net_socket.h" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "test/host/lftpd_inet/stub/net_socket.h" -> "test/host/lftpd_inet/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; + "test/host/lftpd_inet/stub/net_socket.h" -> "test/host/lftpd_inet/stub/task.h" [color="#2563eb", penwidth=1.0]; + "test/host/lftpd_inet/stub/task.h" -> "test/host/lftpd_inet/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; + "test/host/lftpd_io/lftpd_io_test.c" -> "App/fs/vol_lock.h" [color="#2563eb", penwidth=1.0]; + "test/host/lftpd_io/lftpd_io_test.c" -> "Drivers/BSP/NET/lftpd/lftpd.h" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd_io/lftpd_io_test.c" -> "Drivers/BSP/NET/lftpd/lftpd_io.c" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd_io/lftpd_io_test.c" -> "Drivers/BSP/NET/lftpd/lftpd_string.c" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd_io/lftpd_io_test.c" -> "Drivers/BSP/NET/lftpd/private/lftpd_io.h" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd_io/lftpd_io_test.c" -> "Drivers/BSP/NET/lftpd/private/lftpd_string.h" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd_io/lftpd_io_test.c" -> "Lib/FatFs/ff.h" [color="#94a3b8", penwidth=0.7]; + "test/host/lftpd_io/lftpd_io_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/lftpd_io/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/meas/meas_test.c" -> "App/algo/meas.c" [color="#2563eb", penwidth=1.0]; + "test/host/meas/meas_test.c" -> "App/algo/phasor.c" [color="#2563eb", penwidth=1.0]; + "test/host/meas/meas_test.c" -> "App/algo/sample_ring.c" [color="#2563eb", penwidth=1.0]; + "test/host/meas/meas_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/nand_port/nand_port_test.c" -> "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h" [color="#2563eb", penwidth=1.0]; + "test/host/nand_port/nand_port_test.c" -> "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c" [color="#2563eb", penwidth=1.0]; + "test/host/nand_port/nand_port_test.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/nand_port/nand_port_test.c" -> "Lib/dhara/journal.c" [color="#94a3b8", penwidth=0.7]; + "test/host/nand_port/nand_port_test.c" -> "Lib/dhara/map.c" [color="#94a3b8", penwidth=0.7]; + "test/host/nand_port/nand_port_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/nand_port/stub/dbg_log.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/nand_port/stub/gd5f2gq5ue.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_cfg/net_cfg_test.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_cfg/net_cfg_test.c" -> "Drivers/BSP/NETCFG/net_cfg.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_cfg/net_cfg_test.c" -> "Drivers/BSP/NETCFG/net_cfg.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_cfg/net_cfg_test.c" -> "Drivers/BSP/NETCFG/sntp_cfg.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_cfg/net_cfg_test.c" -> "Drivers/BSP/NETCFG/sntp_cfg.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_cfg/net_cfg_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_events/net_events_test.c" -> "Drivers/BSP/CH395F/ch395f.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_events/net_events_test.c" -> "Drivers/BSP/NET/net_events.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_events/net_events_test.c" -> "Drivers/BSP/NET/net_events.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_events/net_events_test.c" -> "Drivers/BSP/NET/net_listener.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_events/net_events_test.c" -> "Drivers/BSP/NET/net_pending.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_events/net_events_test.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_events/net_events_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_events/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_events/stub/ch395f.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_events/stub/cmsis_os.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_events/stub/main.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_events/stub/net_socket.h" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_events/stub/task.h" -> "test/host/net_events/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_listener/net_listener_test.c" -> "Drivers/BSP/CH395F/ch395f.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_listener/net_listener_test.c" -> "Drivers/BSP/NET/net_listener.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_listener/net_listener_test.c" -> "Drivers/BSP/NET/net_listener.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_listener/net_listener_test.c" -> "Drivers/BSP/NET/net_pending.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_listener/net_listener_test.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_listener/net_listener_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_listener/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_listener/stub/ch395f.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_listener/stub/cmsis_os.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_listener/stub/main.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_listener/stub/net_socket.h" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_pending/net_pending_test.c" -> "Drivers/BSP/CH395F/ch395f.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_pending/net_pending_test.c" -> "Drivers/BSP/NET/net_listener.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_pending/net_pending_test.c" -> "Drivers/BSP/NET/net_pending.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_pending/net_pending_test.c" -> "Drivers/BSP/NET/net_pending.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_pending/net_pending_test.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_pending/net_pending_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_pending/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_pending/stub/ch395f.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_pending/stub/main.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_pending/stub/net_socket.h" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_pending/stub/task.h" -> "test/host/net_pending/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_select/net_select_test.c" -> "Drivers/BSP/NET/net_select.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_select/net_select_test.c" -> "Drivers/BSP/NET/net_select.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_select/net_select_test.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_select/net_select_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_select/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_select/stub/ch395f.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_select/stub/cmsis_os.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_select/stub/main.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_select/stub/net_socket.h" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "Drivers/BSP/CH395F/ch395f.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "Drivers/BSP/NET/net_events.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "Drivers/BSP/NET/net_listener.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "Drivers/BSP/NET/net_pending.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "Drivers/BSP/NET/net_socket.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "Drivers/BSP/NET/net_udp.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "test/host/net_socket/ns_peers.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "test/host/net_socket/ns_rtos.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "test/host/net_socket/ns_s3_msg.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "test/host/net_socket/ns_s4_state.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "test/host/net_socket/ns_s5_io.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "test/host/net_socket/ns_s6_edges.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "test/host/net_socket/ns_s7_udp.c" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/net_socket_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_socket/ns_peers.c" -> "Drivers/BSP/NET/net_events.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/ns_peers.c" -> "Drivers/BSP/NET/net_listener.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/ns_peers.c" -> "Drivers/BSP/NET/net_pending.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/ns_peers.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/ns_peers.c" -> "test/host/net_socket/ns_peers.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/ns_peers.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_socket/ns_peers.h" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/ns_peers.h" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; + "test/host/net_socket/ns_peers.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_socket/ns_rtos.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/ns_rtos.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_socket/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_socket/stub/ch395f.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_socket/stub/cmsis_os.h" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h" [color="#94a3b8", penwidth=0.7]; + "test/host/net_socket/stub/main.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/net_socket/stub/ns_rtos.h" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h" [color="#94a3b8", penwidth=0.7]; + "test/host/net_socket/stub/ns_rtos.h" -> "test/host/net_socket/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/stub/ns_rtos.h" -> "test/host/net_socket/stub/main.h" [color="#2563eb", penwidth=1.0]; + "test/host/net_socket/stub/task.h" -> "test/host/net_socket/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; "test/host/phasor/phasor_test.c" -> "App/algo/phasor.c" [color="#2563eb", penwidth=1.0]; "test/host/phasor/phasor_test.c" -> "App/algo/sample_ring.c" [color="#2563eb", penwidth=1.0]; "test/host/phasor/phasor_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/prot_dim/prot_dim_test.c" -> "App/algo/adc_cal.c" [color="#2563eb", penwidth=1.0]; + "test/host/prot_dim/prot_dim_test.c" -> "App/algo/adc_cal.h" [color="#2563eb", penwidth=1.0]; + "test/host/prot_dim/prot_dim_test.c" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; + "test/host/prot_dim/prot_dim_test.c" -> "App/algo/freq.c" [color="#2563eb", penwidth=1.0]; + "test/host/prot_dim/prot_dim_test.c" -> "App/algo/phasor.c" [color="#2563eb", penwidth=1.0]; + "test/host/prot_dim/prot_dim_test.c" -> "App/algo/prot_elm.c" [color="#2563eb", penwidth=1.0]; + "test/host/prot_dim/prot_dim_test.c" -> "App/algo/prot_set.c" [color="#2563eb", penwidth=1.0]; + "test/host/prot_dim/prot_dim_test.c" -> "App/algo/sample_ring.c" [color="#2563eb", penwidth=1.0]; + "test/host/prot_dim/prot_dim_test.c" -> "App/cfg/cfg_file.h" [color="#2563eb", penwidth=1.0]; + "test/host/prot_dim/prot_dim_test.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/prot_dim/prot_dim_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/prot_dim/stub/dbg_log.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/prot_elm/prot_elm_test.c" -> "App/algo/freq.c" [color="#2563eb", penwidth=1.0]; "test/host/prot_elm/prot_elm_test.c" -> "App/algo/phasor.c" [color="#2563eb", penwidth=1.0]; "test/host/prot_elm/prot_elm_test.c" -> "App/algo/prot_elm.c" [color="#2563eb", penwidth=1.0]; @@ -917,11 +2093,70 @@ digraph refgraph_full { "test/host/prot_elm/prot_elm_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/prot_set/prot_set_test.c" -> "App/algo/prot_set.c" [color="#2563eb", penwidth=1.0]; "test/host/prot_set/prot_set_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/prot_set_store/prot_set_store_test.c" -> "App/algo/prot_set.c" [color="#2563eb", penwidth=1.0]; + "test/host/prot_set_store/prot_set_store_test.c" -> "App/algo/prot_set.h" [color="#2563eb", penwidth=1.0]; + "test/host/prot_set_store/prot_set_store_test.c" -> "App/cfg/cfg_file_store.h" [color="#2563eb", penwidth=1.0]; + "test/host/prot_set_store/prot_set_store_test.c" -> "App/cfg/prot_set_store.c" [color="#2563eb", penwidth=1.0]; + "test/host/prot_set_store/prot_set_store_test.c" -> "App/cfg/prot_set_store.h" [color="#2563eb", penwidth=1.0]; + "test/host/prot_set_store/prot_set_store_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/run_par/run_par_test.c" -> "App/algo/adc_cal.c" [color="#2563eb", penwidth=1.0]; + "test/host/run_par/run_par_test.c" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; + "test/host/run_par/run_par_test.c" -> "App/algo/run_par.c" [color="#2563eb", penwidth=1.0]; + "test/host/run_par/run_par_test.c" -> "App/cfg/cfg_file.c" [color="#2563eb", penwidth=1.0]; + "test/host/run_par/run_par_test.c" -> "App/cfg/cfg_file_store.h" [color="#2563eb", penwidth=1.0]; + "test/host/run_par/run_par_test.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/run_par/run_par_test.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/run_par/run_par_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sb_led_map/sb_led_map_test.c" -> "App/algo/sb_led_map.c" [color="#2563eb", penwidth=1.0]; + "test/host/sb_led_map/sb_led_map_test.c" -> "App/algo/sb_led_map.h" [color="#2563eb", penwidth=1.0]; + "test/host/sb_led_map/sb_led_map_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sb_link/sb_link_test.c" -> "Drivers/BSP/ScreenLink/sb_link.c" [color="#2563eb", penwidth=1.0]; + "test/host/sb_link/sb_link_test.c" -> "Drivers/BSP/ScreenLink/sb_proto.c" [color="#2563eb", penwidth=1.0]; + "test/host/sb_link/sb_link_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sb_link/stub/dbg_log.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sb_link/stub/main.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sb_proto/sb_proto_test.c" -> "Drivers/BSP/ScreenLink/sb_proto.c" [color="#2563eb", penwidth=1.0]; + "test/host/sb_proto/sb_proto_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/sha256/sha256_test.c" -> "App/util/sha256.c" [color="#2563eb", penwidth=1.0]; "test/host/sha256/sha256_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sntp/sntp_test.c" -> "App/app/sys_events.h" [color="#2563eb", penwidth=1.0]; + "test/host/sntp/sntp_test.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/sntp/sntp_test.c" -> "App/sync/time_sntp.c" [color="#2563eb", penwidth=1.0]; + "test/host/sntp/sntp_test.c" -> "App/util/sys_clock.h" [color="#2563eb", penwidth=1.0]; + "test/host/sntp/sntp_test.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/sntp/sntp_test.c" -> "Drivers/BSP/NET/net_types.h" [color="#2563eb", penwidth=1.0]; + "test/host/sntp/sntp_test.c" -> "Drivers/BSP/NETCFG/sntp_cfg.c" [color="#2563eb", penwidth=1.0]; + "test/host/sntp/sntp_test.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/sntp/sntp_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h" [color="#94a3b8", penwidth=0.7]; + "test/host/sntp/sntp_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; + "test/host/sntp/sntp_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; + "test/host/sntp/sntp_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sntp/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sntp/stub/cmsis_os2.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sntp/stub/dbg_log.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sntp/stub/net_socket.h" -> "test/host/sntp/stub/net_types.h" [color="#2563eb", penwidth=1.0]; + "test/host/sntp/stub/net_socket.h" -> "test/host/sntp/stub/task.h" [color="#2563eb", penwidth=1.0]; + "test/host/sntp/stub/net_types.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sntp/stub/sys_clock.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sntp/stub/sys_events.h" -> "test/host/sntp/stub/cmsis_os2.h" [color="#2563eb", penwidth=1.0]; + "test/host/sntp/stub/sys_log.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sntp/stub/task.h" -> "test/host/sntp/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; + "test/host/sntp/stub/task.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/soe/soe_test.c" -> "App/iec60870/common/IEC60870_Time.c" [color="#2563eb", penwidth=1.0]; "test/host/soe/soe_test.c" -> "App/log/soe_rec.c" [color="#2563eb", penwidth=1.0]; - "test/host/soe/soe_test.c" -> "App/protocol/iec104/iec104_asdu.c" [color="#2563eb", penwidth=1.0]; "test/host/soe/soe_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/soe_store/soe_store_test.c" -> "App/fs/vol_lock.h" [color="#2563eb", penwidth=1.0]; + "test/host/soe_store/soe_store_test.c" -> "App/log/soe_rec.c" [color="#2563eb", penwidth=1.0]; + "test/host/soe_store/soe_store_test.c" -> "App/log/soe_rec.h" [color="#2563eb", penwidth=1.0]; + "test/host/soe_store/soe_store_test.c" -> "App/log/soe_store.c" [color="#2563eb", penwidth=1.0]; + "test/host/soe_store/soe_store_test.c" -> "App/log/soe_store.h" [color="#2563eb", penwidth=1.0]; + "test/host/soe_store/soe_store_test.c" -> "App/util/sys_clock.h" [color="#2563eb", penwidth=1.0]; + "test/host/soe_store/soe_store_test.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/soe_store/soe_store_test.c" -> "Lib/FatFs/ff.h" [color="#94a3b8", penwidth=0.7]; + "test/host/soe_store/soe_store_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; + "test/host/soe_store/soe_store_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/soe_store/stub/cmsis_os.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/soe_store/stub/main.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/sys_clock/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/sys_clock/stub/dbg_log.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/sys_clock/stub/main.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; @@ -934,23 +2169,71 @@ digraph refgraph_full { "test/host/sys_clock/sys_clock_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; "test/host/sys_clock/sys_clock_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; "test/host/sys_clock/sys_clock_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sys_log_mcu/stub/cmsis_os.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sys_log_mcu/stub/main.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/sys_log_mcu/sys_log_mcu_test.c" -> "App/fs/vol_lock.h" [color="#2563eb", penwidth=1.0]; + "test/host/sys_log_mcu/sys_log_mcu_test.c" -> "App/log/soe_store.h" [color="#2563eb", penwidth=1.0]; + "test/host/sys_log_mcu/sys_log_mcu_test.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/sys_log_mcu/sys_log_mcu_test.c" -> "App/log/sys_log_mcu.c" [color="#2563eb", penwidth=1.0]; + "test/host/sys_log_mcu/sys_log_mcu_test.c" -> "App/util/sys_clock.h" [color="#2563eb", penwidth=1.0]; + "test/host/sys_log_mcu/sys_log_mcu_test.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/sys_log_mcu/sys_log_mcu_test.c" -> "Lib/FatFs/ff.h" [color="#94a3b8", penwidth=0.7]; + "test/host/sys_log_mcu/sys_log_mcu_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; + "test/host/sys_log_mcu/sys_log_mcu_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/task_prof/stub/main.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/task_prof/task_prof_test.c" -> "App/log/console_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/task_prof/task_prof_test.c" -> "App/util/task_prof.c" [color="#2563eb", penwidth=1.0]; + "test/host/task_prof/task_prof_test.c" -> "App/util/task_prof.h" [color="#2563eb", penwidth=1.0]; + "test/host/task_prof/task_prof_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/time_sync/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/time_sync/stub/cmsis_os2.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; - "test/host/time_sync/stub/dbg_log.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/time_sync/stub/net_socket.h" -> "test/host/time_sync/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; "test/host/time_sync/stub/net_socket.h" -> "test/host/time_sync/stub/task.h" [color="#2563eb", penwidth=1.0]; "test/host/time_sync/stub/net_socket.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; - "test/host/time_sync/stub/sys_clock.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/time_sync/stub/sys_events.h" -> "test/host/time_sync/stub/cmsis_os2.h" [color="#2563eb", penwidth=1.0]; "test/host/time_sync/stub/task.h" -> "test/host/time_sync/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; "test/host/time_sync/time_sync_test.c" -> "App/app/sys_events.h" [color="#2563eb", penwidth=1.0]; + "test/host/time_sync/time_sync_test.c" -> "App/sync/time_sntp.h" [color="#2563eb", penwidth=1.0]; "test/host/time_sync/time_sync_test.c" -> "App/sync/time_sync.c" [color="#2563eb", penwidth=1.0]; - "test/host/time_sync/time_sync_test.c" -> "App/util/sys_clock.h" [color="#2563eb", penwidth=1.0]; "test/host/time_sync/time_sync_test.c" -> "App/util/task_watchdog.h" [color="#2563eb", penwidth=1.0]; "test/host/time_sync/time_sync_test.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; "test/host/time_sync/time_sync_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; "test/host/time_sync/time_sync_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; "test/host/time_sync/time_sync_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/ui_data/ui_data_test.c" -> "App/algo/adc_input.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_data/ui_data_test.c" -> "App/algo/prot_elm.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_data/ui_data_test.c" -> "App/algo/prot_set.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_data/ui_data_test.c" -> "App/log/soe_rec.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_data/ui_data_test.c" -> "App/log/sys_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_data/ui_data_test.c" -> "Drivers/BSP/UI/ui_data.c" [color="#2563eb", penwidth=1.0]; + "test/host/ui_data/ui_data_test.c" -> "Drivers/BSP/UI/ui_w_records.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_data/ui_data_test.c" -> "Drivers/BSP/UI/ui_w_soe.c" [color="#2563eb", penwidth=1.0]; + "test/host/ui_data/ui_data_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/ui_sink/stub/lvgl.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/ui_sink/stub/net_socket.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/ui_sink/ui_sink_test.c" -> "Drivers/BSP/NET/net_socket.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_sink/ui_sink_test.c" -> "Drivers/BSP/UI/ui_content_page.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_sink/ui_sink_test.c" -> "Drivers/BSP/UI/ui_menu.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_sink/ui_sink_test.c" -> "Drivers/BSP/UI/ui_net_sink.c" [color="#2563eb", penwidth=1.0]; + "test/host/ui_sink/ui_sink_test.c" -> "Drivers/BSP/UI/ui_net_sink.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_sink/ui_sink_test.c" -> "Drivers/BSP/UI/ui_net_sink_backend.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_sink/ui_sink_test.c" -> "Drivers/BSP/UI/ui_page_registry.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_sink/ui_sink_test.c" -> "Drivers/BSP/UI/ui_standby.h" [color="#2563eb", penwidth=1.0]; + "test/host/ui_sink/ui_sink_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/vol_idle_sync/stub/FreeRTOS.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/vol_idle_sync/stub/cmsis_os.h" -> "test/host/vol_idle_sync/stub/cmsis_os2.h" [color="#2563eb", penwidth=1.0]; + "test/host/vol_idle_sync/stub/cmsis_os2.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/vol_idle_sync/stub/task.h" -> "test/host/vol_idle_sync/stub/FreeRTOS.h" [color="#2563eb", penwidth=1.0]; + "test/host/vol_idle_sync/vol_idle_sync_test.c" -> "App/app/sys_events.h" [color="#2563eb", penwidth=1.0]; + "test/host/vol_idle_sync/vol_idle_sync_test.c" -> "App/fs/vol_idle_sync.c" [color="#2563eb", penwidth=1.0]; + "test/host/vol_idle_sync/vol_idle_sync_test.c" -> "Drivers/BSP/dbg_log.h" [color="#2563eb", penwidth=1.0]; + "test/host/vol_idle_sync/vol_idle_sync_test.c" -> "Lib/FatFs/diskio.h" [color="#94a3b8", penwidth=0.7]; + "test/host/vol_idle_sync/vol_idle_sync_test.c" -> "Lib/FatFs/ff.h" [color="#94a3b8", penwidth=0.7]; + "test/host/vol_idle_sync/vol_idle_sync_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; + "test/host/vol_idle_sync/vol_idle_sync_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h" [color="#94a3b8", penwidth=0.7]; + "test/host/vol_idle_sync/vol_idle_sync_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/include/task.h" [color="#94a3b8", penwidth=0.7]; + "test/host/vol_idle_sync/vol_idle_sync_test.c" -> "test/board/test_config.h" [color="#2563eb", penwidth=1.0]; + "test/host/vol_idle_sync/vol_idle_sync_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/vol_lock/stub/cmsis_os.h" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; "test/host/vol_lock/vol_lock_test.c" -> "App/fs/vol_lock.c" [color="#2563eb", penwidth=1.0]; "test/host/vol_lock/vol_lock_test.c" -> "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h" [color="#94a3b8", penwidth=0.7]; @@ -963,4 +2246,13 @@ digraph refgraph_full { "test/host/watchdog/watchdog_test.c" -> "Inc/iwdg.h" [color="#2563eb", penwidth=1.0]; "test/host/watchdog/watchdog_test.c" -> "Inc/main.h" [color="#2563eb", penwidth=1.0]; "test/host/watchdog/watchdog_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/wave_ring/wave_ring_test.c" -> "App/algo/wave_ring.c" [color="#2563eb", penwidth=1.0]; + "test/host/wave_ring/wave_ring_test.c" -> "App/algo/wave_store.c" [color="#2563eb", penwidth=1.0]; + "test/host/wave_ring/wave_ring_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/wave_store/wave_store_test.c" -> "App/algo/wave_store.c" [color="#2563eb", penwidth=1.0]; + "test/host/wave_store/wave_store_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; + "test/host/wave_trig/wave_trig_test.c" -> "App/algo/wave_ring.c" [color="#2563eb", penwidth=1.0]; + "test/host/wave_trig/wave_trig_test.c" -> "App/algo/wave_ring.h" [color="#2563eb", penwidth=1.0]; + "test/host/wave_trig/wave_trig_test.c" -> "App/algo/wave_store.c" [color="#2563eb", penwidth=1.0]; + "test/host/wave_trig/wave_trig_test.c" -> "外部/系统头文件" [color="#f59e0b", penwidth=0.6, style=dashed]; } diff --git a/docs/images/引用关系图.json b/docs/images/引用关系图.json index 9b85ebb0..fbc15ff3 100644 --- a/docs/images/引用关系图.json +++ b/docs/images/引用关系图.json @@ -1,6 +1,14 @@ { "title": "STM32F4-Base 项目文件引用关系图(项目代码视图)", "nodes": [ + { + "path": "App/algo/adc_cal.c", + "class": "fp" + }, + { + "path": "App/algo/adc_cal.h", + "class": "fp" + }, { "path": "App/algo/adc_health.c", "class": "fp" @@ -25,6 +33,14 @@ "path": "App/algo/freq.h", "class": "fp" }, + { + "path": "App/algo/meas.c", + "class": "fp" + }, + { + "path": "App/algo/meas.h", + "class": "fp" + }, { "path": "App/algo/phasor.c", "class": "fp" @@ -49,6 +65,14 @@ "path": "App/algo/prot_set.h", "class": "fp" }, + { + "path": "App/algo/run_par.c", + "class": "fp" + }, + { + "path": "App/algo/run_par.h", + "class": "fp" + }, { "path": "App/algo/sample_ring.c", "class": "fp" @@ -57,6 +81,30 @@ "path": "App/algo/sample_ring.h", "class": "fp" }, + { + "path": "App/algo/sb_led_map.c", + "class": "fp" + }, + { + "path": "App/algo/sb_led_map.h", + "class": "fp" + }, + { + "path": "App/algo/wave_ring.c", + "class": "fp" + }, + { + "path": "App/algo/wave_ring.h", + "class": "fp" + }, + { + "path": "App/algo/wave_store.c", + "class": "fp" + }, + { + "path": "App/algo/wave_store.h", + "class": "fp" + }, { "path": "App/app/app_cfg.h", "class": "fp" @@ -73,6 +121,14 @@ "path": "App/app/sys_events.h", "class": "fp" }, + { + "path": "App/app/ui_data_feed.c", + "class": "fp" + }, + { + "path": "App/app/ui_data_feed.h", + "class": "fp" + }, { "path": "App/cfg/cfg_file.c", "class": "fp" @@ -97,6 +153,14 @@ "path": "App/cfg/prot_set_store.h", "class": "fp" }, + { + "path": "App/fs/vol_idle_sync.c", + "class": "fp" + }, + { + "path": "App/fs/vol_idle_sync.h", + "class": "fp" + }, { "path": "App/fs/vol_lock.c", "class": "fp" @@ -105,6 +169,326 @@ "path": "App/fs/vol_lock.h", "class": "fp" }, + { + "path": "App/iec60870/104/IEC104_AsduQueue.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_AsduQueue.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Codec.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Codec.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Config_Internal.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Connection.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Connection.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Link.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Link_Common.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Link_Internal.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Link_Slave_StartStop.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Link_Slave_StartStop.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Net.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Net_Windows.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Receiver.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Receiver.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_SendBuffer.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_SendBuffer.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_SendManager.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_SendManager.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Slave.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Slave.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_TcpServer.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_TcpServer.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_TcpServer_Config.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_TcpTypes.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/IEC104_Types.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_ClockSynchronization.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_ClockSynchronization.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Command.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Command.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_CounterInterrogation.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_CounterInterrogation.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_GeneralInterrogation.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_GeneralInterrogation.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Interrogation.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Interrogation.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Interrogation_Internal.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Parameter.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Parameter.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_PeriodicScan.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_PeriodicScan.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Read.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Read.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_RemoteParameter.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_RemoteParameter.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Spontaneous.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Spontaneous.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Startup.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_Startup.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_SystemCommand.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/business/IEC104_SystemCommand.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/iec104_comm.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/iec104_comm.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/iec104_core.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/iec104_core.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/iec104_dtu_table.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/iec104_dtu_table.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/iec104_net_mcu.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/iec104_net_mcu.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/iec104_source.c", + "class": "fp" + }, + { + "path": "App/iec60870/104/iec104_source.h", + "class": "fp" + }, + { + "path": "App/iec60870/104/iec104_source_ranks.h", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_Asdu.c", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_Asdu.h", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_Codec.c", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_Codec.h", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_FaultEvent.c", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_FaultEvent.h", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_InformationObjects.c", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_InformationObjects.h", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_InformationObjects_Internal.h", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_Slave.c", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_Slave.h", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_StaticAssert.h", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_Time.c", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_Time.h", + "class": "fp" + }, + { + "path": "App/iec60870/common/IEC60870_Types.h", + "class": "fp" + }, + { + "path": "App/iec60870/examples/iec104_dtu_profile.h", + "class": "fp" + }, { "path": "App/log/console_log.c", "class": "fp" @@ -138,27 +522,11 @@ "class": "fp" }, { - "path": "App/protocol/iec104/iec104_asdu.c", + "path": "App/sync/time_sntp.c", "class": "fp" }, { - "path": "App/protocol/iec104/iec104_asdu.h", - "class": "fp" - }, - { - "path": "App/protocol/iec104/iec104_link.c", - "class": "fp" - }, - { - "path": "App/protocol/iec104/iec104_link.h", - "class": "fp" - }, - { - "path": "App/protocol/iec104/iec104_pts.c", - "class": "fp" - }, - { - "path": "App/protocol/iec104/iec104_pts.h", + "path": "App/sync/time_sntp.h", "class": "fp" }, { @@ -217,6 +585,10 @@ "path": "App/task/rs485_task.h", "class": "fp" }, + { + "path": "App/task/task_handles.h", + "class": "fp" + }, { "path": "App/task/ui_task.c", "class": "fp" @@ -225,6 +597,22 @@ "path": "App/task/ui_task.h", "class": "fp" }, + { + "path": "App/util/boot_stats.c", + "class": "fp" + }, + { + "path": "App/util/boot_stats.h", + "class": "fp" + }, + { + "path": "App/util/ioboard_di.c", + "class": "fp" + }, + { + "path": "App/util/ioboard_di.h", + "class": "fp" + }, { "path": "App/util/sha256.c", "class": "fp" @@ -281,6 +669,22 @@ "path": "Drivers/BSP/GD5F2GQ5UE/nand_ftl.h", "class": "fp" }, + { + "path": "Drivers/BSP/IOBOARD/ioboard.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/IOBOARD/ioboard.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/IOBOARD/ioboard_bits.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/IOBOARD/ioboard_bits.h", + "class": "fp" + }, { "path": "Drivers/BSP/NET/lftpd/lftpd.c", "class": "tp" @@ -377,6 +781,14 @@ "path": "Drivers/BSP/NET/net_types.h", "class": "fp" }, + { + "path": "Drivers/BSP/NET/net_udp.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/NET/net_udp.h", + "class": "fp" + }, { "path": "Drivers/BSP/NETCFG/ftp_cfg.c", "class": "fp" @@ -393,6 +805,14 @@ "path": "Drivers/BSP/NETCFG/net_cfg.h", "class": "fp" }, + { + "path": "Drivers/BSP/NETCFG/sntp_cfg.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/NETCFG/sntp_cfg.h", + "class": "fp" + }, { "path": "Drivers/BSP/RS485/rs485.c", "class": "fp" @@ -409,6 +829,22 @@ "path": "Drivers/BSP/SD2506/sd2506.h", "class": "fp" }, + { + "path": "Drivers/BSP/ScreenLink/sb_link.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/ScreenLink/sb_link.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/ScreenLink/sb_proto.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/ScreenLink/sb_proto.h", + "class": "fp" + }, { "path": "Drivers/BSP/TPAFE5160/tpafe5160.c", "class": "fp" @@ -425,6 +861,14 @@ "path": "Drivers/BSP/UI/ui_content_page.h", "class": "fp" }, + { + "path": "Drivers/BSP/UI/ui_data.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_data.h", + "class": "fp" + }, { "path": "Drivers/BSP/UI/ui_deco.c", "class": "fp" @@ -485,6 +929,62 @@ "path": "Drivers/BSP/UI/ui_page_ac.h", "class": "fp" }, + { + "path": "Drivers/BSP/UI/ui_page_accident.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_accident.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_action.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_action.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_alarm.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_alarm.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_calib.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_calib.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_clear.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_clear.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_clock.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_clock.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_comm.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_comm.h", + "class": "fp" + }, { "path": "Drivers/BSP/UI/ui_page_dc.c", "class": "fp" @@ -493,6 +993,14 @@ "path": "Drivers/BSP/UI/ui_page_dc.h", "class": "fp" }, + { + "path": "Drivers/BSP/UI/ui_page_deadband.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_deadband.h", + "class": "fp" + }, { "path": "Drivers/BSP/UI/ui_page_device_info.c", "class": "fp" @@ -509,6 +1017,14 @@ "path": "Drivers/BSP/UI/ui_page_net_cfg.h", "class": "fp" }, + { + "path": "Drivers/BSP/UI/ui_page_oper.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_oper.h", + "class": "fp" + }, { "path": "Drivers/BSP/UI/ui_page_password.c", "class": "fp" @@ -517,6 +1033,22 @@ "path": "Drivers/BSP/UI/ui_page_password.h", "class": "fp" }, + { + "path": "Drivers/BSP/UI/ui_page_registry.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_registry.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_reset.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_reset.h", + "class": "fp" + }, { "path": "Drivers/BSP/UI/ui_page_runlog.c", "class": "fp" @@ -525,6 +1057,14 @@ "path": "Drivers/BSP/UI/ui_page_runlog.h", "class": "fp" }, + { + "path": "Drivers/BSP/UI/ui_page_runreport.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_runreport.h", + "class": "fp" + }, { "path": "Drivers/BSP/UI/ui_page_selftest.c", "class": "fp" @@ -533,6 +1073,94 @@ "path": "Drivers/BSP/UI/ui_page_selftest.h", "class": "fp" }, + { + "path": "Drivers/BSP/UI/ui_page_sntp.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_sntp.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_soe.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_soe.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_start.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_start.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_view_param.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_view_param.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_view_plate.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_view_plate.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_view_set.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_view_set.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_view_word.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_view_word.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_wave_manual.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_wave_manual.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_wave_play.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_wave_play.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_yk.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_yk.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_yx.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_page_yx.h", + "class": "fp" + }, { "path": "Drivers/BSP/UI/ui_port.c", "class": "fp" @@ -553,6 +1181,74 @@ "path": "Drivers/BSP/UI/ui_standby.h", "class": "fp" }, + { + "path": "Drivers/BSP/UI/ui_style.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_style.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_tokens.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_w_editor.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_w_editor.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_w_records.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_w_records.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_w_setlist.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_w_setlist.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_w_setview.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_w_setview.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_w_soe.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_w_soe.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_w_ytview.c", + "class": "fp" + }, + { + "path": "Drivers/BSP/UI/ui_w_ytview.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/app_assert.h", + "class": "fp" + }, + { + "path": "Drivers/BSP/bsp_err.h", + "class": "fp" + }, { "path": "Drivers/BSP/dbg_cfg.h", "class": "fp" @@ -941,6 +1637,746 @@ "path": "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c", "class": "tp" }, + { + "path": "IEC60870-Slave/104/IEC104.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_AsduQueue.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_AsduQueue.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Codec.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Codec.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Config_Internal.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Connection.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Connection.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Link.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Link.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Link_Common.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Link_Internal.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Link_Master_StartStop.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Link_Master_StartStop.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Link_Slave_StartStop.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Link_Slave_StartStop.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Log.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Log.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Net.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Net_Windows.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Receiver.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Receiver.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_SendBuffer.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_SendBuffer.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_SendManager.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_SendManager.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Slave.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Slave.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_TcpServer.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_TcpServer.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_TcpServer_Config.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_TcpTypes.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/IEC104_Types.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_BusinessConfig_Internal.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_ClockSynchronization.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_ClockSynchronization.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Command.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Command.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_CounterInterrogation.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_CounterInterrogation.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_FileService.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_FileService.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_GeneralInterrogation.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_GeneralInterrogation.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Interrogation.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Interrogation.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Interrogation_Internal.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Parameter.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Parameter.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_PeriodicScan.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_PeriodicScan.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Read.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Read.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_RemoteParameter.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_RemoteParameter.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Spontaneous.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Spontaneous.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Startup.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_Startup.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_SystemCommand.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/104/business/IEC104_SystemCommand.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Asdu.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Asdu.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Clock.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Clock.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Codec.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Codec.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Comtrade.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Comtrade.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_EnergyFreeze.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_EnergyFreeze.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_EnergyFreezeFile.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_EnergyFreezeFile.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_FaultEvent.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_FaultEvent.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_FaultRecorder.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_FaultRecorder.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_FirmwareUpdate.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_FirmwareUpdate.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_History.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_History.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_HistoryFile.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_HistoryFile.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_InformationObjects.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_InformationObjects.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_InformationObjects_Internal.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Slave.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Slave.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Time.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Time.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_Types.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_UserLog.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_UserLog.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_UserLogFile.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/common/IEC60870_UserLogFile.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_dtu_example.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_dtu_measurement.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_dtu_measurement.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_dtu_profile.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_dtu_protection.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_dtu_protection.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_dtu_runtime.inc", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_dtu_settings.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_dtu_settings.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_dtu_settings.inc", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_config.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_config.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_energy_freeze.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_energy_freeze.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_energy_meter.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_energy_meter.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_history.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_history.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_points.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_recording.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_recording.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_upgrade.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_upgrade.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_user_log.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_example_user_log.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_parameter_multi_master.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/examples/iec104_slave_example.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_ack_tracking_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_asdu_transport_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_command_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_dtu_energy_settings_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_dtu_measurement_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_dtu_protection_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_dtu_settings_model_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_dtu_storage_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_dtu_trigger_recording_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_energy_freeze_transitions_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_example_energy_freeze_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_example_energy_meter_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_example_history_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_example_recording_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_example_upgrade_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_example_user_log_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_fault_event_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_file_service_internal_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_file_service_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_idle_transport_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_interrogation_rules_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_net_pending_input_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_parameter_edge_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_parameter_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_periodic_scan_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_read_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_remote_parameter_internal_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_remote_parameter_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_response_queue_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_response_transport_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_slave_example_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_slave_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_software_upgrade_internal_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_software_upgrade_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_spontaneous_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_strict_priority_queue_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_strict_priority_transport_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_system_command_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_tcp_event_ring_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_tcp_scheduler_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec104_test_config.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_asdu_extended_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_asdu_fixture.h", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_asdu_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_comtrade_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_energy_freeze_file_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_energy_freeze_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_fault_event_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_fault_recorder_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_firmware_update_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_history_file_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_history_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_user_log_file_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/iec60870_user_log_test.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/parameter_interop_slave.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/parameter_lib60870_client.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/periodic_scan_interop_server.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/periodic_scan_lib60870_client.c", + "class": "tp" + }, + { + "path": "IEC60870-Slave/test/periodic_scan_soak_example.c", + "class": "tp" + }, { "path": "Inc/FreeRTOSConfig.h", "class": "fp" @@ -1009,6 +2445,22 @@ "path": "Lib/FatFs/ffsystem.c", "class": "tp" }, + { + "path": "Lib/coreSNTP/core_sntp_serializer.c", + "class": "tp" + }, + { + "path": "Lib/coreSNTP/include/core_sntp_config.h", + "class": "tp" + }, + { + "path": "Lib/coreSNTP/include/core_sntp_config_defaults.h", + "class": "tp" + }, + { + "path": "Lib/coreSNTP/include/core_sntp_serializer.h", + "class": "tp" + }, { "path": "Lib/dhara/bytes.h", "class": "tp" @@ -5697,6 +7149,14 @@ "path": "simulator/sim/cfg_file_store_sim.c", "class": "fp" }, + { + "path": "simulator/sim/iec104_sim.c", + "class": "fp" + }, + { + "path": "simulator/sim/iec104_sim.h", + "class": "fp" + }, { "path": "simulator/sim/net_socket_sim.c", "class": "fp" @@ -5749,6 +7209,14 @@ "path": "test/board/gd5f_test_task.c", "class": "fp" }, + { + "path": "test/board/ioboard_test.h", + "class": "fp" + }, + { + "path": "test/board/ioboard_test_task.c", + "class": "fp" + }, { "path": "test/board/net_latency_test.c", "class": "fp" @@ -5793,6 +7261,14 @@ "path": "test/board/test_config.h", "class": "fp" }, + { + "path": "test/host/adc_cal/adc_cal_test.c", + "class": "fp" + }, + { + "path": "test/host/adc_cal/stub/dbg_log.h", + "class": "fp" + }, { "path": "test/host/adc_health/adc_health_test.c", "class": "fp" @@ -5809,6 +7285,14 @@ "path": "test/host/adc_input/stub/tpafe5160.h", "class": "fp" }, + { + "path": "test/host/boot_stats/boot_stats_test.c", + "class": "fp" + }, + { + "path": "test/host/boot_stats/stub/main.h", + "class": "fp" + }, { "path": "test/host/cfg_file/cfg_file_test.c", "class": "fp" @@ -5817,6 +7301,58 @@ "path": "test/host/cfg_file/stub/dbg_log.h", "class": "fp" }, + { + "path": "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c", + "class": "fp" + }, + { + "path": "test/host/cfg_file_store_mcu/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/common/ch395f_fake.c", + "class": "fp" + }, + { + "path": "test/host/common/ch395f_fake.h", + "class": "fp" + }, + { + "path": "test/host/common/fatfs_fake.c", + "class": "fp" + }, + { + "path": "test/host/common/fatfs_fake.h", + "class": "fp" + }, + { + "path": "test/host/console_log/console_log_test.c", + "class": "fp" + }, + { + "path": "test/host/console_log/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/console_log/stub/cmsis_os.h", + "class": "fp" + }, + { + "path": "test/host/console_log/stub/cmsis_os2.h", + "class": "fp" + }, + { + "path": "test/host/console_log/stub/stm32f4_fake.h", + "class": "fp" + }, + { + "path": "test/host/console_log/stub/task.h", + "class": "fp" + }, + { + "path": "test/host/console_log/stub/usart.h", + "class": "fp" + }, { "path": "test/host/freq/freq_test.c", "class": "fp" @@ -5826,13 +7362,389 @@ "class": "fp" }, { - "path": "test/host/iec104/iec104_test.c", + "path": "test/host/ftp_cfg/ftp_cfg_test.c", + "class": "fp" + }, + { + "path": "test/host/iec104_comm/iec104_comm_test.c", + "class": "fp" + }, + { + "path": "test/host/iec104_dtu/core_lifecycle_test.c", + "class": "fp" + }, + { + "path": "test/host/iec104_dtu/source_binding_test.c", + "class": "fp" + }, + { + "path": "test/host/iec104_dtu/vendor_boundary_test.c", + "class": "fp" + }, + { + "path": "test/host/iec104_netmcu/net_socket_fake.c", + "class": "fp" + }, + { + "path": "test/host/iec104_netmcu/net_socket_fake.h", + "class": "fp" + }, + { + "path": "test/host/iec104_netmcu/netmcu_stub_test.c", + "class": "fp" + }, + { + "path": "test/host/iec104_netmcu/netmcu_test.c", + "class": "fp" + }, + { + "path": "test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c", + "class": "fp" + }, + { + "path": "test/host/iec104_netmcu/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/iec104_netmcu/stub/cmsis_os2.h", + "class": "fp" + }, + { + "path": "test/host/iec104_netmcu/stub/task.h", + "class": "fp" + }, + { + "path": "test/host/iec104_netmcu/stub_iec104_netmcu.c", + "class": "fp" + }, + { + "path": "test/host/iec104_netmcu/stub_iec104_netmcu.h", + "class": "fp" + }, + { + "path": "test/host/iec104_serv/iec104_serv_test.c", + "class": "fp" + }, + { + "path": "test/host/iec104_serv/stub/cmsis_os2.h", + "class": "fp" + }, + { + "path": "test/host/iec104_serv/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/iec104_serv/stub/iec104_comm.h", + "class": "fp" + }, + { + "path": "test/host/iec104_serv/stub/net_socket.h", + "class": "fp" + }, + { + "path": "test/host/iec104_serv/stub/sys_events.h", + "class": "fp" + }, + { + "path": "test/host/ioboard/ioboard_test.c", + "class": "fp" + }, + { + "path": "test/host/lftpd/lftpd_test.c", + "class": "fp" + }, + { + "path": "test/host/lftpd/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/lftpd/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/lftpd/stub/net_socket.h", + "class": "fp" + }, + { + "path": "test/host/lftpd/stub/task.h", + "class": "fp" + }, + { + "path": "test/host/lftpd_inet/lftpd_inet_test.c", + "class": "fp" + }, + { + "path": "test/host/lftpd_inet/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/lftpd_inet/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/lftpd_inet/stub/net_socket.h", + "class": "fp" + }, + { + "path": "test/host/lftpd_inet/stub/task.h", + "class": "fp" + }, + { + "path": "test/host/lftpd_io/lftpd_io_test.c", + "class": "fp" + }, + { + "path": "test/host/lftpd_io/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/lftpd_io/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/meas/meas_test.c", + "class": "fp" + }, + { + "path": "test/host/nand_port/nand_port_test.c", + "class": "fp" + }, + { + "path": "test/host/nand_port/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/nand_port/stub/gd5f2gq5ue.h", + "class": "fp" + }, + { + "path": "test/host/net_cfg/net_cfg_test.c", + "class": "fp" + }, + { + "path": "test/host/net_cfg/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/net_events/net_events_test.c", + "class": "fp" + }, + { + "path": "test/host/net_events/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/net_events/stub/ch395f.h", + "class": "fp" + }, + { + "path": "test/host/net_events/stub/cmsis_os.h", + "class": "fp" + }, + { + "path": "test/host/net_events/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/net_events/stub/main.h", + "class": "fp" + }, + { + "path": "test/host/net_events/stub/net_latency_test.h", + "class": "fp" + }, + { + "path": "test/host/net_events/stub/net_socket.h", + "class": "fp" + }, + { + "path": "test/host/net_events/stub/task.h", + "class": "fp" + }, + { + "path": "test/host/net_events/stub/test_config.h", + "class": "fp" + }, + { + "path": "test/host/net_listener/net_listener_test.c", + "class": "fp" + }, + { + "path": "test/host/net_listener/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/net_listener/stub/ch395f.h", + "class": "fp" + }, + { + "path": "test/host/net_listener/stub/cmsis_os.h", + "class": "fp" + }, + { + "path": "test/host/net_listener/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/net_listener/stub/main.h", + "class": "fp" + }, + { + "path": "test/host/net_listener/stub/net_latency_test.h", + "class": "fp" + }, + { + "path": "test/host/net_listener/stub/net_socket.h", + "class": "fp" + }, + { + "path": "test/host/net_listener/stub/task.h", + "class": "fp" + }, + { + "path": "test/host/net_listener/stub/test_config.h", + "class": "fp" + }, + { + "path": "test/host/net_pending/net_pending_test.c", + "class": "fp" + }, + { + "path": "test/host/net_pending/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/net_pending/stub/ch395f.h", + "class": "fp" + }, + { + "path": "test/host/net_pending/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/net_pending/stub/main.h", + "class": "fp" + }, + { + "path": "test/host/net_pending/stub/net_socket.h", + "class": "fp" + }, + { + "path": "test/host/net_pending/stub/task.h", + "class": "fp" + }, + { + "path": "test/host/net_select/net_select_test.c", + "class": "fp" + }, + { + "path": "test/host/net_select/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/net_select/stub/ch395f.h", + "class": "fp" + }, + { + "path": "test/host/net_select/stub/cmsis_os.h", + "class": "fp" + }, + { + "path": "test/host/net_select/stub/main.h", + "class": "fp" + }, + { + "path": "test/host/net_select/stub/net_socket.h", + "class": "fp" + }, + { + "path": "test/host/net_select/stub/task.h", + "class": "fp" + }, + { + "path": "test/host/net_socket/net_socket_test.c", + "class": "fp" + }, + { + "path": "test/host/net_socket/ns_peers.c", + "class": "fp" + }, + { + "path": "test/host/net_socket/ns_peers.h", + "class": "fp" + }, + { + "path": "test/host/net_socket/ns_rtos.c", + "class": "fp" + }, + { + "path": "test/host/net_socket/ns_s3_msg.c", + "class": "fp" + }, + { + "path": "test/host/net_socket/ns_s4_state.c", + "class": "fp" + }, + { + "path": "test/host/net_socket/ns_s5_io.c", + "class": "fp" + }, + { + "path": "test/host/net_socket/ns_s6_edges.c", + "class": "fp" + }, + { + "path": "test/host/net_socket/ns_s7_udp.c", + "class": "fp" + }, + { + "path": "test/host/net_socket/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/net_socket/stub/ch395f.h", + "class": "fp" + }, + { + "path": "test/host/net_socket/stub/cmsis_os.h", + "class": "fp" + }, + { + "path": "test/host/net_socket/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/net_socket/stub/main.h", + "class": "fp" + }, + { + "path": "test/host/net_socket/stub/net_latency_test.h", + "class": "fp" + }, + { + "path": "test/host/net_socket/stub/ns_rtos.h", + "class": "fp" + }, + { + "path": "test/host/net_socket/stub/task.h", + "class": "fp" + }, + { + "path": "test/host/net_socket/stub/test_config.h", "class": "fp" }, { "path": "test/host/phasor/phasor_test.c", "class": "fp" }, + { + "path": "test/host/prot_dim/prot_dim_test.c", + "class": "fp" + }, + { + "path": "test/host/prot_dim/stub/dbg_log.h", + "class": "fp" + }, { "path": "test/host/prot_elm/prot_elm_test.c", "class": "fp" @@ -5841,14 +7753,106 @@ "path": "test/host/prot_set/prot_set_test.c", "class": "fp" }, + { + "path": "test/host/prot_set_store/prot_set_store_test.c", + "class": "fp" + }, + { + "path": "test/host/prot_set_store/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/run_par/run_par_test.c", + "class": "fp" + }, + { + "path": "test/host/run_par/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/sb_led_map/sb_led_map_test.c", + "class": "fp" + }, + { + "path": "test/host/sb_link/sb_link_test.c", + "class": "fp" + }, + { + "path": "test/host/sb_link/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/sb_link/stub/main.h", + "class": "fp" + }, + { + "path": "test/host/sb_proto/sb_proto_test.c", + "class": "fp" + }, { "path": "test/host/sha256/sha256_test.c", "class": "fp" }, + { + "path": "test/host/sntp/sntp_test.c", + "class": "fp" + }, + { + "path": "test/host/sntp/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/sntp/stub/cmsis_os2.h", + "class": "fp" + }, + { + "path": "test/host/sntp/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/sntp/stub/net_socket.h", + "class": "fp" + }, + { + "path": "test/host/sntp/stub/net_types.h", + "class": "fp" + }, + { + "path": "test/host/sntp/stub/sys_clock.h", + "class": "fp" + }, + { + "path": "test/host/sntp/stub/sys_events.h", + "class": "fp" + }, + { + "path": "test/host/sntp/stub/sys_log.h", + "class": "fp" + }, + { + "path": "test/host/sntp/stub/task.h", + "class": "fp" + }, { "path": "test/host/soe/soe_test.c", "class": "fp" }, + { + "path": "test/host/soe_store/soe_store_test.c", + "class": "fp" + }, + { + "path": "test/host/soe_store/stub/cmsis_os.h", + "class": "fp" + }, + { + "path": "test/host/soe_store/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/soe_store/stub/main.h", + "class": "fp" + }, { "path": "test/host/sys_clock/stub/FreeRTOS.h", "class": "fp" @@ -5869,6 +7873,30 @@ "path": "test/host/sys_clock/sys_clock_test.c", "class": "fp" }, + { + "path": "test/host/sys_log_mcu/stub/cmsis_os.h", + "class": "fp" + }, + { + "path": "test/host/sys_log_mcu/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/sys_log_mcu/stub/main.h", + "class": "fp" + }, + { + "path": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "class": "fp" + }, + { + "path": "test/host/task_prof/stub/main.h", + "class": "fp" + }, + { + "path": "test/host/task_prof/task_prof_test.c", + "class": "fp" + }, { "path": "test/host/time_sync/stub/FreeRTOS.h", "class": "fp" @@ -5877,18 +7905,10 @@ "path": "test/host/time_sync/stub/cmsis_os2.h", "class": "fp" }, - { - "path": "test/host/time_sync/stub/dbg_log.h", - "class": "fp" - }, { "path": "test/host/time_sync/stub/net_socket.h", "class": "fp" }, - { - "path": "test/host/time_sync/stub/sys_clock.h", - "class": "fp" - }, { "path": "test/host/time_sync/stub/sys_events.h", "class": "fp" @@ -5901,6 +7921,70 @@ "path": "test/host/time_sync/time_sync_test.c", "class": "fp" }, + { + "path": "test/host/ui_data/ui_data_test.c", + "class": "fp" + }, + { + "path": "test/host/ui_sink/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/ui_sink/stub/lvgl.h", + "class": "fp" + }, + { + "path": "test/host/ui_sink/stub/net_latency_test.h", + "class": "fp" + }, + { + "path": "test/host/ui_sink/stub/net_socket.h", + "class": "fp" + }, + { + "path": "test/host/ui_sink/stub/net_types.h", + "class": "fp" + }, + { + "path": "test/host/ui_sink/stub/test_config.h", + "class": "fp" + }, + { + "path": "test/host/ui_sink/stub/ui_port.h", + "class": "fp" + }, + { + "path": "test/host/ui_sink/ui_sink_test.c", + "class": "fp" + }, + { + "path": "test/host/vol_idle_sync/stub/FreeRTOS.h", + "class": "fp" + }, + { + "path": "test/host/vol_idle_sync/stub/cmsis_os.h", + "class": "fp" + }, + { + "path": "test/host/vol_idle_sync/stub/cmsis_os2.h", + "class": "fp" + }, + { + "path": "test/host/vol_idle_sync/stub/dbg_log.h", + "class": "fp" + }, + { + "path": "test/host/vol_idle_sync/stub/task.h", + "class": "fp" + }, + { + "path": "test/host/vol_idle_sync/stub/test_config.h", + "class": "fp" + }, + { + "path": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "class": "fp" + }, { "path": "test/host/vol_lock/stub/cmsis_os.h", "class": "fp" @@ -5925,18 +8009,78 @@ "path": "test/host/watchdog/watchdog_test.c", "class": "fp" }, + { + "path": "test/host/wave_ring/wave_ring_test.c", + "class": "fp" + }, + { + "path": "test/host/wave_store/wave_store_test.c", + "class": "fp" + }, + { + "path": "test/host/wave_trig/wave_trig_test.c", + "class": "fp" + }, { "path": "外部/系统头文件", "class": "ext" } ], "edges": [ + { + "from": "App/algo/adc_cal.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/algo/adc_cal.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/algo/adc_cal.c", + "to": "App/algo/adc_cal.h", + "kind": "fp-fp", + "include": "adc_cal.h" + }, + { + "from": "App/algo/adc_cal.c", + "to": "App/cfg/cfg_file.h", + "kind": "fp-fp", + "include": "cfg_file.h" + }, + { + "from": "App/algo/adc_cal.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "App/algo/adc_cal.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/algo/adc_cal.h", + "to": "App/algo/adc_input.h", + "kind": "fp-fp", + "include": "adc_input.h" + }, { "from": "App/algo/adc_health.c", "to": "App/algo/adc_health.h", "kind": "fp-fp", "include": "adc_health.h" }, + { + "from": "App/algo/adc_health.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, { "from": "App/algo/adc_health.h", "to": "外部/系统头文件", @@ -6003,6 +8147,42 @@ "kind": "fp-ext", "include": "stdint.h" }, + { + "from": "App/algo/meas.c", + "to": "App/algo/meas.h", + "kind": "fp-fp", + "include": "meas.h" + }, + { + "from": "App/algo/meas.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/algo/meas.c", + "to": "App/algo/phasor.h", + "kind": "fp-fp", + "include": "phasor.h" + }, + { + "from": "App/algo/meas.c", + "to": "App/algo/sample_ring.h", + "kind": "fp-fp", + "include": "sample_ring.h" + }, + { + "from": "App/algo/meas.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/algo/meas.h", + "to": "App/algo/adc_input.h", + "kind": "fp-fp", + "include": "adc_input.h" + }, { "from": "App/algo/phasor.c", "to": "App/algo/phasor.h", @@ -6093,6 +8273,60 @@ "kind": "fp-ext", "include": "stdint.h" }, + { + "from": "App/algo/run_par.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "math.h" + }, + { + "from": "App/algo/run_par.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/algo/run_par.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/algo/run_par.c", + "to": "App/algo/run_par.h", + "kind": "fp-fp", + "include": "run_par.h" + }, + { + "from": "App/algo/run_par.c", + "to": "App/algo/adc_cal.h", + "kind": "fp-fp", + "include": "adc_cal.h" + }, + { + "from": "App/algo/run_par.c", + "to": "App/cfg/cfg_file.h", + "kind": "fp-fp", + "include": "cfg_file.h" + }, + { + "from": "App/algo/run_par.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "App/algo/run_par.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/algo/run_par.h", + "to": "App/algo/adc_cal.h", + "kind": "fp-fp", + "include": "adc_cal.h" + }, { "from": "App/algo/sample_ring.c", "to": "App/algo/sample_ring.h", @@ -6117,18 +8351,72 @@ "kind": "fp-fp", "include": "adc_input.h" }, + { + "from": "App/algo/sb_led_map.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/algo/sb_led_map.c", + "to": "App/algo/sb_led_map.h", + "kind": "fp-fp", + "include": "sb_led_map.h" + }, + { + "from": "App/algo/sb_led_map.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/algo/wave_ring.c", + "to": "App/algo/wave_ring.h", + "kind": "fp-fp", + "include": "wave_ring.h" + }, + { + "from": "App/algo/wave_ring.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/algo/wave_ring.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/algo/wave_ring.h", + "to": "App/algo/wave_store.h", + "kind": "fp-fp", + "include": "wave_store.h" + }, + { + "from": "App/algo/wave_store.c", + "to": "App/algo/wave_store.h", + "kind": "fp-fp", + "include": "wave_store.h" + }, + { + "from": "App/algo/wave_store.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/algo/wave_store.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, { "from": "App/app/app_main.c", "to": "App/app/app_main.h", "kind": "fp-fp", "include": "app_main.h" }, - { - "from": "App/app/app_main.c", - "to": "App/app/app_cfg.h", - "kind": "fp-fp", - "include": "app_cfg.h" - }, { "from": "App/app/app_main.c", "to": "Inc/main.h", @@ -6153,18 +8441,36 @@ "kind": "fp-fp", "include": "tim.h" }, + { + "from": "App/app/app_main.c", + "to": "Inc/adc.h", + "kind": "fp-fp", + "include": "adc.h" + }, { "from": "App/app/app_main.c", "to": "Drivers/BSP/RS485/rs485.h", "kind": "fp-fp", "include": "rs485.h" }, + { + "from": "App/app/app_main.c", + "to": "Drivers/BSP/ScreenLink/sb_link.h", + "kind": "fp-fp", + "include": "sb_link.h" + }, { "from": "App/app/app_main.c", "to": "Drivers/BSP/SD2506/sd2506.h", "kind": "fp-fp", "include": "sd2506.h" }, + { + "from": "App/app/app_main.c", + "to": "App/util/boot_stats.h", + "kind": "fp-fp", + "include": "boot_stats.h" + }, { "from": "App/app/app_main.c", "to": "App/util/sys_clock.h", @@ -6189,6 +8495,24 @@ "kind": "fp-fp", "include": "adc_input.h" }, + { + "from": "App/app/app_main.c", + "to": "App/algo/adc_cal.h", + "kind": "fp-fp", + "include": "adc_cal.h" + }, + { + "from": "App/app/app_main.c", + "to": "App/algo/run_par.h", + "kind": "fp-fp", + "include": "run_par.h" + }, + { + "from": "App/app/app_main.c", + "to": "App/iec60870/104/iec104_comm.h", + "kind": "fp-fp", + "include": "iec104_comm.h" + }, { "from": "App/app/app_main.c", "to": "App/algo/phasor.h", @@ -6249,6 +8573,132 @@ "kind": "fp-tp", "include": "cmsis_os2.h" }, + { + "from": "App/app/ui_data_feed.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h", + "kind": "fp-tp", + "include": "cmsis_os.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/util/boot_stats.h", + "kind": "fp-fp", + "include": "boot_stats.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/task/iec104_serv.h", + "kind": "fp-fp", + "include": "iec104_serv.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/app/ui_data_feed.h", + "kind": "fp-fp", + "include": "ui_data_feed.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "Drivers/BSP/UI/ui_net_sink.h", + "kind": "fp-fp", + "include": "ui_net_sink.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "Drivers/BSP/NETCFG/ftp_cfg.h", + "kind": "fp-fp", + "include": "ftp_cfg.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "Drivers/BSP/IOBOARD/ioboard.h", + "kind": "fp-fp", + "include": "ioboard.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/algo/adc_input.h", + "kind": "fp-fp", + "include": "adc_input.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/algo/adc_cal.h", + "kind": "fp-fp", + "include": "adc_cal.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/algo/run_par.h", + "kind": "fp-fp", + "include": "run_par.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/algo/phasor.h", + "kind": "fp-fp", + "include": "phasor.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/algo/freq.h", + "kind": "fp-fp", + "include": "freq.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/algo/prot_elm.h", + "kind": "fp-fp", + "include": "prot_elm.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/algo/prot_set.h", + "kind": "fp-fp", + "include": "prot_set.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/util/sys_clock.h", + "kind": "fp-fp", + "include": "sys_clock.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/iec60870/104/iec104_comm.h", + "kind": "fp-fp", + "include": "iec104_comm.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/iec60870/104/iec104_dtu_table.h", + "kind": "fp-fp", + "include": "iec104_dtu_table.h" + }, + { + "from": "App/app/ui_data_feed.c", + "to": "App/util/ioboard_di.h", + "kind": "fp-fp", + "include": "ioboard_di.h" + }, { "from": "App/cfg/cfg_file.c", "to": "外部/系统头文件", @@ -6273,6 +8723,12 @@ "kind": "fp-ext", "include": "ctype.h" }, + { + "from": "App/cfg/cfg_file.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "errno.h" + }, { "from": "App/cfg/cfg_file.c", "to": "App/cfg/cfg_file.h", @@ -6381,6 +8837,66 @@ "kind": "fp-fp", "include": "prot_set.h" }, + { + "from": "App/fs/vol_idle_sync.c", + "to": "App/fs/vol_idle_sync.h", + "kind": "fp-fp", + "include": "vol_idle_sync.h" + }, + { + "from": "App/fs/vol_idle_sync.c", + "to": "test/board/test_config.h", + "kind": "fp-fp", + "include": "test_config.h" + }, + { + "from": "App/fs/vol_idle_sync.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h", + "kind": "fp-tp", + "include": "cmsis_os.h" + }, + { + "from": "App/fs/vol_idle_sync.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h", + "kind": "fp-tp", + "include": "FreeRTOS.h" + }, + { + "from": "App/fs/vol_idle_sync.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/task.h", + "kind": "fp-tp", + "include": "task.h" + }, + { + "from": "App/fs/vol_idle_sync.c", + "to": "Lib/FatFs/ff.h", + "kind": "fp-tp", + "include": "ff.h" + }, + { + "from": "App/fs/vol_idle_sync.c", + "to": "Lib/FatFs/diskio.h", + "kind": "fp-tp", + "include": "diskio.h" + }, + { + "from": "App/fs/vol_idle_sync.c", + "to": "App/fs/vol_lock.h", + "kind": "fp-fp", + "include": "vol_lock.h" + }, + { + "from": "App/fs/vol_idle_sync.c", + "to": "App/app/sys_events.h", + "kind": "fp-fp", + "include": "sys_events.h" + }, + { + "from": "App/fs/vol_idle_sync.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, { "from": "App/fs/vol_lock.c", "to": "App/fs/vol_lock.h", @@ -6399,6 +8915,1332 @@ "kind": "fp-ext", "include": "stdint.h" }, + { + "from": "App/iec60870/104/IEC104_AsduQueue.c", + "to": "App/iec60870/104/IEC104_AsduQueue.h", + "kind": "fp-fp", + "include": "IEC104_AsduQueue.h" + }, + { + "from": "App/iec60870/104/IEC104_AsduQueue.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/104/IEC104_AsduQueue.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/IEC104_AsduQueue.h", + "to": "App/iec60870/104/IEC104_Codec.h", + "kind": "fp-fp", + "include": "IEC104_Codec.h" + }, + { + "from": "App/iec60870/104/IEC104_AsduQueue.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdbool.h" + }, + { + "from": "App/iec60870/104/IEC104_Codec.c", + "to": "App/iec60870/104/IEC104_Codec.h", + "kind": "fp-fp", + "include": "IEC104_Codec.h" + }, + { + "from": "App/iec60870/104/IEC104_Codec.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/104/IEC104_Codec.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/IEC104_Codec.h", + "to": "App/iec60870/104/IEC104_Types.h", + "kind": "fp-fp", + "include": "IEC104_Types.h" + }, + { + "from": "App/iec60870/104/IEC104_Config_Internal.h", + "to": "App/iec60870/104/IEC104_TcpTypes.h", + "kind": "fp-fp", + "include": "IEC104_TcpTypes.h" + }, + { + "from": "App/iec60870/104/IEC104_Connection.c", + "to": "App/iec60870/104/IEC104_Connection.h", + "kind": "fp-fp", + "include": "IEC104_Connection.h" + }, + { + "from": "App/iec60870/104/IEC104_Connection.c", + "to": "App/iec60870/104/IEC104_Link_Slave_StartStop.h", + "kind": "fp-fp", + "include": "IEC104_Link_Slave_StartStop.h" + }, + { + "from": "App/iec60870/104/IEC104_Connection.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/IEC104_Connection.h", + "to": "App/iec60870/104/IEC104_Receiver.h", + "kind": "fp-fp", + "include": "IEC104_Receiver.h" + }, + { + "from": "App/iec60870/104/IEC104_Connection.h", + "to": "App/iec60870/104/IEC104_SendManager.h", + "kind": "fp-fp", + "include": "IEC104_SendManager.h" + }, + { + "from": "App/iec60870/104/IEC104_Link.c", + "to": "App/iec60870/104/IEC104_Link_Common.h", + "kind": "fp-fp", + "include": "IEC104_Link_Common.h" + }, + { + "from": "App/iec60870/104/IEC104_Link.c", + "to": "App/iec60870/104/IEC104_Link_Internal.h", + "kind": "fp-fp", + "include": "IEC104_Link_Internal.h" + }, + { + "from": "App/iec60870/104/IEC104_Link.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/104/IEC104_Link_Common.h", + "to": "App/iec60870/104/IEC104_Codec.h", + "kind": "fp-fp", + "include": "IEC104_Codec.h" + }, + { + "from": "App/iec60870/104/IEC104_Link_Internal.h", + "to": "App/iec60870/104/IEC104_Link_Common.h", + "kind": "fp-fp", + "include": "IEC104_Link_Common.h" + }, + { + "from": "App/iec60870/104/IEC104_Link_Slave_StartStop.c", + "to": "App/iec60870/104/IEC104_Link_Slave_StartStop.h", + "kind": "fp-fp", + "include": "IEC104_Link_Slave_StartStop.h" + }, + { + "from": "App/iec60870/104/IEC104_Link_Slave_StartStop.c", + "to": "App/iec60870/104/IEC104_Link_Internal.h", + "kind": "fp-fp", + "include": "IEC104_Link_Internal.h" + }, + { + "from": "App/iec60870/104/IEC104_Link_Slave_StartStop.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/104/IEC104_Link_Slave_StartStop.h", + "to": "App/iec60870/104/IEC104_Link_Common.h", + "kind": "fp-fp", + "include": "IEC104_Link_Common.h" + }, + { + "from": "App/iec60870/104/IEC104_Net.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/104/IEC104_Net.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/iec60870/104/IEC104_Net.h", + "to": "App/iec60870/common/IEC60870_StaticAssert.h", + "kind": "fp-fp", + "include": "../common/IEC60870_StaticAssert.h" + }, + { + "from": "App/iec60870/104/IEC104_Net_Windows.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/IEC104_Net_Windows.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "winsock2.h" + }, + { + "from": "App/iec60870/104/IEC104_Net_Windows.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "ws2tcpip.h" + }, + { + "from": "App/iec60870/104/IEC104_Net_Windows.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "windows.h" + }, + { + "from": "App/iec60870/104/IEC104_Net_Windows.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "limits.h" + }, + { + "from": "App/iec60870/104/IEC104_Net_Windows.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/IEC104_Receiver.c", + "to": "App/iec60870/104/IEC104_Receiver.h", + "kind": "fp-fp", + "include": "IEC104_Receiver.h" + }, + { + "from": "App/iec60870/104/IEC104_Receiver.c", + "to": "App/iec60870/common/IEC60870_Codec.h", + "kind": "fp-fp", + "include": "IEC60870_Codec.h" + }, + { + "from": "App/iec60870/104/IEC104_Receiver.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/104/IEC104_Receiver.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/IEC104_Receiver.h", + "to": "App/iec60870/104/IEC104_Codec.h", + "kind": "fp-fp", + "include": "IEC104_Codec.h" + }, + { + "from": "App/iec60870/104/IEC104_SendBuffer.c", + "to": "App/iec60870/104/IEC104_SendBuffer.h", + "kind": "fp-fp", + "include": "IEC104_SendBuffer.h" + }, + { + "from": "App/iec60870/104/IEC104_SendBuffer.c", + "to": "App/iec60870/104/IEC104_Codec.h", + "kind": "fp-fp", + "include": "IEC104_Codec.h" + }, + { + "from": "App/iec60870/104/IEC104_SendBuffer.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/104/IEC104_SendBuffer.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/IEC104_SendBuffer.h", + "to": "App/iec60870/104/IEC104_Link_Common.h", + "kind": "fp-fp", + "include": "IEC104_Link_Common.h" + }, + { + "from": "App/iec60870/104/IEC104_SendManager.c", + "to": "App/iec60870/104/IEC104_SendManager.h", + "kind": "fp-fp", + "include": "IEC104_SendManager.h" + }, + { + "from": "App/iec60870/104/IEC104_SendManager.c", + "to": "App/iec60870/104/IEC104_Link_Slave_StartStop.h", + "kind": "fp-fp", + "include": "IEC104_Link_Slave_StartStop.h" + }, + { + "from": "App/iec60870/104/IEC104_SendManager.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/104/IEC104_SendManager.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/IEC104_SendManager.h", + "to": "App/iec60870/104/IEC104_AsduQueue.h", + "kind": "fp-fp", + "include": "IEC104_AsduQueue.h" + }, + { + "from": "App/iec60870/104/IEC104_SendManager.h", + "to": "App/iec60870/104/IEC104_SendBuffer.h", + "kind": "fp-fp", + "include": "IEC104_SendBuffer.h" + }, + { + "from": "App/iec60870/104/IEC104_Slave.c", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "fp-fp", + "include": "IEC104_Slave.h" + }, + { + "from": "App/iec60870/104/IEC104_Slave.c", + "to": "App/iec60870/104/IEC104_TcpServer.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer.h" + }, + { + "from": "App/iec60870/104/IEC104_Slave.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "App/iec60870/104/IEC104_Slave.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/IEC104_Slave.h", + "to": "App/iec60870/common/IEC60870_Slave.h", + "kind": "fp-fp", + "include": "IEC60870_Slave.h" + }, + { + "from": "App/iec60870/104/IEC104_Slave.h", + "to": "App/iec60870/104/IEC104_TcpTypes.h", + "kind": "fp-fp", + "include": "IEC104_TcpTypes.h" + }, + { + "from": "App/iec60870/104/IEC104_TcpServer.c", + "to": "App/iec60870/104/IEC104_TcpServer.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer.h" + }, + { + "from": "App/iec60870/104/IEC104_TcpServer.c", + "to": "App/iec60870/104/IEC104_Config_Internal.h", + "kind": "fp-fp", + "include": "IEC104_Config_Internal.h" + }, + { + "from": "App/iec60870/104/IEC104_TcpServer.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "App/iec60870/104/IEC104_TcpServer.c", + "to": "App/iec60870/104/IEC104_Connection.h", + "kind": "fp-fp", + "include": "IEC104_Connection.h" + }, + { + "from": "App/iec60870/104/IEC104_TcpServer.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/IEC104_TcpServer.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/104/IEC104_TcpServer.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/IEC104_TcpServer.h", + "to": "App/iec60870/104/IEC104_TcpTypes.h", + "kind": "fp-fp", + "include": "IEC104_TcpTypes.h" + }, + { + "from": "App/iec60870/104/IEC104_TcpServer.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdbool.h" + }, + { + "from": "App/iec60870/104/IEC104_TcpTypes.h", + "to": "App/iec60870/104/IEC104_Types.h", + "kind": "fp-fp", + "include": "IEC104_Types.h" + }, + { + "from": "App/iec60870/104/IEC104_Types.h", + "to": "App/iec60870/common/IEC60870_Types.h", + "kind": "fp-fp", + "include": "IEC60870_Types.h" + }, + { + "from": "App/iec60870/104/iec104_comm.c", + "to": "App/iec60870/104/iec104_comm.h", + "kind": "fp-fp", + "include": "iec104_comm.h" + }, + { + "from": "App/iec60870/104/iec104_comm.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/iec104_comm.c", + "to": "App/cfg/cfg_file.h", + "kind": "fp-fp", + "include": "cfg_file.h" + }, + { + "from": "App/iec60870/104/iec104_comm.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/iec60870/104/iec104_core.c", + "to": "App/iec60870/104/iec104_core.h", + "kind": "fp-fp", + "include": "iec104_core.h" + }, + { + "from": "App/iec60870/104/iec104_core.c", + "to": "App/iec60870/104/iec104_source.h", + "kind": "fp-fp", + "include": "iec104_source.h" + }, + { + "from": "App/iec60870/104/iec104_core.c", + "to": "App/iec60870/104/business/IEC104_Startup.h", + "kind": "fp-fp", + "include": "IEC104_Startup.h" + }, + { + "from": "App/iec60870/104/iec104_core.c", + "to": "App/iec60870/104/business/IEC104_GeneralInterrogation.h", + "kind": "fp-fp", + "include": "IEC104_GeneralInterrogation.h" + }, + { + "from": "App/iec60870/104/iec104_core.c", + "to": "App/iec60870/104/business/IEC104_CounterInterrogation.h", + "kind": "fp-fp", + "include": "IEC104_CounterInterrogation.h" + }, + { + "from": "App/iec60870/104/iec104_core.c", + "to": "App/iec60870/104/business/IEC104_Read.h", + "kind": "fp-fp", + "include": "IEC104_Read.h" + }, + { + "from": "App/iec60870/104/iec104_core.c", + "to": "App/iec60870/104/business/IEC104_PeriodicScan.h", + "kind": "fp-fp", + "include": "IEC104_PeriodicScan.h" + }, + { + "from": "App/iec60870/104/iec104_core.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/iec104_core.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/iec104_core.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/iec60870/104/iec104_dtu_table.c", + "to": "App/iec60870/104/iec104_dtu_table.h", + "kind": "fp-fp", + "include": "iec104_dtu_table.h" + }, + { + "from": "App/iec60870/104/iec104_dtu_table.c", + "to": "App/iec60870/examples/iec104_dtu_profile.h", + "kind": "fp-fp", + "include": "iec104_dtu_profile.h" + }, + { + "from": "App/iec60870/104/iec104_dtu_table.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/iec104_dtu_table.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdbool.h" + }, + { + "from": "App/iec60870/104/iec104_dtu_table.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/104/iec104_dtu_table.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/iec60870/104/iec104_net_mcu.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/iec104_net_mcu.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "App/iec60870/104/iec104_net_mcu.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/iec104_net_mcu.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/iec60870/104/iec104_net_mcu.h", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/iec104_source.c", + "to": "App/iec60870/104/iec104_source.h", + "kind": "fp-fp", + "include": "iec104_source.h" + }, + { + "from": "App/iec60870/104/iec104_source.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/iec104_source.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "App/iec60870/104/iec104_source.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "float.h" + }, + { + "from": "App/iec60870/104/iec104_source.c", + "to": "App/iec60870/104/iec104_source_ranks.h", + "kind": "fp-fp", + "include": "iec104_source_ranks.h" + }, + { + "from": "App/iec60870/104/iec104_source.h", + "to": "App/iec60870/104/iec104_dtu_table.h", + "kind": "fp-fp", + "include": "iec104_dtu_table.h" + }, + { + "from": "App/iec60870/104/iec104_source.h", + "to": "App/iec60870/104/business/IEC104_Command.h", + "kind": "fp-fp", + "include": "IEC104_Command.h" + }, + { + "from": "App/iec60870/104/iec104_source.h", + "to": "App/iec60870/104/business/IEC104_RemoteParameter.h", + "kind": "fp-fp", + "include": "IEC104_RemoteParameter.h" + }, + { + "from": "App/iec60870/104/iec104_source.h", + "to": "App/iec60870/104/business/IEC104_Parameter.h", + "kind": "fp-fp", + "include": "IEC104_Parameter.h" + }, + { + "from": "App/iec60870/104/iec104_source.h", + "to": "App/iec60870/104/business/IEC104_ClockSynchronization.h", + "kind": "fp-fp", + "include": "IEC104_ClockSynchronization.h" + }, + { + "from": "App/iec60870/104/iec104_source_ranks.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h", + "to": "App/iec60870/104/business/IEC104_SystemCommand.h", + "kind": "fp-fp", + "include": "IEC104_SystemCommand.h" + }, + { + "from": "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h", + "to": "App/iec60870/104/business/IEC104_Interrogation.h", + "kind": "fp-fp", + "include": "IEC104_Interrogation.h" + }, + { + "from": "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h", + "to": "App/iec60870/104/business/IEC104_Spontaneous.h", + "kind": "fp-fp", + "include": "IEC104_Spontaneous.h" + }, + { + "from": "App/iec60870/104/business/IEC104_ClockSynchronization.c", + "to": "App/iec60870/104/business/IEC104_ClockSynchronization.h", + "kind": "fp-fp", + "include": "IEC104_ClockSynchronization.h" + }, + { + "from": "App/iec60870/104/business/IEC104_ClockSynchronization.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "App/iec60870/104/business/IEC104_ClockSynchronization.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/business/IEC104_ClockSynchronization.c", + "to": "App/iec60870/common/IEC60870_Codec.h", + "kind": "fp-fp", + "include": "IEC60870_Codec.h" + }, + { + "from": "App/iec60870/104/business/IEC104_ClockSynchronization.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/business/IEC104_ClockSynchronization.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "fp-fp", + "include": "IEC104_Slave.h" + }, + { + "from": "App/iec60870/104/business/IEC104_ClockSynchronization.h", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "fp-fp", + "include": "IEC60870_Time.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Command.c", + "to": "App/iec60870/104/business/IEC104_Command.h", + "kind": "fp-fp", + "include": "IEC104_Command.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Command.c", + "to": "App/iec60870/104/IEC104_AsduQueue.h", + "kind": "fp-fp", + "include": "IEC104_AsduQueue.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Command.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Command.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Command.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "math.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Command.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Command.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "fp-fp", + "include": "IEC104_Slave.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Command.h", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "fp-fp", + "include": "IEC60870_Time.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Command.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/104/business/IEC104_CounterInterrogation.c", + "to": "App/iec60870/104/business/IEC104_CounterInterrogation.h", + "kind": "fp-fp", + "include": "IEC104_CounterInterrogation.h" + }, + { + "from": "App/iec60870/104/business/IEC104_CounterInterrogation.c", + "to": "App/iec60870/104/business/IEC104_Interrogation_Internal.h", + "kind": "fp-fp", + "include": "IEC104_Interrogation_Internal.h" + }, + { + "from": "App/iec60870/104/business/IEC104_CounterInterrogation.h", + "to": "App/iec60870/104/business/IEC104_Interrogation.h", + "kind": "fp-fp", + "include": "IEC104_Interrogation.h" + }, + { + "from": "App/iec60870/104/business/IEC104_GeneralInterrogation.c", + "to": "App/iec60870/104/business/IEC104_GeneralInterrogation.h", + "kind": "fp-fp", + "include": "IEC104_GeneralInterrogation.h" + }, + { + "from": "App/iec60870/104/business/IEC104_GeneralInterrogation.c", + "to": "App/iec60870/104/business/IEC104_Interrogation_Internal.h", + "kind": "fp-fp", + "include": "IEC104_Interrogation_Internal.h" + }, + { + "from": "App/iec60870/104/business/IEC104_GeneralInterrogation.h", + "to": "App/iec60870/104/business/IEC104_Interrogation.h", + "kind": "fp-fp", + "include": "IEC104_Interrogation.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Interrogation.c", + "to": "App/iec60870/104/business/IEC104_Interrogation_Internal.h", + "kind": "fp-fp", + "include": "IEC104_Interrogation_Internal.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Interrogation.c", + "to": "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h", + "kind": "fp-fp", + "include": "IEC104_BusinessConfig_Internal.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Interrogation.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Interrogation.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Interrogation.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Interrogation.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "fp-fp", + "include": "IEC104_Slave.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Interrogation_Internal.h", + "to": "App/iec60870/104/business/IEC104_Interrogation.h", + "kind": "fp-fp", + "include": "IEC104_Interrogation.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Parameter.c", + "to": "App/iec60870/104/business/IEC104_Parameter.h", + "kind": "fp-fp", + "include": "IEC104_Parameter.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Parameter.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Parameter.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Parameter.c", + "to": "App/iec60870/common/IEC60870_Codec.h", + "kind": "fp-fp", + "include": "IEC60870_Codec.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Parameter.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Parameter.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "fp-fp", + "include": "IEC104_Slave.h" + }, + { + "from": "App/iec60870/104/business/IEC104_PeriodicScan.c", + "to": "App/iec60870/104/business/IEC104_PeriodicScan.h", + "kind": "fp-fp", + "include": "IEC104_PeriodicScan.h" + }, + { + "from": "App/iec60870/104/business/IEC104_PeriodicScan.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "App/iec60870/104/business/IEC104_PeriodicScan.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/business/IEC104_PeriodicScan.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/business/IEC104_PeriodicScan.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "fp-fp", + "include": "IEC104_Slave.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Read.c", + "to": "App/iec60870/104/business/IEC104_Read.h", + "kind": "fp-fp", + "include": "IEC104_Read.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Read.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Read.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Read.c", + "to": "App/iec60870/104/IEC104_AsduQueue.h", + "kind": "fp-fp", + "include": "IEC104_AsduQueue.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Read.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Read.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "fp-fp", + "include": "IEC104_Slave.h" + }, + { + "from": "App/iec60870/104/business/IEC104_RemoteParameter.c", + "to": "App/iec60870/104/business/IEC104_RemoteParameter.h", + "kind": "fp-fp", + "include": "IEC104_RemoteParameter.h" + }, + { + "from": "App/iec60870/104/business/IEC104_RemoteParameter.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "App/iec60870/104/business/IEC104_RemoteParameter.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/business/IEC104_RemoteParameter.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "float.h" + }, + { + "from": "App/iec60870/104/business/IEC104_RemoteParameter.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "limits.h" + }, + { + "from": "App/iec60870/104/business/IEC104_RemoteParameter.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/business/IEC104_RemoteParameter.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdbool.h" + }, + { + "from": "App/iec60870/104/business/IEC104_RemoteParameter.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/104/business/IEC104_RemoteParameter.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/iec60870/104/business/IEC104_RemoteParameter.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "fp-fp", + "include": "IEC104_Slave.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Spontaneous.c", + "to": "App/iec60870/104/business/IEC104_Spontaneous.h", + "kind": "fp-fp", + "include": "IEC104_Spontaneous.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Spontaneous.c", + "to": "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h", + "kind": "fp-fp", + "include": "IEC104_BusinessConfig_Internal.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Spontaneous.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Spontaneous.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Spontaneous.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Spontaneous.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "math.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Spontaneous.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "fp-fp", + "include": "IEC104_Slave.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Spontaneous.h", + "to": "App/iec60870/common/IEC60870_FaultEvent.h", + "kind": "fp-fp", + "include": "IEC60870_FaultEvent.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Startup.c", + "to": "App/iec60870/104/business/IEC104_Startup.h", + "kind": "fp-fp", + "include": "IEC104_Startup.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Startup.c", + "to": "App/iec60870/104/IEC104_Config_Internal.h", + "kind": "fp-fp", + "include": "IEC104_Config_Internal.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Startup.c", + "to": "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h", + "kind": "fp-fp", + "include": "IEC104_BusinessConfig_Internal.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Startup.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Startup.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "fp-fp", + "include": "IEC104_Slave.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Startup.h", + "to": "App/iec60870/104/business/IEC104_SystemCommand.h", + "kind": "fp-fp", + "include": "IEC104_SystemCommand.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Startup.h", + "to": "App/iec60870/104/business/IEC104_Interrogation.h", + "kind": "fp-fp", + "include": "IEC104_Interrogation.h" + }, + { + "from": "App/iec60870/104/business/IEC104_Startup.h", + "to": "App/iec60870/104/business/IEC104_Spontaneous.h", + "kind": "fp-fp", + "include": "IEC104_Spontaneous.h" + }, + { + "from": "App/iec60870/104/business/IEC104_SystemCommand.c", + "to": "App/iec60870/104/business/IEC104_SystemCommand.h", + "kind": "fp-fp", + "include": "IEC104_SystemCommand.h" + }, + { + "from": "App/iec60870/104/business/IEC104_SystemCommand.c", + "to": "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h", + "kind": "fp-fp", + "include": "IEC104_BusinessConfig_Internal.h" + }, + { + "from": "App/iec60870/104/business/IEC104_SystemCommand.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "fp-fp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "App/iec60870/104/business/IEC104_SystemCommand.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "App/iec60870/104/business/IEC104_SystemCommand.c", + "to": "App/iec60870/common/IEC60870_Codec.h", + "kind": "fp-fp", + "include": "IEC60870_Codec.h" + }, + { + "from": "App/iec60870/104/business/IEC104_SystemCommand.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/104/business/IEC104_SystemCommand.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "fp-fp", + "include": "IEC104_Slave.h" + }, + { + "from": "App/iec60870/common/IEC60870_Asdu.c", + "to": "App/iec60870/common/IEC60870_Asdu.h", + "kind": "fp-fp", + "include": "IEC60870_Asdu.h" + }, + { + "from": "App/iec60870/common/IEC60870_Asdu.c", + "to": "App/iec60870/common/IEC60870_InformationObjects_Internal.h", + "kind": "fp-fp", + "include": "IEC60870_InformationObjects_Internal.h" + }, + { + "from": "App/iec60870/common/IEC60870_Asdu.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/common/IEC60870_Asdu.h", + "to": "App/iec60870/common/IEC60870_Codec.h", + "kind": "fp-fp", + "include": "IEC60870_Codec.h" + }, + { + "from": "App/iec60870/common/IEC60870_Asdu.h", + "to": "App/iec60870/common/IEC60870_InformationObjects.h", + "kind": "fp-fp", + "include": "IEC60870_InformationObjects.h" + }, + { + "from": "App/iec60870/common/IEC60870_Codec.c", + "to": "App/iec60870/common/IEC60870_Codec.h", + "kind": "fp-fp", + "include": "IEC60870_Codec.h" + }, + { + "from": "App/iec60870/common/IEC60870_Codec.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/common/IEC60870_Codec.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/common/IEC60870_Codec.h", + "to": "App/iec60870/common/IEC60870_Types.h", + "kind": "fp-fp", + "include": "IEC60870_Types.h" + }, + { + "from": "App/iec60870/common/IEC60870_FaultEvent.c", + "to": "App/iec60870/common/IEC60870_FaultEvent.h", + "kind": "fp-fp", + "include": "IEC60870_FaultEvent.h" + }, + { + "from": "App/iec60870/common/IEC60870_FaultEvent.c", + "to": "App/iec60870/common/IEC60870_InformationObjects_Internal.h", + "kind": "fp-fp", + "include": "IEC60870_InformationObjects_Internal.h" + }, + { + "from": "App/iec60870/common/IEC60870_FaultEvent.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "float.h" + }, + { + "from": "App/iec60870/common/IEC60870_FaultEvent.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "math.h" + }, + { + "from": "App/iec60870/common/IEC60870_FaultEvent.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/common/IEC60870_FaultEvent.h", + "to": "App/iec60870/common/IEC60870_Asdu.h", + "kind": "fp-fp", + "include": "IEC60870_Asdu.h" + }, + { + "from": "App/iec60870/common/IEC60870_InformationObjects.c", + "to": "App/iec60870/common/IEC60870_InformationObjects_Internal.h", + "kind": "fp-fp", + "include": "IEC60870_InformationObjects_Internal.h" + }, + { + "from": "App/iec60870/common/IEC60870_InformationObjects.c", + "to": "App/iec60870/common/IEC60870_Codec.h", + "kind": "fp-fp", + "include": "IEC60870_Codec.h" + }, + { + "from": "App/iec60870/common/IEC60870_InformationObjects.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "float.h" + }, + { + "from": "App/iec60870/common/IEC60870_InformationObjects.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "limits.h" + }, + { + "from": "App/iec60870/common/IEC60870_InformationObjects.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/common/IEC60870_InformationObjects.h", + "to": "App/iec60870/common/IEC60870_Types.h", + "kind": "fp-fp", + "include": "IEC60870_Types.h" + }, + { + "from": "App/iec60870/common/IEC60870_InformationObjects.h", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "fp-fp", + "include": "IEC60870_Time.h" + }, + { + "from": "App/iec60870/common/IEC60870_InformationObjects.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/common/IEC60870_InformationObjects_Internal.h", + "to": "App/iec60870/common/IEC60870_InformationObjects.h", + "kind": "fp-fp", + "include": "IEC60870_InformationObjects.h" + }, + { + "from": "App/iec60870/common/IEC60870_Slave.c", + "to": "App/iec60870/common/IEC60870_Slave.h", + "kind": "fp-fp", + "include": "IEC60870_Slave.h" + }, + { + "from": "App/iec60870/common/IEC60870_Slave.h", + "to": "App/iec60870/common/IEC60870_Asdu.h", + "kind": "fp-fp", + "include": "IEC60870_Asdu.h" + }, + { + "from": "App/iec60870/common/IEC60870_Slave.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdbool.h" + }, + { + "from": "App/iec60870/common/IEC60870_Time.c", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "fp-fp", + "include": "IEC60870_Time.h" + }, + { + "from": "App/iec60870/common/IEC60870_Time.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/iec60870/common/IEC60870_Time.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "time.h" + }, + { + "from": "App/iec60870/common/IEC60870_Time.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/common/IEC60870_Time.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/iec60870/common/IEC60870_Types.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/iec60870/common/IEC60870_Types.h", + "to": "App/iec60870/common/IEC60870_StaticAssert.h", + "kind": "fp-fp", + "include": "IEC60870_StaticAssert.h" + }, + { + "from": "App/iec60870/examples/iec104_dtu_profile.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdbool.h" + }, + { + "from": "App/iec60870/examples/iec104_dtu_profile.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "App/iec60870/examples/iec104_dtu_profile.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, { "from": "App/log/console_log.c", "to": "App/log/console_log.h", @@ -6598,107 +10440,65 @@ "include": "vol_lock.h" }, { - "from": "App/protocol/iec104/iec104_asdu.c", - "to": "App/protocol/iec104/iec104_asdu.h", - "kind": "fp-fp", - "include": "iec104_asdu.h" - }, - { - "from": "App/protocol/iec104/iec104_asdu.c", + "from": "App/sync/time_sntp.c", "to": "外部/系统头文件", "kind": "fp-ext", "include": "string.h" }, { - "from": "App/protocol/iec104/iec104_asdu.h", + "from": "App/sync/time_sntp.c", + "to": "App/sync/time_sntp.h", + "kind": "fp-fp", + "include": "time_sntp.h" + }, + { + "from": "App/sync/time_sntp.c", + "to": "Lib/coreSNTP/include/core_sntp_serializer.h", + "kind": "fp-tp", + "include": "core_sntp_serializer.h" + }, + { + "from": "App/sync/time_sntp.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "App/sync/time_sntp.c", + "to": "Drivers/BSP/NETCFG/sntp_cfg.h", + "kind": "fp-fp", + "include": "sntp_cfg.h" + }, + { + "from": "App/sync/time_sntp.c", + "to": "App/util/sys_clock.h", + "kind": "fp-fp", + "include": "sys_clock.h" + }, + { + "from": "App/sync/time_sntp.c", + "to": "App/app/sys_events.h", + "kind": "fp-fp", + "include": "sys_events.h" + }, + { + "from": "App/sync/time_sntp.c", + "to": "App/log/sys_log.h", + "kind": "fp-fp", + "include": "sys_log.h" + }, + { + "from": "App/sync/time_sntp.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "App/sync/time_sntp.h", "to": "外部/系统头文件", "kind": "fp-ext", "include": "stdint.h" }, - { - "from": "App/protocol/iec104/iec104_link.c", - "to": "App/protocol/iec104/iec104_link.h", - "kind": "fp-fp", - "include": "iec104_link.h" - }, - { - "from": "App/protocol/iec104/iec104_link.c", - "to": "App/protocol/iec104/iec104_asdu.h", - "kind": "fp-fp", - "include": "iec104_asdu.h" - }, - { - "from": "App/protocol/iec104/iec104_link.c", - "to": "外部/系统头文件", - "kind": "fp-ext", - "include": "string.h" - }, - { - "from": "App/protocol/iec104/iec104_link.h", - "to": "外部/系统头文件", - "kind": "fp-ext", - "include": "stdint.h" - }, - { - "from": "App/protocol/iec104/iec104_link.h", - "to": "App/protocol/iec104/iec104_pts.h", - "kind": "fp-fp", - "include": "iec104_pts.h" - }, - { - "from": "App/protocol/iec104/iec104_pts.c", - "to": "App/protocol/iec104/iec104_pts.h", - "kind": "fp-fp", - "include": "iec104_pts.h" - }, - { - "from": "App/protocol/iec104/iec104_pts.c", - "to": "外部/系统头文件", - "kind": "fp-ext", - "include": "string.h" - }, - { - "from": "App/protocol/iec104/iec104_pts.c", - "to": "App/protocol/iec104/iec104_asdu.h", - "kind": "fp-fp", - "include": "iec104_asdu.h" - }, - { - "from": "App/protocol/iec104/iec104_pts.c", - "to": "App/algo/phasor.h", - "kind": "fp-fp", - "include": "phasor.h" - }, - { - "from": "App/protocol/iec104/iec104_pts.c", - "to": "App/algo/prot_elm.h", - "kind": "fp-fp", - "include": "prot_elm.h" - }, - { - "from": "App/protocol/iec104/iec104_pts.c", - "to": "App/algo/prot_set.h", - "kind": "fp-fp", - "include": "prot_set.h" - }, - { - "from": "App/protocol/iec104/iec104_pts.c", - "to": "App/algo/adc_input.h", - "kind": "fp-fp", - "include": "adc_input.h" - }, - { - "from": "App/protocol/iec104/iec104_pts.h", - "to": "外部/系统头文件", - "kind": "fp-ext", - "include": "stdint.h" - }, - { - "from": "App/sync/time_sync.c", - "to": "外部/系统头文件", - "kind": "fp-ext", - "include": "string.h" - }, { "from": "App/sync/time_sync.c", "to": "App/sync/time_sync.h", @@ -6707,15 +10507,15 @@ }, { "from": "App/sync/time_sync.c", - "to": "Drivers/BSP/NET/net_socket.h", + "to": "App/sync/time_sntp.h", "kind": "fp-fp", - "include": "net_socket.h" + "include": "time_sntp.h" }, { "from": "App/sync/time_sync.c", - "to": "App/util/sys_clock.h", + "to": "Drivers/BSP/NET/net_socket.h", "kind": "fp-fp", - "include": "sys_clock.h" + "include": "net_socket.h" }, { "from": "App/sync/time_sync.c", @@ -6729,12 +10529,6 @@ "kind": "fp-fp", "include": "task_watchdog.h" }, - { - "from": "App/sync/time_sync.c", - "to": "Drivers/BSP/dbg_log.h", - "kind": "fp-fp", - "include": "dbg_log.h" - }, { "from": "App/sync/time_sync.h", "to": "外部/系统头文件", @@ -6753,6 +10547,12 @@ "kind": "fp-tp", "include": "cmsis_os.h" }, + { + "from": "App/task/adc_task.c", + "to": "App/task/task_handles.h", + "kind": "fp-fp", + "include": "task_handles.h" + }, { "from": "App/task/adc_task.c", "to": "App/algo/adc_input.h", @@ -6783,6 +10583,18 @@ "kind": "fp-fp", "include": "adc_health.h" }, + { + "from": "App/task/adc_task.c", + "to": "App/algo/adc_cal.h", + "kind": "fp-fp", + "include": "adc_cal.h" + }, + { + "from": "App/task/adc_task.c", + "to": "App/algo/meas.h", + "kind": "fp-fp", + "include": "meas.h" + }, { "from": "App/task/adc_task.c", "to": "Drivers/BSP/TPAFE5160/tpafe5160.h", @@ -6813,6 +10625,18 @@ "kind": "fp-fp", "include": "task_prof.h" }, + { + "from": "App/task/adc_task.c", + "to": "App/algo/wave_ring.h", + "kind": "fp-fp", + "include": "wave_ring.h" + }, + { + "from": "App/task/adc_task.c", + "to": "App/util/sys_clock.h", + "kind": "fp-fp", + "include": "sys_clock.h" + }, { "from": "App/task/adc_task.c", "to": "Drivers/BSP/dbg_log.h", @@ -6867,6 +10691,12 @@ "kind": "fp-fp", "include": "nand_ftl.h" }, + { + "from": "App/task/default_task.c", + "to": "Drivers/BSP/bsp_err.h", + "kind": "fp-fp", + "include": "bsp_err.h" + }, { "from": "App/task/default_task.c", "to": "Drivers/BSP/NETCFG/net_cfg.h", @@ -6879,12 +10709,30 @@ "kind": "fp-fp", "include": "cfg_file.h" }, + { + "from": "App/task/default_task.c", + "to": "App/algo/run_par.h", + "kind": "fp-fp", + "include": "run_par.h" + }, { "from": "App/task/default_task.c", "to": "App/cfg/prot_set_store.h", "kind": "fp-fp", "include": "prot_set_store.h" }, + { + "from": "App/task/default_task.c", + "to": "App/algo/prot_set.h", + "kind": "fp-fp", + "include": "prot_set.h" + }, + { + "from": "App/task/default_task.c", + "to": "App/iec60870/104/iec104_comm.h", + "kind": "fp-fp", + "include": "iec104_comm.h" + }, { "from": "App/task/default_task.c", "to": "App/log/sys_log.h", @@ -6921,6 +10769,42 @@ "kind": "fp-fp", "include": "vol_lock.h" }, + { + "from": "App/task/default_task.c", + "to": "App/fs/vol_idle_sync.h", + "kind": "fp-fp", + "include": "vol_idle_sync.h" + }, + { + "from": "App/task/default_task.c", + "to": "App/algo/wave_ring.h", + "kind": "fp-fp", + "include": "wave_ring.h" + }, + { + "from": "App/task/default_task.c", + "to": "App/algo/wave_store.h", + "kind": "fp-fp", + "include": "wave_store.h" + }, + { + "from": "App/task/default_task.c", + "to": "App/task/task_handles.h", + "kind": "fp-fp", + "include": "task_handles.h" + }, + { + "from": "App/task/default_task.c", + "to": "Drivers/BSP/IOBOARD/ioboard.h", + "kind": "fp-fp", + "include": "ioboard.h" + }, + { + "from": "App/task/default_task.c", + "to": "App/util/ioboard_di.h", + "kind": "fp-fp", + "include": "ioboard_di.h" + }, { "from": "App/task/iec104_serv.c", "to": "App/task/iec104_serv.h", @@ -6929,15 +10813,45 @@ }, { "from": "App/task/iec104_serv.c", - "to": "App/protocol/iec104/iec104_link.h", + "to": "App/iec60870/104/iec104_comm.h", "kind": "fp-fp", - "include": "iec104_link.h" + "include": "iec104_comm.h" }, { "from": "App/task/iec104_serv.c", - "to": "App/protocol/iec104/iec104_pts.h", + "to": "App/iec60870/104/iec104_core.h", "kind": "fp-fp", - "include": "iec104_pts.h" + "include": "iec104_core.h" + }, + { + "from": "App/task/iec104_serv.c", + "to": "App/iec60870/104/iec104_source.h", + "kind": "fp-fp", + "include": "iec104_source.h" + }, + { + "from": "App/task/iec104_serv.c", + "to": "App/iec60870/104/iec104_net_mcu.h", + "kind": "fp-fp", + "include": "iec104_net_mcu.h" + }, + { + "from": "App/task/iec104_serv.c", + "to": "App/algo/meas.h", + "kind": "fp-fp", + "include": "meas.h" + }, + { + "from": "App/task/iec104_serv.c", + "to": "App/algo/adc_cal.h", + "kind": "fp-fp", + "include": "adc_cal.h" + }, + { + "from": "App/task/iec104_serv.c", + "to": "App/util/ioboard_di.h", + "kind": "fp-fp", + "include": "ioboard_di.h" }, { "from": "App/task/iec104_serv.c", @@ -6953,9 +10867,9 @@ }, { "from": "App/task/iec104_serv.c", - "to": "App/util/sys_clock.h", + "to": "App/algo/run_par.h", "kind": "fp-fp", - "include": "sys_clock.h" + "include": "run_par.h" }, { "from": "App/task/iec104_serv.c", @@ -6982,10 +10896,10 @@ "include": "cmsis_os2.h" }, { - "from": "App/task/iec104_serv.c", + "from": "App/task/iec104_serv.h", "to": "外部/系统头文件", "kind": "fp-ext", - "include": "string.h" + "include": "stdint.h" }, { "from": "App/task/net_task.c", @@ -7029,6 +10943,12 @@ "kind": "fp-fp", "include": "ch395f.h" }, + { + "from": "App/task/net_task.c", + "to": "App/task/iec104_serv.h", + "kind": "fp-fp", + "include": "iec104_serv.h" + }, { "from": "App/task/net_task.c", "to": "App/app/sys_events.h", @@ -7083,12 +11003,24 @@ "kind": "fp-fp", "include": "dbg_log.h" }, + { + "from": "App/task/protect_task.c", + "to": "App/algo/adc_input.h", + "kind": "fp-fp", + "include": "adc_input.h" + }, { "from": "App/task/protect_task.c", "to": "App/algo/adc_health.h", "kind": "fp-fp", "include": "adc_health.h" }, + { + "from": "App/task/protect_task.c", + "to": "App/algo/adc_cal.h", + "kind": "fp-fp", + "include": "adc_cal.h" + }, { "from": "App/task/protect_task.c", "to": "App/log/console_log.h", @@ -7113,12 +11045,30 @@ "kind": "fp-fp", "include": "soe_store.h" }, + { + "from": "App/task/protect_task.c", + "to": "App/log/sys_log.h", + "kind": "fp-fp", + "include": "sys_log.h" + }, + { + "from": "App/task/protect_task.c", + "to": "App/algo/wave_ring.h", + "kind": "fp-fp", + "include": "wave_ring.h" + }, { "from": "App/task/protect_task.c", "to": "App/util/task_watchdog.h", "kind": "fp-fp", "include": "task_watchdog.h" }, + { + "from": "App/task/protect_task.c", + "to": "Drivers/BSP/TPAFE5160/tpafe5160.h", + "kind": "fp-fp", + "include": "tpafe5160.h" + }, { "from": "App/task/rs485_task.c", "to": "App/task/rs485_task.h", @@ -7143,6 +11093,12 @@ "kind": "fp-fp", "include": "dbg_log.h" }, + { + "from": "App/task/task_handles.h", + "to": "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h", + "kind": "fp-tp", + "include": "cmsis_os.h" + }, { "from": "App/task/ui_task.c", "to": "App/task/ui_task.h", @@ -7191,12 +11147,84 @@ "kind": "fp-fp", "include": "ui_standby.h" }, + { + "from": "App/task/ui_task.c", + "to": "Drivers/BSP/UI/ui_w_records.h", + "kind": "fp-fp", + "include": "ui_w_records.h" + }, + { + "from": "App/task/ui_task.c", + "to": "Drivers/BSP/UI/ui_w_soe.h", + "kind": "fp-fp", + "include": "ui_w_soe.h" + }, + { + "from": "App/task/ui_task.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "App/task/ui_task.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "App/task/ui_task.c", + "to": "App/app/ui_data_feed.h", + "kind": "fp-fp", + "include": "ui_data_feed.h" + }, + { + "from": "App/task/ui_task.c", + "to": "App/log/sys_log.h", + "kind": "fp-fp", + "include": "sys_log.h" + }, + { + "from": "App/task/ui_task.c", + "to": "App/log/soe_store.h", + "kind": "fp-fp", + "include": "soe_store.h" + }, + { + "from": "App/task/ui_task.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, { "from": "App/task/ui_task.c", "to": "App/util/sys_clock.h", "kind": "fp-fp", "include": "sys_clock.h" }, + { + "from": "App/task/ui_task.c", + "to": "App/algo/prot_elm.h", + "kind": "fp-fp", + "include": "prot_elm.h" + }, + { + "from": "App/task/ui_task.c", + "to": "App/algo/adc_health.h", + "kind": "fp-fp", + "include": "adc_health.h" + }, + { + "from": "App/task/ui_task.c", + "to": "App/algo/sb_led_map.h", + "kind": "fp-fp", + "include": "sb_led_map.h" + }, + { + "from": "App/task/ui_task.c", + "to": "App/task/iec104_serv.h", + "kind": "fp-fp", + "include": "iec104_serv.h" + }, { "from": "App/task/ui_task.c", "to": "test/board/test_config.h", @@ -7215,18 +11243,96 @@ "kind": "fp-fp", "include": "task_watchdog.h" }, + { + "from": "App/task/ui_task.c", + "to": "Lib/FatFs/ff.h", + "kind": "fp-tp", + "include": "ff.h" + }, + { + "from": "App/task/ui_task.c", + "to": "App/fs/vol_lock.h", + "kind": "fp-fp", + "include": "vol_lock.h" + }, + { + "from": "App/task/ui_task.c", + "to": "App/algo/wave_ring.h", + "kind": "fp-fp", + "include": "wave_ring.h" + }, + { + "from": "App/task/ui_task.c", + "to": "App/algo/wave_store.h", + "kind": "fp-fp", + "include": "wave_store.h" + }, { "from": "App/task/ui_task.c", "to": "App/util/task_prof.h", "kind": "fp-fp", "include": "task_prof.h" }, + { + "from": "App/task/ui_task.c", + "to": "Drivers/BSP/ScreenLink/sb_link.h", + "kind": "fp-fp", + "include": "sb_link.h" + }, { "from": "App/task/ui_task.c", "to": "Drivers/BSP/dbg_log.h", "kind": "fp-fp", "include": "dbg_log.h" }, + { + "from": "App/util/boot_stats.c", + "to": "App/util/boot_stats.h", + "kind": "fp-fp", + "include": "boot_stats.h" + }, + { + "from": "App/util/boot_stats.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "App/util/boot_stats.c", + "to": "Inc/main.h", + "kind": "fp-fp", + "include": "main.h" + }, + { + "from": "App/util/boot_stats.c", + "to": "App/app/app_main.h", + "kind": "fp-fp", + "include": "app_main.h" + }, + { + "from": "App/util/boot_stats.c", + "to": "Drivers/BSP/SD2506/sd2506.h", + "kind": "fp-fp", + "include": "sd2506.h" + }, + { + "from": "App/util/boot_stats.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "App/util/ioboard_di.c", + "to": "App/util/ioboard_di.h", + "kind": "fp-fp", + "include": "ioboard_di.h" + }, + { + "from": "App/util/ioboard_di.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, { "from": "App/util/sha256.c", "to": "外部/系统头文件", @@ -7389,6 +11495,12 @@ "kind": "fp-fp", "include": "console_log.h" }, + { + "from": "App/util/task_watchdog.c", + "to": "test/board/test_config.h", + "kind": "fp-fp", + "include": "test_config.h" + }, { "from": "App/util/task_watchdog.c", "to": "Drivers/BSP/dbg_log.h", @@ -7401,6 +11513,24 @@ "kind": "fp-ext", "include": "stdint.h" }, + { + "from": "Drivers/BSP/app_assert.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "Drivers/BSP/app_assert.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "Drivers/BSP/bsp_err.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, { "from": "Drivers/BSP/dbg_log.h", "to": "外部/系统头文件", @@ -7461,6 +11591,12 @@ "kind": "fp-fp", "include": "spi.h" }, + { + "from": "Drivers/BSP/CH395F/ch395f.c", + "to": "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h", + "kind": "fp-fp", + "include": "gd5f2gq5ue.h" + }, { "from": "Drivers/BSP/CH395F/ch395f.c", "to": "Inc/usart.h", @@ -7491,6 +11627,12 @@ "kind": "fp-fp", "include": "gd5f2gq5ue.h" }, + { + "from": "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c", + "to": "Inc/spi.h", + "kind": "fp-fp", + "include": "spi.h" + }, { "from": "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c", "to": "Drivers/BSP/dbg_log.h", @@ -7515,6 +11657,12 @@ "kind": "fp-ext", "include": "string.h" }, + { + "from": "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c", + "to": "Drivers/BSP/GD5F2GQ5UE/nand_ftl.h", + "kind": "fp-fp", + "include": "nand_ftl.h" + }, { "from": "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c", "to": "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h", @@ -7545,6 +11693,12 @@ "kind": "fp-tp", "include": "map.h" }, + { + "from": "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c", + "to": "Drivers/BSP/bsp_err.h", + "kind": "fp-fp", + "include": "bsp_err.h" + }, { "from": "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c", "to": "Drivers/BSP/dbg_log.h", @@ -7557,6 +11711,60 @@ "kind": "fp-ext", "include": "stdint.h" }, + { + "from": "Drivers/BSP/IOBOARD/ioboard.c", + "to": "Drivers/BSP/IOBOARD/ioboard.h", + "kind": "fp-fp", + "include": "ioboard.h" + }, + { + "from": "Drivers/BSP/IOBOARD/ioboard.c", + "to": "Inc/main.h", + "kind": "fp-fp", + "include": "main.h" + }, + { + "from": "Drivers/BSP/IOBOARD/ioboard.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h", + "kind": "fp-tp", + "include": "FreeRTOS.h" + }, + { + "from": "Drivers/BSP/IOBOARD/ioboard.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/task.h", + "kind": "fp-tp", + "include": "task.h" + }, + { + "from": "Drivers/BSP/IOBOARD/ioboard.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "Drivers/BSP/IOBOARD/ioboard.h", + "to": "Drivers/BSP/bsp_err.h", + "kind": "fp-fp", + "include": "bsp_err.h" + }, + { + "from": "Drivers/BSP/IOBOARD/ioboard.h", + "to": "Drivers/BSP/IOBOARD/ioboard_bits.h", + "kind": "fp-fp", + "include": "ioboard_bits.h" + }, + { + "from": "Drivers/BSP/IOBOARD/ioboard_bits.c", + "to": "Drivers/BSP/IOBOARD/ioboard_bits.h", + "kind": "fp-fp", + "include": "ioboard_bits.h" + }, + { + "from": "Drivers/BSP/IOBOARD/ioboard_bits.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, { "from": "Drivers/BSP/NET/net_events.c", "to": "外部/系统头文件", @@ -7947,6 +12155,12 @@ "kind": "fp-fp", "include": "net_pending.h" }, + { + "from": "Drivers/BSP/NET/net_socket.c", + "to": "Drivers/BSP/NET/net_udp.h", + "kind": "fp-fp", + "include": "net_udp.h" + }, { "from": "Drivers/BSP/NET/net_socket.c", "to": "Drivers/BSP/CH395F/ch395f.h", @@ -7977,6 +12191,12 @@ "kind": "fp-fp", "include": "dbg_log.h" }, + { + "from": "Drivers/BSP/NET/net_socket.c", + "to": "Drivers/BSP/app_assert.h", + "kind": "fp-fp", + "include": "app_assert.h" + }, { "from": "Drivers/BSP/NET/net_socket.h", "to": "Drivers/BSP/NET/net_types.h", @@ -7995,6 +12215,12 @@ "kind": "fp-tp", "include": "task.h" }, + { + "from": "Drivers/BSP/NET/net_socket.h", + "to": "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h", + "kind": "fp-tp", + "include": "cmsis_os2.h" + }, { "from": "Drivers/BSP/NET/net_types.h", "to": "外部/系统头文件", @@ -8007,6 +12233,96 @@ "kind": "fp-fp", "include": "net_config.h" }, + { + "from": "Drivers/BSP/NET/net_udp.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h", + "kind": "fp-tp", + "include": "FreeRTOS.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/task.h", + "kind": "fp-tp", + "include": "task.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.c", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.c", + "to": "Drivers/BSP/NET/net_udp.h", + "kind": "fp-fp", + "include": "net_udp.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.c", + "to": "Drivers/BSP/NET/net_pending.h", + "kind": "fp-fp", + "include": "net_pending.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.c", + "to": "Drivers/BSP/CH395F/ch395f.h", + "kind": "fp-fp", + "include": "ch395f.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.c", + "to": "Inc/main.h", + "kind": "fp-fp", + "include": "main.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.h", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h", + "kind": "fp-tp", + "include": "FreeRTOS.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.h", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/task.h", + "kind": "fp-tp", + "include": "task.h" + }, + { + "from": "Drivers/BSP/NET/net_udp.h", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, { "from": "Drivers/BSP/NET/lftpd/lftpd.c", "to": "外部/系统头文件", @@ -8349,6 +12665,12 @@ "kind": "fp-fp", "include": "ftp_cfg.h" }, + { + "from": "Drivers/BSP/NETCFG/net_cfg.c", + "to": "Drivers/BSP/NETCFG/sntp_cfg.h", + "kind": "fp-fp", + "include": "sntp_cfg.h" + }, { "from": "Drivers/BSP/NETCFG/net_cfg.c", "to": "Drivers/BSP/dbg_log.h", @@ -8367,18 +12689,114 @@ "kind": "fp-ext", "include": "stddef.h" }, + { + "from": "Drivers/BSP/NETCFG/sntp_cfg.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/NETCFG/sntp_cfg.c", + "to": "Drivers/BSP/NETCFG/sntp_cfg.h", + "kind": "fp-fp", + "include": "sntp_cfg.h" + }, + { + "from": "Drivers/BSP/NETCFG/sntp_cfg.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, { "from": "Drivers/BSP/RS485/rs485.c", "to": "Drivers/BSP/RS485/rs485.h", "kind": "fp-fp", "include": "rs485.h" }, + { + "from": "Drivers/BSP/RS485/rs485.c", + "to": "Drivers/BSP/ScreenLink/sb_link.h", + "kind": "fp-fp", + "include": "sb_link.h" + }, { "from": "Drivers/BSP/RS485/rs485.h", "to": "Inc/main.h", "kind": "fp-fp", "include": "main.h" }, + { + "from": "Drivers/BSP/RS485/rs485.h", + "to": "Drivers/BSP/bsp_err.h", + "kind": "fp-fp", + "include": "bsp_err.h" + }, + { + "from": "Drivers/BSP/ScreenLink/sb_link.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "Drivers/BSP/ScreenLink/sb_link.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/ScreenLink/sb_link.c", + "to": "Drivers/BSP/ScreenLink/sb_link.h", + "kind": "fp-fp", + "include": "sb_link.h" + }, + { + "from": "Drivers/BSP/ScreenLink/sb_link.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "Drivers/BSP/ScreenLink/sb_link.h", + "to": "Inc/main.h", + "kind": "fp-fp", + "include": "main.h" + }, + { + "from": "Drivers/BSP/ScreenLink/sb_link.h", + "to": "Drivers/BSP/bsp_err.h", + "kind": "fp-fp", + "include": "bsp_err.h" + }, + { + "from": "Drivers/BSP/ScreenLink/sb_link.h", + "to": "Drivers/BSP/ScreenLink/sb_proto.h", + "kind": "fp-fp", + "include": "sb_proto.h" + }, + { + "from": "Drivers/BSP/ScreenLink/sb_proto.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/ScreenLink/sb_proto.c", + "to": "Drivers/BSP/ScreenLink/sb_proto.h", + "kind": "fp-fp", + "include": "sb_proto.h" + }, + { + "from": "Drivers/BSP/ScreenLink/sb_proto.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "Drivers/BSP/ScreenLink/sb_proto.h", + "to": "Drivers/BSP/bsp_err.h", + "kind": "fp-fp", + "include": "bsp_err.h" + }, { "from": "Drivers/BSP/SD2506/sd2506.c", "to": "外部/系统头文件", @@ -8415,6 +12833,12 @@ "kind": "fp-fp", "include": "main.h" }, + { + "from": "Drivers/BSP/SD2506/sd2506.h", + "to": "Drivers/BSP/bsp_err.h", + "kind": "fp-fp", + "include": "bsp_err.h" + }, { "from": "Drivers/BSP/TPAFE5160/tpafe5160.c", "to": "外部/系统头文件", @@ -8457,6 +12881,12 @@ "kind": "fp-fp", "include": "main.h" }, + { + "from": "Drivers/BSP/TPAFE5160/tpafe5160.h", + "to": "Drivers/BSP/bsp_err.h", + "kind": "fp-fp", + "include": "bsp_err.h" + }, { "from": "Drivers/BSP/UI/ui_content_page.c", "to": "外部/系统头文件", @@ -8469,48 +12899,6 @@ "kind": "fp-fp", "include": "ui_content_page.h" }, - { - "from": "Drivers/BSP/UI/ui_content_page.c", - "to": "Drivers/BSP/UI/ui_page_device_info.h", - "kind": "fp-fp", - "include": "ui_page_device_info.h" - }, - { - "from": "Drivers/BSP/UI/ui_content_page.c", - "to": "Drivers/BSP/UI/ui_page_ac.h", - "kind": "fp-fp", - "include": "ui_page_ac.h" - }, - { - "from": "Drivers/BSP/UI/ui_content_page.c", - "to": "Drivers/BSP/UI/ui_page_dc.h", - "kind": "fp-fp", - "include": "ui_page_dc.h" - }, - { - "from": "Drivers/BSP/UI/ui_content_page.c", - "to": "Drivers/BSP/UI/ui_page_password.h", - "kind": "fp-fp", - "include": "ui_page_password.h" - }, - { - "from": "Drivers/BSP/UI/ui_content_page.c", - "to": "Drivers/BSP/UI/ui_page_net_cfg.h", - "kind": "fp-fp", - "include": "ui_page_net_cfg.h" - }, - { - "from": "Drivers/BSP/UI/ui_content_page.c", - "to": "Drivers/BSP/UI/ui_page_runlog.h", - "kind": "fp-fp", - "include": "ui_page_runlog.h" - }, - { - "from": "Drivers/BSP/UI/ui_content_page.c", - "to": "Drivers/BSP/UI/ui_page_selftest.h", - "kind": "fp-fp", - "include": "ui_page_selftest.h" - }, { "from": "Drivers/BSP/UI/ui_content_page.c", "to": "Drivers/BSP/UI/ui_standby.h", @@ -8535,6 +12923,24 @@ "kind": "fp-fp", "include": "ui_deco.h" }, + { + "from": "Drivers/BSP/UI/ui_content_page.c", + "to": "Drivers/BSP/UI/ui_style.h", + "kind": "fp-fp", + "include": "ui_style.h" + }, + { + "from": "Drivers/BSP/UI/ui_content_page.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_content_page.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, { "from": "Drivers/BSP/UI/ui_content_page.c", "to": "Lib/lvgl/lvgl.h", @@ -8565,6 +12971,24 @@ "kind": "fp-tp", "include": "lvgl.h" }, + { + "from": "Drivers/BSP/UI/ui_data.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_data.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_data.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, { "from": "Drivers/BSP/UI/ui_deco.c", "to": "外部/系统头文件", @@ -8577,6 +13001,12 @@ "kind": "fp-fp", "include": "ui_deco.h" }, + { + "from": "Drivers/BSP/UI/ui_deco.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, { "from": "Drivers/BSP/UI/ui_deco.h", "to": "Lib/lvgl/lvgl.h", @@ -8613,6 +13043,12 @@ "kind": "fp-fp", "include": "ui_content_page.h" }, + { + "from": "Drivers/BSP/UI/ui_menu.c", + "to": "Drivers/BSP/UI/ui_page_registry.h", + "kind": "fp-fp", + "include": "ui_page_registry.h" + }, { "from": "Drivers/BSP/UI/ui_menu.c", "to": "Drivers/BSP/UI/ui_page_password.h", @@ -8649,6 +13085,12 @@ "kind": "fp-fp", "include": "dbg_log.h" }, + { + "from": "Drivers/BSP/UI/ui_menu.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, { "from": "Drivers/BSP/UI/ui_menu_tab.c", "to": "Drivers/BSP/UI/ui_menu_tab.h", @@ -8691,6 +13133,18 @@ "kind": "fp-fp", "include": "ui_deco.h" }, + { + "from": "Drivers/BSP/UI/ui_menu_view.c", + "to": "Drivers/BSP/UI/ui_style.h", + "kind": "fp-fp", + "include": "ui_style.h" + }, + { + "from": "Drivers/BSP/UI/ui_menu_view.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, { "from": "Drivers/BSP/UI/ui_menu_view.c", "to": "Lib/lvgl/lvgl.h", @@ -8721,6 +13175,12 @@ "kind": "fp-tp", "include": "lvgl.h" }, + { + "from": "Drivers/BSP/UI/ui_menu_view.h", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, { "from": "Drivers/BSP/UI/ui_net_sink.c", "to": "Drivers/BSP/UI/ui_net_sink.h", @@ -8751,6 +13211,12 @@ "kind": "fp-fp", "include": "ui_net_sink_backend.h" }, + { + "from": "Drivers/BSP/UI/ui_net_sink.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, { "from": "Drivers/BSP/UI/ui_net_sink.c", "to": "test/board/test_config.h", @@ -8763,6 +13229,42 @@ "kind": "fp-fp", "include": "net_latency_test.h" }, + { + "from": "Drivers/BSP/UI/ui_net_sink.c", + "to": "Drivers/BSP/UI/ui_menu.h", + "kind": "fp-fp", + "include": "ui_menu.h" + }, + { + "from": "Drivers/BSP/UI/ui_net_sink.c", + "to": "Drivers/BSP/UI/ui_menu_view.h", + "kind": "fp-fp", + "include": "ui_menu_view.h" + }, + { + "from": "Drivers/BSP/UI/ui_net_sink.c", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_net_sink.c", + "to": "Drivers/BSP/UI/ui_standby.h", + "kind": "fp-fp", + "include": "ui_standby.h" + }, + { + "from": "Drivers/BSP/UI/ui_net_sink.c", + "to": "Drivers/BSP/UI/ui_page_registry.h", + "kind": "fp-fp", + "include": "ui_page_registry.h" + }, + { + "from": "Drivers/BSP/UI/ui_net_sink.c", + "to": "Drivers/BSP/UI/ui_pwd_def.h", + "kind": "fp-fp", + "include": "ui_pwd_def.h" + }, { "from": "Drivers/BSP/UI/ui_net_sink.c", "to": "Drivers/BSP/dbg_log.h", @@ -8781,6 +13283,12 @@ "kind": "fp-ext", "include": "stdint.h" }, + { + "from": "Drivers/BSP/UI/ui_net_sink_backend.h", + "to": "Drivers/BSP/UI/ui_port.h", + "kind": "fp-fp", + "include": "ui_port.h" + }, { "from": "Drivers/BSP/UI/ui_net_sink_backend_mcu.c", "to": "Drivers/BSP/UI/ui_net_sink_backend.h", @@ -8799,36 +13307,372 @@ "kind": "fp-fp", "include": "ui_port.h" }, + { + "from": "Drivers/BSP/UI/ui_page_ac.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, { "from": "Drivers/BSP/UI/ui_page_ac.c", "to": "Drivers/BSP/UI/ui_page_ac.h", "kind": "fp-fp", "include": "ui_page_ac.h" }, + { + "from": "Drivers/BSP/UI/ui_page_ac.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_ac.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_ac.c", + "to": "Drivers/BSP/UI/ui_w_editor.h", + "kind": "fp-fp", + "include": "ui_w_editor.h" + }, { "from": "Drivers/BSP/UI/ui_page_ac.h", "to": "Drivers/BSP/UI/ui_content_page.h", "kind": "fp-fp", "include": "ui_content_page.h" }, + { + "from": "Drivers/BSP/UI/ui_page_accident.c", + "to": "Drivers/BSP/UI/ui_page_accident.h", + "kind": "fp-fp", + "include": "ui_page_accident.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_accident.c", + "to": "Drivers/BSP/UI/ui_w_records.h", + "kind": "fp-fp", + "include": "ui_w_records.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_accident.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_accident.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_action.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_action.c", + "to": "Drivers/BSP/UI/ui_page_action.h", + "kind": "fp-fp", + "include": "ui_page_action.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_action.c", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_action.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_action.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdbool.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_action.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_action.h", + "to": "Lib/lvgl/lvgl.h", + "kind": "fp-tp", + "include": "lvgl.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_alarm.c", + "to": "Drivers/BSP/UI/ui_page_alarm.h", + "kind": "fp-fp", + "include": "ui_page_alarm.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_alarm.c", + "to": "Drivers/BSP/UI/ui_w_records.h", + "kind": "fp-fp", + "include": "ui_w_records.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_alarm.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_alarm.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_calib.c", + "to": "Drivers/BSP/UI/ui_page_calib.h", + "kind": "fp-fp", + "include": "ui_page_calib.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_calib.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_calib.c", + "to": "Drivers/BSP/UI/ui_w_setlist.h", + "kind": "fp-fp", + "include": "ui_w_setlist.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_calib.c", + "to": "Drivers/BSP/UI/ui_w_ytview.h", + "kind": "fp-fp", + "include": "ui_w_ytview.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_calib.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clear.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clear.c", + "to": "Drivers/BSP/UI/ui_page_clear.h", + "kind": "fp-fp", + "include": "ui_page_clear.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clear.c", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clear.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clear.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clear.c", + "to": "Drivers/BSP/UI/ui_w_records.h", + "kind": "fp-fp", + "include": "ui_w_records.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clear.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clock.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clock.c", + "to": "Drivers/BSP/UI/ui_page_clock.h", + "kind": "fp-fp", + "include": "ui_page_clock.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clock.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clock.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clock.c", + "to": "Drivers/BSP/UI/ui_w_editor.h", + "kind": "fp-fp", + "include": "ui_w_editor.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_clock.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_comm.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_comm.c", + "to": "Drivers/BSP/UI/ui_page_comm.h", + "kind": "fp-fp", + "include": "ui_page_comm.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_comm.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_comm.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_comm.c", + "to": "Drivers/BSP/UI/ui_w_setlist.h", + "kind": "fp-fp", + "include": "ui_w_setlist.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_comm.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_dc.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, { "from": "Drivers/BSP/UI/ui_page_dc.c", "to": "Drivers/BSP/UI/ui_page_dc.h", "kind": "fp-fp", "include": "ui_page_dc.h" }, + { + "from": "Drivers/BSP/UI/ui_page_dc.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_dc.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_dc.c", + "to": "Drivers/BSP/UI/ui_w_editor.h", + "kind": "fp-fp", + "include": "ui_w_editor.h" + }, { "from": "Drivers/BSP/UI/ui_page_dc.h", "to": "Drivers/BSP/UI/ui_content_page.h", "kind": "fp-fp", "include": "ui_content_page.h" }, + { + "from": "Drivers/BSP/UI/ui_page_deadband.c", + "to": "Drivers/BSP/UI/ui_page_deadband.h", + "kind": "fp-fp", + "include": "ui_page_deadband.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_deadband.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_deadband.c", + "to": "Drivers/BSP/UI/ui_w_setlist.h", + "kind": "fp-fp", + "include": "ui_w_setlist.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_deadband.c", + "to": "Drivers/BSP/UI/ui_w_ytview.h", + "kind": "fp-fp", + "include": "ui_w_ytview.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_deadband.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_device_info.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, { "from": "Drivers/BSP/UI/ui_page_device_info.c", "to": "Drivers/BSP/UI/ui_page_device_info.h", "kind": "fp-fp", "include": "ui_page_device_info.h" }, + { + "from": "Drivers/BSP/UI/ui_page_device_info.c", + "to": "Drivers/BSP/NETCFG/net_cfg.h", + "kind": "fp-fp", + "include": "net_cfg.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_device_info.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_device_info.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, { "from": "Drivers/BSP/UI/ui_page_device_info.h", "to": "Drivers/BSP/UI/ui_content_page.h", @@ -8853,12 +13697,42 @@ "kind": "fp-fp", "include": "net_cfg.h" }, + { + "from": "Drivers/BSP/UI/ui_page_net_cfg.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, { "from": "Drivers/BSP/UI/ui_page_net_cfg.h", "to": "Drivers/BSP/UI/ui_content_page.h", "kind": "fp-fp", "include": "ui_content_page.h" }, + { + "from": "Drivers/BSP/UI/ui_page_oper.c", + "to": "Drivers/BSP/UI/ui_page_oper.h", + "kind": "fp-fp", + "include": "ui_page_oper.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_oper.c", + "to": "Drivers/BSP/UI/ui_w_records.h", + "kind": "fp-fp", + "include": "ui_w_records.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_oper.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_oper.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, { "from": "Drivers/BSP/UI/ui_page_password.c", "to": "外部/系统头文件", @@ -8877,12 +13751,234 @@ "kind": "fp-fp", "include": "ui_pwd_def.h" }, + { + "from": "Drivers/BSP/UI/ui_page_password.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, { "from": "Drivers/BSP/UI/ui_page_password.h", "to": "Drivers/BSP/UI/ui_content_page.h", "kind": "fp-fp", "include": "ui_content_page.h" }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_registry.h", + "kind": "fp-fp", + "include": "ui_page_registry.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_ac.h", + "kind": "fp-fp", + "include": "ui_page_ac.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_accident.h", + "kind": "fp-fp", + "include": "ui_page_accident.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_alarm.h", + "kind": "fp-fp", + "include": "ui_page_alarm.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_calib.h", + "kind": "fp-fp", + "include": "ui_page_calib.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_clear.h", + "kind": "fp-fp", + "include": "ui_page_clear.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_clock.h", + "kind": "fp-fp", + "include": "ui_page_clock.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_comm.h", + "kind": "fp-fp", + "include": "ui_page_comm.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_dc.h", + "kind": "fp-fp", + "include": "ui_page_dc.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_deadband.h", + "kind": "fp-fp", + "include": "ui_page_deadband.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_device_info.h", + "kind": "fp-fp", + "include": "ui_page_device_info.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_net_cfg.h", + "kind": "fp-fp", + "include": "ui_page_net_cfg.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_oper.h", + "kind": "fp-fp", + "include": "ui_page_oper.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_password.h", + "kind": "fp-fp", + "include": "ui_page_password.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_reset.h", + "kind": "fp-fp", + "include": "ui_page_reset.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_runlog.h", + "kind": "fp-fp", + "include": "ui_page_runlog.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_runreport.h", + "kind": "fp-fp", + "include": "ui_page_runreport.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_selftest.h", + "kind": "fp-fp", + "include": "ui_page_selftest.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_sntp.h", + "kind": "fp-fp", + "include": "ui_page_sntp.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_soe.h", + "kind": "fp-fp", + "include": "ui_page_soe.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_start.h", + "kind": "fp-fp", + "include": "ui_page_start.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_view_param.h", + "kind": "fp-fp", + "include": "ui_page_view_param.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_view_plate.h", + "kind": "fp-fp", + "include": "ui_page_view_plate.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_view_set.h", + "kind": "fp-fp", + "include": "ui_page_view_set.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_view_word.h", + "kind": "fp-fp", + "include": "ui_page_view_word.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_wave_manual.h", + "kind": "fp-fp", + "include": "ui_page_wave_manual.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_wave_play.h", + "kind": "fp-fp", + "include": "ui_page_wave_play.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_yk.h", + "kind": "fp-fp", + "include": "ui_page_yk.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.c", + "to": "Drivers/BSP/UI/ui_page_yx.h", + "kind": "fp-fp", + "include": "ui_page_yx.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_registry.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_reset.c", + "to": "Drivers/BSP/UI/ui_page_reset.h", + "kind": "fp-fp", + "include": "ui_page_reset.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_reset.c", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_reset.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_reset.c", + "to": "Drivers/BSP/UI/ui_page_action.h", + "kind": "fp-fp", + "include": "ui_page_action.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_reset.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, { "from": "Drivers/BSP/UI/ui_page_runlog.c", "to": "外部/系统头文件", @@ -8897,9 +13993,15 @@ }, { "from": "Drivers/BSP/UI/ui_page_runlog.c", - "to": "App/log/sys_log.h", + "to": "Drivers/BSP/UI/ui_w_records.h", "kind": "fp-fp", - "include": "sys_log.h" + "include": "ui_w_records.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_runlog.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" }, { "from": "Drivers/BSP/UI/ui_page_runlog.h", @@ -8907,6 +14009,36 @@ "kind": "fp-fp", "include": "ui_content_page.h" }, + { + "from": "Drivers/BSP/UI/ui_page_runreport.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_runreport.c", + "to": "Drivers/BSP/UI/ui_page_runreport.h", + "kind": "fp-fp", + "include": "ui_page_runreport.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_runreport.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_runreport.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_runreport.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, { "from": "Drivers/BSP/UI/ui_page_selftest.c", "to": "外部/系统头文件", @@ -8921,9 +14053,15 @@ }, { "from": "Drivers/BSP/UI/ui_page_selftest.c", - "to": "App/log/sys_log.h", + "to": "Drivers/BSP/UI/ui_w_records.h", "kind": "fp-fp", - "include": "sys_log.h" + "include": "ui_w_records.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_selftest.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" }, { "from": "Drivers/BSP/UI/ui_page_selftest.h", @@ -8931,6 +14069,330 @@ "kind": "fp-fp", "include": "ui_content_page.h" }, + { + "from": "Drivers/BSP/UI/ui_page_sntp.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_sntp.c", + "to": "Drivers/BSP/UI/ui_page_sntp.h", + "kind": "fp-fp", + "include": "ui_page_sntp.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_sntp.c", + "to": "Drivers/BSP/NETCFG/net_cfg.h", + "kind": "fp-fp", + "include": "net_cfg.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_sntp.c", + "to": "Drivers/BSP/NETCFG/sntp_cfg.h", + "kind": "fp-fp", + "include": "sntp_cfg.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_sntp.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_sntp.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_soe.c", + "to": "Drivers/BSP/UI/ui_page_soe.h", + "kind": "fp-fp", + "include": "ui_page_soe.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_soe.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_soe.c", + "to": "Drivers/BSP/UI/ui_w_soe.h", + "kind": "fp-fp", + "include": "ui_w_soe.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_soe.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_start.c", + "to": "Drivers/BSP/UI/ui_page_start.h", + "kind": "fp-fp", + "include": "ui_page_start.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_start.c", + "to": "Drivers/BSP/UI/ui_w_records.h", + "kind": "fp-fp", + "include": "ui_w_records.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_start.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_start.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_param.c", + "to": "Drivers/BSP/UI/ui_page_view_param.h", + "kind": "fp-fp", + "include": "ui_page_view_param.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_param.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_param.c", + "to": "Drivers/BSP/UI/ui_w_setlist.h", + "kind": "fp-fp", + "include": "ui_w_setlist.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_param.c", + "to": "Drivers/BSP/UI/ui_w_setview.h", + "kind": "fp-fp", + "include": "ui_w_setview.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_param.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_plate.c", + "to": "Drivers/BSP/UI/ui_page_view_plate.h", + "kind": "fp-fp", + "include": "ui_page_view_plate.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_plate.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_plate.c", + "to": "Drivers/BSP/UI/ui_w_setlist.h", + "kind": "fp-fp", + "include": "ui_w_setlist.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_plate.c", + "to": "Drivers/BSP/UI/ui_w_setview.h", + "kind": "fp-fp", + "include": "ui_w_setview.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_plate.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_set.c", + "to": "Drivers/BSP/UI/ui_page_view_set.h", + "kind": "fp-fp", + "include": "ui_page_view_set.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_set.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_set.c", + "to": "Drivers/BSP/UI/ui_w_setlist.h", + "kind": "fp-fp", + "include": "ui_w_setlist.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_set.c", + "to": "Drivers/BSP/UI/ui_w_setview.h", + "kind": "fp-fp", + "include": "ui_w_setview.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_set.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_word.c", + "to": "Drivers/BSP/UI/ui_page_view_word.h", + "kind": "fp-fp", + "include": "ui_page_view_word.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_word.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_word.c", + "to": "Drivers/BSP/UI/ui_w_setlist.h", + "kind": "fp-fp", + "include": "ui_w_setlist.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_word.c", + "to": "Drivers/BSP/UI/ui_w_setview.h", + "kind": "fp-fp", + "include": "ui_w_setview.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_view_word.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_wave_manual.c", + "to": "Drivers/BSP/UI/ui_page_wave_manual.h", + "kind": "fp-fp", + "include": "ui_page_wave_manual.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_wave_manual.c", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_wave_manual.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_wave_manual.c", + "to": "Drivers/BSP/UI/ui_page_action.h", + "kind": "fp-fp", + "include": "ui_page_action.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_wave_manual.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_wave_play.c", + "to": "Drivers/BSP/UI/ui_page_wave_play.h", + "kind": "fp-fp", + "include": "ui_page_wave_play.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_wave_play.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_wave_play.c", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_wave_play.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_wave_play.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_wave_play.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_yk.c", + "to": "Drivers/BSP/UI/ui_page_yk.h", + "kind": "fp-fp", + "include": "ui_page_yk.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_yk.c", + "to": "Drivers/BSP/UI/ui_w_records.h", + "kind": "fp-fp", + "include": "ui_w_records.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_yk.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_yk.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_yx.c", + "to": "Drivers/BSP/UI/ui_page_yx.h", + "kind": "fp-fp", + "include": "ui_page_yx.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_yx.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_yx.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_yx.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_page_yx.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, { "from": "Drivers/BSP/UI/ui_port.c", "to": "Drivers/BSP/UI/ui_port.h", @@ -8991,12 +14453,36 @@ "kind": "fp-tp", "include": "lvgl.h" }, + { + "from": "Drivers/BSP/UI/ui_standby.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, { "from": "Drivers/BSP/UI/ui_standby.c", "to": "Drivers/BSP/UI/ui_menu_view.h", "kind": "fp-fp", "include": "ui_menu_view.h" }, + { + "from": "Drivers/BSP/UI/ui_standby.c", + "to": "Drivers/BSP/UI/ui_style.h", + "kind": "fp-fp", + "include": "ui_style.h" + }, + { + "from": "Drivers/BSP/UI/ui_standby.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_standby.c", + "to": "Drivers/BSP/UI/ui_w_editor.h", + "kind": "fp-fp", + "include": "ui_w_editor.h" + }, { "from": "Drivers/BSP/UI/ui_standby.c", "to": "Drivers/BSP/dbg_log.h", @@ -9021,6 +14507,222 @@ "kind": "fp-ext", "include": "stdbool.h" }, + { + "from": "Drivers/BSP/UI/ui_style.c", + "to": "Drivers/BSP/UI/ui_style.h", + "kind": "fp-fp", + "include": "ui_style.h" + }, + { + "from": "Drivers/BSP/UI/ui_style.h", + "to": "Lib/lvgl/lvgl.h", + "kind": "fp-tp", + "include": "lvgl.h" + }, + { + "from": "Drivers/BSP/UI/ui_tokens.h", + "to": "Drivers/BSP/UI/ui_port.h", + "kind": "fp-fp", + "include": "ui_port.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_editor.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_editor.c", + "to": "Drivers/BSP/UI/ui_w_editor.h", + "kind": "fp-fp", + "include": "ui_w_editor.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_editor.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_editor.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdbool.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_editor.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_editor.h", + "to": "Lib/lvgl/lvgl.h", + "kind": "fp-tp", + "include": "lvgl.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_records.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_records.c", + "to": "Drivers/BSP/UI/ui_w_records.h", + "kind": "fp-fp", + "include": "ui_w_records.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_records.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_records.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setlist.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setlist.c", + "to": "Drivers/BSP/UI/ui_w_setlist.h", + "kind": "fp-fp", + "include": "ui_w_setlist.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setlist.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setlist.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdbool.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setlist.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setlist.h", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setlist.h", + "to": "Drivers/BSP/UI/ui_w_editor.h", + "kind": "fp-fp", + "include": "ui_w_editor.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setview.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setview.c", + "to": "Drivers/BSP/UI/ui_w_setview.h", + "kind": "fp-fp", + "include": "ui_w_setview.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setview.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setview.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setview.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdbool.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setview.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_setview.h", + "to": "Drivers/BSP/UI/ui_w_setlist.h", + "kind": "fp-fp", + "include": "ui_w_setlist.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_soe.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_soe.c", + "to": "Drivers/BSP/UI/ui_w_soe.h", + "kind": "fp-fp", + "include": "ui_w_soe.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_soe.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_ytview.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_ytview.c", + "to": "Drivers/BSP/UI/ui_w_ytview.h", + "kind": "fp-fp", + "include": "ui_w_ytview.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_ytview.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_ytview.c", + "to": "Drivers/BSP/UI/ui_tokens.h", + "kind": "fp-fp", + "include": "ui_tokens.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_ytview.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "Drivers/BSP/UI/ui_w_ytview.h", + "to": "Drivers/BSP/UI/ui_w_setlist.h", + "kind": "fp-fp", + "include": "ui_w_setlist.h" + }, { "from": "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h", "to": "Drivers/CMSIS/Include/core_cm4.h", @@ -10125,6 +15827,3936 @@ "kind": "tp-tp", "include": "stm32f4xx_hal.h" }, + { + "from": "IEC60870-Slave/104/IEC104.c", + "to": "IEC60870-Slave/104/IEC104.h", + "kind": "tp-tp", + "include": "IEC104.h" + }, + { + "from": "IEC60870-Slave/104/IEC104.c", + "to": "IEC60870-Slave/104/IEC104_Link_Common.h", + "kind": "tp-tp", + "include": "IEC104_Link_Common.h" + }, + { + "from": "IEC60870-Slave/104/IEC104.c", + "to": "IEC60870-Slave/104/IEC104_Log.h", + "kind": "tp-tp", + "include": "IEC104_Log.h" + }, + { + "from": "IEC60870-Slave/104/IEC104.h", + "to": "IEC60870-Slave/104/IEC104_Codec.h", + "kind": "tp-tp", + "include": "IEC104_Codec.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_AsduQueue.c", + "to": "IEC60870-Slave/104/IEC104_AsduQueue.h", + "kind": "tp-tp", + "include": "IEC104_AsduQueue.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_AsduQueue.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_AsduQueue.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_AsduQueue.h", + "to": "IEC60870-Slave/104/IEC104_Codec.h", + "kind": "tp-tp", + "include": "IEC104_Codec.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_AsduQueue.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Codec.c", + "to": "IEC60870-Slave/104/IEC104_Codec.h", + "kind": "tp-tp", + "include": "IEC104_Codec.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Codec.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Codec.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Codec.h", + "to": "IEC60870-Slave/104/IEC104_Types.h", + "kind": "tp-tp", + "include": "IEC104_Types.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Config_Internal.h", + "to": "IEC60870-Slave/104/IEC104_TcpTypes.h", + "kind": "tp-tp", + "include": "IEC104_TcpTypes.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Connection.c", + "to": "IEC60870-Slave/104/IEC104_Connection.h", + "kind": "tp-tp", + "include": "IEC104_Connection.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Connection.c", + "to": "IEC60870-Slave/104/IEC104_Link_Slave_StartStop.h", + "kind": "tp-tp", + "include": "IEC104_Link_Slave_StartStop.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Connection.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Connection.h", + "to": "IEC60870-Slave/104/IEC104_Receiver.h", + "kind": "tp-tp", + "include": "IEC104_Receiver.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Connection.h", + "to": "IEC60870-Slave/104/IEC104_SendManager.h", + "kind": "tp-tp", + "include": "IEC104_SendManager.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link.c", + "to": "IEC60870-Slave/104/IEC104_Link_Common.h", + "kind": "tp-tp", + "include": "IEC104_Link_Common.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link.c", + "to": "IEC60870-Slave/104/IEC104_Link_Internal.h", + "kind": "tp-tp", + "include": "IEC104_Link_Internal.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link.h", + "to": "IEC60870-Slave/104/IEC104_Link_Common.h", + "kind": "tp-tp", + "include": "IEC104_Link_Common.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link.h", + "to": "IEC60870-Slave/104/IEC104_Link_Master_StartStop.h", + "kind": "tp-tp", + "include": "IEC104_Link_Master_StartStop.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link.h", + "to": "IEC60870-Slave/104/IEC104_Link_Slave_StartStop.h", + "kind": "tp-tp", + "include": "IEC104_Link_Slave_StartStop.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link_Common.h", + "to": "IEC60870-Slave/104/IEC104_Codec.h", + "kind": "tp-tp", + "include": "IEC104_Codec.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link_Internal.h", + "to": "IEC60870-Slave/104/IEC104_Link_Common.h", + "kind": "tp-tp", + "include": "IEC104_Link_Common.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link_Master_StartStop.c", + "to": "IEC60870-Slave/104/IEC104_Link_Master_StartStop.h", + "kind": "tp-tp", + "include": "IEC104_Link_Master_StartStop.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link_Master_StartStop.c", + "to": "IEC60870-Slave/104/IEC104_Link_Internal.h", + "kind": "tp-tp", + "include": "IEC104_Link_Internal.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link_Master_StartStop.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link_Master_StartStop.h", + "to": "IEC60870-Slave/104/IEC104_Link_Common.h", + "kind": "tp-tp", + "include": "IEC104_Link_Common.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link_Slave_StartStop.c", + "to": "IEC60870-Slave/104/IEC104_Link_Slave_StartStop.h", + "kind": "tp-tp", + "include": "IEC104_Link_Slave_StartStop.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link_Slave_StartStop.c", + "to": "IEC60870-Slave/104/IEC104_Link_Internal.h", + "kind": "tp-tp", + "include": "IEC104_Link_Internal.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link_Slave_StartStop.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Link_Slave_StartStop.h", + "to": "IEC60870-Slave/104/IEC104_Link_Common.h", + "kind": "tp-tp", + "include": "IEC104_Link_Common.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Log.c", + "to": "IEC60870-Slave/104/IEC104_Log.h", + "kind": "tp-tp", + "include": "IEC104_Log.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Log.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdarg.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Log.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Log.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Log.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Log.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "time.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Net.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Net.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Net_Windows.c", + "to": "IEC60870-Slave/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Net_Windows.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "winsock2.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Net_Windows.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "ws2tcpip.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Net_Windows.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Net_Windows.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "limits.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Net_Windows.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Receiver.c", + "to": "IEC60870-Slave/104/IEC104_Receiver.h", + "kind": "tp-tp", + "include": "IEC104_Receiver.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Receiver.c", + "to": "App/iec60870/common/IEC60870_Codec.h", + "kind": "tp-tp", + "include": "IEC60870_Codec.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Receiver.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Receiver.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Receiver.h", + "to": "IEC60870-Slave/104/IEC104_Codec.h", + "kind": "tp-tp", + "include": "IEC104_Codec.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_SendBuffer.c", + "to": "IEC60870-Slave/104/IEC104_SendBuffer.h", + "kind": "tp-tp", + "include": "IEC104_SendBuffer.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_SendBuffer.c", + "to": "IEC60870-Slave/104/IEC104_Codec.h", + "kind": "tp-tp", + "include": "IEC104_Codec.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_SendBuffer.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_SendBuffer.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_SendBuffer.h", + "to": "IEC60870-Slave/104/IEC104_Link_Common.h", + "kind": "tp-tp", + "include": "IEC104_Link_Common.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_SendManager.c", + "to": "IEC60870-Slave/104/IEC104_SendManager.h", + "kind": "tp-tp", + "include": "IEC104_SendManager.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_SendManager.c", + "to": "IEC60870-Slave/104/IEC104_Link_Slave_StartStop.h", + "kind": "tp-tp", + "include": "IEC104_Link_Slave_StartStop.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_SendManager.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_SendManager.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_SendManager.h", + "to": "IEC60870-Slave/104/IEC104_AsduQueue.h", + "kind": "tp-tp", + "include": "IEC104_AsduQueue.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_SendManager.h", + "to": "IEC60870-Slave/104/IEC104_SendBuffer.h", + "kind": "tp-tp", + "include": "IEC104_SendBuffer.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Slave.c", + "to": "IEC60870-Slave/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Slave.c", + "to": "IEC60870-Slave/104/IEC104_TcpServer.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Slave.c", + "to": "IEC60870-Slave/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Slave.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Slave.h", + "to": "App/iec60870/common/IEC60870_Slave.h", + "kind": "tp-tp", + "include": "IEC60870_Slave.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Slave.h", + "to": "IEC60870-Slave/104/IEC104_TcpTypes.h", + "kind": "tp-tp", + "include": "IEC104_TcpTypes.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_TcpServer.c", + "to": "IEC60870-Slave/104/IEC104_TcpServer.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_TcpServer.c", + "to": "IEC60870-Slave/104/IEC104_Config_Internal.h", + "kind": "tp-tp", + "include": "IEC104_Config_Internal.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_TcpServer.c", + "to": "IEC60870-Slave/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_TcpServer.c", + "to": "IEC60870-Slave/104/IEC104_Connection.h", + "kind": "tp-tp", + "include": "IEC104_Connection.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_TcpServer.c", + "to": "IEC60870-Slave/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_TcpServer.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_TcpServer.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_TcpServer.h", + "to": "IEC60870-Slave/104/IEC104_TcpTypes.h", + "kind": "tp-tp", + "include": "IEC104_TcpTypes.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_TcpServer.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_TcpTypes.h", + "to": "IEC60870-Slave/104/IEC104_Types.h", + "kind": "tp-tp", + "include": "IEC104_Types.h" + }, + { + "from": "IEC60870-Slave/104/IEC104_Types.h", + "to": "App/iec60870/common/IEC60870_Types.h", + "kind": "tp-tp", + "include": "IEC60870_Types.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_BusinessConfig_Internal.h", + "to": "IEC60870-Slave/104/business/IEC104_SystemCommand.h", + "kind": "tp-tp", + "include": "IEC104_SystemCommand.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_BusinessConfig_Internal.h", + "to": "IEC60870-Slave/104/business/IEC104_Interrogation.h", + "kind": "tp-tp", + "include": "IEC104_Interrogation.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_BusinessConfig_Internal.h", + "to": "IEC60870-Slave/104/business/IEC104_Spontaneous.h", + "kind": "tp-tp", + "include": "IEC104_Spontaneous.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_ClockSynchronization.c", + "to": "IEC60870-Slave/104/business/IEC104_ClockSynchronization.h", + "kind": "tp-tp", + "include": "IEC104_ClockSynchronization.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_ClockSynchronization.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_ClockSynchronization.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_ClockSynchronization.c", + "to": "App/iec60870/common/IEC60870_Codec.h", + "kind": "tp-tp", + "include": "IEC60870_Codec.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_ClockSynchronization.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_ClockSynchronization.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_ClockSynchronization.h", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Command.c", + "to": "IEC60870-Slave/104/business/IEC104_Command.h", + "kind": "tp-tp", + "include": "IEC104_Command.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Command.c", + "to": "App/iec60870/104/IEC104_AsduQueue.h", + "kind": "tp-tp", + "include": "IEC104_AsduQueue.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Command.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Command.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Command.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Command.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Command.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Command.h", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Command.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_CounterInterrogation.c", + "to": "IEC60870-Slave/104/business/IEC104_CounterInterrogation.h", + "kind": "tp-tp", + "include": "IEC104_CounterInterrogation.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_CounterInterrogation.c", + "to": "IEC60870-Slave/104/business/IEC104_Interrogation_Internal.h", + "kind": "tp-tp", + "include": "IEC104_Interrogation_Internal.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_CounterInterrogation.h", + "to": "IEC60870-Slave/104/business/IEC104_Interrogation.h", + "kind": "tp-tp", + "include": "IEC104_Interrogation.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_FileService.c", + "to": "IEC60870-Slave/104/business/IEC104_FileService.h", + "kind": "tp-tp", + "include": "IEC104_FileService.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_FileService.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_FileService.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_FileService.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "limits.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_FileService.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_FileService.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_FileService.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_FileService.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_FileService.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_FileService.h", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_GeneralInterrogation.c", + "to": "IEC60870-Slave/104/business/IEC104_GeneralInterrogation.h", + "kind": "tp-tp", + "include": "IEC104_GeneralInterrogation.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_GeneralInterrogation.c", + "to": "IEC60870-Slave/104/business/IEC104_Interrogation_Internal.h", + "kind": "tp-tp", + "include": "IEC104_Interrogation_Internal.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_GeneralInterrogation.h", + "to": "IEC60870-Slave/104/business/IEC104_Interrogation.h", + "kind": "tp-tp", + "include": "IEC104_Interrogation.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Interrogation.c", + "to": "IEC60870-Slave/104/business/IEC104_Interrogation_Internal.h", + "kind": "tp-tp", + "include": "IEC104_Interrogation_Internal.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Interrogation.c", + "to": "IEC60870-Slave/104/business/IEC104_BusinessConfig_Internal.h", + "kind": "tp-tp", + "include": "IEC104_BusinessConfig_Internal.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Interrogation.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Interrogation.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Interrogation.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Interrogation.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Interrogation_Internal.h", + "to": "IEC60870-Slave/104/business/IEC104_Interrogation.h", + "kind": "tp-tp", + "include": "IEC104_Interrogation.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Parameter.c", + "to": "IEC60870-Slave/104/business/IEC104_Parameter.h", + "kind": "tp-tp", + "include": "IEC104_Parameter.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Parameter.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Parameter.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Parameter.c", + "to": "App/iec60870/common/IEC60870_Codec.h", + "kind": "tp-tp", + "include": "IEC60870_Codec.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Parameter.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Parameter.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_PeriodicScan.c", + "to": "IEC60870-Slave/104/business/IEC104_PeriodicScan.h", + "kind": "tp-tp", + "include": "IEC104_PeriodicScan.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_PeriodicScan.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_PeriodicScan.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_PeriodicScan.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_PeriodicScan.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Read.c", + "to": "IEC60870-Slave/104/business/IEC104_Read.h", + "kind": "tp-tp", + "include": "IEC104_Read.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Read.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Read.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Read.c", + "to": "App/iec60870/104/IEC104_AsduQueue.h", + "kind": "tp-tp", + "include": "IEC104_AsduQueue.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Read.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Read.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_RemoteParameter.c", + "to": "IEC60870-Slave/104/business/IEC104_RemoteParameter.h", + "kind": "tp-tp", + "include": "IEC104_RemoteParameter.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_RemoteParameter.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_RemoteParameter.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_RemoteParameter.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_RemoteParameter.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "limits.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_RemoteParameter.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_RemoteParameter.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_RemoteParameter.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_RemoteParameter.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_RemoteParameter.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.c", + "to": "IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.h", + "kind": "tp-tp", + "include": "IEC104_SoftwareUpgrade.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.c", + "to": "App/iec60870/common/IEC60870_Codec.h", + "kind": "tp-tp", + "include": "IEC60870_Codec.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Spontaneous.c", + "to": "IEC60870-Slave/104/business/IEC104_Spontaneous.h", + "kind": "tp-tp", + "include": "IEC104_Spontaneous.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Spontaneous.c", + "to": "IEC60870-Slave/104/business/IEC104_BusinessConfig_Internal.h", + "kind": "tp-tp", + "include": "IEC104_BusinessConfig_Internal.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Spontaneous.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Spontaneous.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Spontaneous.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Spontaneous.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Spontaneous.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Spontaneous.h", + "to": "App/iec60870/common/IEC60870_FaultEvent.h", + "kind": "tp-tp", + "include": "IEC60870_FaultEvent.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Startup.c", + "to": "IEC60870-Slave/104/business/IEC104_Startup.h", + "kind": "tp-tp", + "include": "IEC104_Startup.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Startup.c", + "to": "App/iec60870/104/IEC104_Config_Internal.h", + "kind": "tp-tp", + "include": "IEC104_Config_Internal.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Startup.c", + "to": "IEC60870-Slave/104/business/IEC104_BusinessConfig_Internal.h", + "kind": "tp-tp", + "include": "IEC104_BusinessConfig_Internal.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Startup.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Startup.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Startup.h", + "to": "IEC60870-Slave/104/business/IEC104_SystemCommand.h", + "kind": "tp-tp", + "include": "IEC104_SystemCommand.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Startup.h", + "to": "IEC60870-Slave/104/business/IEC104_Interrogation.h", + "kind": "tp-tp", + "include": "IEC104_Interrogation.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_Startup.h", + "to": "IEC60870-Slave/104/business/IEC104_Spontaneous.h", + "kind": "tp-tp", + "include": "IEC104_Spontaneous.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SystemCommand.c", + "to": "IEC60870-Slave/104/business/IEC104_SystemCommand.h", + "kind": "tp-tp", + "include": "IEC104_SystemCommand.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SystemCommand.c", + "to": "IEC60870-Slave/104/business/IEC104_BusinessConfig_Internal.h", + "kind": "tp-tp", + "include": "IEC104_BusinessConfig_Internal.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SystemCommand.c", + "to": "App/iec60870/104/IEC104_TcpServer_Config.h", + "kind": "tp-tp", + "include": "IEC104_TcpServer_Config.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SystemCommand.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SystemCommand.c", + "to": "App/iec60870/common/IEC60870_Codec.h", + "kind": "tp-tp", + "include": "IEC60870_Codec.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SystemCommand.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/104/business/IEC104_SystemCommand.h", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Asdu.c", + "to": "IEC60870-Slave/common/IEC60870_Asdu.h", + "kind": "tp-tp", + "include": "IEC60870_Asdu.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Asdu.c", + "to": "IEC60870-Slave/common/IEC60870_InformationObjects_Internal.h", + "kind": "tp-tp", + "include": "IEC60870_InformationObjects_Internal.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Asdu.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Asdu.h", + "to": "IEC60870-Slave/common/IEC60870_Codec.h", + "kind": "tp-tp", + "include": "IEC60870_Codec.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Asdu.h", + "to": "IEC60870-Slave/common/IEC60870_InformationObjects.h", + "kind": "tp-tp", + "include": "IEC60870_InformationObjects.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Clock.c", + "to": "IEC60870-Slave/common/IEC60870_Clock.h", + "kind": "tp-tp", + "include": "IEC60870_Clock.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Clock.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Clock.h", + "to": "IEC60870-Slave/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Codec.c", + "to": "IEC60870-Slave/common/IEC60870_Codec.h", + "kind": "tp-tp", + "include": "IEC60870_Codec.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Codec.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Codec.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Codec.h", + "to": "IEC60870-Slave/common/IEC60870_Types.h", + "kind": "tp-tp", + "include": "IEC60870_Types.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Comtrade.c", + "to": "IEC60870-Slave/common/IEC60870_Comtrade.h", + "kind": "tp-tp", + "include": "IEC60870_Comtrade.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Comtrade.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Comtrade.h", + "to": "IEC60870-Slave/common/IEC60870_FaultRecorder.h", + "kind": "tp-tp", + "include": "IEC60870_FaultRecorder.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Comtrade.h", + "to": "IEC60870-Slave/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreeze.c", + "to": "IEC60870-Slave/common/IEC60870_EnergyFreeze.h", + "kind": "tp-tp", + "include": "IEC60870_EnergyFreeze.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreeze.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreeze.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreeze.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreeze.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreeze.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreezeFile.c", + "to": "IEC60870-Slave/common/IEC60870_EnergyFreezeFile.h", + "kind": "tp-tp", + "include": "IEC60870_EnergyFreezeFile.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreezeFile.c", + "to": "IEC60870-Slave/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreezeFile.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreezeFile.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "locale.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreezeFile.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreezeFile.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreezeFile.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_EnergyFreezeFile.h", + "to": "IEC60870-Slave/common/IEC60870_EnergyFreeze.h", + "kind": "tp-tp", + "include": "IEC60870_EnergyFreeze.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FaultEvent.c", + "to": "IEC60870-Slave/common/IEC60870_FaultEvent.h", + "kind": "tp-tp", + "include": "IEC60870_FaultEvent.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FaultEvent.c", + "to": "IEC60870-Slave/common/IEC60870_InformationObjects_Internal.h", + "kind": "tp-tp", + "include": "IEC60870_InformationObjects_Internal.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FaultEvent.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FaultEvent.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FaultEvent.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FaultEvent.h", + "to": "IEC60870-Slave/common/IEC60870_Asdu.h", + "kind": "tp-tp", + "include": "IEC60870_Asdu.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FaultRecorder.c", + "to": "IEC60870-Slave/common/IEC60870_FaultRecorder.h", + "kind": "tp-tp", + "include": "IEC60870_FaultRecorder.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FaultRecorder.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FaultRecorder.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FaultRecorder.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FaultRecorder.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FirmwareUpdate.c", + "to": "IEC60870-Slave/common/IEC60870_FirmwareUpdate.h", + "kind": "tp-tp", + "include": "IEC60870_FirmwareUpdate.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FirmwareUpdate.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FirmwareUpdate.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FirmwareUpdate.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_FirmwareUpdate.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_History.c", + "to": "IEC60870-Slave/common/IEC60870_History.h", + "kind": "tp-tp", + "include": "IEC60870_History.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_History.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_History.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_History.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_History.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_History.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_HistoryFile.c", + "to": "IEC60870-Slave/common/IEC60870_HistoryFile.h", + "kind": "tp-tp", + "include": "IEC60870_HistoryFile.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_HistoryFile.c", + "to": "IEC60870-Slave/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_HistoryFile.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_HistoryFile.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "locale.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_HistoryFile.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_HistoryFile.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_HistoryFile.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_HistoryFile.h", + "to": "IEC60870-Slave/common/IEC60870_History.h", + "kind": "tp-tp", + "include": "IEC60870_History.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_InformationObjects.c", + "to": "IEC60870-Slave/common/IEC60870_InformationObjects_Internal.h", + "kind": "tp-tp", + "include": "IEC60870_InformationObjects_Internal.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_InformationObjects.c", + "to": "IEC60870-Slave/common/IEC60870_Codec.h", + "kind": "tp-tp", + "include": "IEC60870_Codec.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_InformationObjects.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_InformationObjects.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "limits.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_InformationObjects.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_InformationObjects.h", + "to": "IEC60870-Slave/common/IEC60870_Types.h", + "kind": "tp-tp", + "include": "IEC60870_Types.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_InformationObjects.h", + "to": "IEC60870-Slave/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_InformationObjects.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_InformationObjects_Internal.h", + "to": "IEC60870-Slave/common/IEC60870_InformationObjects.h", + "kind": "tp-tp", + "include": "IEC60870_InformationObjects.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Slave.c", + "to": "IEC60870-Slave/common/IEC60870_Slave.h", + "kind": "tp-tp", + "include": "IEC60870_Slave.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Slave.h", + "to": "IEC60870-Slave/common/IEC60870_Asdu.h", + "kind": "tp-tp", + "include": "IEC60870_Asdu.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Slave.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Time.c", + "to": "IEC60870-Slave/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Time.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Time.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "time.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Time.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Time.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_Types.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_UserLog.c", + "to": "IEC60870-Slave/common/IEC60870_UserLog.h", + "kind": "tp-tp", + "include": "IEC60870_UserLog.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_UserLog.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_UserLog.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_UserLog.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_UserLog.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_UserLogFile.c", + "to": "IEC60870-Slave/common/IEC60870_UserLogFile.h", + "kind": "tp-tp", + "include": "IEC60870_UserLogFile.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_UserLogFile.c", + "to": "IEC60870-Slave/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_UserLogFile.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/common/IEC60870_UserLogFile.h", + "to": "IEC60870-Slave/common/IEC60870_UserLog.h", + "kind": "tp-tp", + "include": "IEC60870_UserLog.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_example.c", + "to": "IEC60870-Slave/examples/iec104_slave_example.c", + "kind": "tp-tp", + "include": "iec104_slave_example.c" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_measurement.c", + "to": "IEC60870-Slave/examples/iec104_dtu_measurement.h", + "kind": "tp-tp", + "include": "iec104_dtu_measurement.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_measurement.c", + "to": "IEC60870-Slave/examples/iec104_dtu_settings.h", + "kind": "tp-tp", + "include": "iec104_dtu_settings.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_measurement.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_measurement.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_measurement.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_measurement.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_measurement.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_measurement.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_profile.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_profile.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_profile.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_protection.c", + "to": "IEC60870-Slave/examples/iec104_dtu_protection.h", + "kind": "tp-tp", + "include": "iec104_dtu_protection.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_protection.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_protection.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_protection.h", + "to": "IEC60870-Slave/examples/iec104_dtu_settings.h", + "kind": "tp-tp", + "include": "iec104_dtu_settings.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_settings.c", + "to": "IEC60870-Slave/examples/iec104_dtu_settings.h", + "kind": "tp-tp", + "include": "iec104_dtu_settings.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_settings.c", + "to": "IEC60870-Slave/examples/iec104_dtu_profile.h", + "kind": "tp-tp", + "include": "iec104_dtu_profile.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_settings.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_settings.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_settings.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_settings.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_settings.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_settings.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_settings.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_dtu_settings.h", + "to": "App/iec60870/104/business/IEC104_RemoteParameter.h", + "kind": "tp-tp", + "include": "IEC104_RemoteParameter.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.c", + "to": "IEC60870-Slave/examples/iec104_example_config.h", + "kind": "tp-tp", + "include": "iec104_example_config.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.c", + "to": "IEC60870-Slave/examples/iec104_example_points.h", + "kind": "tp-tp", + "include": "iec104_example_points.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "errno.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "locale.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.h", + "to": "App/iec60870/104/business/IEC104_Parameter.h", + "kind": "tp-tp", + "include": "IEC104_Parameter.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.h", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_config.h", + "to": "IEC60870-Slave/examples/iec104_dtu_settings.h", + "kind": "tp-tp", + "include": "iec104_dtu_settings.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_freeze.c", + "to": "IEC60870-Slave/examples/iec104_example_energy_freeze.h", + "kind": "tp-tp", + "include": "iec104_example_energy_freeze.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_freeze.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_freeze.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_freeze.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_freeze.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_EnergyFreezeFile.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_freeze.h", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_meter.c", + "to": "IEC60870-Slave/examples/iec104_example_energy_meter.h", + "kind": "tp-tp", + "include": "iec104_example_energy_meter.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_meter.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_meter.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "fenv.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_meter.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "limits.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_meter.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_meter.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_meter.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_meter.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_energy_meter.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_EnergyFreeze.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_history.c", + "to": "IEC60870-Slave/examples/iec104_example_history.h", + "kind": "tp-tp", + "include": "iec104_example_history.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_history.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_HistoryFile.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_history.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_history.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_history.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_history.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_History.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_history.h", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_recording.c", + "to": "IEC60870-Slave/examples/iec104_example_recording.h", + "kind": "tp-tp", + "include": "iec104_example_recording.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_recording.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "errno.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_recording.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_recording.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_recording.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_recording.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "sys/stat.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_recording.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "direct.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_recording.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_Comtrade.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_upgrade.c", + "to": "IEC60870-Slave/examples/iec104_example_upgrade.h", + "kind": "tp-tp", + "include": "iec104_example_upgrade.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_upgrade.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_upgrade.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_upgrade.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_upgrade.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_FirmwareUpdate.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_user_log.c", + "to": "IEC60870-Slave/examples/iec104_example_user_log.h", + "kind": "tp-tp", + "include": "iec104_example_user_log.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_user_log.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_user_log.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_user_log.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_user_log.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_UserLogFile.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_example_user_log.h", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_parameter_multi_master.c", + "to": "App/iec60870/104/business/IEC104_Parameter.h", + "kind": "tp-tp", + "include": "IEC104_Parameter.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_parameter_multi_master.c", + "to": "App/iec60870/104/business/IEC104_GeneralInterrogation.h", + "kind": "tp-tp", + "include": "IEC104_GeneralInterrogation.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_parameter_multi_master.c", + "to": "App/iec60870/104/business/IEC104_Startup.h", + "kind": "tp-tp", + "include": "IEC104_Startup.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_parameter_multi_master.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_parameter_multi_master.c", + "to": "IEC60870-Slave/examples/iec104_example_points.h", + "kind": "tp-tp", + "include": "iec104_example_points.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_parameter_multi_master.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "errno.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_parameter_multi_master.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "signal.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_parameter_multi_master.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_parameter_multi_master.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_parameter_multi_master.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "App/iec60870/104/business/IEC104_Interrogation.h", + "kind": "tp-tp", + "include": "IEC104_Interrogation.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "App/iec60870/104/business/IEC104_CounterInterrogation.h", + "kind": "tp-tp", + "include": "IEC104_CounterInterrogation.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "App/iec60870/104/business/IEC104_ClockSynchronization.h", + "kind": "tp-tp", + "include": "IEC104_ClockSynchronization.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "App/iec60870/104/business/IEC104_Command.h", + "kind": "tp-tp", + "include": "IEC104_Command.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "App/iec60870/104/business/IEC104_Read.h", + "kind": "tp-tp", + "include": "IEC104_Read.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "App/iec60870/104/business/IEC104_SystemCommand.h", + "kind": "tp-tp", + "include": "IEC104_SystemCommand.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "App/iec60870/104/business/IEC104_Startup.h", + "kind": "tp-tp", + "include": "IEC104_Startup.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "App/iec60870/104/business/IEC104_Spontaneous.h", + "kind": "tp-tp", + "include": "IEC104_Spontaneous.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "App/iec60870/104/business/IEC104_PeriodicScan.h", + "kind": "tp-tp", + "include": "IEC104_PeriodicScan.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "App/iec60870/104/business/IEC104_Parameter.h", + "kind": "tp-tp", + "include": "IEC104_Parameter.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "App/iec60870/104/business/IEC104_RemoteParameter.h", + "kind": "tp-tp", + "include": "IEC104_RemoteParameter.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC104_FileService.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC104_SoftwareUpgrade.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_example_config.h", + "kind": "tp-tp", + "include": "iec104_example_config.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_example_points.h", + "kind": "tp-tp", + "include": "iec104_example_points.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_example_recording.h", + "kind": "tp-tp", + "include": "iec104_example_recording.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_example_history.h", + "kind": "tp-tp", + "include": "iec104_example_history.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_example_energy_freeze.h", + "kind": "tp-tp", + "include": "iec104_example_energy_freeze.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_example_energy_meter.h", + "kind": "tp-tp", + "include": "iec104_example_energy_meter.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_example_user_log.h", + "kind": "tp-tp", + "include": "iec104_example_user_log.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_example_upgrade.h", + "kind": "tp-tp", + "include": "iec104_example_upgrade.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_Clock.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "limits.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_dtu_profile.h", + "kind": "tp-tp", + "include": "iec104_dtu_profile.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_dtu_measurement.h", + "kind": "tp-tp", + "include": "iec104_dtu_measurement.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_dtu_protection.h", + "kind": "tp-tp", + "include": "iec104_dtu_protection.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_dtu_runtime.inc", + "kind": "tp-tp", + "include": "iec104_dtu_runtime.inc" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "IEC60870-Slave/examples/iec104_dtu_settings.inc", + "kind": "tp-tp", + "include": "iec104_dtu_settings.inc" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "errno.h" + }, + { + "from": "IEC60870-Slave/examples/iec104_slave_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "signal.h" + }, + { + "from": "IEC60870-Slave/test/iec104_ack_tracking_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_ack_tracking_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_ack_tracking_test.c", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/test/iec104_asdu_transport_test.c", + "to": "IEC60870-Slave/test/iec60870_asdu_fixture.h", + "kind": "tp-tp", + "include": "iec60870_asdu_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_asdu_transport_test.c", + "to": "App/iec60870/104/IEC104_Codec.h", + "kind": "tp-tp", + "include": "IEC104_Codec.h" + }, + { + "from": "IEC60870-Slave/test/iec104_command_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_command_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_command_test.c", + "to": "App/iec60870/104/business/IEC104_Command.h", + "kind": "tp-tp", + "include": "IEC104_Command.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_energy_settings_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_example_energy_meter.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_energy_settings_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "assert.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_energy_settings_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_energy_settings_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_energy_settings_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_energy_settings_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_measurement_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_dtu_measurement.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_measurement_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_dtu_settings.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_measurement_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_measurement_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_measurement_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_measurement_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_measurement_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_protection_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_dtu_protection.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_protection_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "assert.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_protection_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_protection_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_protection_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_settings_model_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_dtu_settings.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_settings_model_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "assert.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_settings_model_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_settings_model_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_storage_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_example_recording.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_storage_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_example_energy_meter.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_storage_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_example_energy_freeze.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_storage_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "assert.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_storage_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "errno.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_storage_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_storage_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_storage_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_storage_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "sys/stat.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_trigger_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_example_recording.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_trigger_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "assert.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_trigger_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_trigger_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_trigger_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_trigger_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec104_dtu_trigger_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_energy_freeze_transitions_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_example_energy_freeze.h" + }, + { + "from": "IEC60870-Slave/test/iec104_energy_freeze_transitions_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_energy_freeze_transitions_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec104_energy_freeze_transitions_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_energy_freeze_transitions_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_energy_freeze_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_example_energy_freeze.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_energy_freeze_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "assert.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_energy_freeze_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_energy_freeze_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_energy_freeze_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_energy_meter_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_example_energy_meter.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_energy_meter_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "assert.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_energy_meter_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "fenv.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_energy_meter_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "limits.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_energy_meter_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_energy_meter_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_energy_meter_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_history_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_example_history.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_history_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "assert.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_history_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_history_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_history_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_example_recording.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "errno.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_recording_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "sys/stat.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_upgrade_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_example_upgrade.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_upgrade_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "assert.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_upgrade_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_upgrade_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_upgrade_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_user_log_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "iec104_example_user_log.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_user_log_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "assert.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_user_log_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_user_log_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_example_user_log_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/test/iec104_fault_event_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_fault_event_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_fault_event_test.c", + "to": "App/iec60870/104/business/IEC104_Spontaneous.h", + "kind": "tp-tp", + "include": "IEC104_Spontaneous.h" + }, + { + "from": "IEC60870-Slave/test/iec104_fault_event_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/iec104_fault_event_test.c", + "to": "IEC60870-Slave/104/business/IEC104_Spontaneous.c", + "kind": "tp-tp", + "include": "../104/business/IEC104_Spontaneous.c" + }, + { + "from": "IEC60870-Slave/test/iec104_file_service_internal_test.c", + "to": "IEC60870-Slave/test/iec104_file_service_test.c", + "kind": "tp-tp", + "include": "iec104_file_service_test.c" + }, + { + "from": "IEC60870-Slave/test/iec104_file_service_internal_test.c", + "to": "IEC60870-Slave/104/business/IEC104_FileService.c", + "kind": "tp-tp", + "include": "../104/business/IEC104_FileService.c" + }, + { + "from": "IEC60870-Slave/test/iec104_file_service_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_file_service_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_file_service_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC104_FileService.h" + }, + { + "from": "IEC60870-Slave/test/iec104_idle_transport_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_idle_transport_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_idle_transport_test.c", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/test/iec104_interrogation_rules_test.c", + "to": "IEC60870-Slave/104/business/IEC104_Interrogation_Internal.h", + "kind": "tp-tp", + "include": "../104/business/IEC104_Interrogation_Internal.h" + }, + { + "from": "IEC60870-Slave/test/iec104_interrogation_rules_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_interrogation_rules_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec104_interrogation_rules_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_net_pending_input_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "winsock2.h" + }, + { + "from": "IEC60870-Slave/test/iec104_net_pending_input_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/test/iec104_net_pending_input_test.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/test/iec104_net_pending_input_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_net_pending_input_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec104_net_pending_input_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_parameter_edge_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_parameter_edge_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_parameter_edge_test.c", + "to": "App/iec60870/104/business/IEC104_Parameter.h", + "kind": "tp-tp", + "include": "IEC104_Parameter.h" + }, + { + "from": "IEC60870-Slave/test/iec104_parameter_edge_test.c", + "to": "App/iec60870/104/business/IEC104_GeneralInterrogation.h", + "kind": "tp-tp", + "include": "IEC104_GeneralInterrogation.h" + }, + { + "from": "IEC60870-Slave/test/iec104_parameter_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_parameter_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_parameter_test.c", + "to": "App/iec60870/104/business/IEC104_Parameter.h", + "kind": "tp-tp", + "include": "IEC104_Parameter.h" + }, + { + "from": "IEC60870-Slave/test/iec104_periodic_scan_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_periodic_scan_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_periodic_scan_test.c", + "to": "App/iec60870/104/business/IEC104_PeriodicScan.h", + "kind": "tp-tp", + "include": "IEC104_PeriodicScan.h" + }, + { + "from": "IEC60870-Slave/test/iec104_periodic_scan_test.c", + "to": "App/iec60870/104/business/IEC104_Spontaneous.h", + "kind": "tp-tp", + "include": "IEC104_Spontaneous.h" + }, + { + "from": "IEC60870-Slave/test/iec104_periodic_scan_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "windows.h" + }, + { + "from": "IEC60870-Slave/test/iec104_periodic_scan_test.c", + "to": "IEC60870-Slave/104/business/IEC104_PeriodicScan.c", + "kind": "tp-tp", + "include": "../104/business/IEC104_PeriodicScan.c" + }, + { + "from": "IEC60870-Slave/test/iec104_read_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_read_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_read_test.c", + "to": "App/iec60870/104/business/IEC104_Read.h", + "kind": "tp-tp", + "include": "IEC104_Read.h" + }, + { + "from": "IEC60870-Slave/test/iec104_remote_parameter_internal_test.c", + "to": "IEC60870-Slave/test/iec104_remote_parameter_test.c", + "kind": "tp-tp", + "include": "iec104_remote_parameter_test.c" + }, + { + "from": "IEC60870-Slave/test/iec104_remote_parameter_internal_test.c", + "to": "App/iec60870/104/business/IEC104_RemoteParameter.c", + "kind": "tp-tp", + "include": "IEC104_RemoteParameter.c" + }, + { + "from": "IEC60870-Slave/test/iec104_remote_parameter_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_remote_parameter_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_remote_parameter_test.c", + "to": "App/iec60870/104/business/IEC104_RemoteParameter.h", + "kind": "tp-tp", + "include": "IEC104_RemoteParameter.h" + }, + { + "from": "IEC60870-Slave/test/iec104_response_queue_test.c", + "to": "App/iec60870/104/IEC104_AsduQueue.h", + "kind": "tp-tp", + "include": "IEC104_AsduQueue.h" + }, + { + "from": "IEC60870-Slave/test/iec104_response_queue_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_response_queue_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_response_transport_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_response_transport_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_example_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_example_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_example_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_Clock.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_example_test.c", + "to": "App/iec60870/104/business/IEC104_Command.h", + "kind": "tp-tp", + "include": "IEC104_Command.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_example_test.c", + "to": "App/iec60870/104/business/IEC104_SystemCommand.h", + "kind": "tp-tp", + "include": "IEC104_SystemCommand.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_example_test.c", + "to": "App/iec60870/104/business/IEC104_Spontaneous.h", + "kind": "tp-tp", + "include": "IEC104_Spontaneous.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_example_test.c", + "to": "IEC60870-Slave/examples/iec104_slave_example.c", + "kind": "tp-tp", + "include": "../examples/iec104_slave_example.c" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_example_test.c", + "to": "App/iec60870/104/business/IEC104_ClockSynchronization.h", + "kind": "tp-tp", + "include": "IEC104_ClockSynchronization.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_example_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "direct.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_example_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "process.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_example_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "sys/stat.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_example_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "unistd.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_slave_test.c", + "to": "App/iec60870/104/IEC104_Slave.h", + "kind": "tp-tp", + "include": "IEC104_Slave.h" + }, + { + "from": "IEC60870-Slave/test/iec104_software_upgrade_internal_test.c", + "to": "IEC60870-Slave/test/iec104_software_upgrade_test.c", + "kind": "tp-tp", + "include": "iec104_software_upgrade_test.c" + }, + { + "from": "IEC60870-Slave/test/iec104_software_upgrade_internal_test.c", + "to": "IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.c", + "kind": "tp-tp", + "include": "../104/business/IEC104_SoftwareUpgrade.c" + }, + { + "from": "IEC60870-Slave/test/iec104_software_upgrade_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_software_upgrade_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_software_upgrade_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC104_SoftwareUpgrade.h" + }, + { + "from": "IEC60870-Slave/test/iec104_spontaneous_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_spontaneous_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_spontaneous_test.c", + "to": "App/iec60870/104/business/IEC104_Spontaneous.h", + "kind": "tp-tp", + "include": "IEC104_Spontaneous.h" + }, + { + "from": "IEC60870-Slave/test/iec104_spontaneous_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "float.h" + }, + { + "from": "IEC60870-Slave/test/iec104_spontaneous_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/iec104_spontaneous_test.c", + "to": "IEC60870-Slave/104/business/IEC104_Spontaneous.c", + "kind": "tp-tp", + "include": "../104/business/IEC104_Spontaneous.c" + }, + { + "from": "IEC60870-Slave/test/iec104_strict_priority_queue_test.c", + "to": "App/iec60870/104/IEC104_AsduQueue.h", + "kind": "tp-tp", + "include": "IEC104_AsduQueue.h" + }, + { + "from": "IEC60870-Slave/test/iec104_strict_priority_queue_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_strict_priority_queue_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec104_strict_priority_transport_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_strict_priority_transport_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_system_command_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_system_command_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_system_command_test.c", + "to": "App/iec60870/104/business/IEC104_SystemCommand.h", + "kind": "tp-tp", + "include": "IEC104_SystemCommand.h" + }, + { + "from": "IEC60870-Slave/test/iec104_tcp_event_ring_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "to": "App/iec60870/104/IEC104_TcpServer.c", + "kind": "tp-tp", + "include": "IEC104_TcpServer.c" + }, + { + "from": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec104_tcp_scheduler_test.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/iec104_tcp_scheduler_test.c", + "to": "IEC60870-Slave/test/iec104_tcp_fixture.h", + "kind": "tp-tp", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec104_test_config.h", + "to": "App/iec60870/104/business/IEC104_Startup.h", + "kind": "tp-tp", + "include": "IEC104_Startup.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_asdu_extended_test.c", + "to": "App/iec60870/common/IEC60870_Asdu.h", + "kind": "tp-tp", + "include": "IEC60870_Asdu.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_asdu_extended_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "limits.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_asdu_extended_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_asdu_extended_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_asdu_fixture.h", + "to": "App/iec60870/common/IEC60870_Asdu.h", + "kind": "tp-tp", + "include": "IEC60870_Asdu.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_asdu_fixture.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "limits.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_asdu_fixture.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_asdu_fixture.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_asdu_test.c", + "to": "IEC60870-Slave/test/iec60870_asdu_fixture.h", + "kind": "tp-tp", + "include": "iec60870_asdu_fixture.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_comtrade_test.c", + "to": "IEC60870-Slave/common/IEC60870_Comtrade.h", + "kind": "tp-tp", + "include": "../common/IEC60870_Comtrade.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_comtrade_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_comtrade_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_comtrade_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_energy_freeze_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_EnergyFreezeFile.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_energy_freeze_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "assert.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_energy_freeze_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_energy_freeze_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_energy_freeze_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_energy_freeze_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_EnergyFreeze.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_energy_freeze_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_energy_freeze_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_energy_freeze_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_energy_freeze_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_fault_event_test.c", + "to": "App/iec60870/common/IEC60870_FaultEvent.h", + "kind": "tp-tp", + "include": "IEC60870_FaultEvent.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_fault_event_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_fault_event_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_fault_event_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_fault_recorder_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_FaultRecorder.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_fault_recorder_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_fault_recorder_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_fault_recorder_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_firmware_update_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_FirmwareUpdate.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_firmware_update_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_firmware_update_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_firmware_update_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_history_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_HistoryFile.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_history_file_test.c", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "tp-tp", + "include": "IEC60870_Time.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_history_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_history_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_history_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_history_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_History.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_history_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_history_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_history_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_user_log_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_UserLogFile.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_user_log_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_user_log_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_user_log_file_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_user_log_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "IEC60870_UserLog.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_user_log_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_user_log_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/iec60870_user_log_test.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/parameter_interop_slave.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/parameter_interop_slave.c", + "to": "App/iec60870/104/business/IEC104_Parameter.h", + "kind": "tp-tp", + "include": "IEC104_Parameter.h" + }, + { + "from": "IEC60870-Slave/test/parameter_interop_slave.c", + "to": "App/iec60870/104/business/IEC104_GeneralInterrogation.h", + "kind": "tp-tp", + "include": "IEC104_GeneralInterrogation.h" + }, + { + "from": "IEC60870-Slave/test/parameter_interop_slave.c", + "to": "App/iec60870/104/business/IEC104_PeriodicScan.h", + "kind": "tp-tp", + "include": "IEC104_PeriodicScan.h" + }, + { + "from": "IEC60870-Slave/test/parameter_interop_slave.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/test/parameter_interop_slave.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/parameter_interop_slave.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/parameter_interop_slave.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/parameter_lib60870_client.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "cs104_connection.h" + }, + { + "from": "IEC60870-Slave/test/parameter_lib60870_client.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "hal_thread.h" + }, + { + "from": "IEC60870-Slave/test/parameter_lib60870_client.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdatomic.h" + }, + { + "from": "IEC60870-Slave/test/parameter_lib60870_client.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/parameter_lib60870_client.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_interop_server.c", + "to": "IEC60870-Slave/test/iec104_test_config.h", + "kind": "tp-tp", + "include": "iec104_test_config.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_interop_server.c", + "to": "App/iec60870/104/business/IEC104_PeriodicScan.h", + "kind": "tp-tp", + "include": "IEC104_PeriodicScan.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_interop_server.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_interop_server.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_interop_server.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_interop_server.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_lib60870_client.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "cs104_connection.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_lib60870_client.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "hal_thread.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_lib60870_client.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdatomic.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_lib60870_client.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_lib60870_client.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_lib60870_client.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "math.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_soak_example.c", + "to": "App/iec60870/104/business/IEC104_PeriodicScan.h", + "kind": "tp-tp", + "include": "IEC104_PeriodicScan.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_soak_example.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "tp-tp", + "include": "IEC104_Net.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_soak_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdio.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_soak_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdlib.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_soak_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_soak_example.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "limits.h" + }, + { + "from": "IEC60870-Slave/test/periodic_scan_soak_example.c", + "to": "IEC60870-Slave/examples/iec104_slave_example.c", + "kind": "tp-tp", + "include": "../examples/iec104_slave_example.c" + }, { "from": "Inc/FreeRTOSConfig.h", "to": "外部/系统头文件", @@ -10485,6 +20117,54 @@ "kind": "fp-fp", "include": "main.h" }, + { + "from": "Lib/coreSNTP/core_sntp_serializer.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "string.h" + }, + { + "from": "Lib/coreSNTP/core_sntp_serializer.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdbool.h" + }, + { + "from": "Lib/coreSNTP/core_sntp_serializer.c", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "assert.h" + }, + { + "from": "Lib/coreSNTP/core_sntp_serializer.c", + "to": "Lib/coreSNTP/include/core_sntp_serializer.h", + "kind": "tp-tp", + "include": "core_sntp_serializer.h" + }, + { + "from": "Lib/coreSNTP/core_sntp_serializer.c", + "to": "Lib/coreSNTP/include/core_sntp_config_defaults.h", + "kind": "tp-tp", + "include": "core_sntp_config_defaults.h" + }, + { + "from": "Lib/coreSNTP/include/core_sntp_config_defaults.h", + "to": "Lib/coreSNTP/include/core_sntp_config.h", + "kind": "tp-tp", + "include": "core_sntp_config.h" + }, + { + "from": "Lib/coreSNTP/include/core_sntp_serializer.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stdint.h" + }, + { + "from": "Lib/coreSNTP/include/core_sntp_serializer.h", + "to": "外部/系统头文件", + "kind": "tp-ext", + "include": "stddef.h" + }, { "from": "Lib/dhara/bytes.h", "to": "外部/系统头文件", @@ -34971,6 +44651,18 @@ "kind": "fp-fp", "include": "sim_port.h" }, + { + "from": "simulator/main.c", + "to": "simulator/sim/iec104_sim.h", + "kind": "fp-fp", + "include": "iec104_sim.h" + }, + { + "from": "simulator/main.c", + "to": "App/iec60870/104/iec104_core.h", + "kind": "fp-fp", + "include": "iec104_core.h" + }, { "from": "simulator/main.c", "to": "Drivers/BSP/UI/ui_menu.h", @@ -34983,6 +44675,12 @@ "kind": "fp-fp", "include": "ui_standby.h" }, + { + "from": "simulator/main.c", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, { "from": "simulator/main.c", "to": "Drivers/BSP/UI/ui_net_sink.h", @@ -35013,6 +44711,48 @@ "kind": "fp-fp", "include": "sys_log.h" }, + { + "from": "simulator/main.c", + "to": "Drivers/BSP/UI/ui_w_records.h", + "kind": "fp-fp", + "include": "ui_w_records.h" + }, + { + "from": "simulator/main.c", + "to": "Drivers/BSP/UI/ui_w_soe.h", + "kind": "fp-fp", + "include": "ui_w_soe.h" + }, + { + "from": "simulator/main.c", + "to": "Drivers/BSP/UI/ui_data.h", + "kind": "fp-fp", + "include": "ui_data.h" + }, + { + "from": "simulator/main.c", + "to": "App/algo/prot_set.h", + "kind": "fp-fp", + "include": "prot_set.h" + }, + { + "from": "simulator/main.c", + "to": "App/algo/wave_ring.h", + "kind": "fp-fp", + "include": "wave_ring.h" + }, + { + "from": "simulator/main.c", + "to": "App/algo/wave_store.h", + "kind": "fp-fp", + "include": "wave_store.h" + }, + { + "from": "simulator/main.c", + "to": "App/algo/adc_cal.h", + "kind": "fp-fp", + "include": "adc_cal.h" + }, { "from": "simulator/SDL2/SDL2-2.32.10/include/SDL.h", "to": "simulator/SDL2/SDL2-2.32.10/include/SDL_main.h", @@ -40095,6 +49835,72 @@ "kind": "fp-fp", "include": "cfg_file_store.h" }, + { + "from": "simulator/sim/iec104_sim.c", + "to": "simulator/sim/iec104_sim.h", + "kind": "fp-fp", + "include": "iec104_sim.h" + }, + { + "from": "simulator/sim/iec104_sim.c", + "to": "App/iec60870/104/iec104_core.h", + "kind": "fp-fp", + "include": "iec104_core.h" + }, + { + "from": "simulator/sim/iec104_sim.c", + "to": "App/iec60870/104/iec104_source.h", + "kind": "fp-fp", + "include": "iec104_source.h" + }, + { + "from": "simulator/sim/iec104_sim.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "simulator/sim/iec104_sim.c", + "to": "App/iec60870/common/IEC60870_Time.h", + "kind": "fp-fp", + "include": "IEC60870_Time.h" + }, + { + "from": "simulator/sim/iec104_sim.c", + "to": "simulator/SDL2/SDL2-2.32.10/include/SDL.h", + "kind": "fp-tp", + "include": "SDL.h" + }, + { + "from": "simulator/sim/iec104_sim.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "simulator/sim/iec104_sim.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "simulator/sim/iec104_sim.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "simulator/sim/iec104_sim.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "time.h" + }, + { + "from": "simulator/sim/iec104_sim.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, { "from": "simulator/sim/net_socket_sim.c", "to": "Drivers/BSP/NET/net_socket.h", @@ -40329,12 +50135,6 @@ "kind": "fp-fp", "include": "adc_task.h" }, - { - "from": "Src/freertos.c", - "to": "App/task/iec104_serv.h", - "kind": "fp-fp", - "include": "iec104_serv.h" - }, { "from": "Src/freertos.c", "to": "App/task/protect_task.h", @@ -40497,6 +50297,18 @@ "kind": "fp-fp", "include": "adc_task.h" }, + { + "from": "Src/main.c", + "to": "Drivers/BSP/ScreenLink/sb_link.h", + "kind": "fp-fp", + "include": "sb_link.h" + }, + { + "from": "Src/main.c", + "to": "Drivers/BSP/IOBOARD/ioboard.h", + "kind": "fp-fp", + "include": "ioboard.h" + }, { "from": "Src/main.c", "to": "Drivers/BSP/dbg_log.h", @@ -40545,6 +50357,12 @@ "kind": "fp-fp", "include": "usart.h" }, + { + "from": "Src/stm32f4xx_it.c", + "to": "App/log/console_log.h", + "kind": "fp-fp", + "include": "console_log.h" + }, { "from": "Src/system_stm32f4xx.c", "to": "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h", @@ -40563,6 +50381,12 @@ "kind": "fp-fp", "include": "usart.h" }, + { + "from": "Src/usart.c", + "to": "Drivers/BSP/ScreenLink/sb_link.h", + "kind": "fp-fp", + "include": "sb_link.h" + }, { "from": "test/board/ch395f_reuse_bench.c", "to": "test/board/ch395f_reuse_bench.h", @@ -40755,6 +50579,102 @@ "kind": "fp-tp", "include": "ff.h" }, + { + "from": "test/board/ioboard_test.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/board/ioboard_test.h", + "to": "test/board/test_common.h", + "kind": "fp-fp", + "include": "test_common.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "Drivers/BSP/IOBOARD/ioboard.h", + "kind": "fp-fp", + "include": "ioboard.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "Drivers/BSP/bsp_err.h", + "kind": "fp-fp", + "include": "bsp_err.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "Drivers/BSP/IOBOARD/ioboard_bits.h", + "kind": "fp-fp", + "include": "ioboard_bits.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "test/board/ioboard_test.h", + "kind": "fp-fp", + "include": "ioboard_test.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "test/board/test_config.h", + "kind": "fp-fp", + "include": "test_config.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "Drivers/BSP/IOBOARD/ioboard.h", + "kind": "fp-fp", + "include": "ioboard.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "Drivers/BSP/IOBOARD/ioboard_bits.h", + "kind": "fp-fp", + "include": "ioboard_bits.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "Drivers/BSP/bsp_err.h", + "kind": "fp-fp", + "include": "bsp_err.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h", + "kind": "fp-tp", + "include": "cmsis_os.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h", + "kind": "fp-tp", + "include": "FreeRTOS.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/task.h", + "kind": "fp-tp", + "include": "task.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "Inc/main.h", + "kind": "fp-fp", + "include": "main.h" + }, + { + "from": "test/board/ioboard_test_task.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, { "from": "test/board/net_latency_test.c", "to": "外部/系统头文件", @@ -41043,6 +50963,12 @@ "kind": "fp-fp", "include": "sd2506_test.h" }, + { + "from": "test/board/test_config.c", + "to": "test/board/ioboard_test.h", + "kind": "fp-fp", + "include": "ioboard_test.h" + }, { "from": "test/board/test_config.h", "to": "外部/系统头文件", @@ -41073,6 +50999,78 @@ "kind": "fp-fp", "include": "sd2506_test.h" }, + { + "from": "test/board/test_config.h", + "to": "test/board/ioboard_test.h", + "kind": "fp-fp", + "include": "ioboard_test.h" + }, + { + "from": "test/host/adc_cal/adc_cal_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/adc_cal/adc_cal_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/adc_cal/adc_cal_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/adc_cal/adc_cal_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/adc_cal/adc_cal_test.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "test/host/adc_cal/adc_cal_test.c", + "to": "App/cfg/cfg_file_store.h", + "kind": "fp-fp", + "include": "cfg_file_store.h" + }, + { + "from": "test/host/adc_cal/adc_cal_test.c", + "to": "App/log/sys_log.h", + "kind": "fp-fp", + "include": "sys_log.h" + }, + { + "from": "test/host/adc_cal/adc_cal_test.c", + "to": "App/algo/adc_input.h", + "kind": "fp-fp", + "include": "adc_input.h" + }, + { + "from": "test/host/adc_cal/adc_cal_test.c", + "to": "App/cfg/cfg_file.c", + "kind": "fp-fp", + "include": "cfg_file.c" + }, + { + "from": "test/host/adc_cal/adc_cal_test.c", + "to": "App/algo/adc_cal.c", + "kind": "fp-fp", + "include": "adc_cal.c" + }, + { + "from": "test/host/adc_cal/stub/dbg_log.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, { "from": "test/host/adc_health/adc_health_test.c", "to": "外部/系统头文件", @@ -41145,6 +51143,48 @@ "kind": "fp-ext", "include": "stdint.h" }, + { + "from": "test/host/boot_stats/boot_stats_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/boot_stats/boot_stats_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/boot_stats/boot_stats_test.c", + "to": "App/util/boot_stats.h", + "kind": "fp-fp", + "include": "boot_stats.h" + }, + { + "from": "test/host/boot_stats/boot_stats_test.c", + "to": "Drivers/BSP/SD2506/sd2506.h", + "kind": "fp-fp", + "include": "sd2506.h" + }, + { + "from": "test/host/boot_stats/boot_stats_test.c", + "to": "App/app/app_main.h", + "kind": "fp-fp", + "include": "app_main.h" + }, + { + "from": "test/host/boot_stats/boot_stats_test.c", + "to": "App/util/boot_stats.c", + "kind": "fp-fp", + "include": "boot_stats.c" + }, + { + "from": "test/host/boot_stats/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, { "from": "test/host/cfg_file/cfg_file_test.c", "to": "外部/系统头文件", @@ -41199,6 +51239,240 @@ "kind": "fp-ext", "include": "stdio.h" }, + { + "from": "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c", + "to": "Lib/FatFs/ff.h", + "kind": "fp-tp", + "include": "ff.h" + }, + { + "from": "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "fatfs_fake.h" + }, + { + "from": "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h", + "kind": "fp-tp", + "include": "FreeRTOS.h" + }, + { + "from": "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c", + "to": "App/cfg/cfg_file_store.h", + "kind": "fp-fp", + "include": "cfg_file_store.h" + }, + { + "from": "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c", + "to": "App/fs/vol_lock.h", + "kind": "fp-fp", + "include": "vol_lock.h" + }, + { + "from": "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "fatfs_fake.c" + }, + { + "from": "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c", + "to": "App/cfg/cfg_file_store_mcu.c", + "kind": "fp-fp", + "include": "cfg_file_store_mcu.c" + }, + { + "from": "test/host/cfg_file_store_mcu/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/common/ch395f_fake.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/common/ch395f_fake.c", + "to": "test/host/common/ch395f_fake.h", + "kind": "fp-fp", + "include": "ch395f_fake.h" + }, + { + "from": "test/host/common/ch395f_fake.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/common/fatfs_fake.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/common/fatfs_fake.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/common/fatfs_fake.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/common/fatfs_fake.c", + "to": "test/host/common/fatfs_fake.h", + "kind": "fp-fp", + "include": "fatfs_fake.h" + }, + { + "from": "test/host/common/fatfs_fake.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/common/fatfs_fake.h", + "to": "Lib/FatFs/ff.h", + "kind": "fp-tp", + "include": "ff.h" + }, + { + "from": "test/host/console_log/console_log_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/console_log/console_log_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/console_log/console_log_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/console_log/console_log_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/console_log/console_log_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stm32f4_fake.h" + }, + { + "from": "test/host/console_log/console_log_test.c", + "to": "App/log/console_log.c", + "kind": "fp-fp", + "include": "console_log.c" + }, + { + "from": "test/host/console_log/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/console_log/stub/FreeRTOS.h", + "to": "test/host/console_log/stub/stm32f4_fake.h", + "kind": "fp-fp", + "include": "stm32f4_fake.h" + }, + { + "from": "test/host/console_log/stub/cmsis_os.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/console_log/stub/cmsis_os2.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/console_log/stub/cmsis_os2.h", + "to": "test/host/console_log/stub/stm32f4_fake.h", + "kind": "fp-fp", + "include": "stm32f4_fake.h" + }, + { + "from": "test/host/console_log/stub/stm32f4_fake.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/console_log/stub/stm32f4_fake.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/console_log/stub/stm32f4_fake.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/console_log/stub/stm32f4_fake.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/console_log/stub/task.h", + "to": "test/host/console_log/stub/FreeRTOS.h", + "kind": "fp-fp", + "include": "FreeRTOS.h" + }, + { + "from": "test/host/console_log/stub/usart.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/console_log/stub/usart.h", + "to": "test/host/console_log/stub/stm32f4_fake.h", + "kind": "fp-fp", + "include": "stm32f4_fake.h" + }, { "from": "test/host/freq/freq_test.c", "to": "外部/系统头文件", @@ -41260,70 +51534,1456 @@ "include": "lftpd_auth.c" }, { - "from": "test/host/iec104/iec104_test.c", - "to": "外部/系统头文件", - "kind": "fp-ext", - "include": "stdint.h" - }, - { - "from": "test/host/iec104/iec104_test.c", + "from": "test/host/ftp_cfg/ftp_cfg_test.c", "to": "外部/系统头文件", "kind": "fp-ext", "include": "stdio.h" }, { - "from": "test/host/iec104/iec104_test.c", + "from": "test/host/ftp_cfg/ftp_cfg_test.c", "to": "外部/系统头文件", "kind": "fp-ext", "include": "string.h" }, { - "from": "test/host/iec104/iec104_test.c", - "to": "App/protocol/iec104/iec104_asdu.c", + "from": "test/host/ftp_cfg/ftp_cfg_test.c", + "to": "App/cfg/cfg_file.h", "kind": "fp-fp", - "include": "iec104_asdu.c" + "include": "cfg_file.h" }, { - "from": "test/host/iec104/iec104_test.c", - "to": "App/algo/prot_set.c", + "from": "test/host/ftp_cfg/ftp_cfg_test.c", + "to": "Drivers/BSP/NETCFG/ftp_cfg.h", "kind": "fp-fp", - "include": "prot_set.c" + "include": "ftp_cfg.h" }, { - "from": "test/host/iec104/iec104_test.c", + "from": "test/host/ftp_cfg/ftp_cfg_test.c", + "to": "Drivers/BSP/NETCFG/ftp_cfg.c", + "kind": "fp-fp", + "include": "ftp_cfg.c" + }, + { + "from": "test/host/iec104_comm/iec104_comm_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/iec104_comm/iec104_comm_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/iec104_comm/iec104_comm_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/iec104_comm/iec104_comm_test.c", + "to": "App/cfg/cfg_file.h", + "kind": "fp-fp", + "include": "cfg_file.h" + }, + { + "from": "test/host/iec104_comm/iec104_comm_test.c", + "to": "App/iec60870/104/iec104_comm.c", + "kind": "fp-fp", + "include": "iec104_comm.c" + }, + { + "from": "test/host/iec104_dtu/core_lifecycle_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "test/host/iec104_dtu/core_lifecycle_test.c", + "to": "App/iec60870/104/iec104_core.h", + "kind": "fp-fp", + "include": "iec104_core.h" + }, + { + "from": "test/host/iec104_dtu/core_lifecycle_test.c", + "to": "App/iec60870/104/iec104_source.h", + "kind": "fp-fp", + "include": "iec104_source.h" + }, + { + "from": "test/host/iec104_dtu/source_binding_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/iec104_dtu/source_binding_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/iec104_dtu/source_binding_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "math.h" + }, + { + "from": "test/host/iec104_dtu/source_binding_test.c", + "to": "App/iec60870/104/iec104_source.h", + "kind": "fp-fp", + "include": "iec104_source.h" + }, + { + "from": "test/host/iec104_dtu/vendor_boundary_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "iec104_tcp_fixture.h" + }, + { + "from": "test/host/iec104_dtu/vendor_boundary_test.c", + "to": "App/iec60870/104/business/IEC104_Command.h", + "kind": "fp-fp", + "include": "IEC104_Command.h" + }, + { + "from": "test/host/iec104_dtu/vendor_boundary_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "limits.h" + }, + { + "from": "test/host/iec104_netmcu/net_socket_fake.c", + "to": "test/host/iec104_netmcu/net_socket_fake.h", + "kind": "fp-fp", + "include": "net_socket_fake.h" + }, + { + "from": "test/host/iec104_netmcu/net_socket_fake.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/iec104_netmcu/net_socket_fake.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/iec104_netmcu/net_socket_fake.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/iec104_netmcu/net_socket_fake.h", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "test/host/iec104_netmcu/net_socket_fake.h", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/iec104_netmcu/netmcu_stub_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/iec104_netmcu/netmcu_stub_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/iec104_netmcu/netmcu_stub_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/iec104_netmcu/netmcu_stub_test.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "test/host/iec104_netmcu/netmcu_stub_test.c", + "to": "test/host/iec104_netmcu/net_socket_fake.h", + "kind": "fp-fp", + "include": "net_socket_fake.h" + }, + { + "from": "test/host/iec104_netmcu/netmcu_stub_test.c", + "to": "test/host/iec104_netmcu/stub_iec104_netmcu.h", + "kind": "fp-fp", + "include": "stub_iec104_netmcu.h" + }, + { + "from": "test/host/iec104_netmcu/netmcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/iec104_netmcu/netmcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/iec104_netmcu/netmcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/iec104_netmcu/netmcu_test.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "test/host/iec104_netmcu/netmcu_test.c", + "to": "test/host/iec104_netmcu/net_socket_fake.h", + "kind": "fp-fp", + "include": "net_socket_fake.h" + }, + { + "from": "test/host/iec104_netmcu/stub_iec104_netmcu.c", + "to": "test/host/iec104_netmcu/stub_iec104_netmcu.h", + "kind": "fp-fp", + "include": "stub_iec104_netmcu.h" + }, + { + "from": "test/host/iec104_netmcu/stub_iec104_netmcu.c", + "to": "test/host/iec104_netmcu/net_socket_fake.h", + "kind": "fp-fp", + "include": "net_socket_fake.h" + }, + { + "from": "test/host/iec104_netmcu/stub_iec104_netmcu.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/iec104_netmcu/stub_iec104_netmcu.h", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c", + "to": "App/iec60870/104/IEC104_Net.h", + "kind": "fp-fp", + "include": "IEC104_Net.h" + }, + { + "from": "test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/iec104_netmcu/stub/FreeRTOS.h", + "to": "test/host/net_socket/stub/FreeRTOS.h", + "kind": "fp-fp", + "include": "../../net_socket/stub/FreeRTOS.h" + }, + { + "from": "test/host/iec104_netmcu/stub/cmsis_os2.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/iec104_netmcu/stub/task.h", + "to": "test/host/net_socket/stub/task.h", + "kind": "fp-fp", + "include": "../../net_socket/stub/task.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdbool.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h", + "kind": "fp-tp", + "include": "cmsis_os2.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/app/sys_events.h", + "kind": "fp-fp", + "include": "sys_events.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/cfg/cfg_file.h", + "kind": "fp-fp", + "include": "cfg_file.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/iec60870/104/iec104_comm.c", + "kind": "fp-fp", + "include": "iec104_comm.c" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/iec60870/104/iec104_core.h", + "kind": "fp-fp", + "include": "iec104_core.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/iec60870/104/iec104_source.h", + "kind": "fp-fp", + "include": "iec104_source.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/iec60870/104/iec104_net_mcu.h", + "kind": "fp-fp", + "include": "iec104_net_mcu.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/algo/meas.h", + "kind": "fp-fp", + "include": "meas.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/algo/adc_cal.h", + "kind": "fp-fp", + "include": "adc_cal.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/util/ioboard_di.h", + "kind": "fp-fp", + "include": "ioboard_di.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/algo/prot_set.h", + "kind": "fp-fp", + "include": "prot_set.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/algo/run_par.h", + "kind": "fp-fp", + "include": "run_par.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/util/task_watchdog.h", + "kind": "fp-fp", + "include": "task_watchdog.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "test/host/iec104_serv/iec104_serv_test.c", + "to": "App/task/iec104_serv.c", + "kind": "fp-fp", + "include": "iec104_serv.c" + }, + { + "from": "test/host/iec104_serv/stub/cmsis_os2.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/iec104_serv/stub/iec104_comm.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/iec104_serv/stub/net_socket.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/iec104_serv/stub/sys_events.h", + "to": "test/host/iec104_serv/stub/cmsis_os2.h", + "kind": "fp-fp", + "include": "cmsis_os2.h" + }, + { + "from": "test/host/ioboard/ioboard_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/ioboard/ioboard_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/ioboard/ioboard_test.c", + "to": "App/util/ioboard_di.h", + "kind": "fp-fp", + "include": "ioboard_di.h" + }, + { + "from": "test/host/ioboard/ioboard_test.c", + "to": "Drivers/BSP/IOBOARD/ioboard_bits.h", + "kind": "fp-fp", + "include": "ioboard_bits.h" + }, + { + "from": "test/host/ioboard/ioboard_test.c", + "to": "Drivers/BSP/bsp_err.h", + "kind": "fp-fp", + "include": "bsp_err.h" + }, + { + "from": "test/host/ioboard/ioboard_test.c", + "to": "Drivers/BSP/IOBOARD/ioboard.h", + "kind": "fp-fp", + "include": "ioboard.h" + }, + { + "from": "test/host/ioboard/ioboard_test.c", + "to": "Drivers/BSP/IOBOARD/ioboard_bits.c", + "kind": "fp-fp", + "include": "ioboard_bits.c" + }, + { + "from": "test/host/ioboard/ioboard_test.c", + "to": "App/util/ioboard_di.c", + "kind": "fp-fp", + "include": "ioboard_di.c" + }, + { + "from": "test/host/lftpd/lftpd_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/lftpd/lftpd_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/lftpd/lftpd_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/lftpd/lftpd_test.c", + "to": "Drivers/BSP/NET/lftpd/lftpd.h", + "kind": "fp-tp", + "include": "lftpd.h" + }, + { + "from": "test/host/lftpd/lftpd_test.c", + "to": "Drivers/BSP/NET/lftpd/lftpd_auth.h", + "kind": "fp-tp", + "include": "lftpd_auth.h" + }, + { + "from": "test/host/lftpd/lftpd_test.c", + "to": "Drivers/BSP/NETCFG/ftp_cfg.h", + "kind": "fp-fp", + "include": "ftp_cfg.h" + }, + { + "from": "test/host/lftpd/lftpd_test.c", + "to": "Lib/FatFs/ff.h", + "kind": "fp-tp", + "include": "ff.h" + }, + { + "from": "test/host/lftpd/lftpd_test.c", + "to": "Drivers/BSP/NET/lftpd/lftpd.c", + "kind": "fp-tp", + "include": "lftpd.c" + }, + { + "from": "test/host/lftpd/lftpd_test.c", + "to": "Drivers/BSP/NET/lftpd/lftpd_string.c", + "kind": "fp-tp", + "include": "lftpd_string.c" + }, + { + "from": "test/host/lftpd/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/lftpd/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/lftpd/stub/net_socket.h", + "to": "test/host/lftpd/stub/FreeRTOS.h", + "kind": "fp-fp", + "include": "FreeRTOS.h" + }, + { + "from": "test/host/lftpd/stub/net_socket.h", + "to": "test/host/lftpd/stub/task.h", + "kind": "fp-fp", + "include": "task.h" + }, + { + "from": "test/host/lftpd/stub/net_socket.h", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "test/host/lftpd/stub/task.h", + "to": "test/host/lftpd/stub/FreeRTOS.h", + "kind": "fp-fp", + "include": "FreeRTOS.h" + }, + { + "from": "test/host/lftpd_inet/lftpd_inet_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/lftpd_inet/lftpd_inet_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/lftpd_inet/lftpd_inet_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/lftpd_inet/lftpd_inet_test.c", + "to": "Drivers/BSP/NET/lftpd/private/lftpd_inet.h", + "kind": "fp-tp", + "include": "private/lftpd_inet.h" + }, + { + "from": "test/host/lftpd_inet/lftpd_inet_test.c", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "test/host/lftpd_inet/lftpd_inet_test.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/lftpd_inet/lftpd_inet_test.c", + "to": "Drivers/BSP/NET/lftpd/lftpd_inet.c", + "kind": "fp-tp", + "include": "lftpd_inet.c" + }, + { + "from": "test/host/lftpd_inet/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/lftpd_inet/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/lftpd_inet/stub/net_socket.h", + "to": "test/host/lftpd_inet/stub/FreeRTOS.h", + "kind": "fp-fp", + "include": "FreeRTOS.h" + }, + { + "from": "test/host/lftpd_inet/stub/net_socket.h", + "to": "test/host/lftpd_inet/stub/task.h", + "kind": "fp-fp", + "include": "task.h" + }, + { + "from": "test/host/lftpd_inet/stub/net_socket.h", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "test/host/lftpd_inet/stub/task.h", + "to": "test/host/lftpd_inet/stub/FreeRTOS.h", + "kind": "fp-fp", + "include": "FreeRTOS.h" + }, + { + "from": "test/host/lftpd_io/lftpd_io_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/lftpd_io/lftpd_io_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/lftpd_io/lftpd_io_test.c", + "to": "Lib/FatFs/ff.h", + "kind": "fp-tp", + "include": "ff.h" + }, + { + "from": "test/host/lftpd_io/lftpd_io_test.c", + "to": "Drivers/BSP/NET/lftpd/private/lftpd_io.h", + "kind": "fp-tp", + "include": "private/lftpd_io.h" + }, + { + "from": "test/host/lftpd_io/lftpd_io_test.c", + "to": "Drivers/BSP/NET/lftpd/private/lftpd_string.h", + "kind": "fp-tp", + "include": "private/lftpd_string.h" + }, + { + "from": "test/host/lftpd_io/lftpd_io_test.c", + "to": "App/fs/vol_lock.h", + "kind": "fp-fp", + "include": "vol_lock.h" + }, + { + "from": "test/host/lftpd_io/lftpd_io_test.c", + "to": "Drivers/BSP/NET/lftpd/lftpd.h", + "kind": "fp-tp", + "include": "lftpd.h" + }, + { + "from": "test/host/lftpd_io/lftpd_io_test.c", + "to": "Drivers/BSP/NET/lftpd/lftpd_io.c", + "kind": "fp-tp", + "include": "lftpd_io.c" + }, + { + "from": "test/host/lftpd_io/lftpd_io_test.c", + "to": "Drivers/BSP/NET/lftpd/lftpd_string.c", + "kind": "fp-tp", + "include": "lftpd_string.c" + }, + { + "from": "test/host/lftpd_io/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/meas/meas_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "math.h" + }, + { + "from": "test/host/meas/meas_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/meas/meas_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/meas/meas_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/meas/meas_test.c", "to": "App/algo/sample_ring.c", "kind": "fp-fp", "include": "sample_ring.c" }, { - "from": "test/host/iec104/iec104_test.c", + "from": "test/host/meas/meas_test.c", "to": "App/algo/phasor.c", "kind": "fp-fp", "include": "phasor.c" }, { - "from": "test/host/iec104/iec104_test.c", - "to": "App/algo/freq.c", + "from": "test/host/meas/meas_test.c", + "to": "App/algo/meas.c", "kind": "fp-fp", - "include": "freq.c" + "include": "meas.c" }, { - "from": "test/host/iec104/iec104_test.c", - "to": "App/algo/prot_elm.c", - "kind": "fp-fp", - "include": "prot_elm.c" + "from": "test/host/nand_port/nand_port_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" }, { - "from": "test/host/iec104/iec104_test.c", - "to": "App/protocol/iec104/iec104_pts.c", - "kind": "fp-fp", - "include": "iec104_pts.c" + "from": "test/host/nand_port/nand_port_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" }, { - "from": "test/host/iec104/iec104_test.c", - "to": "App/protocol/iec104/iec104_link.c", + "from": "test/host/nand_port/nand_port_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/nand_port/nand_port_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/nand_port/nand_port_test.c", + "to": "Drivers/BSP/dbg_log.h", "kind": "fp-fp", - "include": "iec104_link.c" + "include": "dbg_log.h" + }, + { + "from": "test/host/nand_port/nand_port_test.c", + "to": "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h", + "kind": "fp-fp", + "include": "gd5f2gq5ue.h" + }, + { + "from": "test/host/nand_port/nand_port_test.c", + "to": "Drivers/BSP/GD5F2GQ5UE/nand_ftl.c", + "kind": "fp-fp", + "include": "nand_ftl.c" + }, + { + "from": "test/host/nand_port/nand_port_test.c", + "to": "Lib/dhara/journal.c", + "kind": "fp-tp", + "include": "journal.c" + }, + { + "from": "test/host/nand_port/nand_port_test.c", + "to": "Lib/dhara/map.c", + "kind": "fp-tp", + "include": "map.c" + }, + { + "from": "test/host/nand_port/stub/dbg_log.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/nand_port/stub/gd5f2gq5ue.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/nand_port/stub/gd5f2gq5ue.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_cfg/net_cfg_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/net_cfg/net_cfg_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/net_cfg/net_cfg_test.c", + "to": "App/cfg/cfg_file.h", + "kind": "fp-fp", + "include": "cfg_file.h" + }, + { + "from": "test/host/net_cfg/net_cfg_test.c", + "to": "Drivers/BSP/NETCFG/net_cfg.h", + "kind": "fp-fp", + "include": "net_cfg.h" + }, + { + "from": "test/host/net_cfg/net_cfg_test.c", + "to": "Drivers/BSP/NETCFG/sntp_cfg.h", + "kind": "fp-fp", + "include": "sntp_cfg.h" + }, + { + "from": "test/host/net_cfg/net_cfg_test.c", + "to": "Drivers/BSP/NETCFG/net_cfg.c", + "kind": "fp-fp", + "include": "net_cfg.c" + }, + { + "from": "test/host/net_cfg/net_cfg_test.c", + "to": "Drivers/BSP/NETCFG/sntp_cfg.c", + "kind": "fp-fp", + "include": "sntp_cfg.c" + }, + { + "from": "test/host/net_events/net_events_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/net_events/net_events_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/net_events/net_events_test.c", + "to": "Drivers/BSP/NET/net_events.h", + "kind": "fp-fp", + "include": "net_events.h" + }, + { + "from": "test/host/net_events/net_events_test.c", + "to": "Drivers/BSP/NET/net_listener.h", + "kind": "fp-fp", + "include": "net_listener.h" + }, + { + "from": "test/host/net_events/net_events_test.c", + "to": "Drivers/BSP/NET/net_pending.h", + "kind": "fp-fp", + "include": "net_pending.h" + }, + { + "from": "test/host/net_events/net_events_test.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/net_events/net_events_test.c", + "to": "Drivers/BSP/CH395F/ch395f.h", + "kind": "fp-fp", + "include": "ch395f.h" + }, + { + "from": "test/host/net_events/net_events_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "ch395f_fake.c" + }, + { + "from": "test/host/net_events/net_events_test.c", + "to": "Drivers/BSP/NET/net_events.c", + "kind": "fp-fp", + "include": "net_events.c" + }, + { + "from": "test/host/net_events/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/net_events/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_events/stub/ch395f.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "ch395f_fake.h" + }, + { + "from": "test/host/net_events/stub/cmsis_os.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_events/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_events/stub/net_socket.h", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "test/host/net_events/stub/task.h", + "to": "test/host/net_events/stub/FreeRTOS.h", + "kind": "fp-fp", + "include": "FreeRTOS.h" + }, + { + "from": "test/host/net_listener/net_listener_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/net_listener/net_listener_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/net_listener/net_listener_test.c", + "to": "Drivers/BSP/NET/net_listener.h", + "kind": "fp-fp", + "include": "net_listener.h" + }, + { + "from": "test/host/net_listener/net_listener_test.c", + "to": "Drivers/BSP/NET/net_pending.h", + "kind": "fp-fp", + "include": "net_pending.h" + }, + { + "from": "test/host/net_listener/net_listener_test.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/net_listener/net_listener_test.c", + "to": "Drivers/BSP/CH395F/ch395f.h", + "kind": "fp-fp", + "include": "ch395f.h" + }, + { + "from": "test/host/net_listener/net_listener_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "ch395f_fake.c" + }, + { + "from": "test/host/net_listener/net_listener_test.c", + "to": "Drivers/BSP/NET/net_listener.c", + "kind": "fp-fp", + "include": "net_listener.c" + }, + { + "from": "test/host/net_listener/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/net_listener/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_listener/stub/ch395f.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "ch395f_fake.h" + }, + { + "from": "test/host/net_listener/stub/cmsis_os.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_listener/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_listener/stub/net_socket.h", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "test/host/net_pending/net_pending_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/net_pending/net_pending_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/net_pending/net_pending_test.c", + "to": "Drivers/BSP/NET/net_pending.h", + "kind": "fp-fp", + "include": "net_pending.h" + }, + { + "from": "test/host/net_pending/net_pending_test.c", + "to": "Drivers/BSP/NET/net_listener.h", + "kind": "fp-fp", + "include": "net_listener.h" + }, + { + "from": "test/host/net_pending/net_pending_test.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/net_pending/net_pending_test.c", + "to": "Drivers/BSP/CH395F/ch395f.h", + "kind": "fp-fp", + "include": "ch395f.h" + }, + { + "from": "test/host/net_pending/net_pending_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "ch395f_fake.c" + }, + { + "from": "test/host/net_pending/net_pending_test.c", + "to": "Drivers/BSP/NET/net_pending.c", + "kind": "fp-fp", + "include": "net_pending.c" + }, + { + "from": "test/host/net_pending/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/net_pending/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_pending/stub/ch395f.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "ch395f_fake.h" + }, + { + "from": "test/host/net_pending/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_pending/stub/net_socket.h", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "test/host/net_pending/stub/task.h", + "to": "test/host/net_pending/stub/FreeRTOS.h", + "kind": "fp-fp", + "include": "FreeRTOS.h" + }, + { + "from": "test/host/net_select/net_select_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/net_select/net_select_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/net_select/net_select_test.c", + "to": "Drivers/BSP/NET/net_select.h", + "kind": "fp-fp", + "include": "net_select.h" + }, + { + "from": "test/host/net_select/net_select_test.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/net_select/net_select_test.c", + "to": "Drivers/BSP/NET/net_select.c", + "kind": "fp-fp", + "include": "net_select.c" + }, + { + "from": "test/host/net_select/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/net_select/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_select/stub/ch395f.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_select/stub/cmsis_os.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_select/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_select/stub/net_socket.h", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "Drivers/BSP/NET/net_pending.h", + "kind": "fp-fp", + "include": "net_pending.h" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "Drivers/BSP/NET/net_listener.h", + "kind": "fp-fp", + "include": "net_listener.h" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "Drivers/BSP/NET/net_events.h", + "kind": "fp-fp", + "include": "net_events.h" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "Drivers/BSP/CH395F/ch395f.h", + "kind": "fp-fp", + "include": "ch395f.h" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "ch395f_fake.c" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "test/host/net_socket/ns_rtos.c", + "kind": "fp-fp", + "include": "ns_rtos.c" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "test/host/net_socket/ns_peers.c", + "kind": "fp-fp", + "include": "ns_peers.c" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "Drivers/BSP/NET/net_socket.c", + "kind": "fp-fp", + "include": "net_socket.c" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "Drivers/BSP/NET/net_udp.c", + "kind": "fp-fp", + "include": "net_udp.c" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "test/host/net_socket/ns_s3_msg.c", + "kind": "fp-fp", + "include": "ns_s3_msg.c" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "test/host/net_socket/ns_s4_state.c", + "kind": "fp-fp", + "include": "ns_s4_state.c" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "test/host/net_socket/ns_s5_io.c", + "kind": "fp-fp", + "include": "ns_s5_io.c" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "test/host/net_socket/ns_s6_edges.c", + "kind": "fp-fp", + "include": "ns_s6_edges.c" + }, + { + "from": "test/host/net_socket/net_socket_test.c", + "to": "test/host/net_socket/ns_s7_udp.c", + "kind": "fp-fp", + "include": "ns_s7_udp.c" + }, + { + "from": "test/host/net_socket/ns_peers.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/net_socket/ns_peers.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/net_socket/ns_peers.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/net_socket/ns_peers.c", + "to": "Drivers/BSP/NET/net_listener.h", + "kind": "fp-fp", + "include": "net_listener.h" + }, + { + "from": "test/host/net_socket/ns_peers.c", + "to": "Drivers/BSP/NET/net_pending.h", + "kind": "fp-fp", + "include": "net_pending.h" + }, + { + "from": "test/host/net_socket/ns_peers.c", + "to": "Drivers/BSP/NET/net_events.h", + "kind": "fp-fp", + "include": "net_events.h" + }, + { + "from": "test/host/net_socket/ns_peers.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/net_socket/ns_peers.c", + "to": "test/host/net_socket/ns_peers.h", + "kind": "fp-fp", + "include": "ns_peers.h" + }, + { + "from": "test/host/net_socket/ns_peers.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "ns_rtos.h" + }, + { + "from": "test/host/net_socket/ns_peers.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_socket/ns_peers.h", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h", + "kind": "fp-tp", + "include": "FreeRTOS.h" + }, + { + "from": "test/host/net_socket/ns_peers.h", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "test/host/net_socket/ns_rtos.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/net_socket/ns_rtos.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/net_socket/ns_rtos.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/net_socket/ns_rtos.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "ns_rtos.h" + }, + { + "from": "test/host/net_socket/ns_rtos.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/net_socket/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/net_socket/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_socket/stub/ch395f.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "ch395f_fake.h" + }, + { + "from": "test/host/net_socket/stub/cmsis_os.h", + "to": "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h", + "kind": "fp-tp", + "include": "cmsis_os2.h" + }, + { + "from": "test/host/net_socket/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/net_socket/stub/ns_rtos.h", + "to": "test/host/net_socket/stub/FreeRTOS.h", + "kind": "fp-fp", + "include": "FreeRTOS.h" + }, + { + "from": "test/host/net_socket/stub/ns_rtos.h", + "to": "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h", + "kind": "fp-tp", + "include": "cmsis_os2.h" + }, + { + "from": "test/host/net_socket/stub/ns_rtos.h", + "to": "test/host/net_socket/stub/main.h", + "kind": "fp-fp", + "include": "main.h" + }, + { + "from": "test/host/net_socket/stub/task.h", + "to": "test/host/net_socket/stub/FreeRTOS.h", + "kind": "fp-fp", + "include": "FreeRTOS.h" }, { "from": "test/host/phasor/phasor_test.c", @@ -41355,6 +53015,96 @@ "kind": "fp-fp", "include": "phasor.c" }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "math.h" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "App/cfg/cfg_file.h", + "kind": "fp-fp", + "include": "cfg_file.h" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "App/algo/adc_input.h", + "kind": "fp-fp", + "include": "adc_input.h" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "App/algo/adc_cal.h", + "kind": "fp-fp", + "include": "adc_cal.h" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "App/algo/prot_set.c", + "kind": "fp-fp", + "include": "prot_set.c" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "App/algo/sample_ring.c", + "kind": "fp-fp", + "include": "sample_ring.c" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "App/algo/phasor.c", + "kind": "fp-fp", + "include": "phasor.c" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "App/algo/freq.c", + "kind": "fp-fp", + "include": "freq.c" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "App/algo/prot_elm.c", + "kind": "fp-fp", + "include": "prot_elm.c" + }, + { + "from": "test/host/prot_dim/prot_dim_test.c", + "to": "App/algo/adc_cal.c", + "kind": "fp-fp", + "include": "adc_cal.c" + }, + { + "from": "test/host/prot_dim/stub/dbg_log.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, { "from": "test/host/prot_elm/prot_elm_test.c", "to": "外部/系统头文件", @@ -41421,6 +53171,228 @@ "kind": "fp-fp", "include": "prot_set.c" }, + { + "from": "test/host/prot_set_store/prot_set_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/prot_set_store/prot_set_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/prot_set_store/prot_set_store_test.c", + "to": "App/cfg/cfg_file_store.h", + "kind": "fp-fp", + "include": "cfg_file_store.h" + }, + { + "from": "test/host/prot_set_store/prot_set_store_test.c", + "to": "App/algo/prot_set.h", + "kind": "fp-fp", + "include": "prot_set.h" + }, + { + "from": "test/host/prot_set_store/prot_set_store_test.c", + "to": "App/cfg/prot_set_store.h", + "kind": "fp-fp", + "include": "prot_set_store.h" + }, + { + "from": "test/host/prot_set_store/prot_set_store_test.c", + "to": "App/algo/prot_set.c", + "kind": "fp-fp", + "include": "prot_set.c" + }, + { + "from": "test/host/prot_set_store/prot_set_store_test.c", + "to": "App/cfg/prot_set_store.c", + "kind": "fp-fp", + "include": "prot_set_store.c" + }, + { + "from": "test/host/run_par/run_par_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/run_par/run_par_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/run_par/run_par_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/run_par/run_par_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/run_par/run_par_test.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "test/host/run_par/run_par_test.c", + "to": "App/cfg/cfg_file_store.h", + "kind": "fp-fp", + "include": "cfg_file_store.h" + }, + { + "from": "test/host/run_par/run_par_test.c", + "to": "App/log/sys_log.h", + "kind": "fp-fp", + "include": "sys_log.h" + }, + { + "from": "test/host/run_par/run_par_test.c", + "to": "App/algo/adc_input.h", + "kind": "fp-fp", + "include": "adc_input.h" + }, + { + "from": "test/host/run_par/run_par_test.c", + "to": "App/cfg/cfg_file.c", + "kind": "fp-fp", + "include": "cfg_file.c" + }, + { + "from": "test/host/run_par/run_par_test.c", + "to": "App/algo/adc_cal.c", + "kind": "fp-fp", + "include": "adc_cal.c" + }, + { + "from": "test/host/run_par/run_par_test.c", + "to": "App/algo/run_par.c", + "kind": "fp-fp", + "include": "run_par.c" + }, + { + "from": "test/host/sb_led_map/sb_led_map_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sb_led_map/sb_led_map_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/sb_led_map/sb_led_map_test.c", + "to": "App/algo/sb_led_map.h", + "kind": "fp-fp", + "include": "sb_led_map.h" + }, + { + "from": "test/host/sb_led_map/sb_led_map_test.c", + "to": "App/algo/sb_led_map.c", + "kind": "fp-fp", + "include": "sb_led_map.c" + }, + { + "from": "test/host/sb_link/sb_link_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sb_link/sb_link_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/sb_link/sb_link_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/sb_link/sb_link_test.c", + "to": "Drivers/BSP/ScreenLink/sb_proto.c", + "kind": "fp-fp", + "include": "sb_proto.c" + }, + { + "from": "test/host/sb_link/sb_link_test.c", + "to": "Drivers/BSP/ScreenLink/sb_link.c", + "kind": "fp-fp", + "include": "sb_link.c" + }, + { + "from": "test/host/sb_link/stub/dbg_log.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdarg.h" + }, + { + "from": "test/host/sb_link/stub/dbg_log.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sb_link/stub/dbg_log.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/sb_link/stub/dbg_log.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/sb_link/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/sb_link/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sb_proto/sb_proto_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sb_proto/sb_proto_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/sb_proto/sb_proto_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/sb_proto/sb_proto_test.c", + "to": "Drivers/BSP/ScreenLink/sb_proto.c", + "kind": "fp-fp", + "include": "sb_proto.c" + }, { "from": "test/host/sha256/sha256_test.c", "to": "外部/系统头文件", @@ -41439,6 +53411,162 @@ "kind": "fp-fp", "include": "sha256.c" }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h", + "kind": "fp-tp", + "include": "FreeRTOS.h" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/task.h", + "kind": "fp-tp", + "include": "task.h" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h", + "kind": "fp-tp", + "include": "cmsis_os2.h" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "Drivers/BSP/NET/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "App/util/sys_clock.h", + "kind": "fp-fp", + "include": "sys_clock.h" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "App/app/sys_events.h", + "kind": "fp-fp", + "include": "sys_events.h" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "App/log/sys_log.h", + "kind": "fp-fp", + "include": "sys_log.h" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "core_sntp_serializer.c" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "Drivers/BSP/NETCFG/sntp_cfg.c", + "kind": "fp-fp", + "include": "sntp_cfg.c" + }, + { + "from": "test/host/sntp/sntp_test.c", + "to": "App/sync/time_sntp.c", + "kind": "fp-fp", + "include": "time_sntp.c" + }, + { + "from": "test/host/sntp/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sntp/stub/cmsis_os2.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sntp/stub/dbg_log.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sntp/stub/net_socket.h", + "to": "test/host/sntp/stub/task.h", + "kind": "fp-fp", + "include": "task.h" + }, + { + "from": "test/host/sntp/stub/net_socket.h", + "to": "test/host/sntp/stub/net_types.h", + "kind": "fp-fp", + "include": "net_types.h" + }, + { + "from": "test/host/sntp/stub/net_types.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sntp/stub/sys_clock.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sntp/stub/sys_events.h", + "to": "test/host/sntp/stub/cmsis_os2.h", + "kind": "fp-fp", + "include": "cmsis_os2.h" + }, + { + "from": "test/host/sntp/stub/sys_log.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sntp/stub/task.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sntp/stub/task.h", + "to": "test/host/sntp/stub/FreeRTOS.h", + "kind": "fp-fp", + "include": "FreeRTOS.h" + }, { "from": "test/host/soe/soe_test.c", "to": "外部/系统头文件", @@ -41465,9 +53593,117 @@ }, { "from": "test/host/soe/soe_test.c", - "to": "App/protocol/iec104/iec104_asdu.c", + "to": "App/iec60870/common/IEC60870_Time.c", "kind": "fp-fp", - "include": "iec104_asdu.c" + "include": "IEC60870_Time.c" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "Lib/FatFs/ff.h", + "kind": "fp-tp", + "include": "ff.h" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "fatfs_fake.h" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h", + "kind": "fp-tp", + "include": "cmsis_os.h" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "App/util/sys_clock.h", + "kind": "fp-fp", + "include": "sys_clock.h" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "App/fs/vol_lock.h", + "kind": "fp-fp", + "include": "vol_lock.h" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "App/log/soe_rec.h", + "kind": "fp-fp", + "include": "soe_rec.h" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "App/log/soe_store.h", + "kind": "fp-fp", + "include": "soe_store.h" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "fatfs_fake.c" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "App/log/soe_rec.c", + "kind": "fp-fp", + "include": "soe_rec.c" + }, + { + "from": "test/host/soe_store/soe_store_test.c", + "to": "App/log/soe_store.c", + "kind": "fp-fp", + "include": "soe_store.c" + }, + { + "from": "test/host/soe_store/stub/cmsis_os.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/soe_store/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/soe_store/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" }, { "from": "test/host/sys_clock/sys_clock_test.c", @@ -41553,6 +53789,150 @@ "kind": "fp-fp", "include": "FreeRTOS.h" }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "time.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "Lib/FatFs/ff.h", + "kind": "fp-tp", + "include": "ff.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "fatfs_fake.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h", + "kind": "fp-tp", + "include": "cmsis_os.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "App/util/sys_clock.h", + "kind": "fp-fp", + "include": "sys_clock.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "App/fs/vol_lock.h", + "kind": "fp-fp", + "include": "vol_lock.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "App/log/sys_log.h", + "kind": "fp-fp", + "include": "sys_log.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "App/log/soe_store.h", + "kind": "fp-fp", + "include": "soe_store.h" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "fatfs_fake.c" + }, + { + "from": "test/host/sys_log_mcu/sys_log_mcu_test.c", + "to": "App/log/sys_log_mcu.c", + "kind": "fp-fp", + "include": "sys_log_mcu.c" + }, + { + "from": "test/host/sys_log_mcu/stub/cmsis_os.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/sys_log_mcu/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/sys_log_mcu/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/task_prof/task_prof_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/task_prof/task_prof_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/task_prof/task_prof_test.c", + "to": "App/log/console_log.h", + "kind": "fp-fp", + "include": "console_log.h" + }, + { + "from": "test/host/task_prof/task_prof_test.c", + "to": "App/util/task_prof.h", + "kind": "fp-fp", + "include": "task_prof.h" + }, + { + "from": "test/host/task_prof/task_prof_test.c", + "to": "App/util/task_prof.c", + "kind": "fp-fp", + "include": "task_prof.c" + }, + { + "from": "test/host/task_prof/stub/main.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, { "from": "test/host/time_sync/time_sync_test.c", "to": "外部/系统头文件", @@ -41595,12 +53975,6 @@ "kind": "fp-fp", "include": "net_socket.h" }, - { - "from": "test/host/time_sync/time_sync_test.c", - "to": "App/util/sys_clock.h", - "kind": "fp-fp", - "include": "sys_clock.h" - }, { "from": "test/host/time_sync/time_sync_test.c", "to": "App/app/sys_events.h", @@ -41613,6 +53987,12 @@ "kind": "fp-fp", "include": "task_watchdog.h" }, + { + "from": "test/host/time_sync/time_sync_test.c", + "to": "App/sync/time_sntp.h", + "kind": "fp-fp", + "include": "time_sntp.h" + }, { "from": "test/host/time_sync/time_sync_test.c", "to": "App/sync/time_sync.c", @@ -41631,12 +54011,6 @@ "kind": "fp-ext", "include": "stdint.h" }, - { - "from": "test/host/time_sync/stub/dbg_log.h", - "to": "外部/系统头文件", - "kind": "fp-ext", - "include": "stdio.h" - }, { "from": "test/host/time_sync/stub/net_socket.h", "to": "外部/系统头文件", @@ -41655,12 +54029,6 @@ "kind": "fp-fp", "include": "task.h" }, - { - "from": "test/host/time_sync/stub/sys_clock.h", - "to": "外部/系统头文件", - "kind": "fp-ext", - "include": "stdint.h" - }, { "from": "test/host/time_sync/stub/sys_events.h", "to": "test/host/time_sync/stub/cmsis_os2.h", @@ -41673,6 +54041,246 @@ "kind": "fp-fp", "include": "FreeRTOS.h" }, + { + "from": "test/host/ui_data/ui_data_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/ui_data/ui_data_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/ui_data/ui_data_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/ui_data/ui_data_test.c", + "to": "Drivers/BSP/UI/ui_data.c", + "kind": "fp-fp", + "include": "ui_data.c" + }, + { + "from": "test/host/ui_data/ui_data_test.c", + "to": "App/algo/adc_input.h", + "kind": "fp-fp", + "include": "adc_input.h" + }, + { + "from": "test/host/ui_data/ui_data_test.c", + "to": "App/algo/prot_set.h", + "kind": "fp-fp", + "include": "prot_set.h" + }, + { + "from": "test/host/ui_data/ui_data_test.c", + "to": "Drivers/BSP/UI/ui_w_soe.c", + "kind": "fp-fp", + "include": "ui_w_soe.c" + }, + { + "from": "test/host/ui_data/ui_data_test.c", + "to": "App/log/soe_rec.h", + "kind": "fp-fp", + "include": "soe_rec.h" + }, + { + "from": "test/host/ui_data/ui_data_test.c", + "to": "App/algo/prot_elm.h", + "kind": "fp-fp", + "include": "prot_elm.h" + }, + { + "from": "test/host/ui_data/ui_data_test.c", + "to": "App/log/sys_log.h", + "kind": "fp-fp", + "include": "sys_log.h" + }, + { + "from": "test/host/ui_data/ui_data_test.c", + "to": "Drivers/BSP/UI/ui_w_records.h", + "kind": "fp-fp", + "include": "ui_w_records.h" + }, + { + "from": "test/host/ui_sink/ui_sink_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/ui_sink/ui_sink_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/ui_sink/ui_sink_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/ui_sink/ui_sink_test.c", + "to": "Drivers/BSP/NET/net_socket.h", + "kind": "fp-fp", + "include": "net_socket.h" + }, + { + "from": "test/host/ui_sink/ui_sink_test.c", + "to": "Drivers/BSP/UI/ui_net_sink.h", + "kind": "fp-fp", + "include": "ui_net_sink.h" + }, + { + "from": "test/host/ui_sink/ui_sink_test.c", + "to": "Drivers/BSP/UI/ui_net_sink_backend.h", + "kind": "fp-fp", + "include": "ui_net_sink_backend.h" + }, + { + "from": "test/host/ui_sink/ui_sink_test.c", + "to": "Drivers/BSP/UI/ui_menu.h", + "kind": "fp-fp", + "include": "ui_menu.h" + }, + { + "from": "test/host/ui_sink/ui_sink_test.c", + "to": "Drivers/BSP/UI/ui_content_page.h", + "kind": "fp-fp", + "include": "ui_content_page.h" + }, + { + "from": "test/host/ui_sink/ui_sink_test.c", + "to": "Drivers/BSP/UI/ui_page_registry.h", + "kind": "fp-fp", + "include": "ui_page_registry.h" + }, + { + "from": "test/host/ui_sink/ui_sink_test.c", + "to": "Drivers/BSP/UI/ui_standby.h", + "kind": "fp-fp", + "include": "ui_standby.h" + }, + { + "from": "test/host/ui_sink/ui_sink_test.c", + "to": "Drivers/BSP/UI/ui_net_sink.c", + "kind": "fp-fp", + "include": "ui_net_sink.c" + }, + { + "from": "test/host/ui_sink/stub/lvgl.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/ui_sink/stub/net_socket.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "to": "Lib/FatFs/ff.h", + "kind": "fp-tp", + "include": "ff.h" + }, + { + "from": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "to": "Lib/FatFs/diskio.h", + "kind": "fp-tp", + "include": "diskio.h" + }, + { + "from": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "to": "test/board/test_config.h", + "kind": "fp-fp", + "include": "test_config.h" + }, + { + "from": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h", + "kind": "fp-tp", + "include": "cmsis_os.h" + }, + { + "from": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h", + "kind": "fp-tp", + "include": "FreeRTOS.h" + }, + { + "from": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "to": "Middlewares/Third_Party/FreeRTOS/Source/include/task.h", + "kind": "fp-tp", + "include": "task.h" + }, + { + "from": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "to": "App/app/sys_events.h", + "kind": "fp-fp", + "include": "sys_events.h" + }, + { + "from": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "to": "Drivers/BSP/dbg_log.h", + "kind": "fp-fp", + "include": "dbg_log.h" + }, + { + "from": "test/host/vol_idle_sync/vol_idle_sync_test.c", + "to": "App/fs/vol_idle_sync.c", + "kind": "fp-fp", + "include": "vol_idle_sync.c" + }, + { + "from": "test/host/vol_idle_sync/stub/FreeRTOS.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/vol_idle_sync/stub/cmsis_os.h", + "to": "test/host/vol_idle_sync/stub/cmsis_os2.h", + "kind": "fp-fp", + "include": "cmsis_os2.h" + }, + { + "from": "test/host/vol_idle_sync/stub/cmsis_os2.h", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/vol_idle_sync/stub/task.h", + "to": "test/host/vol_idle_sync/stub/FreeRTOS.h", + "kind": "fp-fp", + "include": "FreeRTOS.h" + }, { "from": "test/host/vol_lock/vol_lock_test.c", "to": "外部/系统头文件", @@ -41762,9 +54370,127 @@ "to": "外部/系统头文件", "kind": "fp-ext", "include": "stdint.h" + }, + { + "from": "test/host/wave_ring/wave_ring_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/wave_ring/wave_ring_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/wave_ring/wave_ring_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/wave_ring/wave_ring_test.c", + "to": "App/algo/wave_store.c", + "kind": "fp-fp", + "include": "wave_store.c" + }, + { + "from": "test/host/wave_ring/wave_ring_test.c", + "to": "App/algo/wave_ring.c", + "kind": "fp-fp", + "include": "wave_ring.c" + }, + { + "from": "test/host/wave_store/wave_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stddef.h" + }, + { + "from": "test/host/wave_store/wave_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdint.h" + }, + { + "from": "test/host/wave_store/wave_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/wave_store/wave_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/wave_store/wave_store_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/wave_store/wave_store_test.c", + "to": "App/algo/wave_store.c", + "kind": "fp-fp", + "include": "wave_store.c" + }, + { + "from": "test/host/wave_trig/wave_trig_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdio.h" + }, + { + "from": "test/host/wave_trig/wave_trig_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "stdlib.h" + }, + { + "from": "test/host/wave_trig/wave_trig_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "string.h" + }, + { + "from": "test/host/wave_trig/wave_trig_test.c", + "to": "外部/系统头文件", + "kind": "fp-ext", + "include": "math.h" + }, + { + "from": "test/host/wave_trig/wave_trig_test.c", + "to": "App/algo/wave_ring.h", + "kind": "fp-fp", + "include": "wave_ring.h" + }, + { + "from": "test/host/wave_trig/wave_trig_test.c", + "to": "App/algo/wave_ring.c", + "kind": "fp-fp", + "include": "wave_ring.c" + }, + { + "from": "test/host/wave_trig/wave_trig_test.c", + "to": "App/algo/wave_store.c", + "kind": "fp-fp", + "include": "wave_store.c" } ], "unresolved": { + "App/algo/adc_cal.c": [ + "stddef.h", + "string.h" + ], + "App/algo/adc_cal.h": [ + "stdint.h" + ], + "App/algo/adc_health.c": [ + "string.h" + ], "App/algo/adc_health.h": [ "stdint.h" ], @@ -41781,6 +54507,12 @@ "App/algo/freq.h": [ "stdint.h" ], + "App/algo/meas.c": [ + "stddef.h" + ], + "App/algo/meas.h": [ + "stdint.h" + ], "App/algo/phasor.c": [ "math.h", "stddef.h" @@ -41800,17 +54532,47 @@ "App/algo/prot_set.h": [ "stdint.h" ], + "App/algo/run_par.c": [ + "math.h", + "stddef.h", + "string.h" + ], + "App/algo/run_par.h": [ + "stdint.h" + ], "App/algo/sample_ring.c": [ "stddef.h" ], "App/algo/sample_ring.h": [ "stdint.h" ], + "App/algo/sb_led_map.c": [ + "stddef.h" + ], + "App/algo/sb_led_map.h": [ + "stdint.h" + ], + "App/algo/wave_ring.c": [ + "stddef.h" + ], + "App/algo/wave_ring.h": [ + "stdint.h" + ], + "App/algo/wave_store.c": [ + "stddef.h" + ], + "App/algo/wave_store.h": [ + "stdint.h" + ], "App/app/app_main.h": [ "stdint.h" ], + "App/app/ui_data_feed.c": [ + "string.h" + ], "App/cfg/cfg_file.c": [ "ctype.h", + "errno.h", "stdio.h", "stdlib.h", "string.h" @@ -41832,6 +54594,174 @@ "App/fs/vol_lock.h": [ "stdint.h" ], + "App/iec60870/104/IEC104_AsduQueue.c": [ + "stddef.h", + "string.h" + ], + "App/iec60870/104/IEC104_AsduQueue.h": [ + "stdbool.h" + ], + "App/iec60870/104/IEC104_Codec.c": [ + "stddef.h", + "string.h" + ], + "App/iec60870/104/IEC104_Connection.c": [ + "string.h" + ], + "App/iec60870/104/IEC104_Link.c": [ + "stddef.h" + ], + "App/iec60870/104/IEC104_Link_Slave_StartStop.c": [ + "stddef.h" + ], + "App/iec60870/104/IEC104_Net.h": [ + "stddef.h", + "stdint.h" + ], + "App/iec60870/104/IEC104_Net_Windows.c": [ + "limits.h", + "string.h", + "windows.h", + "winsock2.h", + "ws2tcpip.h" + ], + "App/iec60870/104/IEC104_Receiver.c": [ + "stddef.h", + "string.h" + ], + "App/iec60870/104/IEC104_SendBuffer.c": [ + "stddef.h", + "string.h" + ], + "App/iec60870/104/IEC104_SendManager.c": [ + "stddef.h", + "string.h" + ], + "App/iec60870/104/IEC104_Slave.c": [ + "string.h" + ], + "App/iec60870/104/IEC104_TcpServer.c": [ + "stddef.h", + "string.h" + ], + "App/iec60870/104/IEC104_TcpServer.h": [ + "stdbool.h" + ], + "App/iec60870/104/business/IEC104_ClockSynchronization.c": [ + "string.h" + ], + "App/iec60870/104/business/IEC104_Command.c": [ + "math.h", + "string.h" + ], + "App/iec60870/104/business/IEC104_Command.h": [ + "stddef.h" + ], + "App/iec60870/104/business/IEC104_Interrogation.c": [ + "string.h" + ], + "App/iec60870/104/business/IEC104_Parameter.c": [ + "string.h" + ], + "App/iec60870/104/business/IEC104_PeriodicScan.c": [ + "string.h" + ], + "App/iec60870/104/business/IEC104_Read.c": [ + "string.h" + ], + "App/iec60870/104/business/IEC104_RemoteParameter.c": [ + "float.h", + "limits.h", + "string.h" + ], + "App/iec60870/104/business/IEC104_RemoteParameter.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], + "App/iec60870/104/business/IEC104_Spontaneous.c": [ + "math.h", + "string.h" + ], + "App/iec60870/104/business/IEC104_Startup.c": [ + "string.h" + ], + "App/iec60870/104/business/IEC104_SystemCommand.c": [ + "string.h" + ], + "App/iec60870/104/iec104_comm.c": [ + "string.h" + ], + "App/iec60870/104/iec104_comm.h": [ + "stdint.h" + ], + "App/iec60870/104/iec104_core.c": [ + "string.h" + ], + "App/iec60870/104/iec104_core.h": [ + "stdint.h" + ], + "App/iec60870/104/iec104_dtu_table.c": [ + "string.h" + ], + "App/iec60870/104/iec104_dtu_table.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], + "App/iec60870/104/iec104_net_mcu.c": [ + "string.h" + ], + "App/iec60870/104/iec104_net_mcu.h": [ + "stdint.h" + ], + "App/iec60870/104/iec104_source.c": [ + "float.h", + "stdlib.h", + "string.h" + ], + "App/iec60870/104/iec104_source_ranks.h": [ + "stdint.h" + ], + "App/iec60870/common/IEC60870_Asdu.c": [ + "string.h" + ], + "App/iec60870/common/IEC60870_Codec.c": [ + "stddef.h", + "string.h" + ], + "App/iec60870/common/IEC60870_FaultEvent.c": [ + "float.h", + "math.h", + "string.h" + ], + "App/iec60870/common/IEC60870_InformationObjects.c": [ + "float.h", + "limits.h", + "string.h" + ], + "App/iec60870/common/IEC60870_InformationObjects.h": [ + "stddef.h" + ], + "App/iec60870/common/IEC60870_Slave.h": [ + "stdbool.h" + ], + "App/iec60870/common/IEC60870_Time.c": [ + "string.h", + "time.h" + ], + "App/iec60870/common/IEC60870_Time.h": [ + "stddef.h", + "stdint.h" + ], + "App/iec60870/common/IEC60870_Types.h": [ + "stdint.h" + ], + "App/iec60870/examples/iec104_dtu_profile.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], "App/log/console_log.c": [ "stdio.h" ], @@ -41859,39 +54789,34 @@ "stdio.h", "string.h" ], - "App/protocol/iec104/iec104_asdu.c": [ + "App/sync/time_sntp.c": [ "string.h" ], - "App/protocol/iec104/iec104_asdu.h": [ + "App/sync/time_sntp.h": [ "stdint.h" ], - "App/protocol/iec104/iec104_link.c": [ - "string.h" - ], - "App/protocol/iec104/iec104_link.h": [ - "stdint.h" - ], - "App/protocol/iec104/iec104_pts.c": [ - "string.h" - ], - "App/protocol/iec104/iec104_pts.h": [ - "stdint.h" - ], - "App/sync/time_sync.c": [ - "string.h" - ], "App/sync/time_sync.h": [ "stdint.h" ], - "App/task/iec104_serv.c": [ - "string.h" + "App/task/iec104_serv.h": [ + "stdint.h" ], "App/task/net_task.c": [ "string.h" ], "App/task/ui_task.c": [ + "stdio.h", "string.h" ], + "App/util/boot_stats.c": [ + "string.h" + ], + "App/util/boot_stats.h": [ + "stdint.h" + ], + "App/util/ioboard_di.h": [ + "stdint.h" + ], "App/util/sha256.c": [ "string.h" ], @@ -41934,6 +54859,12 @@ "Drivers/BSP/GD5F2GQ5UE/nand_ftl.h": [ "stdint.h" ], + "Drivers/BSP/IOBOARD/ioboard.h": [ + "stdint.h" + ], + "Drivers/BSP/IOBOARD/ioboard_bits.h": [ + "stdint.h" + ], "Drivers/BSP/NET/lftpd/lftpd.c": [ "ctype.h", "stdarg.h", @@ -41999,6 +54930,13 @@ "Drivers/BSP/NET/net_types.h": [ "stdint.h" ], + "Drivers/BSP/NET/net_udp.c": [ + "stddef.h", + "string.h" + ], + "Drivers/BSP/NET/net_udp.h": [ + "stdint.h" + ], "Drivers/BSP/NETCFG/ftp_cfg.c": [ "stddef.h", "string.h" @@ -42015,10 +54953,28 @@ "stddef.h", "stdint.h" ], + "Drivers/BSP/NETCFG/sntp_cfg.c": [ + "string.h" + ], + "Drivers/BSP/NETCFG/sntp_cfg.h": [ + "stdint.h" + ], "Drivers/BSP/SD2506/sd2506.c": [ "stdio.h", "string.h" ], + "Drivers/BSP/ScreenLink/sb_link.c": [ + "string.h" + ], + "Drivers/BSP/ScreenLink/sb_link.h": [ + "stdint.h" + ], + "Drivers/BSP/ScreenLink/sb_proto.c": [ + "string.h" + ], + "Drivers/BSP/ScreenLink/sb_proto.h": [ + "stdint.h" + ], "Drivers/BSP/TPAFE5160/tpafe5160.c": [ "string.h" ], @@ -42029,12 +54985,21 @@ "stdbool.h", "stdint.h" ], + "Drivers/BSP/UI/ui_data.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_data.h": [ + "stdint.h" + ], "Drivers/BSP/UI/ui_deco.c": [ "stdbool.h" ], "Drivers/BSP/UI/ui_menu.c": [ "stdint.h" ], + "Drivers/BSP/UI/ui_menu.h": [ + "stdint.h" + ], "Drivers/BSP/UI/ui_menu_tab.h": [ "stdbool.h", "stdint.h" @@ -42058,18 +55023,58 @@ "Drivers/BSP/UI/ui_net_sink_backend_mcu.c": [ "string.h" ], + "Drivers/BSP/UI/ui_page_ac.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_page_action.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_page_action.h": [ + "stdbool.h", + "stdint.h" + ], + "Drivers/BSP/UI/ui_page_clear.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_page_clock.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_page_comm.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_page_dc.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_page_device_info.c": [ + "string.h" + ], "Drivers/BSP/UI/ui_page_net_cfg.c": [ "string.h" ], "Drivers/BSP/UI/ui_page_password.c": [ "string.h" ], + "Drivers/BSP/UI/ui_page_registry.h": [ + "stdint.h" + ], "Drivers/BSP/UI/ui_page_runlog.c": [ "string.h" ], + "Drivers/BSP/UI/ui_page_runreport.c": [ + "string.h" + ], "Drivers/BSP/UI/ui_page_selftest.c": [ "string.h" ], + "Drivers/BSP/UI/ui_page_sntp.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_page_wave_play.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_page_yx.c": [ + "string.h" + ], "Drivers/BSP/UI/ui_port.c": [ "string.h" ], @@ -42088,6 +55093,52 @@ "stddef.h", "stdint.h" ], + "Drivers/BSP/UI/ui_w_editor.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_w_editor.h": [ + "stdbool.h", + "stdint.h" + ], + "Drivers/BSP/UI/ui_w_records.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_w_records.h": [ + "stdint.h" + ], + "Drivers/BSP/UI/ui_w_setlist.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_w_setlist.h": [ + "stdbool.h", + "stdint.h" + ], + "Drivers/BSP/UI/ui_w_setview.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_w_setview.h": [ + "stdbool.h", + "stdint.h" + ], + "Drivers/BSP/UI/ui_w_soe.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_w_soe.h": [ + "stdint.h" + ], + "Drivers/BSP/UI/ui_w_ytview.c": [ + "string.h" + ], + "Drivers/BSP/UI/ui_w_ytview.h": [ + "stdint.h" + ], + "Drivers/BSP/app_assert.h": [ + "stdio.h", + "stdlib.h" + ], + "Drivers/BSP/bsp_err.h": [ + "stdint.h" + ], "Drivers/BSP/dbg_log.h": [ "stddef.h", "stdint.h", @@ -42186,6 +55237,593 @@ "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h": [ "stddef.h" ], + "IEC60870-Slave/104/IEC104_AsduQueue.c": [ + "stddef.h", + "string.h" + ], + "IEC60870-Slave/104/IEC104_AsduQueue.h": [ + "stdbool.h" + ], + "IEC60870-Slave/104/IEC104_Codec.c": [ + "stddef.h", + "string.h" + ], + "IEC60870-Slave/104/IEC104_Connection.c": [ + "string.h" + ], + "IEC60870-Slave/104/IEC104_Link.c": [ + "stddef.h" + ], + "IEC60870-Slave/104/IEC104_Link_Master_StartStop.c": [ + "stddef.h" + ], + "IEC60870-Slave/104/IEC104_Link_Slave_StartStop.c": [ + "stddef.h" + ], + "IEC60870-Slave/104/IEC104_Log.c": [ + "stdarg.h", + "stddef.h", + "stdio.h", + "time.h", + "windows.h" + ], + "IEC60870-Slave/104/IEC104_Net.h": [ + "stddef.h", + "stdint.h" + ], + "IEC60870-Slave/104/IEC104_Net_Windows.c": [ + "limits.h", + "string.h", + "windows.h", + "winsock2.h", + "ws2tcpip.h" + ], + "IEC60870-Slave/104/IEC104_Receiver.c": [ + "stddef.h", + "string.h" + ], + "IEC60870-Slave/104/IEC104_SendBuffer.c": [ + "stddef.h", + "string.h" + ], + "IEC60870-Slave/104/IEC104_SendManager.c": [ + "stddef.h", + "string.h" + ], + "IEC60870-Slave/104/IEC104_Slave.c": [ + "string.h" + ], + "IEC60870-Slave/104/IEC104_TcpServer.c": [ + "stddef.h", + "string.h" + ], + "IEC60870-Slave/104/IEC104_TcpServer.h": [ + "stdbool.h" + ], + "IEC60870-Slave/104/business/IEC104_ClockSynchronization.c": [ + "string.h" + ], + "IEC60870-Slave/104/business/IEC104_Command.c": [ + "math.h", + "string.h" + ], + "IEC60870-Slave/104/business/IEC104_Command.h": [ + "stddef.h" + ], + "IEC60870-Slave/104/business/IEC104_FileService.c": [ + "limits.h", + "string.h" + ], + "IEC60870-Slave/104/business/IEC104_FileService.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], + "IEC60870-Slave/104/business/IEC104_Interrogation.c": [ + "string.h" + ], + "IEC60870-Slave/104/business/IEC104_Parameter.c": [ + "string.h" + ], + "IEC60870-Slave/104/business/IEC104_PeriodicScan.c": [ + "string.h" + ], + "IEC60870-Slave/104/business/IEC104_Read.c": [ + "string.h" + ], + "IEC60870-Slave/104/business/IEC104_RemoteParameter.c": [ + "float.h", + "limits.h", + "string.h" + ], + "IEC60870-Slave/104/business/IEC104_RemoteParameter.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], + "IEC60870-Slave/104/business/IEC104_SoftwareUpgrade.c": [ + "string.h" + ], + "IEC60870-Slave/104/business/IEC104_Spontaneous.c": [ + "math.h", + "string.h" + ], + "IEC60870-Slave/104/business/IEC104_Startup.c": [ + "string.h" + ], + "IEC60870-Slave/104/business/IEC104_SystemCommand.c": [ + "string.h" + ], + "IEC60870-Slave/common/IEC60870_Asdu.c": [ + "string.h" + ], + "IEC60870-Slave/common/IEC60870_Clock.c": [ + "windows.h" + ], + "IEC60870-Slave/common/IEC60870_Codec.c": [ + "stddef.h", + "string.h" + ], + "IEC60870-Slave/common/IEC60870_Comtrade.c": [ + "string.h" + ], + "IEC60870-Slave/common/IEC60870_EnergyFreeze.c": [ + "math.h", + "string.h" + ], + "IEC60870-Slave/common/IEC60870_EnergyFreeze.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], + "IEC60870-Slave/common/IEC60870_EnergyFreezeFile.c": [ + "float.h", + "locale.h", + "math.h", + "stdio.h", + "string.h" + ], + "IEC60870-Slave/common/IEC60870_FaultEvent.c": [ + "float.h", + "math.h", + "string.h" + ], + "IEC60870-Slave/common/IEC60870_FaultRecorder.c": [ + "string.h" + ], + "IEC60870-Slave/common/IEC60870_FaultRecorder.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], + "IEC60870-Slave/common/IEC60870_FirmwareUpdate.c": [ + "string.h" + ], + "IEC60870-Slave/common/IEC60870_FirmwareUpdate.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], + "IEC60870-Slave/common/IEC60870_History.c": [ + "float.h", + "string.h" + ], + "IEC60870-Slave/common/IEC60870_History.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], + "IEC60870-Slave/common/IEC60870_HistoryFile.c": [ + "float.h", + "locale.h", + "math.h", + "stdio.h", + "string.h" + ], + "IEC60870-Slave/common/IEC60870_InformationObjects.c": [ + "float.h", + "limits.h", + "string.h" + ], + "IEC60870-Slave/common/IEC60870_InformationObjects.h": [ + "stddef.h" + ], + "IEC60870-Slave/common/IEC60870_Slave.h": [ + "stdbool.h" + ], + "IEC60870-Slave/common/IEC60870_Time.c": [ + "string.h", + "time.h" + ], + "IEC60870-Slave/common/IEC60870_Time.h": [ + "stddef.h", + "stdint.h" + ], + "IEC60870-Slave/common/IEC60870_Types.h": [ + "stdint.h" + ], + "IEC60870-Slave/common/IEC60870_UserLog.c": [ + "string.h" + ], + "IEC60870-Slave/common/IEC60870_UserLog.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], + "IEC60870-Slave/common/IEC60870_UserLogFile.c": [ + "string.h" + ], + "IEC60870-Slave/examples/iec104_dtu_measurement.c": [ + "float.h", + "math.h", + "string.h" + ], + "IEC60870-Slave/examples/iec104_dtu_measurement.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], + "IEC60870-Slave/examples/iec104_dtu_profile.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], + "IEC60870-Slave/examples/iec104_dtu_protection.c": [ + "math.h", + "string.h" + ], + "IEC60870-Slave/examples/iec104_dtu_settings.c": [ + "float.h", + "math.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/examples/iec104_dtu_settings.h": [ + "stdbool.h", + "stddef.h", + "stdint.h" + ], + "IEC60870-Slave/examples/iec104_example_config.c": [ + "errno.h", + "float.h", + "locale.h", + "math.h", + "stdint.h", + "stdio.h", + "stdlib.h", + "string.h", + "windows.h" + ], + "IEC60870-Slave/examples/iec104_example_config.h": [ + "stddef.h" + ], + "IEC60870-Slave/examples/iec104_example_energy_freeze.c": [ + "stdio.h", + "string.h", + "windows.h" + ], + "IEC60870-Slave/examples/iec104_example_energy_freeze.h": [ + "IEC60870_EnergyFreezeFile.h" + ], + "IEC60870-Slave/examples/iec104_example_energy_meter.c": [ + "fenv.h", + "float.h", + "limits.h", + "math.h", + "stdlib.h", + "string.h", + "windows.h" + ], + "IEC60870-Slave/examples/iec104_example_energy_meter.h": [ + "IEC60870_EnergyFreeze.h" + ], + "IEC60870-Slave/examples/iec104_example_history.c": [ + "IEC60870_HistoryFile.h", + "stdio.h", + "string.h", + "windows.h" + ], + "IEC60870-Slave/examples/iec104_example_history.h": [ + "IEC60870_History.h" + ], + "IEC60870-Slave/examples/iec104_example_recording.c": [ + "direct.h", + "errno.h", + "math.h", + "stdio.h", + "string.h", + "sys/stat.h" + ], + "IEC60870-Slave/examples/iec104_example_recording.h": [ + "IEC60870_Comtrade.h" + ], + "IEC60870-Slave/examples/iec104_example_upgrade.c": [ + "stdio.h", + "string.h", + "windows.h" + ], + "IEC60870-Slave/examples/iec104_example_upgrade.h": [ + "IEC60870_FirmwareUpdate.h" + ], + "IEC60870-Slave/examples/iec104_example_user_log.c": [ + "stdio.h", + "string.h", + "windows.h" + ], + "IEC60870-Slave/examples/iec104_example_user_log.h": [ + "IEC60870_UserLogFile.h" + ], + "IEC60870-Slave/examples/iec104_parameter_multi_master.c": [ + "errno.h", + "signal.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/examples/iec104_slave_example.c": [ + "IEC104_FileService.h", + "IEC104_SoftwareUpgrade.h", + "IEC60870_Clock.h", + "errno.h", + "float.h", + "limits.h", + "math.h", + "signal.h", + "stdio.h", + "stdlib.h", + "string.h", + "windows.h" + ], + "IEC60870-Slave/test/iec104_dtu_energy_settings_test.c": [ + "assert.h", + "float.h", + "iec104_example_energy_meter.h", + "math.h", + "stdio.h", + "string.h" + ], + "IEC60870-Slave/test/iec104_dtu_measurement_test.c": [ + "float.h", + "iec104_dtu_measurement.h", + "iec104_dtu_settings.h", + "math.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/iec104_dtu_protection_test.c": [ + "assert.h", + "iec104_dtu_protection.h", + "math.h", + "stdio.h", + "string.h" + ], + "IEC60870-Slave/test/iec104_dtu_settings_model_test.c": [ + "assert.h", + "iec104_dtu_settings.h", + "math.h", + "stdio.h" + ], + "IEC60870-Slave/test/iec104_dtu_storage_test.c": [ + "assert.h", + "errno.h", + "iec104_example_energy_freeze.h", + "iec104_example_energy_meter.h", + "iec104_example_recording.h", + "math.h", + "stdio.h", + "string.h", + "sys/stat.h" + ], + "IEC60870-Slave/test/iec104_dtu_trigger_recording_test.c": [ + "assert.h", + "float.h", + "iec104_example_recording.h", + "math.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/iec104_energy_freeze_transitions_test.c": [ + "iec104_example_energy_freeze.h", + "stdio.h", + "stdlib.h", + "string.h", + "windows.h" + ], + "IEC60870-Slave/test/iec104_example_energy_freeze_test.c": [ + "assert.h", + "iec104_example_energy_freeze.h", + "stdio.h", + "string.h", + "windows.h" + ], + "IEC60870-Slave/test/iec104_example_energy_meter_test.c": [ + "assert.h", + "fenv.h", + "iec104_example_energy_meter.h", + "limits.h", + "math.h", + "stdio.h", + "string.h" + ], + "IEC60870-Slave/test/iec104_example_history_test.c": [ + "assert.h", + "iec104_example_history.h", + "stdio.h", + "string.h", + "windows.h" + ], + "IEC60870-Slave/test/iec104_example_recording_test.c": [ + "errno.h", + "iec104_example_recording.h", + "stdio.h", + "stdlib.h", + "string.h", + "sys/stat.h" + ], + "IEC60870-Slave/test/iec104_example_upgrade_test.c": [ + "assert.h", + "iec104_example_upgrade.h", + "stdio.h", + "string.h", + "windows.h" + ], + "IEC60870-Slave/test/iec104_example_user_log_test.c": [ + "assert.h", + "iec104_example_user_log.h", + "stdio.h", + "string.h", + "windows.h" + ], + "IEC60870-Slave/test/iec104_fault_event_test.c": [ + "math.h" + ], + "IEC60870-Slave/test/iec104_file_service_test.c": [ + "IEC104_FileService.h" + ], + "IEC60870-Slave/test/iec104_interrogation_rules_test.c": [ + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/iec104_net_pending_input_test.c": [ + "stdio.h", + "stdlib.h", + "string.h", + "windows.h", + "winsock2.h" + ], + "IEC60870-Slave/test/iec104_periodic_scan_test.c": [ + "windows.h" + ], + "IEC60870-Slave/test/iec104_response_queue_test.c": [ + "stdio.h", + "string.h" + ], + "IEC60870-Slave/test/iec104_slave_example_test.c": [ + "IEC60870_Clock.h", + "direct.h", + "process.h", + "sys/stat.h", + "unistd.h" + ], + "IEC60870-Slave/test/iec104_software_upgrade_test.c": [ + "IEC104_SoftwareUpgrade.h" + ], + "IEC60870-Slave/test/iec104_spontaneous_test.c": [ + "float.h", + "math.h" + ], + "IEC60870-Slave/test/iec104_strict_priority_queue_test.c": [ + "stdio.h", + "string.h" + ], + "IEC60870-Slave/test/iec104_tcp_fixture.h": [ + "stdio.h", + "stdlib.h" + ], + "IEC60870-Slave/test/iec60870_asdu_extended_test.c": [ + "limits.h", + "stdio.h", + "string.h" + ], + "IEC60870-Slave/test/iec60870_asdu_fixture.h": [ + "limits.h", + "stdio.h", + "string.h" + ], + "IEC60870-Slave/test/iec60870_comtrade_test.c": [ + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/iec60870_energy_freeze_file_test.c": [ + "IEC60870_EnergyFreezeFile.h", + "assert.h", + "math.h", + "stdio.h", + "string.h" + ], + "IEC60870-Slave/test/iec60870_energy_freeze_test.c": [ + "IEC60870_EnergyFreeze.h", + "math.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/iec60870_fault_event_test.c": [ + "math.h", + "stdio.h", + "string.h" + ], + "IEC60870-Slave/test/iec60870_fault_recorder_test.c": [ + "IEC60870_FaultRecorder.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/iec60870_firmware_update_test.c": [ + "IEC60870_FirmwareUpdate.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/iec60870_history_file_test.c": [ + "IEC60870_HistoryFile.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/iec60870_history_test.c": [ + "IEC60870_History.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/iec60870_user_log_file_test.c": [ + "IEC60870_UserLogFile.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/iec60870_user_log_test.c": [ + "IEC60870_UserLog.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/parameter_interop_slave.c": [ + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/parameter_lib60870_client.c": [ + "cs104_connection.h", + "hal_thread.h", + "stdatomic.h", + "stdio.h", + "stdlib.h" + ], + "IEC60870-Slave/test/periodic_scan_interop_server.c": [ + "stdio.h", + "stdlib.h", + "string.h" + ], + "IEC60870-Slave/test/periodic_scan_lib60870_client.c": [ + "cs104_connection.h", + "hal_thread.h", + "math.h", + "stdatomic.h", + "stdio.h", + "stdlib.h" + ], + "IEC60870-Slave/test/periodic_scan_soak_example.c": [ + "limits.h", + "stdio.h", + "stdlib.h", + "string.h" + ], "Inc/FreeRTOSConfig.h": [ "stdint.h" ], @@ -42238,6 +55876,15 @@ "stdint.h", "windows.h" ], + "Lib/coreSNTP/core_sntp_serializer.c": [ + "assert.h", + "stdbool.h", + "string.h" + ], + "Lib/coreSNTP/include/core_sntp_serializer.h": [ + "stddef.h", + "stdint.h" + ], "Lib/dhara/bytes.h": [ "stdint.h" ], @@ -43551,6 +57198,15 @@ "string.h", "sys/stat.h" ], + "simulator/sim/iec104_sim.c": [ + "stdio.h", + "stdlib.h", + "string.h", + "time.h" + ], + "simulator/sim/iec104_sim.h": [ + "stdint.h" + ], "simulator/sim/net_socket_sim.c": [ "stdio.h", "string.h", @@ -43578,6 +57234,12 @@ "test/board/gd5f_test_task.c": [ "string.h" ], + "test/board/ioboard_test.h": [ + "stdint.h" + ], + "test/board/ioboard_test_task.c": [ + "string.h" + ], "test/board/net_latency_test.c": [ "string.h" ], @@ -43606,6 +57268,15 @@ "test/board/test_config.h": [ "stdint.h" ], + "test/host/adc_cal/adc_cal_test.c": [ + "stdint.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "test/host/adc_cal/stub/dbg_log.h": [ + "stdio.h" + ], "test/host/adc_health/adc_health_test.c": [ "stdint.h", "stdio.h" @@ -43621,6 +57292,13 @@ "test/host/adc_input/stub/tpafe5160.h": [ "stdint.h" ], + "test/host/boot_stats/boot_stats_test.c": [ + "stdio.h", + "string.h" + ], + "test/host/boot_stats/stub/main.h": [ + "stdint.h" + ], "test/host/cfg_file/cfg_file_test.c": [ "stdint.h", "stdio.h", @@ -43630,6 +57308,56 @@ "test/host/cfg_file/stub/dbg_log.h": [ "stdio.h" ], + "test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c": [ + "fatfs_fake.c", + "fatfs_fake.h", + "stdint.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "test/host/cfg_file_store_mcu/stub/FreeRTOS.h": [ + "stddef.h" + ], + "test/host/common/ch395f_fake.c": [ + "string.h" + ], + "test/host/common/ch395f_fake.h": [ + "stdint.h" + ], + "test/host/common/fatfs_fake.c": [ + "stdio.h", + "stdlib.h", + "string.h" + ], + "test/host/common/fatfs_fake.h": [ + "stdint.h" + ], + "test/host/console_log/console_log_test.c": [ + "stdint.h", + "stdio.h", + "stdlib.h", + "stm32f4_fake.h", + "string.h" + ], + "test/host/console_log/stub/FreeRTOS.h": [ + "stdint.h" + ], + "test/host/console_log/stub/cmsis_os.h": [ + "stdint.h" + ], + "test/host/console_log/stub/cmsis_os2.h": [ + "stdint.h" + ], + "test/host/console_log/stub/stm32f4_fake.h": [ + "stddef.h", + "stdint.h", + "stdio.h", + "stdlib.h" + ], + "test/host/console_log/stub/usart.h": [ + "stdint.h" + ], "test/host/freq/freq_test.c": [ "math.h", "stdint.h", @@ -43639,16 +57367,232 @@ "stdio.h", "string.h" ], - "test/host/iec104/iec104_test.c": [ + "test/host/ftp_cfg/ftp_cfg_test.c": [ + "stdio.h", + "string.h" + ], + "test/host/iec104_comm/iec104_comm_test.c": [ "stdint.h", "stdio.h", "string.h" ], + "test/host/iec104_dtu/core_lifecycle_test.c": [ + "iec104_tcp_fixture.h" + ], + "test/host/iec104_dtu/source_binding_test.c": [ + "math.h", + "stdio.h", + "stdlib.h" + ], + "test/host/iec104_dtu/vendor_boundary_test.c": [ + "iec104_tcp_fixture.h", + "limits.h" + ], + "test/host/iec104_netmcu/net_socket_fake.c": [ + "stdio.h", + "string.h" + ], + "test/host/iec104_netmcu/net_socket_fake.h": [ + "stdint.h" + ], + "test/host/iec104_netmcu/netmcu_stub_test.c": [ + "stdint.h", + "stdio.h", + "string.h" + ], + "test/host/iec104_netmcu/netmcu_test.c": [ + "stdint.h", + "stdio.h", + "string.h" + ], + "test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c": [ + "string.h" + ], + "test/host/iec104_netmcu/stub/cmsis_os2.h": [ + "stdint.h" + ], + "test/host/iec104_netmcu/stub_iec104_netmcu.c": [ + "string.h" + ], + "test/host/iec104_serv/iec104_serv_test.c": [ + "stdbool.h", + "stdint.h", + "stdio.h", + "string.h" + ], + "test/host/iec104_serv/stub/cmsis_os2.h": [ + "stdint.h" + ], + "test/host/iec104_serv/stub/iec104_comm.h": [ + "stdint.h" + ], + "test/host/iec104_serv/stub/net_socket.h": [ + "stdint.h" + ], + "test/host/ioboard/ioboard_test.c": [ + "stdint.h", + "stdio.h" + ], + "test/host/lftpd/lftpd_test.c": [ + "stdio.h", + "stdlib.h", + "string.h" + ], + "test/host/lftpd/stub/FreeRTOS.h": [ + "stddef.h", + "stdint.h" + ], + "test/host/lftpd_inet/lftpd_inet_test.c": [ + "stdio.h", + "stdlib.h", + "string.h" + ], + "test/host/lftpd_inet/stub/FreeRTOS.h": [ + "stddef.h", + "stdint.h" + ], + "test/host/lftpd_io/lftpd_io_test.c": [ + "stdio.h", + "string.h" + ], + "test/host/lftpd_io/stub/FreeRTOS.h": [ + "stddef.h" + ], + "test/host/meas/meas_test.c": [ + "math.h", + "stddef.h", + "stdint.h", + "stdio.h" + ], + "test/host/nand_port/nand_port_test.c": [ + "stdint.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "test/host/nand_port/stub/dbg_log.h": [ + "stdio.h" + ], + "test/host/nand_port/stub/gd5f2gq5ue.h": [ + "stddef.h", + "stdint.h" + ], + "test/host/net_cfg/net_cfg_test.c": [ + "stdio.h", + "string.h" + ], + "test/host/net_events/net_events_test.c": [ + "ch395f_fake.c", + "stdio.h", + "string.h" + ], + "test/host/net_events/stub/FreeRTOS.h": [ + "stddef.h", + "stdint.h" + ], + "test/host/net_events/stub/ch395f.h": [ + "ch395f_fake.h" + ], + "test/host/net_events/stub/cmsis_os.h": [ + "stdint.h" + ], + "test/host/net_events/stub/main.h": [ + "stdint.h" + ], + "test/host/net_listener/net_listener_test.c": [ + "ch395f_fake.c", + "stdio.h", + "string.h" + ], + "test/host/net_listener/stub/FreeRTOS.h": [ + "stddef.h", + "stdint.h" + ], + "test/host/net_listener/stub/ch395f.h": [ + "ch395f_fake.h" + ], + "test/host/net_listener/stub/cmsis_os.h": [ + "stdint.h" + ], + "test/host/net_listener/stub/main.h": [ + "stdint.h" + ], + "test/host/net_pending/net_pending_test.c": [ + "ch395f_fake.c", + "stdio.h", + "string.h" + ], + "test/host/net_pending/stub/FreeRTOS.h": [ + "stddef.h", + "stdint.h" + ], + "test/host/net_pending/stub/ch395f.h": [ + "ch395f_fake.h" + ], + "test/host/net_pending/stub/main.h": [ + "stdint.h" + ], + "test/host/net_select/net_select_test.c": [ + "stdio.h", + "string.h" + ], + "test/host/net_select/stub/FreeRTOS.h": [ + "stddef.h", + "stdint.h" + ], + "test/host/net_select/stub/ch395f.h": [ + "stdint.h" + ], + "test/host/net_select/stub/cmsis_os.h": [ + "stdint.h" + ], + "test/host/net_select/stub/main.h": [ + "stdint.h" + ], + "test/host/net_socket/net_socket_test.c": [ + "ch395f_fake.c", + "stdio.h", + "string.h" + ], + "test/host/net_socket/ns_peers.c": [ + "ns_rtos.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "test/host/net_socket/ns_peers.h": [ + "stdint.h" + ], + "test/host/net_socket/ns_rtos.c": [ + "ns_rtos.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "test/host/net_socket/stub/FreeRTOS.h": [ + "stddef.h", + "stdint.h" + ], + "test/host/net_socket/stub/ch395f.h": [ + "ch395f_fake.h" + ], + "test/host/net_socket/stub/main.h": [ + "stdint.h" + ], "test/host/phasor/phasor_test.c": [ "math.h", "stdint.h", "stdio.h" ], + "test/host/prot_dim/prot_dim_test.c": [ + "math.h", + "stdint.h", + "stdio.h", + "string.h" + ], + "test/host/prot_dim/stub/dbg_log.h": [ + "stdio.h" + ], "test/host/prot_elm/prot_elm_test.c": [ "math.h", "stdint.h", @@ -43658,15 +57602,91 @@ "stdint.h", "stdio.h" ], + "test/host/prot_set_store/prot_set_store_test.c": [ + "stdio.h", + "string.h" + ], + "test/host/run_par/run_par_test.c": [ + "stdint.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "test/host/sb_led_map/sb_led_map_test.c": [ + "stdint.h", + "stdio.h" + ], + "test/host/sb_link/sb_link_test.c": [ + "stdint.h", + "stdio.h", + "string.h" + ], + "test/host/sb_link/stub/dbg_log.h": [ + "stdarg.h", + "stdint.h", + "stdio.h", + "string.h" + ], + "test/host/sb_link/stub/main.h": [ + "stddef.h", + "stdint.h" + ], + "test/host/sb_proto/sb_proto_test.c": [ + "stdint.h", + "stdio.h", + "string.h" + ], "test/host/sha256/sha256_test.c": [ "stdio.h", "string.h" ], + "test/host/sntp/sntp_test.c": [ + "core_sntp_serializer.c", + "stdint.h", + "stdio.h", + "string.h" + ], + "test/host/sntp/stub/FreeRTOS.h": [ + "stdint.h" + ], + "test/host/sntp/stub/cmsis_os2.h": [ + "stdint.h" + ], + "test/host/sntp/stub/dbg_log.h": [ + "stdint.h" + ], + "test/host/sntp/stub/net_types.h": [ + "stdint.h" + ], + "test/host/sntp/stub/sys_clock.h": [ + "stdint.h" + ], + "test/host/sntp/stub/sys_log.h": [ + "stdint.h" + ], + "test/host/sntp/stub/task.h": [ + "stdint.h" + ], "test/host/soe/soe_test.c": [ "stdint.h", "stdio.h", "string.h" ], + "test/host/soe_store/soe_store_test.c": [ + "fatfs_fake.c", + "fatfs_fake.h", + "stdint.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "test/host/soe_store/stub/cmsis_os.h": [ + "stdint.h" + ], + "test/host/soe_store/stub/main.h": [ + "stddef.h", + "stdint.h" + ], "test/host/sys_clock/stub/FreeRTOS.h": [ "stdint.h" ], @@ -43681,27 +57701,71 @@ "stdio.h", "string.h" ], + "test/host/sys_log_mcu/stub/cmsis_os.h": [ + "stdint.h" + ], + "test/host/sys_log_mcu/stub/main.h": [ + "stddef.h", + "stdint.h" + ], + "test/host/sys_log_mcu/sys_log_mcu_test.c": [ + "fatfs_fake.c", + "fatfs_fake.h", + "stdint.h", + "stdio.h", + "stdlib.h", + "string.h", + "time.h" + ], + "test/host/task_prof/stub/main.h": [ + "stdint.h" + ], + "test/host/task_prof/task_prof_test.c": [ + "stdio.h", + "string.h" + ], "test/host/time_sync/stub/FreeRTOS.h": [ "stdint.h" ], "test/host/time_sync/stub/cmsis_os2.h": [ "stdint.h" ], - "test/host/time_sync/stub/dbg_log.h": [ - "stdio.h" - ], "test/host/time_sync/stub/net_socket.h": [ "stdint.h" ], - "test/host/time_sync/stub/sys_clock.h": [ - "stdint.h" - ], "test/host/time_sync/time_sync_test.c": [ "setjmp.h", "stdint.h", "stdio.h", "string.h" ], + "test/host/ui_data/ui_data_test.c": [ + "stddef.h", + "stdio.h", + "string.h" + ], + "test/host/ui_sink/stub/lvgl.h": [ + "stdint.h" + ], + "test/host/ui_sink/stub/net_socket.h": [ + "stdint.h" + ], + "test/host/ui_sink/ui_sink_test.c": [ + "stdint.h", + "stdio.h", + "string.h" + ], + "test/host/vol_idle_sync/stub/FreeRTOS.h": [ + "stdint.h" + ], + "test/host/vol_idle_sync/stub/cmsis_os2.h": [ + "stdint.h" + ], + "test/host/vol_idle_sync/vol_idle_sync_test.c": [ + "stddef.h", + "stdint.h", + "stdio.h" + ], "test/host/vol_lock/stub/cmsis_os.h": [ "stdint.h" ], @@ -43722,16 +57786,34 @@ "test/host/watchdog/watchdog_test.c": [ "stdint.h", "stdio.h" + ], + "test/host/wave_ring/wave_ring_test.c": [ + "stddef.h", + "stdint.h", + "stdio.h" + ], + "test/host/wave_store/wave_store_test.c": [ + "stddef.h", + "stdint.h", + "stdio.h", + "stdlib.h", + "string.h" + ], + "test/host/wave_trig/wave_trig_test.c": [ + "math.h", + "stdio.h", + "stdlib.h", + "string.h" ] }, "stats": { - "files_indexed": 1495, - "includes_parsed": 5972, - "resolved": 4821, - "unresolved": 1151, - "nodes_fp": 215, - "nodes_tp": 1266, - "ext_names": 351 + "files_indexed": 2017, + "includes_parsed": 7742, + "resolved": 5873, + "unresolved": 1869, + "nodes_fp": 550, + "nodes_tp": 1455, + "ext_names": 385 }, "include_dirs": [ "Inc", @@ -43745,9 +57827,11 @@ "Drivers/BSP/TPAFE5160", "Drivers/BSP/SD2506", "Drivers/BSP/RS485", + "Drivers/BSP/ScreenLink", "Drivers/BSP/NET", "Drivers/BSP/NET/lftpd", "Drivers/BSP/NETCFG", + "Drivers/BSP/IOBOARD", "App", "App/app", "App/algo", @@ -43756,7 +57840,10 @@ "App/log", "App/sync", "App/task", - "App/protocol/iec104", + "App/iec60870/common", + "App/iec60870/104", + "App/iec60870/104/business", + "App/iec60870/examples", "App/util", "Middlewares/Third_Party/FreeRTOS/Source/include", "Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2", @@ -43767,6 +57854,7 @@ "Lib/lvgl", "Drivers/BSP/UI", "Lib", + "Lib/coreSNTP/include", "simulator", "simulator/sim", "Lib/lvgl/src", diff --git a/docs/images/引用关系图.svg b/docs/images/引用关系图.svg index 520839c9..9068a542 100644 --- a/docs/images/引用关系图.svg +++ b/docs/images/引用关系图.svg @@ -4,5777 +4,13529 @@ - - + + refgraph_full - -STM32F4-Base 项目文件引用关系图(项目代码视图) - + +STM32F4-Base 项目文件引用关系图(项目代码视图) + -App/algo/adc_health.c - -App/algo/adc_health.c +App/algo/adc_cal.c + +App/algo/adc_cal.c - + -App/algo/adc_health.h - -App/algo/adc_health.h +App/algo/adc_cal.h + +App/algo/adc_cal.h - + -App/algo/adc_health.c->App/algo/adc_health.h - - - - - -外部/系统头文件 - -外部/系统头文件 - - - -App/algo/adc_health.h->外部/系统头文件 - - - - - -App/algo/adc_input.c - -App/algo/adc_input.c - - - -App/algo/adc_input.h - -App/algo/adc_input.h - - - -App/algo/adc_input.c->App/algo/adc_input.h - - - - - -Drivers/BSP/TPAFE5160/tpafe5160.h - -Drivers/BSP/TPAFE5160/tpafe5160.h - - - -App/algo/adc_input.c->Drivers/BSP/TPAFE5160/tpafe5160.h - - - - - -Inc/adc.h - -Inc/adc.h - - - -App/algo/adc_input.c->Inc/adc.h - - - - - -App/algo/adc_input.c->外部/系统头文件 - - - - - -App/algo/adc_input.h->外部/系统头文件 - - - - - -App/algo/freq.c - -App/algo/freq.c - - - -App/algo/freq.h - -App/algo/freq.h - - - -App/algo/freq.c->App/algo/freq.h - - - - - -App/algo/phasor.h - -App/algo/phasor.h - - - -App/algo/freq.c->App/algo/phasor.h - - - - - -App/algo/freq.c->外部/系统头文件 - - - - - -App/algo/freq.h->外部/系统头文件 - - - - - -App/algo/phasor.c - -App/algo/phasor.c - - - -App/algo/phasor.c->App/algo/phasor.h - - - - - -App/algo/sample_ring.h - -App/algo/sample_ring.h - - - -App/algo/phasor.c->App/algo/sample_ring.h - - - - - -App/algo/phasor.c->外部/系统头文件 - - - - - -App/algo/phasor.h->App/algo/adc_input.h - - - - - -App/algo/phasor.h->外部/系统头文件 - - - - - -App/algo/prot_elm.c - -App/algo/prot_elm.c - - - -App/algo/prot_elm.c->App/algo/freq.h - - - - - -App/algo/prot_elm.c->App/algo/phasor.h - - - - - -App/algo/prot_elm.h - -App/algo/prot_elm.h - - - -App/algo/prot_elm.c->App/algo/prot_elm.h - - - - - -App/algo/prot_set.h - -App/algo/prot_set.h - - - -App/algo/prot_elm.c->App/algo/prot_set.h - - - - - -App/algo/prot_elm.c->外部/系统头文件 - - - - - -App/algo/prot_elm.h->外部/系统头文件 - - - - - -App/algo/prot_set.c - -App/algo/prot_set.c - - - -App/algo/prot_set.c->App/algo/prot_set.h - - - - - -App/algo/prot_set.c->外部/系统头文件 - - - - - -App/algo/prot_set.h->外部/系统头文件 - - - - - -App/algo/sample_ring.c - -App/algo/sample_ring.c - - - -App/algo/sample_ring.c->App/algo/sample_ring.h - - - - - -App/algo/sample_ring.c->外部/系统头文件 - - - - - -App/algo/sample_ring.h->App/algo/adc_input.h - - - - - -App/algo/sample_ring.h->外部/系统头文件 - - - - - -App/app/app_cfg.h - -App/app/app_cfg.h - - - -App/app/app_main.c - -App/app/app_main.c - - - -App/app/app_main.c->App/algo/adc_input.h - - - - - -App/app/app_main.c->App/algo/freq.h - - - - - -App/app/app_main.c->App/algo/phasor.h - - - - - -App/app/app_main.c->App/algo/prot_elm.h - - - - - -App/app/app_main.c->App/algo/prot_set.h - - - - - -App/app/app_main.c->App/app/app_cfg.h - - - - - -App/app/app_main.h - -App/app/app_main.h - - - -App/app/app_main.c->App/app/app_main.h - - - - - -App/log/sys_log.h - -App/log/sys_log.h - - - -App/app/app_main.c->App/log/sys_log.h - - - - - -App/util/sys_clock.h - -App/util/sys_clock.h - - - -App/app/app_main.c->App/util/sys_clock.h - - - - - -App/util/task_watchdog.h - -App/util/task_watchdog.h - - - -App/app/app_main.c->App/util/task_watchdog.h - - - - - -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h - -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h - - - -App/app/app_main.c->Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h - - - - - -Drivers/BSP/RS485/rs485.h - -Drivers/BSP/RS485/rs485.h - - - -App/app/app_main.c->Drivers/BSP/RS485/rs485.h - - - - - -Drivers/BSP/SD2506/sd2506.h - -Drivers/BSP/SD2506/sd2506.h - - - -App/app/app_main.c->Drivers/BSP/SD2506/sd2506.h - - - - - -App/app/app_main.c->Drivers/BSP/TPAFE5160/tpafe5160.h - - - - - -Drivers/BSP/dbg_log.h - -Drivers/BSP/dbg_log.h - - - -App/app/app_main.c->Drivers/BSP/dbg_log.h - - - - - -Inc/main.h - -Inc/main.h - - - -App/app/app_main.c->Inc/main.h - - - - - -Inc/stm32f4xx_it.h - -Inc/stm32f4xx_it.h - - - -App/app/app_main.c->Inc/stm32f4xx_it.h - - - - - -Inc/tim.h - -Inc/tim.h - - - -App/app/app_main.c->Inc/tim.h - - - - - -Inc/usart.h - -Inc/usart.h - - - -App/app/app_main.c->Inc/usart.h - - - - - -test/board/test_config.h - -test/board/test_config.h - - - -App/app/app_main.c->test/board/test_config.h - - - - - -App/app/app_main.h->外部/系统头文件 - - - - - -App/app/sys_events.h - -App/app/sys_events.h - - - -Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h - -Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h - - - -App/app/sys_events.h->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h - - - - - -App/cfg/cfg_file.c - -App/cfg/cfg_file.c +App/algo/adc_cal.c->App/algo/adc_cal.h + + - -App/cfg/cfg_file.h - -App/cfg/cfg_file.h - - - -App/cfg/cfg_file.c->App/cfg/cfg_file.h - - - - - -App/cfg/cfg_file_store.h - -App/cfg/cfg_file_store.h - - - -App/cfg/cfg_file.c->App/cfg/cfg_file_store.h - - - - - -App/cfg/cfg_file.c->App/log/sys_log.h - - - - - -App/cfg/cfg_file.c->Drivers/BSP/dbg_log.h - - - - - -App/cfg/cfg_file.c->外部/系统头文件 - - - - - -App/cfg/cfg_file.h->外部/系统头文件 - - - - - -App/cfg/cfg_file_store.h->外部/系统头文件 - - - - - -App/cfg/cfg_file_store_mcu.c - -App/cfg/cfg_file_store_mcu.c - - - -App/cfg/cfg_file_store_mcu.c->App/cfg/cfg_file_store.h - - - - - -App/fs/vol_lock.h - -App/fs/vol_lock.h - - - -App/cfg/cfg_file_store_mcu.c->App/fs/vol_lock.h - - - - - -Lib/FatFs/ff.h - -Lib/FatFs/ff.h - - - -App/cfg/cfg_file_store_mcu.c->Lib/FatFs/ff.h - - - - - -Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - -Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - -App/cfg/cfg_file_store_mcu.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - - - -App/cfg/cfg_file_store_mcu.c->外部/系统头文件 - - - - - -App/cfg/prot_set_store.c - -App/cfg/prot_set_store.c - - - -App/cfg/prot_set_store.c->App/algo/prot_set.h - - - - - -App/cfg/prot_set_store.c->App/cfg/cfg_file_store.h - - - - - -App/cfg/prot_set_store.h - -App/cfg/prot_set_store.h - - - -App/cfg/prot_set_store.c->App/cfg/prot_set_store.h - - - - - -App/cfg/prot_set_store.c->Drivers/BSP/dbg_log.h - - - - - -App/cfg/prot_set_store.c->外部/系统头文件 - - - - - -App/fs/vol_lock.c - -App/fs/vol_lock.c - - - -App/fs/vol_lock.c->App/fs/vol_lock.h - - - - - -Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - -Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - -App/fs/vol_lock.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -App/fs/vol_lock.h->外部/系统头文件 - - - - - -App/log/console_log.c - -App/log/console_log.c - - - -App/log/console_log.c->App/app/sys_events.h - - - - - -App/log/console_log.h - -App/log/console_log.h - - - -App/log/console_log.c->App/log/console_log.h - - - - - -App/log/console_log.c->Inc/usart.h - - - - - -App/log/console_log.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -App/log/console_log.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - - - -Middlewares/Third_Party/FreeRTOS/Source/include/task.h - -Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - - -App/log/console_log.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - - - - -App/log/console_log.c->外部/系统头文件 - - - - - -App/log/console_log.h->外部/系统头文件 - - - - - -App/log/soe_rec.c - -App/log/soe_rec.c - - - -App/log/soe_rec.h - -App/log/soe_rec.h - - - -App/log/soe_rec.c->App/log/soe_rec.h - - - - - -App/log/soe_rec.c->外部/系统头文件 - - - - - -App/log/soe_rec.h->外部/系统头文件 - - - - - -App/log/soe_store.c - -App/log/soe_store.c - - - -App/log/soe_store.c->App/fs/vol_lock.h - - - - - -App/log/soe_store.c->App/log/soe_rec.h - - - - - -App/log/soe_store.h - -App/log/soe_store.h - - - -App/log/soe_store.c->App/log/soe_store.h - - - - - -App/log/soe_store.c->App/util/sys_clock.h - - - - - -App/log/soe_store.c->Drivers/BSP/dbg_log.h - - - - - -App/log/soe_store.c->Lib/FatFs/ff.h - - - - - -App/log/soe_store.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -App/log/soe_store.c->外部/系统头文件 - - - - - -App/log/soe_store.h->App/log/soe_rec.h - - - - - -App/log/soe_store.h->外部/系统头文件 - - - - - -App/log/sys_log.h->外部/系统头文件 - - - - -App/log/sys_log_mcu.c - -App/log/sys_log_mcu.c +App/cfg/cfg_file.h + +App/cfg/cfg_file.h - + + +App/algo/adc_cal.c->App/cfg/cfg_file.h + + + + + +Drivers/BSP/dbg_log.h + +Drivers/BSP/dbg_log.h + + + +App/algo/adc_cal.c->Drivers/BSP/dbg_log.h + + + + + +外部/系统头文件 + +外部/系统头文件 + + + +App/algo/adc_cal.c->外部/系统头文件 + + + + + +App/algo/adc_input.h + +App/algo/adc_input.h + + + +App/algo/adc_cal.h->App/algo/adc_input.h + + + + + +App/algo/adc_cal.h->外部/系统头文件 + + + + + +App/algo/adc_health.c + +App/algo/adc_health.c + + + +App/algo/adc_health.h + +App/algo/adc_health.h + + + +App/algo/adc_health.c->App/algo/adc_health.h + + + + + +App/algo/adc_health.c->外部/系统头文件 + + + + + +App/algo/adc_health.h->外部/系统头文件 + + + + + +App/algo/adc_input.c + +App/algo/adc_input.c + + + +App/algo/adc_input.c->App/algo/adc_input.h + + + + + +Drivers/BSP/TPAFE5160/tpafe5160.h + +Drivers/BSP/TPAFE5160/tpafe5160.h + + + +App/algo/adc_input.c->Drivers/BSP/TPAFE5160/tpafe5160.h + + + + + +Inc/adc.h + +Inc/adc.h + + + +App/algo/adc_input.c->Inc/adc.h + + + + + +App/algo/adc_input.c->外部/系统头文件 + + + + + +App/algo/adc_input.h->外部/系统头文件 + + + + + +App/algo/freq.c + +App/algo/freq.c + + + +App/algo/freq.h + +App/algo/freq.h + + + +App/algo/freq.c->App/algo/freq.h + + + + + +App/algo/phasor.h + +App/algo/phasor.h + + + +App/algo/freq.c->App/algo/phasor.h + + + + + +App/algo/freq.c->外部/系统头文件 + + + + + +App/algo/freq.h->外部/系统头文件 + + + + + +App/algo/meas.c + +App/algo/meas.c + + + +App/algo/meas.h + +App/algo/meas.h + + + +App/algo/meas.c->App/algo/meas.h + + + + + +App/algo/meas.c->App/algo/phasor.h + + + + + +App/algo/sample_ring.h + +App/algo/sample_ring.h + + + +App/algo/meas.c->App/algo/sample_ring.h + + + + + +App/algo/meas.c->外部/系统头文件 + + + + + +App/algo/meas.h->App/algo/adc_input.h + + + + + +App/algo/meas.h->外部/系统头文件 + + + + + +App/algo/phasor.c + +App/algo/phasor.c + + + +App/algo/phasor.c->App/algo/phasor.h + + + + + +App/algo/phasor.c->App/algo/sample_ring.h + + + + + +App/algo/phasor.c->外部/系统头文件 + + + + + +App/algo/phasor.h->App/algo/adc_input.h + + + + + +App/algo/phasor.h->外部/系统头文件 + + + + + +App/algo/prot_elm.c + +App/algo/prot_elm.c + + + +App/algo/prot_elm.c->App/algo/freq.h + + + + + +App/algo/prot_elm.c->App/algo/phasor.h + + + + + +App/algo/prot_elm.h + +App/algo/prot_elm.h + + + +App/algo/prot_elm.c->App/algo/prot_elm.h + + + + + +App/algo/prot_set.h + +App/algo/prot_set.h + + + +App/algo/prot_elm.c->App/algo/prot_set.h + + + + + +App/algo/prot_elm.c->外部/系统头文件 + + + + + +App/algo/prot_elm.h->外部/系统头文件 + + + + + +App/algo/prot_set.c + +App/algo/prot_set.c + + + +App/algo/prot_set.c->App/algo/prot_set.h + + + + + +App/algo/prot_set.c->外部/系统头文件 + + + + + +App/algo/prot_set.h->外部/系统头文件 + + + + + +App/algo/run_par.c + +App/algo/run_par.c + + + +App/algo/run_par.c->App/algo/adc_cal.h + + + + + +App/algo/run_par.h + +App/algo/run_par.h + + + +App/algo/run_par.c->App/algo/run_par.h + + + + + +App/algo/run_par.c->App/cfg/cfg_file.h + + + + + +App/algo/run_par.c->Drivers/BSP/dbg_log.h + + + + + +App/algo/run_par.c->外部/系统头文件 + + + + + +App/algo/run_par.h->App/algo/adc_cal.h + + + + + +App/algo/run_par.h->外部/系统头文件 + + + + + +App/algo/sample_ring.c + +App/algo/sample_ring.c + + + +App/algo/sample_ring.c->App/algo/sample_ring.h + + + + + +App/algo/sample_ring.c->外部/系统头文件 + + + + + +App/algo/sample_ring.h->App/algo/adc_input.h + + + + + +App/algo/sample_ring.h->外部/系统头文件 + + + + + +App/algo/sb_led_map.c + +App/algo/sb_led_map.c + + + +App/algo/sb_led_map.h + +App/algo/sb_led_map.h + + + +App/algo/sb_led_map.c->App/algo/sb_led_map.h + + + + + +App/algo/sb_led_map.c->外部/系统头文件 + + + + + +App/algo/sb_led_map.h->外部/系统头文件 + + + + + +App/algo/wave_ring.c + +App/algo/wave_ring.c + + + +App/algo/wave_ring.h + +App/algo/wave_ring.h + + + +App/algo/wave_ring.c->App/algo/wave_ring.h + + + + + +App/algo/wave_ring.c->外部/系统头文件 + + + + + +App/algo/wave_store.h + +App/algo/wave_store.h + + + +App/algo/wave_ring.h->App/algo/wave_store.h + + + + + +App/algo/wave_ring.h->外部/系统头文件 + + + + + +App/algo/wave_store.c + +App/algo/wave_store.c + + + +App/algo/wave_store.c->App/algo/wave_store.h + + + + + +App/algo/wave_store.c->外部/系统头文件 + + + + + +App/algo/wave_store.h->外部/系统头文件 + + + + + +App/app/app_cfg.h + +App/app/app_cfg.h + + + +App/app/app_main.c + +App/app/app_main.c + + + +App/app/app_main.c->App/algo/adc_cal.h + + + + + +App/app/app_main.c->App/algo/adc_input.h + + + + + +App/app/app_main.c->App/algo/freq.h + + + + + +App/app/app_main.c->App/algo/phasor.h + + + + + +App/app/app_main.c->App/algo/prot_elm.h + + + + + +App/app/app_main.c->App/algo/prot_set.h + + + + + +App/app/app_main.c->App/algo/run_par.h + + + + + +App/app/app_main.h + +App/app/app_main.h + + + +App/app/app_main.c->App/app/app_main.h + + + + + +App/iec60870/104/iec104_comm.h + +App/iec60870/104/iec104_comm.h + + + +App/app/app_main.c->App/iec60870/104/iec104_comm.h + + + + + +App/log/sys_log.h + +App/log/sys_log.h + + + +App/app/app_main.c->App/log/sys_log.h + + + + + +App/util/boot_stats.h + +App/util/boot_stats.h + + + +App/app/app_main.c->App/util/boot_stats.h + + + + + +App/util/sys_clock.h + +App/util/sys_clock.h + + + +App/app/app_main.c->App/util/sys_clock.h + + + + + +App/util/task_watchdog.h + +App/util/task_watchdog.h + + + +App/app/app_main.c->App/util/task_watchdog.h + + + + + +Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h + +Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h + + + +App/app/app_main.c->Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h + + + + + +Drivers/BSP/RS485/rs485.h + +Drivers/BSP/RS485/rs485.h + + + +App/app/app_main.c->Drivers/BSP/RS485/rs485.h + + + + + +Drivers/BSP/SD2506/sd2506.h + +Drivers/BSP/SD2506/sd2506.h + + + +App/app/app_main.c->Drivers/BSP/SD2506/sd2506.h + + + + + +Drivers/BSP/ScreenLink/sb_link.h + +Drivers/BSP/ScreenLink/sb_link.h + + + +App/app/app_main.c->Drivers/BSP/ScreenLink/sb_link.h + + + + + +App/app/app_main.c->Drivers/BSP/TPAFE5160/tpafe5160.h + + + + + +App/app/app_main.c->Drivers/BSP/dbg_log.h + + + + + +App/app/app_main.c->Inc/adc.h + + + + + +Inc/main.h + +Inc/main.h + + + +App/app/app_main.c->Inc/main.h + + + + + +Inc/stm32f4xx_it.h + +Inc/stm32f4xx_it.h + + + +App/app/app_main.c->Inc/stm32f4xx_it.h + + + + + +Inc/tim.h + +Inc/tim.h + + + +App/app/app_main.c->Inc/tim.h + + + + + +Inc/usart.h + +Inc/usart.h + + + +App/app/app_main.c->Inc/usart.h + + + + + +test/board/test_config.h + +test/board/test_config.h + + + +App/app/app_main.c->test/board/test_config.h + + + + + +App/app/app_main.h->外部/系统头文件 + + + + + +App/app/sys_events.h + +App/app/sys_events.h + + + +Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h + +Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h + + + +App/app/sys_events.h->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h + + + + + +App/app/ui_data_feed.c + +App/app/ui_data_feed.c + + + +App/app/ui_data_feed.c->App/algo/adc_cal.h + + + + + +App/app/ui_data_feed.c->App/algo/adc_input.h + + + + + +App/app/ui_data_feed.c->App/algo/freq.h + + + + + +App/app/ui_data_feed.c->App/algo/phasor.h + + + + + +App/app/ui_data_feed.c->App/algo/prot_elm.h + + + + + +App/app/ui_data_feed.c->App/algo/prot_set.h + + + + + +App/app/ui_data_feed.c->App/algo/run_par.h + + + + + +App/app/ui_data_feed.h + +App/app/ui_data_feed.h + + -App/log/sys_log_mcu.c->App/fs/vol_lock.h - - +App/app/ui_data_feed.c->App/app/ui_data_feed.h + + - + -App/log/sys_log_mcu.c->App/log/soe_store.h - - +App/app/ui_data_feed.c->App/iec60870/104/iec104_comm.h + + - + + +App/iec60870/104/iec104_dtu_table.h + +App/iec60870/104/iec104_dtu_table.h + + -App/log/sys_log_mcu.c->App/log/sys_log.h - - - - - -App/log/sys_log_mcu.c->App/util/sys_clock.h - - - - - -App/log/sys_log_mcu.c->Drivers/BSP/dbg_log.h - - - - - -App/log/sys_log_mcu.c->Lib/FatFs/ff.h - - - - - -App/log/sys_log_mcu.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -App/log/sys_log_mcu.c->外部/系统头文件 - - - - - -App/protocol/iec104/iec104_asdu.c - -App/protocol/iec104/iec104_asdu.c - - - -App/protocol/iec104/iec104_asdu.h - -App/protocol/iec104/iec104_asdu.h - - - -App/protocol/iec104/iec104_asdu.c->App/protocol/iec104/iec104_asdu.h - - - - - -App/protocol/iec104/iec104_asdu.c->外部/系统头文件 - - - - - -App/protocol/iec104/iec104_asdu.h->外部/系统头文件 - - - - - -App/protocol/iec104/iec104_link.c - -App/protocol/iec104/iec104_link.c - - - -App/protocol/iec104/iec104_link.c->App/protocol/iec104/iec104_asdu.h - - - - - -App/protocol/iec104/iec104_link.h - -App/protocol/iec104/iec104_link.h - - - -App/protocol/iec104/iec104_link.c->App/protocol/iec104/iec104_link.h - - - - - -App/protocol/iec104/iec104_link.c->外部/系统头文件 - - - - - -App/protocol/iec104/iec104_pts.h - -App/protocol/iec104/iec104_pts.h - - - -App/protocol/iec104/iec104_link.h->App/protocol/iec104/iec104_pts.h - - - - - -App/protocol/iec104/iec104_link.h->外部/系统头文件 - - - - - -App/protocol/iec104/iec104_pts.c - -App/protocol/iec104/iec104_pts.c - - - -App/protocol/iec104/iec104_pts.c->App/algo/adc_input.h - - - - - -App/protocol/iec104/iec104_pts.c->App/algo/phasor.h - - - - - -App/protocol/iec104/iec104_pts.c->App/algo/prot_elm.h - - - - - -App/protocol/iec104/iec104_pts.c->App/algo/prot_set.h - - - - - -App/protocol/iec104/iec104_pts.c->App/protocol/iec104/iec104_asdu.h - - - - - -App/protocol/iec104/iec104_pts.c->App/protocol/iec104/iec104_pts.h - - - - - -App/protocol/iec104/iec104_pts.c->外部/系统头文件 - - - - - -App/protocol/iec104/iec104_pts.h->外部/系统头文件 - - - - - -App/sync/time_sync.c - -App/sync/time_sync.c - - - -App/sync/time_sync.c->App/app/sys_events.h - - - - - -App/sync/time_sync.h - -App/sync/time_sync.h - - - -App/sync/time_sync.c->App/sync/time_sync.h - - - - - -App/sync/time_sync.c->App/util/sys_clock.h - - - - - -App/sync/time_sync.c->App/util/task_watchdog.h - - - - - -Drivers/BSP/NET/net_socket.h - -Drivers/BSP/NET/net_socket.h - - - -App/sync/time_sync.c->Drivers/BSP/NET/net_socket.h - - - - - -App/sync/time_sync.c->Drivers/BSP/dbg_log.h - - - - - -App/sync/time_sync.c->外部/系统头文件 - - - - - -App/sync/time_sync.h->外部/系统头文件 - - - - - -App/task/adc_task.c - -App/task/adc_task.c - - - -App/task/adc_task.c->App/algo/adc_health.h - - - - - -App/task/adc_task.c->App/algo/adc_input.h - - - - - -App/task/adc_task.c->App/algo/freq.h - - - - - -App/task/adc_task.c->App/algo/phasor.h - - - - - -App/task/adc_task.c->App/algo/sample_ring.h - - - - - -App/task/adc_task.c->App/log/console_log.h - - - - - -App/task/adc_task.c->App/log/sys_log.h - - - - - -App/task/adc_task.h - -App/task/adc_task.h - - - -App/task/adc_task.c->App/task/adc_task.h - - - - - -App/util/task_prof.h - -App/util/task_prof.h - - - -App/task/adc_task.c->App/util/task_prof.h - - - - - -App/task/adc_task.c->App/util/task_watchdog.h - - - - - -App/task/adc_task.c->Drivers/BSP/TPAFE5160/tpafe5160.h - - - - - -App/task/adc_task.c->Drivers/BSP/dbg_log.h - - - - - -App/task/adc_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -App/task/default_task.c - -App/task/default_task.c - - - -App/task/default_task.c->App/app/sys_events.h - - - - - -App/task/default_task.c->App/cfg/cfg_file.h - - - - - -App/task/default_task.c->App/cfg/prot_set_store.h - - - - - -App/task/default_task.c->App/fs/vol_lock.h - - - - - -App/task/default_task.c->App/log/sys_log.h - - - - - -App/task/default_task.h - -App/task/default_task.h - - - -App/task/default_task.c->App/task/default_task.h - - - - - -App/task/default_task.c->App/util/task_prof.h - - - - - -App/task/default_task.c->App/util/task_watchdog.h - - - - - -Drivers/BSP/GD5F2GQ5UE/nand_ftl.h - -Drivers/BSP/GD5F2GQ5UE/nand_ftl.h - - - -App/task/default_task.c->Drivers/BSP/GD5F2GQ5UE/nand_ftl.h - - - - - -Drivers/BSP/NETCFG/net_cfg.h - -Drivers/BSP/NETCFG/net_cfg.h - - - -App/task/default_task.c->Drivers/BSP/NETCFG/net_cfg.h - - - - - -App/task/default_task.c->Drivers/BSP/dbg_log.h - - - - - -App/task/default_task.c->Inc/main.h - - - - - -App/task/default_task.c->Lib/FatFs/ff.h - - - - - -App/task/default_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -App/task/default_task.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - - - -App/task/default_task.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - - - - -App/task/default_task.c->test/board/test_config.h - - - - - -App/task/iec104_serv.c - -App/task/iec104_serv.c - - - -App/task/iec104_serv.c->App/algo/prot_set.h - - - - - -App/task/iec104_serv.c->App/app/sys_events.h - - - - - -App/task/iec104_serv.c->App/protocol/iec104/iec104_link.h - - - - - -App/task/iec104_serv.c->App/protocol/iec104/iec104_pts.h - - +App/app/ui_data_feed.c->App/iec60870/104/iec104_dtu_table.h + + - + App/task/iec104_serv.h - -App/task/iec104_serv.h - - - -App/task/iec104_serv.c->App/task/iec104_serv.h - - - - - -App/task/iec104_serv.c->App/util/sys_clock.h - - - - - -App/task/iec104_serv.c->App/util/task_watchdog.h - - - - - -App/task/iec104_serv.c->Drivers/BSP/NET/net_socket.h - - - - - -App/task/iec104_serv.c->Drivers/BSP/dbg_log.h - - - - - -App/task/iec104_serv.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h - - - - - -App/task/iec104_serv.c->外部/系统头文件 - - - - - -App/task/net_task.c - -App/task/net_task.c - - - -App/task/net_task.c->App/app/sys_events.h - - - - - -App/task/net_task.c->App/log/sys_log.h - - - - - -App/task/net_task.h - -App/task/net_task.h - - - -App/task/net_task.c->App/task/net_task.h - - - - - -App/task/net_task.c->App/util/task_prof.h - - - - - -App/task/net_task.c->App/util/task_watchdog.h - - - - - -Drivers/BSP/CH395F/ch395f.h - -Drivers/BSP/CH395F/ch395f.h - - - -App/task/net_task.c->Drivers/BSP/CH395F/ch395f.h - - - - - -Drivers/BSP/NET/net_select.h - -Drivers/BSP/NET/net_select.h - - - -App/task/net_task.c->Drivers/BSP/NET/net_select.h - - - - - -App/task/net_task.c->Drivers/BSP/NET/net_socket.h - - - - - -App/task/net_task.c->Drivers/BSP/NETCFG/net_cfg.h - - - - - -App/task/net_task.c->Drivers/BSP/dbg_log.h - - - - - -App/task/net_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -App/task/net_task.c->test/board/test_config.h - - - - - -App/task/net_task.c->外部/系统头文件 - - - - - -App/task/protect_task.c - -App/task/protect_task.c - - - -App/task/protect_task.c->App/algo/adc_health.h - - - - - -App/task/protect_task.c->App/algo/prot_elm.h - - - - - -App/task/protect_task.c->App/algo/prot_set.h - - - - - -App/task/protect_task.c->App/log/console_log.h - - - - - -App/task/protect_task.c->App/log/soe_store.h - - - - - -App/task/protect_task.h - -App/task/protect_task.h - - - -App/task/protect_task.c->App/task/protect_task.h - - - - - -App/task/protect_task.c->App/util/task_watchdog.h - - - - - -App/task/protect_task.c->Drivers/BSP/dbg_log.h - - - - - -App/task/protect_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h - - - - - -App/task/rs485_task.c - -App/task/rs485_task.c - - - -App/task/rs485_task.h - -App/task/rs485_task.h - - - -App/task/rs485_task.c->App/task/rs485_task.h - - - - - -App/task/rs485_task.c->Drivers/BSP/RS485/rs485.h - - - - - -App/task/rs485_task.c->Drivers/BSP/dbg_log.h - - - - - -App/task/rs485_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -App/task/ui_task.c - -App/task/ui_task.c - - - -App/task/ui_task.c->App/app/sys_events.h - - - - - -App/task/ui_task.h - -App/task/ui_task.h - - - -App/task/ui_task.c->App/task/ui_task.h - - - - - -App/task/ui_task.c->App/util/sys_clock.h - - - - - -App/task/ui_task.c->App/util/task_prof.h - - - - - -App/task/ui_task.c->App/util/task_watchdog.h - - - - - -Drivers/BSP/UI/ui_menu.h - -Drivers/BSP/UI/ui_menu.h - - - -App/task/ui_task.c->Drivers/BSP/UI/ui_menu.h - - - - - -Drivers/BSP/UI/ui_net_sink.h - -Drivers/BSP/UI/ui_net_sink.h - - - -App/task/ui_task.c->Drivers/BSP/UI/ui_net_sink.h - - - - - -Drivers/BSP/UI/ui_port.h - -Drivers/BSP/UI/ui_port.h - - - -App/task/ui_task.c->Drivers/BSP/UI/ui_port.h - - - - - -Drivers/BSP/UI/ui_standby.h - -Drivers/BSP/UI/ui_standby.h - - - -App/task/ui_task.c->Drivers/BSP/UI/ui_standby.h - - - - - -App/task/ui_task.c->Drivers/BSP/dbg_log.h - - - - - -App/task/ui_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -test/board/net_latency_test.h - -test/board/net_latency_test.h - - - -App/task/ui_task.c->test/board/net_latency_test.h - - - - - -App/task/ui_task.c->test/board/test_config.h - - - - - -App/task/ui_task.c->外部/系统头文件 - - - - - -App/util/sha256.c - -App/util/sha256.c - - - -App/util/sha256.h - -App/util/sha256.h - - - -App/util/sha256.c->App/util/sha256.h - - - - - -App/util/sha256.c->外部/系统头文件 - - - - - -App/util/sha256.h->外部/系统头文件 - - - - - -App/util/sys_clock.c - -App/util/sys_clock.c - - - -App/util/sys_clock.c->App/util/sys_clock.h - - - - - -App/util/sys_clock.c->Drivers/BSP/dbg_log.h - - - - - -App/util/sys_clock.c->Inc/main.h - - - - - -App/util/sys_clock.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - - - -App/util/sys_clock.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - - - - -App/util/sys_clock.c->外部/系统头文件 - - - - - -App/util/sys_clock.h->Drivers/BSP/SD2506/sd2506.h - - - - - -App/util/sys_clock.h->外部/系统头文件 - - - - - -App/util/task_prof.c - -App/util/task_prof.c - - - -App/util/task_prof.c->App/log/console_log.h - - - - - -App/util/task_prof.c->App/util/task_prof.h - - - - - -App/util/task_prof.c->Inc/main.h - - - - - -App/util/task_prof.c->外部/系统头文件 - - - - - -App/util/task_prof.h->外部/系统头文件 - - - - - -App/util/task_watchdog.c - -App/util/task_watchdog.c - - - -App/util/task_watchdog.c->App/log/console_log.h - - - - - -App/util/task_watchdog.c->App/log/sys_log.h - - - - - -App/util/task_watchdog.c->App/util/task_watchdog.h - - - - - -Drivers/BSP/NET/lftpd/lftpd.h - -Drivers/BSP/NET/lftpd/lftpd.h - - - -App/util/task_watchdog.c->Drivers/BSP/NET/lftpd/lftpd.h - - - - - -App/util/task_watchdog.c->Drivers/BSP/dbg_log.h - - - - - -Inc/iwdg.h - -Inc/iwdg.h - - - -App/util/task_watchdog.c->Inc/iwdg.h - - - - - -App/util/task_watchdog.c->Inc/main.h - - - - - -App/util/task_watchdog.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - - - -App/util/task_watchdog.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - - - - -App/util/task_watchdog.c->外部/系统头文件 - - - - - -App/util/task_watchdog.h->外部/系统头文件 - - - - - -Drivers/BSP/CH395F/ch395f.c - -Drivers/BSP/CH395F/ch395f.c - - - -Drivers/BSP/CH395F/ch395f.c->Drivers/BSP/CH395F/ch395f.h - - - - - -Drivers/BSP/CH395F/ch395f.c->Drivers/BSP/dbg_log.h - - - - + +App/task/iec104_serv.h + + + +App/app/ui_data_feed.c->App/task/iec104_serv.h + + + + + +App/app/ui_data_feed.c->App/util/boot_stats.h + + + + -Inc/spi.h - -Inc/spi.h - - - -Drivers/BSP/CH395F/ch395f.c->Inc/spi.h - - - - - -Drivers/BSP/CH395F/ch395f.c->Inc/usart.h - - - - - -Drivers/BSP/CH395F/ch395f.c->外部/系统头文件 - - - - - -Drivers/BSP/CH395F/ch395f.h->Inc/main.h - - - - - -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c - -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c - - - -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c->Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h - - - - - -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c->Drivers/BSP/dbg_log.h - - - - - -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c->外部/系统头文件 - - - - - -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h->Inc/main.h - - - - - -Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h->外部/系统头文件 - - - - - -Drivers/BSP/GD5F2GQ5UE/nand_ftl.c - -Drivers/BSP/GD5F2GQ5UE/nand_ftl.c - - - -Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h - - - - - -Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Drivers/BSP/dbg_log.h - - - - - -Lib/FatFs/diskio.h - -Lib/FatFs/diskio.h - - - -Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Lib/FatFs/diskio.h - - - - - -Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Lib/FatFs/ff.h - - - - - -Lib/dhara/map.h - -Lib/dhara/map.h - - - -Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Lib/dhara/map.h - - - - - -Lib/dhara/nand.h - -Lib/dhara/nand.h - - - -Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Lib/dhara/nand.h - - - - - -Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->外部/系统头文件 - - - - - -Drivers/BSP/GD5F2GQ5UE/nand_ftl.h->外部/系统头文件 - - - - - -Drivers/BSP/NET/lftpd/lftpd_auth.c - -Drivers/BSP/NET/lftpd/lftpd_auth.c - - - -Drivers/BSP/NET/net_config.h - -Drivers/BSP/NET/net_config.h - - - -Drivers/BSP/NET/net_events.c - -Drivers/BSP/NET/net_events.c - - - -Drivers/BSP/NET/net_events.c->Drivers/BSP/CH395F/ch395f.h - - - - - -Drivers/BSP/NET/net_events.h - -Drivers/BSP/NET/net_events.h - - - -Drivers/BSP/NET/net_events.c->Drivers/BSP/NET/net_events.h - - - - - -Drivers/BSP/NET/net_listener.h - -Drivers/BSP/NET/net_listener.h - - - -Drivers/BSP/NET/net_events.c->Drivers/BSP/NET/net_listener.h - - - - - -Drivers/BSP/NET/net_pending.h - -Drivers/BSP/NET/net_pending.h - - - -Drivers/BSP/NET/net_events.c->Drivers/BSP/NET/net_pending.h - - - - - -Drivers/BSP/NET/net_events.c->Drivers/BSP/NET/net_socket.h - - - - - -Drivers/BSP/NET/net_events.c->Drivers/BSP/dbg_log.h - - - - - -Drivers/BSP/NET/net_events.c->Inc/main.h - - - - - -Drivers/BSP/NET/net_events.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -Drivers/BSP/NET/net_events.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - - - -Drivers/BSP/NET/net_events.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - - - - -Drivers/BSP/NET/net_events.c->test/board/net_latency_test.h - - - - - -Drivers/BSP/NET/net_events.c->test/board/test_config.h - - - - - -Drivers/BSP/NET/net_events.c->外部/系统头文件 - - - - - -Drivers/BSP/NET/net_types.h - -Drivers/BSP/NET/net_types.h - - - -Drivers/BSP/NET/net_events.h->Drivers/BSP/NET/net_types.h - - - - - -Drivers/BSP/NET/net_listener.c - -Drivers/BSP/NET/net_listener.c - - - -Drivers/BSP/NET/net_listener.c->Drivers/BSP/CH395F/ch395f.h - - - - - -Drivers/BSP/NET/net_listener.c->Drivers/BSP/NET/net_listener.h - - - - - -Drivers/BSP/NET/net_listener.c->Drivers/BSP/NET/net_pending.h - - - - - -Drivers/BSP/NET/net_listener.c->Drivers/BSP/NET/net_socket.h - - - - - -Drivers/BSP/NET/net_listener.c->Drivers/BSP/dbg_log.h - - - - - -Drivers/BSP/NET/net_listener.c->Inc/main.h - - - - - -Drivers/BSP/NET/net_listener.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -Drivers/BSP/NET/net_listener.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - - - -Drivers/BSP/NET/net_listener.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - - - - -Drivers/BSP/NET/net_listener.c->test/board/net_latency_test.h - - - - - -Drivers/BSP/NET/net_listener.c->test/board/test_config.h - - - - - -Drivers/BSP/NET/net_listener.c->外部/系统头文件 - - - - - -Drivers/BSP/NET/net_listener.h->Drivers/BSP/NET/net_types.h - - - - - -Drivers/BSP/NET/net_pending.c - -Drivers/BSP/NET/net_pending.c - - - -Drivers/BSP/NET/net_pending.c->Drivers/BSP/CH395F/ch395f.h - - - - - -Drivers/BSP/NET/net_pending.c->Drivers/BSP/NET/net_listener.h - - - - - -Drivers/BSP/NET/net_pending.c->Drivers/BSP/NET/net_pending.h - - - - - -Drivers/BSP/NET/net_pending.c->Drivers/BSP/NET/net_socket.h - - - - - -Drivers/BSP/NET/net_pending.c->Drivers/BSP/NET/net_types.h - - - - - -Drivers/BSP/NET/net_pending.c->Drivers/BSP/dbg_log.h - - - - - -Drivers/BSP/NET/net_pending.c->Inc/main.h - - - - - -Drivers/BSP/NET/net_pending.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - - - -Drivers/BSP/NET/net_pending.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - - - - -Drivers/BSP/NET/net_pending.c->外部/系统头文件 - - - - - -Drivers/BSP/NET/net_pending.h->Drivers/BSP/CH395F/ch395f.h - - - - - -Drivers/BSP/NET/net_pending.h->Drivers/BSP/NET/net_types.h - - - - - -Drivers/BSP/NET/net_pending.h->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - - - -Drivers/BSP/NET/net_pending.h->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - - - - -Drivers/BSP/NET/net_pending.h->外部/系统头文件 - - - - - -Drivers/BSP/NET/net_select.c - -Drivers/BSP/NET/net_select.c - - - -Drivers/BSP/NET/net_select.c->Drivers/BSP/CH395F/ch395f.h - - - - - -Drivers/BSP/NET/net_select.c->Drivers/BSP/NET/net_select.h - - - - - -Drivers/BSP/NET/net_select.c->Drivers/BSP/NET/net_socket.h - - - - - -Drivers/BSP/NET/net_select.c->Inc/main.h - - - - - -Drivers/BSP/NET/net_select.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -Drivers/BSP/NET/net_select.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - - - -Drivers/BSP/NET/net_select.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - - - - -Drivers/BSP/NET/net_select.c->外部/系统头文件 - - - - - -Drivers/BSP/NET/net_select.h->Drivers/BSP/NET/net_config.h - - - - - -Drivers/BSP/NET/net_select.h->Drivers/BSP/NET/net_types.h - - - - - -Drivers/BSP/NET/net_socket.c - -Drivers/BSP/NET/net_socket.c - - - -Drivers/BSP/NET/net_socket.c->Drivers/BSP/CH395F/ch395f.h - - - - - -Drivers/BSP/NET/net_socket.c->Drivers/BSP/NET/net_events.h - - - - - -Drivers/BSP/NET/net_socket.c->Drivers/BSP/NET/net_listener.h - - - - - -Drivers/BSP/NET/net_socket.c->Drivers/BSP/NET/net_pending.h - - - - - -Drivers/BSP/NET/net_socket.c->Drivers/BSP/NET/net_socket.h - - - - - -Drivers/BSP/NET/net_socket.c->Drivers/BSP/dbg_log.h - - - - - -Drivers/BSP/NET/net_socket.c->Inc/main.h - - - - - -Drivers/BSP/NET/net_socket.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - - - - -Drivers/BSP/NET/net_socket.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - - - -Drivers/BSP/NET/net_socket.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - - - - -Drivers/BSP/NET/net_socket.c->test/board/net_latency_test.h - - - - - -Drivers/BSP/NET/net_socket.c->test/board/test_config.h - - - - - -Drivers/BSP/NET/net_socket.c->外部/系统头文件 - - - - - -Drivers/BSP/NET/net_socket.h->Drivers/BSP/NET/net_types.h - - - - - -Drivers/BSP/NET/net_socket.h->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - - - - -Drivers/BSP/NET/net_socket.h->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - - - - -Drivers/BSP/NET/net_types.h->Drivers/BSP/NET/net_config.h - - - - - -Drivers/BSP/NET/net_types.h->外部/系统头文件 - - - - - -Drivers/BSP/NETCFG/ftp_cfg.c - -Drivers/BSP/NETCFG/ftp_cfg.c - - - -Drivers/BSP/NETCFG/ftp_cfg.c->App/cfg/cfg_file.h - - +App/util/ioboard_di.h + +App/util/ioboard_di.h + + + +App/app/ui_data_feed.c->App/util/ioboard_di.h + + + + + +App/app/ui_data_feed.c->App/util/sys_clock.h + + + + + +Drivers/BSP/IOBOARD/ioboard.h + +Drivers/BSP/IOBOARD/ioboard.h + + + +App/app/ui_data_feed.c->Drivers/BSP/IOBOARD/ioboard.h + + - + Drivers/BSP/NETCFG/ftp_cfg.h - -Drivers/BSP/NETCFG/ftp_cfg.h + +Drivers/BSP/NETCFG/ftp_cfg.h + + + +App/app/ui_data_feed.c->Drivers/BSP/NETCFG/ftp_cfg.h + + + + + +Drivers/BSP/UI/ui_data.h + +Drivers/BSP/UI/ui_data.h + + + +App/app/ui_data_feed.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_net_sink.h + +Drivers/BSP/UI/ui_net_sink.h + + + +App/app/ui_data_feed.c->Drivers/BSP/UI/ui_net_sink.h + + + + + +App/app/ui_data_feed.c->Drivers/BSP/dbg_log.h + + + + + +Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + +Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + +App/app/ui_data_feed.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +App/app/ui_data_feed.c->外部/系统头文件 + + + + + +App/cfg/cfg_file.c + +App/cfg/cfg_file.c + + + +App/cfg/cfg_file.c->App/cfg/cfg_file.h + + + + + +App/cfg/cfg_file_store.h + +App/cfg/cfg_file_store.h + + + +App/cfg/cfg_file.c->App/cfg/cfg_file_store.h + + + + + +App/cfg/cfg_file.c->App/log/sys_log.h + + + + + +App/cfg/cfg_file.c->Drivers/BSP/dbg_log.h + + + + + +App/cfg/cfg_file.c->外部/系统头文件 + + + + + +App/cfg/cfg_file.h->外部/系统头文件 + + + + + +App/cfg/cfg_file_store.h->外部/系统头文件 + + + + + +App/cfg/cfg_file_store_mcu.c + +App/cfg/cfg_file_store_mcu.c + + + +App/cfg/cfg_file_store_mcu.c->App/cfg/cfg_file_store.h + + + + + +App/fs/vol_lock.h + +App/fs/vol_lock.h + + + +App/cfg/cfg_file_store_mcu.c->App/fs/vol_lock.h + + + + + +Lib/FatFs/ff.h + +Lib/FatFs/ff.h + + + +App/cfg/cfg_file_store_mcu.c->Lib/FatFs/ff.h + + + + + +Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + +Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + +App/cfg/cfg_file_store_mcu.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +App/cfg/cfg_file_store_mcu.c->外部/系统头文件 + + + + + +App/cfg/prot_set_store.c + +App/cfg/prot_set_store.c + + + +App/cfg/prot_set_store.c->App/algo/prot_set.h + + + + + +App/cfg/prot_set_store.c->App/cfg/cfg_file_store.h + + + + + +App/cfg/prot_set_store.h + +App/cfg/prot_set_store.h + + + +App/cfg/prot_set_store.c->App/cfg/prot_set_store.h + + + + + +App/cfg/prot_set_store.c->Drivers/BSP/dbg_log.h + + + + + +App/cfg/prot_set_store.c->外部/系统头文件 + + + + + +App/fs/vol_idle_sync.c + +App/fs/vol_idle_sync.c + + + +App/fs/vol_idle_sync.c->App/app/sys_events.h + + + + + +App/fs/vol_idle_sync.h + +App/fs/vol_idle_sync.h + + + +App/fs/vol_idle_sync.c->App/fs/vol_idle_sync.h + + + + + +App/fs/vol_idle_sync.c->App/fs/vol_lock.h + + + + + +App/fs/vol_idle_sync.c->Drivers/BSP/dbg_log.h + + + + + +Lib/FatFs/diskio.h + +Lib/FatFs/diskio.h + + + +App/fs/vol_idle_sync.c->Lib/FatFs/diskio.h + + + + + +App/fs/vol_idle_sync.c->Lib/FatFs/ff.h + + + + + +App/fs/vol_idle_sync.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +App/fs/vol_idle_sync.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +Middlewares/Third_Party/FreeRTOS/Source/include/task.h + +Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + +App/fs/vol_idle_sync.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +App/fs/vol_idle_sync.c->test/board/test_config.h + + + + + +App/fs/vol_lock.c + +App/fs/vol_lock.c + + + +App/fs/vol_lock.c->App/fs/vol_lock.h + + + + + +App/fs/vol_lock.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +App/fs/vol_lock.h->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_AsduQueue.c + +App/iec60870/104/IEC104_AsduQueue.c + + + +App/iec60870/104/IEC104_AsduQueue.h + +App/iec60870/104/IEC104_AsduQueue.h + + + +App/iec60870/104/IEC104_AsduQueue.c->App/iec60870/104/IEC104_AsduQueue.h + + + + + +App/iec60870/104/IEC104_AsduQueue.c->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_Codec.h + +App/iec60870/104/IEC104_Codec.h + + + +App/iec60870/104/IEC104_AsduQueue.h->App/iec60870/104/IEC104_Codec.h + + + + + +App/iec60870/104/IEC104_AsduQueue.h->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_Codec.c + +App/iec60870/104/IEC104_Codec.c + + + +App/iec60870/104/IEC104_Codec.c->App/iec60870/104/IEC104_Codec.h + + + + + +App/iec60870/104/IEC104_Codec.c->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_Types.h + +App/iec60870/104/IEC104_Types.h + + + +App/iec60870/104/IEC104_Codec.h->App/iec60870/104/IEC104_Types.h + + + + + +App/iec60870/104/IEC104_Config_Internal.h + +App/iec60870/104/IEC104_Config_Internal.h + + + +App/iec60870/104/IEC104_TcpTypes.h + +App/iec60870/104/IEC104_TcpTypes.h + + + +App/iec60870/104/IEC104_Config_Internal.h->App/iec60870/104/IEC104_TcpTypes.h + + + + + +App/iec60870/104/IEC104_Connection.c + +App/iec60870/104/IEC104_Connection.c + + + +App/iec60870/104/IEC104_Connection.h + +App/iec60870/104/IEC104_Connection.h + + + +App/iec60870/104/IEC104_Connection.c->App/iec60870/104/IEC104_Connection.h + + + + + +App/iec60870/104/IEC104_Link_Slave_StartStop.h + +App/iec60870/104/IEC104_Link_Slave_StartStop.h + + + +App/iec60870/104/IEC104_Connection.c->App/iec60870/104/IEC104_Link_Slave_StartStop.h + + + + + +App/iec60870/104/IEC104_Connection.c->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_Receiver.h + +App/iec60870/104/IEC104_Receiver.h + + + +App/iec60870/104/IEC104_Connection.h->App/iec60870/104/IEC104_Receiver.h + + + + + +App/iec60870/104/IEC104_SendManager.h + +App/iec60870/104/IEC104_SendManager.h + + + +App/iec60870/104/IEC104_Connection.h->App/iec60870/104/IEC104_SendManager.h + + + + + +App/iec60870/104/IEC104_Link.c + +App/iec60870/104/IEC104_Link.c + + + +App/iec60870/104/IEC104_Link_Common.h + +App/iec60870/104/IEC104_Link_Common.h + + + +App/iec60870/104/IEC104_Link.c->App/iec60870/104/IEC104_Link_Common.h + + + + + +App/iec60870/104/IEC104_Link_Internal.h + +App/iec60870/104/IEC104_Link_Internal.h + + + +App/iec60870/104/IEC104_Link.c->App/iec60870/104/IEC104_Link_Internal.h + + + + + +App/iec60870/104/IEC104_Link.c->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_Link_Common.h->App/iec60870/104/IEC104_Codec.h + + + + + +App/iec60870/104/IEC104_Link_Internal.h->App/iec60870/104/IEC104_Link_Common.h + + + + + +App/iec60870/104/IEC104_Link_Slave_StartStop.c + +App/iec60870/104/IEC104_Link_Slave_StartStop.c + + + +App/iec60870/104/IEC104_Link_Slave_StartStop.c->App/iec60870/104/IEC104_Link_Internal.h + + + + + +App/iec60870/104/IEC104_Link_Slave_StartStop.c->App/iec60870/104/IEC104_Link_Slave_StartStop.h + + + + + +App/iec60870/104/IEC104_Link_Slave_StartStop.c->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_Link_Slave_StartStop.h->App/iec60870/104/IEC104_Link_Common.h + + + + + +App/iec60870/104/IEC104_Net.h + +App/iec60870/104/IEC104_Net.h + + + +App/iec60870/common/IEC60870_StaticAssert.h + +App/iec60870/common/IEC60870_StaticAssert.h + + + +App/iec60870/104/IEC104_Net.h->App/iec60870/common/IEC60870_StaticAssert.h + + + + + +App/iec60870/104/IEC104_Net.h->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_Net_Windows.c + +App/iec60870/104/IEC104_Net_Windows.c + + + +App/iec60870/104/IEC104_Net_Windows.c->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/IEC104_Net_Windows.c->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_Receiver.c + +App/iec60870/104/IEC104_Receiver.c + + + +App/iec60870/104/IEC104_Receiver.c->App/iec60870/104/IEC104_Receiver.h + + + + + +App/iec60870/common/IEC60870_Codec.h + +App/iec60870/common/IEC60870_Codec.h + + + +App/iec60870/104/IEC104_Receiver.c->App/iec60870/common/IEC60870_Codec.h + + + + + +App/iec60870/104/IEC104_Receiver.c->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_Receiver.h->App/iec60870/104/IEC104_Codec.h + + + + + +App/iec60870/104/IEC104_SendBuffer.c + +App/iec60870/104/IEC104_SendBuffer.c + + + +App/iec60870/104/IEC104_SendBuffer.c->App/iec60870/104/IEC104_Codec.h + + + + + +App/iec60870/104/IEC104_SendBuffer.h + +App/iec60870/104/IEC104_SendBuffer.h + + + +App/iec60870/104/IEC104_SendBuffer.c->App/iec60870/104/IEC104_SendBuffer.h + + + + + +App/iec60870/104/IEC104_SendBuffer.c->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_SendBuffer.h->App/iec60870/104/IEC104_Link_Common.h + + + + + +App/iec60870/104/IEC104_SendManager.c + +App/iec60870/104/IEC104_SendManager.c + + + +App/iec60870/104/IEC104_SendManager.c->App/iec60870/104/IEC104_Link_Slave_StartStop.h + + + + + +App/iec60870/104/IEC104_SendManager.c->App/iec60870/104/IEC104_SendManager.h + + + + + +App/iec60870/104/IEC104_SendManager.c->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_SendManager.h->App/iec60870/104/IEC104_AsduQueue.h + + + + + +App/iec60870/104/IEC104_SendManager.h->App/iec60870/104/IEC104_SendBuffer.h + + + + + +App/iec60870/104/IEC104_Slave.c + +App/iec60870/104/IEC104_Slave.c + + + +App/iec60870/104/IEC104_Slave.h + +App/iec60870/104/IEC104_Slave.h + + + +App/iec60870/104/IEC104_Slave.c->App/iec60870/104/IEC104_Slave.h + + + + + +App/iec60870/104/IEC104_TcpServer.h + +App/iec60870/104/IEC104_TcpServer.h + + + +App/iec60870/104/IEC104_Slave.c->App/iec60870/104/IEC104_TcpServer.h + + + + + +App/iec60870/104/IEC104_TcpServer_Config.h + +App/iec60870/104/IEC104_TcpServer_Config.h + + + +App/iec60870/104/IEC104_Slave.c->App/iec60870/104/IEC104_TcpServer_Config.h + + + + + +App/iec60870/104/IEC104_Slave.c->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_Slave.h->App/iec60870/104/IEC104_TcpTypes.h + + + + + +App/iec60870/common/IEC60870_Slave.h + +App/iec60870/common/IEC60870_Slave.h + + + +App/iec60870/104/IEC104_Slave.h->App/iec60870/common/IEC60870_Slave.h + + + + + +App/iec60870/104/IEC104_TcpServer.c + +App/iec60870/104/IEC104_TcpServer.c + + + +App/iec60870/104/IEC104_TcpServer.c->App/iec60870/104/IEC104_Config_Internal.h + + + + + +App/iec60870/104/IEC104_TcpServer.c->App/iec60870/104/IEC104_Connection.h + + + + + +App/iec60870/104/IEC104_TcpServer.c->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/IEC104_TcpServer.c->App/iec60870/104/IEC104_TcpServer.h + + + + + +App/iec60870/104/IEC104_TcpServer.c->App/iec60870/104/IEC104_TcpServer_Config.h + + + + + +App/iec60870/104/IEC104_TcpServer.c->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_TcpServer.h->App/iec60870/104/IEC104_TcpTypes.h + + + + + +App/iec60870/104/IEC104_TcpServer.h->外部/系统头文件 + + + + + +App/iec60870/104/IEC104_TcpTypes.h->App/iec60870/104/IEC104_Types.h + + + + + +App/iec60870/common/IEC60870_Types.h + +App/iec60870/common/IEC60870_Types.h + + + +App/iec60870/104/IEC104_Types.h->App/iec60870/common/IEC60870_Types.h + + + + + +App/iec60870/104/business/IEC104_BusinessConfig_Internal.h + +App/iec60870/104/business/IEC104_BusinessConfig_Internal.h + + + +App/iec60870/104/business/IEC104_Interrogation.h + +App/iec60870/104/business/IEC104_Interrogation.h + + + +App/iec60870/104/business/IEC104_BusinessConfig_Internal.h->App/iec60870/104/business/IEC104_Interrogation.h + + + + + +App/iec60870/104/business/IEC104_Spontaneous.h + +App/iec60870/104/business/IEC104_Spontaneous.h + + + +App/iec60870/104/business/IEC104_BusinessConfig_Internal.h->App/iec60870/104/business/IEC104_Spontaneous.h + + + + + +App/iec60870/104/business/IEC104_SystemCommand.h + +App/iec60870/104/business/IEC104_SystemCommand.h + + + +App/iec60870/104/business/IEC104_BusinessConfig_Internal.h->App/iec60870/104/business/IEC104_SystemCommand.h + + + + + +App/iec60870/104/business/IEC104_ClockSynchronization.c + +App/iec60870/104/business/IEC104_ClockSynchronization.c + + + +App/iec60870/104/business/IEC104_ClockSynchronization.c->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/business/IEC104_ClockSynchronization.c->App/iec60870/104/IEC104_TcpServer_Config.h + + + + + +App/iec60870/104/business/IEC104_ClockSynchronization.h + +App/iec60870/104/business/IEC104_ClockSynchronization.h + + + +App/iec60870/104/business/IEC104_ClockSynchronization.c->App/iec60870/104/business/IEC104_ClockSynchronization.h + + + + + +App/iec60870/104/business/IEC104_ClockSynchronization.c->App/iec60870/common/IEC60870_Codec.h + + + + + +App/iec60870/104/business/IEC104_ClockSynchronization.c->外部/系统头文件 + + + + + +App/iec60870/104/business/IEC104_ClockSynchronization.h->App/iec60870/104/IEC104_Slave.h + + + + + +App/iec60870/common/IEC60870_Time.h + +App/iec60870/common/IEC60870_Time.h + + + +App/iec60870/104/business/IEC104_ClockSynchronization.h->App/iec60870/common/IEC60870_Time.h + + + + + +App/iec60870/104/business/IEC104_Command.c + +App/iec60870/104/business/IEC104_Command.c + + + +App/iec60870/104/business/IEC104_Command.c->App/iec60870/104/IEC104_AsduQueue.h + + + + + +App/iec60870/104/business/IEC104_Command.c->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/business/IEC104_Command.c->App/iec60870/104/IEC104_TcpServer_Config.h + + + + + +App/iec60870/104/business/IEC104_Command.h + +App/iec60870/104/business/IEC104_Command.h + + + +App/iec60870/104/business/IEC104_Command.c->App/iec60870/104/business/IEC104_Command.h + + + + + +App/iec60870/104/business/IEC104_Command.c->外部/系统头文件 + + + + + +App/iec60870/104/business/IEC104_Command.h->App/iec60870/104/IEC104_Slave.h + + + + + +App/iec60870/104/business/IEC104_Command.h->App/iec60870/common/IEC60870_Time.h + + + + + +App/iec60870/104/business/IEC104_Command.h->外部/系统头文件 + + + + + +App/iec60870/104/business/IEC104_CounterInterrogation.c + +App/iec60870/104/business/IEC104_CounterInterrogation.c + + + +App/iec60870/104/business/IEC104_CounterInterrogation.h + +App/iec60870/104/business/IEC104_CounterInterrogation.h + + + +App/iec60870/104/business/IEC104_CounterInterrogation.c->App/iec60870/104/business/IEC104_CounterInterrogation.h + + + + + +App/iec60870/104/business/IEC104_Interrogation_Internal.h + +App/iec60870/104/business/IEC104_Interrogation_Internal.h + + + +App/iec60870/104/business/IEC104_CounterInterrogation.c->App/iec60870/104/business/IEC104_Interrogation_Internal.h + + + + + +App/iec60870/104/business/IEC104_CounterInterrogation.h->App/iec60870/104/business/IEC104_Interrogation.h + + + + + +App/iec60870/104/business/IEC104_GeneralInterrogation.c + +App/iec60870/104/business/IEC104_GeneralInterrogation.c + + + +App/iec60870/104/business/IEC104_GeneralInterrogation.h + +App/iec60870/104/business/IEC104_GeneralInterrogation.h + + + +App/iec60870/104/business/IEC104_GeneralInterrogation.c->App/iec60870/104/business/IEC104_GeneralInterrogation.h + + + + + +App/iec60870/104/business/IEC104_GeneralInterrogation.c->App/iec60870/104/business/IEC104_Interrogation_Internal.h + + + + + +App/iec60870/104/business/IEC104_GeneralInterrogation.h->App/iec60870/104/business/IEC104_Interrogation.h + + + + + +App/iec60870/104/business/IEC104_Interrogation.c + +App/iec60870/104/business/IEC104_Interrogation.c + + + +App/iec60870/104/business/IEC104_Interrogation.c->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/business/IEC104_Interrogation.c->App/iec60870/104/IEC104_TcpServer_Config.h + + + + + +App/iec60870/104/business/IEC104_Interrogation.c->App/iec60870/104/business/IEC104_BusinessConfig_Internal.h + + + + + +App/iec60870/104/business/IEC104_Interrogation.c->App/iec60870/104/business/IEC104_Interrogation_Internal.h + + + + + +App/iec60870/104/business/IEC104_Interrogation.c->外部/系统头文件 + + + + + +App/iec60870/104/business/IEC104_Interrogation.h->App/iec60870/104/IEC104_Slave.h + + + + + +App/iec60870/104/business/IEC104_Interrogation_Internal.h->App/iec60870/104/business/IEC104_Interrogation.h + + + + + +App/iec60870/104/business/IEC104_Parameter.c + +App/iec60870/104/business/IEC104_Parameter.c + + + +App/iec60870/104/business/IEC104_Parameter.c->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/business/IEC104_Parameter.c->App/iec60870/104/IEC104_TcpServer_Config.h + + + + + +App/iec60870/104/business/IEC104_Parameter.h + +App/iec60870/104/business/IEC104_Parameter.h + + + +App/iec60870/104/business/IEC104_Parameter.c->App/iec60870/104/business/IEC104_Parameter.h + + + + + +App/iec60870/104/business/IEC104_Parameter.c->App/iec60870/common/IEC60870_Codec.h + + + + + +App/iec60870/104/business/IEC104_Parameter.c->外部/系统头文件 + + + + + +App/iec60870/104/business/IEC104_Parameter.h->App/iec60870/104/IEC104_Slave.h + + + + + +App/iec60870/104/business/IEC104_PeriodicScan.c + +App/iec60870/104/business/IEC104_PeriodicScan.c + + + +App/iec60870/104/business/IEC104_PeriodicScan.c->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/business/IEC104_PeriodicScan.c->App/iec60870/104/IEC104_TcpServer_Config.h + + + + + +App/iec60870/104/business/IEC104_PeriodicScan.h + +App/iec60870/104/business/IEC104_PeriodicScan.h + + + +App/iec60870/104/business/IEC104_PeriodicScan.c->App/iec60870/104/business/IEC104_PeriodicScan.h + + + + + +App/iec60870/104/business/IEC104_PeriodicScan.c->外部/系统头文件 + + + + + +App/iec60870/104/business/IEC104_PeriodicScan.h->App/iec60870/104/IEC104_Slave.h + + + + + +App/iec60870/104/business/IEC104_Read.c + +App/iec60870/104/business/IEC104_Read.c + + + +App/iec60870/104/business/IEC104_Read.c->App/iec60870/104/IEC104_AsduQueue.h + + + + + +App/iec60870/104/business/IEC104_Read.c->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/business/IEC104_Read.c->App/iec60870/104/IEC104_TcpServer_Config.h + + + + + +App/iec60870/104/business/IEC104_Read.h + +App/iec60870/104/business/IEC104_Read.h + + + +App/iec60870/104/business/IEC104_Read.c->App/iec60870/104/business/IEC104_Read.h + + + + + +App/iec60870/104/business/IEC104_Read.c->外部/系统头文件 + + + + + +App/iec60870/104/business/IEC104_Read.h->App/iec60870/104/IEC104_Slave.h + + + + + +App/iec60870/104/business/IEC104_RemoteParameter.c + +App/iec60870/104/business/IEC104_RemoteParameter.c + + + +App/iec60870/104/business/IEC104_RemoteParameter.c->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/business/IEC104_RemoteParameter.c->App/iec60870/104/IEC104_TcpServer_Config.h + + + + + +App/iec60870/104/business/IEC104_RemoteParameter.h + +App/iec60870/104/business/IEC104_RemoteParameter.h + + + +App/iec60870/104/business/IEC104_RemoteParameter.c->App/iec60870/104/business/IEC104_RemoteParameter.h + + + + + +App/iec60870/104/business/IEC104_RemoteParameter.c->外部/系统头文件 + + + + + +App/iec60870/104/business/IEC104_RemoteParameter.h->App/iec60870/104/IEC104_Slave.h + + + + + +App/iec60870/104/business/IEC104_RemoteParameter.h->外部/系统头文件 + + + + + +App/iec60870/104/business/IEC104_Spontaneous.c + +App/iec60870/104/business/IEC104_Spontaneous.c + + + +App/iec60870/104/business/IEC104_Spontaneous.c->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/business/IEC104_Spontaneous.c->App/iec60870/104/IEC104_TcpServer_Config.h + + + + + +App/iec60870/104/business/IEC104_Spontaneous.c->App/iec60870/104/business/IEC104_BusinessConfig_Internal.h + + + + + +App/iec60870/104/business/IEC104_Spontaneous.c->App/iec60870/104/business/IEC104_Spontaneous.h + + + + + +App/iec60870/104/business/IEC104_Spontaneous.c->外部/系统头文件 + + + + + +App/iec60870/104/business/IEC104_Spontaneous.h->App/iec60870/104/IEC104_Slave.h + + + + + +App/iec60870/common/IEC60870_FaultEvent.h + +App/iec60870/common/IEC60870_FaultEvent.h + + + +App/iec60870/104/business/IEC104_Spontaneous.h->App/iec60870/common/IEC60870_FaultEvent.h + + + + + +App/iec60870/104/business/IEC104_Startup.c + +App/iec60870/104/business/IEC104_Startup.c + + + +App/iec60870/104/business/IEC104_Startup.c->App/iec60870/104/IEC104_Config_Internal.h + + + + + +App/iec60870/104/business/IEC104_Startup.c->App/iec60870/104/business/IEC104_BusinessConfig_Internal.h + + + + + +App/iec60870/104/business/IEC104_Startup.h + +App/iec60870/104/business/IEC104_Startup.h + + + +App/iec60870/104/business/IEC104_Startup.c->App/iec60870/104/business/IEC104_Startup.h + + + + + +App/iec60870/104/business/IEC104_Startup.c->外部/系统头文件 + + + + + +App/iec60870/104/business/IEC104_Startup.h->App/iec60870/104/IEC104_Slave.h + + + + + +App/iec60870/104/business/IEC104_Startup.h->App/iec60870/104/business/IEC104_Interrogation.h + + + + + +App/iec60870/104/business/IEC104_Startup.h->App/iec60870/104/business/IEC104_Spontaneous.h + + + + + +App/iec60870/104/business/IEC104_Startup.h->App/iec60870/104/business/IEC104_SystemCommand.h + + + + + +App/iec60870/104/business/IEC104_SystemCommand.c + +App/iec60870/104/business/IEC104_SystemCommand.c + + + +App/iec60870/104/business/IEC104_SystemCommand.c->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/business/IEC104_SystemCommand.c->App/iec60870/104/IEC104_TcpServer_Config.h + + + + + +App/iec60870/104/business/IEC104_SystemCommand.c->App/iec60870/104/business/IEC104_BusinessConfig_Internal.h + + + + + +App/iec60870/104/business/IEC104_SystemCommand.c->App/iec60870/104/business/IEC104_SystemCommand.h + + + + + +App/iec60870/104/business/IEC104_SystemCommand.c->App/iec60870/common/IEC60870_Codec.h + + + + + +App/iec60870/104/business/IEC104_SystemCommand.c->外部/系统头文件 + + + + + +App/iec60870/104/business/IEC104_SystemCommand.h->App/iec60870/104/IEC104_Slave.h + + + + + +App/iec60870/104/iec104_comm.c + +App/iec60870/104/iec104_comm.c + + + +App/iec60870/104/iec104_comm.c->App/cfg/cfg_file.h + + + + + +App/iec60870/104/iec104_comm.c->App/iec60870/104/iec104_comm.h + + + + + +App/iec60870/104/iec104_comm.c->外部/系统头文件 + + + + + +App/iec60870/104/iec104_comm.h->外部/系统头文件 + + + + + +App/iec60870/104/iec104_core.c + +App/iec60870/104/iec104_core.c + + + +App/iec60870/104/iec104_core.c->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/iec104_core.c->App/iec60870/104/business/IEC104_CounterInterrogation.h + + + + + +App/iec60870/104/iec104_core.c->App/iec60870/104/business/IEC104_GeneralInterrogation.h + + + + + +App/iec60870/104/iec104_core.c->App/iec60870/104/business/IEC104_PeriodicScan.h + + + + + +App/iec60870/104/iec104_core.c->App/iec60870/104/business/IEC104_Read.h + + + + + +App/iec60870/104/iec104_core.c->App/iec60870/104/business/IEC104_Startup.h + + + + + +App/iec60870/104/iec104_core.h + +App/iec60870/104/iec104_core.h + + + +App/iec60870/104/iec104_core.c->App/iec60870/104/iec104_core.h + + + + + +App/iec60870/104/iec104_source.h + +App/iec60870/104/iec104_source.h + + + +App/iec60870/104/iec104_core.c->App/iec60870/104/iec104_source.h + + + + + +App/iec60870/104/iec104_core.c->外部/系统头文件 + + + + + +App/iec60870/104/iec104_core.h->外部/系统头文件 + + + + + +App/iec60870/104/iec104_dtu_table.c + +App/iec60870/104/iec104_dtu_table.c + + + +App/iec60870/104/iec104_dtu_table.c->App/iec60870/104/iec104_dtu_table.h + + + + + +App/iec60870/examples/iec104_dtu_profile.h + +App/iec60870/examples/iec104_dtu_profile.h + + + +App/iec60870/104/iec104_dtu_table.c->App/iec60870/examples/iec104_dtu_profile.h + + + + + +App/iec60870/104/iec104_dtu_table.c->外部/系统头文件 + + + + + +App/iec60870/104/iec104_dtu_table.h->外部/系统头文件 + + + + + +App/iec60870/104/iec104_net_mcu.c + +App/iec60870/104/iec104_net_mcu.c + + + +App/iec60870/104/iec104_net_mcu.c->App/iec60870/104/IEC104_Net.h + + + + + +Drivers/BSP/NET/net_socket.h + +Drivers/BSP/NET/net_socket.h + + + +App/iec60870/104/iec104_net_mcu.c->Drivers/BSP/NET/net_socket.h + + + + + +App/iec60870/104/iec104_net_mcu.c->外部/系统头文件 + + + + + +App/iec60870/104/iec104_net_mcu.h + +App/iec60870/104/iec104_net_mcu.h + + + +App/iec60870/104/iec104_net_mcu.h->App/iec60870/104/IEC104_Net.h + + + + + +App/iec60870/104/iec104_net_mcu.h->外部/系统头文件 + + + + + +App/iec60870/104/iec104_source.c + +App/iec60870/104/iec104_source.c + + + +App/iec60870/104/iec104_source.c->App/iec60870/104/iec104_source.h + + + + + +App/iec60870/104/iec104_source_ranks.h + +App/iec60870/104/iec104_source_ranks.h + + + +App/iec60870/104/iec104_source.c->App/iec60870/104/iec104_source_ranks.h + + + + + +App/iec60870/104/iec104_source.c->外部/系统头文件 + + + + + +App/iec60870/104/iec104_source.h->App/iec60870/104/business/IEC104_ClockSynchronization.h + + + + + +App/iec60870/104/iec104_source.h->App/iec60870/104/business/IEC104_Command.h + + + + + +App/iec60870/104/iec104_source.h->App/iec60870/104/business/IEC104_Parameter.h + + + + + +App/iec60870/104/iec104_source.h->App/iec60870/104/business/IEC104_RemoteParameter.h + + + + + +App/iec60870/104/iec104_source.h->App/iec60870/104/iec104_dtu_table.h + + + + + +App/iec60870/104/iec104_source_ranks.h->外部/系统头文件 + + + + + +App/iec60870/common/IEC60870_Asdu.c + +App/iec60870/common/IEC60870_Asdu.c + + + +App/iec60870/common/IEC60870_Asdu.h + +App/iec60870/common/IEC60870_Asdu.h + + + +App/iec60870/common/IEC60870_Asdu.c->App/iec60870/common/IEC60870_Asdu.h + + + + + +App/iec60870/common/IEC60870_InformationObjects_Internal.h + +App/iec60870/common/IEC60870_InformationObjects_Internal.h + + + +App/iec60870/common/IEC60870_Asdu.c->App/iec60870/common/IEC60870_InformationObjects_Internal.h + + + + + +App/iec60870/common/IEC60870_Asdu.c->外部/系统头文件 + + + + + +App/iec60870/common/IEC60870_Asdu.h->App/iec60870/common/IEC60870_Codec.h + + + + + +App/iec60870/common/IEC60870_InformationObjects.h + +App/iec60870/common/IEC60870_InformationObjects.h + + + +App/iec60870/common/IEC60870_Asdu.h->App/iec60870/common/IEC60870_InformationObjects.h + + + + + +App/iec60870/common/IEC60870_Codec.c + +App/iec60870/common/IEC60870_Codec.c + + + +App/iec60870/common/IEC60870_Codec.c->App/iec60870/common/IEC60870_Codec.h + + + + + +App/iec60870/common/IEC60870_Codec.c->外部/系统头文件 + + + + + +App/iec60870/common/IEC60870_Codec.h->App/iec60870/common/IEC60870_Types.h + + + + + +App/iec60870/common/IEC60870_FaultEvent.c + +App/iec60870/common/IEC60870_FaultEvent.c + + + +App/iec60870/common/IEC60870_FaultEvent.c->App/iec60870/common/IEC60870_FaultEvent.h + + + + + +App/iec60870/common/IEC60870_FaultEvent.c->App/iec60870/common/IEC60870_InformationObjects_Internal.h + + + + + +App/iec60870/common/IEC60870_FaultEvent.c->外部/系统头文件 + + + + + +App/iec60870/common/IEC60870_FaultEvent.h->App/iec60870/common/IEC60870_Asdu.h + + + + + +App/iec60870/common/IEC60870_InformationObjects.c + +App/iec60870/common/IEC60870_InformationObjects.c + + + +App/iec60870/common/IEC60870_InformationObjects.c->App/iec60870/common/IEC60870_Codec.h + + + + + +App/iec60870/common/IEC60870_InformationObjects.c->App/iec60870/common/IEC60870_InformationObjects_Internal.h + + + + + +App/iec60870/common/IEC60870_InformationObjects.c->外部/系统头文件 + + + + + +App/iec60870/common/IEC60870_InformationObjects.h->App/iec60870/common/IEC60870_Time.h + + + + + +App/iec60870/common/IEC60870_InformationObjects.h->App/iec60870/common/IEC60870_Types.h + + + + + +App/iec60870/common/IEC60870_InformationObjects.h->外部/系统头文件 + + + + + +App/iec60870/common/IEC60870_InformationObjects_Internal.h->App/iec60870/common/IEC60870_InformationObjects.h + + + + + +App/iec60870/common/IEC60870_Slave.c + +App/iec60870/common/IEC60870_Slave.c + + + +App/iec60870/common/IEC60870_Slave.c->App/iec60870/common/IEC60870_Slave.h + + + + + +App/iec60870/common/IEC60870_Slave.h->App/iec60870/common/IEC60870_Asdu.h + + + + + +App/iec60870/common/IEC60870_Slave.h->外部/系统头文件 + + + + + +App/iec60870/common/IEC60870_Time.c + +App/iec60870/common/IEC60870_Time.c + + + +App/iec60870/common/IEC60870_Time.c->App/iec60870/common/IEC60870_Time.h + + + + + +App/iec60870/common/IEC60870_Time.c->外部/系统头文件 + + + + + +App/iec60870/common/IEC60870_Time.h->外部/系统头文件 + + + + + +App/iec60870/common/IEC60870_Types.h->App/iec60870/common/IEC60870_StaticAssert.h + + + + + +App/iec60870/common/IEC60870_Types.h->外部/系统头文件 + + + + + +App/iec60870/examples/iec104_dtu_profile.h->外部/系统头文件 + + + + + +App/log/console_log.c + +App/log/console_log.c + + + +App/log/console_log.c->App/app/sys_events.h + + + + + +App/log/console_log.h + +App/log/console_log.h + + + +App/log/console_log.c->App/log/console_log.h + + + + + +App/log/console_log.c->Inc/usart.h + + + + + +App/log/console_log.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +App/log/console_log.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +App/log/console_log.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +App/log/console_log.c->外部/系统头文件 + + + + + +App/log/console_log.h->外部/系统头文件 + + + + + +App/log/soe_rec.c + +App/log/soe_rec.c + + + +App/log/soe_rec.h + +App/log/soe_rec.h + + + +App/log/soe_rec.c->App/log/soe_rec.h + + + + + +App/log/soe_rec.c->外部/系统头文件 + + + + + +App/log/soe_rec.h->外部/系统头文件 + + + + + +App/log/soe_store.c + +App/log/soe_store.c + + + +App/log/soe_store.c->App/fs/vol_lock.h + + + + + +App/log/soe_store.c->App/log/soe_rec.h + + + + + +App/log/soe_store.h + +App/log/soe_store.h + + + +App/log/soe_store.c->App/log/soe_store.h + + + + + +App/log/soe_store.c->App/util/sys_clock.h + + + + + +App/log/soe_store.c->Drivers/BSP/dbg_log.h + + + + + +App/log/soe_store.c->Lib/FatFs/ff.h + + + + + +App/log/soe_store.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +App/log/soe_store.c->外部/系统头文件 + + + + + +App/log/soe_store.h->App/log/soe_rec.h + + + + + +App/log/soe_store.h->外部/系统头文件 + + + + + +App/log/sys_log.h->外部/系统头文件 + + + + + +App/log/sys_log_mcu.c + +App/log/sys_log_mcu.c + + + +App/log/sys_log_mcu.c->App/fs/vol_lock.h + + + + + +App/log/sys_log_mcu.c->App/log/soe_store.h + + + + + +App/log/sys_log_mcu.c->App/log/sys_log.h + + + + + +App/log/sys_log_mcu.c->App/util/sys_clock.h + + + + + +App/log/sys_log_mcu.c->Drivers/BSP/dbg_log.h + + + + + +App/log/sys_log_mcu.c->Lib/FatFs/ff.h + + + + + +App/log/sys_log_mcu.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +App/log/sys_log_mcu.c->外部/系统头文件 + + + + + +App/sync/time_sntp.c + +App/sync/time_sntp.c + + + +App/sync/time_sntp.c->App/app/sys_events.h + + + + + +App/sync/time_sntp.c->App/log/sys_log.h + + + + + +App/sync/time_sntp.h + +App/sync/time_sntp.h + + + +App/sync/time_sntp.c->App/sync/time_sntp.h + + + + + +App/sync/time_sntp.c->App/util/sys_clock.h + + + + + +App/sync/time_sntp.c->Drivers/BSP/NET/net_socket.h + + + + + +Drivers/BSP/NETCFG/sntp_cfg.h + +Drivers/BSP/NETCFG/sntp_cfg.h + + + +App/sync/time_sntp.c->Drivers/BSP/NETCFG/sntp_cfg.h + + + + + +App/sync/time_sntp.c->Drivers/BSP/dbg_log.h + + + + + +Lib/coreSNTP/include/core_sntp_serializer.h + +Lib/coreSNTP/include/core_sntp_serializer.h + + + +App/sync/time_sntp.c->Lib/coreSNTP/include/core_sntp_serializer.h + + + + + +App/sync/time_sntp.c->外部/系统头文件 + + + + + +App/sync/time_sntp.h->外部/系统头文件 + + + + + +App/sync/time_sync.c + +App/sync/time_sync.c + + + +App/sync/time_sync.c->App/app/sys_events.h + + + + + +App/sync/time_sync.c->App/sync/time_sntp.h + + + + + +App/sync/time_sync.h + +App/sync/time_sync.h + + + +App/sync/time_sync.c->App/sync/time_sync.h + + + + + +App/sync/time_sync.c->App/util/task_watchdog.h + + + + + +App/sync/time_sync.c->Drivers/BSP/NET/net_socket.h + + + + + +App/sync/time_sync.h->外部/系统头文件 + + + + + +App/task/adc_task.c + +App/task/adc_task.c + + + +App/task/adc_task.c->App/algo/adc_cal.h + + + + + +App/task/adc_task.c->App/algo/adc_health.h + + + + + +App/task/adc_task.c->App/algo/adc_input.h + + + + + +App/task/adc_task.c->App/algo/freq.h + + + + + +App/task/adc_task.c->App/algo/meas.h + + + + + +App/task/adc_task.c->App/algo/phasor.h + + + + + +App/task/adc_task.c->App/algo/sample_ring.h + + + + + +App/task/adc_task.c->App/algo/wave_ring.h + + + + + +App/task/adc_task.c->App/log/console_log.h + + + + + +App/task/adc_task.c->App/log/sys_log.h + + + + + +App/task/adc_task.h + +App/task/adc_task.h + + + +App/task/adc_task.c->App/task/adc_task.h + + + + + +App/task/task_handles.h + +App/task/task_handles.h + + + +App/task/adc_task.c->App/task/task_handles.h + + + + + +App/task/adc_task.c->App/util/sys_clock.h + + + + + +App/util/task_prof.h + +App/util/task_prof.h + + + +App/task/adc_task.c->App/util/task_prof.h + + + + + +App/task/adc_task.c->App/util/task_watchdog.h + + + + + +App/task/adc_task.c->Drivers/BSP/TPAFE5160/tpafe5160.h + + + + + +App/task/adc_task.c->Drivers/BSP/dbg_log.h + + + + + +App/task/adc_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +App/task/default_task.c + +App/task/default_task.c + + + +App/task/default_task.c->App/algo/prot_set.h + + + + + +App/task/default_task.c->App/algo/run_par.h + + + + + +App/task/default_task.c->App/algo/wave_ring.h + + + + + +App/task/default_task.c->App/algo/wave_store.h + + + + + +App/task/default_task.c->App/app/sys_events.h + + + + + +App/task/default_task.c->App/cfg/cfg_file.h + + + + + +App/task/default_task.c->App/cfg/prot_set_store.h + + + + + +App/task/default_task.c->App/fs/vol_idle_sync.h + + + + + +App/task/default_task.c->App/fs/vol_lock.h + + + + + +App/task/default_task.c->App/iec60870/104/iec104_comm.h + + + + + +App/task/default_task.c->App/log/sys_log.h + + + + + +App/task/default_task.h + +App/task/default_task.h + + + +App/task/default_task.c->App/task/default_task.h + + + + + +App/task/default_task.c->App/task/task_handles.h + + + + + +App/task/default_task.c->App/util/ioboard_di.h + + + + + +App/task/default_task.c->App/util/task_prof.h + + + + + +App/task/default_task.c->App/util/task_watchdog.h + + + + + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.h + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.h + + + +App/task/default_task.c->Drivers/BSP/GD5F2GQ5UE/nand_ftl.h + + + + + +App/task/default_task.c->Drivers/BSP/IOBOARD/ioboard.h + + + + + +Drivers/BSP/NETCFG/net_cfg.h + +Drivers/BSP/NETCFG/net_cfg.h + + + +App/task/default_task.c->Drivers/BSP/NETCFG/net_cfg.h + + + + + +Drivers/BSP/bsp_err.h + +Drivers/BSP/bsp_err.h + + + +App/task/default_task.c->Drivers/BSP/bsp_err.h + + + + + +App/task/default_task.c->Drivers/BSP/dbg_log.h + + + + + +App/task/default_task.c->Inc/main.h + + + + + +App/task/default_task.c->Lib/FatFs/ff.h + + + + + +App/task/default_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +App/task/default_task.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +App/task/default_task.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +App/task/default_task.c->test/board/test_config.h + + + + + +App/task/iec104_serv.c + +App/task/iec104_serv.c + + + +App/task/iec104_serv.c->App/algo/adc_cal.h + + + + + +App/task/iec104_serv.c->App/algo/meas.h + + + + + +App/task/iec104_serv.c->App/algo/prot_set.h + + + + + +App/task/iec104_serv.c->App/algo/run_par.h + + + + + +App/task/iec104_serv.c->App/app/sys_events.h + + + + + +App/task/iec104_serv.c->App/iec60870/104/iec104_comm.h + + + + + +App/task/iec104_serv.c->App/iec60870/104/iec104_core.h + + + + + +App/task/iec104_serv.c->App/iec60870/104/iec104_net_mcu.h + + + + + +App/task/iec104_serv.c->App/iec60870/104/iec104_source.h + + + + + +App/task/iec104_serv.c->App/task/iec104_serv.h + + + + + +App/task/iec104_serv.c->App/util/ioboard_di.h + + + + + +App/task/iec104_serv.c->App/util/task_watchdog.h + + + + + +App/task/iec104_serv.c->Drivers/BSP/NET/net_socket.h + + + + + +App/task/iec104_serv.c->Drivers/BSP/dbg_log.h + + + + + +App/task/iec104_serv.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h + + + + + +App/task/iec104_serv.h->外部/系统头文件 + + + + + +App/task/net_task.c + +App/task/net_task.c + + + +App/task/net_task.c->App/app/sys_events.h + + + + + +App/task/net_task.c->App/log/sys_log.h + + + + + +App/task/net_task.c->App/task/iec104_serv.h + + + + + +App/task/net_task.h + +App/task/net_task.h + + + +App/task/net_task.c->App/task/net_task.h + + + + + +App/task/net_task.c->App/util/task_prof.h + + + + + +App/task/net_task.c->App/util/task_watchdog.h + + + + + +Drivers/BSP/CH395F/ch395f.h + +Drivers/BSP/CH395F/ch395f.h + + + +App/task/net_task.c->Drivers/BSP/CH395F/ch395f.h + + + + + +Drivers/BSP/NET/net_select.h + +Drivers/BSP/NET/net_select.h + + + +App/task/net_task.c->Drivers/BSP/NET/net_select.h + + + + + +App/task/net_task.c->Drivers/BSP/NET/net_socket.h + + + + + +App/task/net_task.c->Drivers/BSP/NETCFG/net_cfg.h + + + + + +App/task/net_task.c->Drivers/BSP/dbg_log.h + + + + + +App/task/net_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +App/task/net_task.c->test/board/test_config.h + + + + + +App/task/net_task.c->外部/系统头文件 + + + + + +App/task/protect_task.c + +App/task/protect_task.c + + + +App/task/protect_task.c->App/algo/adc_cal.h + + + + + +App/task/protect_task.c->App/algo/adc_health.h + + + + + +App/task/protect_task.c->App/algo/adc_input.h + + + + + +App/task/protect_task.c->App/algo/prot_elm.h + + + + + +App/task/protect_task.c->App/algo/prot_set.h + + + + + +App/task/protect_task.c->App/algo/wave_ring.h + + + + + +App/task/protect_task.c->App/log/console_log.h + + + + + +App/task/protect_task.c->App/log/soe_store.h + + + + + +App/task/protect_task.c->App/log/sys_log.h + + + + + +App/task/protect_task.h + +App/task/protect_task.h + + + +App/task/protect_task.c->App/task/protect_task.h + + + + + +App/task/protect_task.c->App/util/task_watchdog.h + + + + + +App/task/protect_task.c->Drivers/BSP/TPAFE5160/tpafe5160.h + + + + + +App/task/protect_task.c->Drivers/BSP/dbg_log.h + + + + + +App/task/protect_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h + + + + + +App/task/rs485_task.c + +App/task/rs485_task.c + + + +App/task/rs485_task.h + +App/task/rs485_task.h + + + +App/task/rs485_task.c->App/task/rs485_task.h + + + + + +App/task/rs485_task.c->Drivers/BSP/RS485/rs485.h + + + + + +App/task/rs485_task.c->Drivers/BSP/dbg_log.h + + + + + +App/task/rs485_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +App/task/task_handles.h->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +App/task/ui_task.c + +App/task/ui_task.c + + + +App/task/ui_task.c->App/algo/adc_health.h + + + + + +App/task/ui_task.c->App/algo/prot_elm.h + + + + + +App/task/ui_task.c->App/algo/sb_led_map.h + + + + + +App/task/ui_task.c->App/algo/wave_ring.h + + + + + +App/task/ui_task.c->App/algo/wave_store.h + + + + + +App/task/ui_task.c->App/app/sys_events.h + + + + + +App/task/ui_task.c->App/app/ui_data_feed.h + + + + + +App/task/ui_task.c->App/fs/vol_lock.h + + + + + +App/task/ui_task.c->App/log/soe_store.h + + + + + +App/task/ui_task.c->App/log/sys_log.h + + + + + +App/task/ui_task.c->App/task/iec104_serv.h + + + + + +App/task/ui_task.h + +App/task/ui_task.h + + + +App/task/ui_task.c->App/task/ui_task.h + + + + + +App/task/ui_task.c->App/util/sys_clock.h + + + + + +App/task/ui_task.c->App/util/task_prof.h + + + + + +App/task/ui_task.c->App/util/task_watchdog.h + + + + + +App/task/ui_task.c->Drivers/BSP/ScreenLink/sb_link.h + + + + + +App/task/ui_task.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_menu.h + +Drivers/BSP/UI/ui_menu.h + + + +App/task/ui_task.c->Drivers/BSP/UI/ui_menu.h + + + + + +App/task/ui_task.c->Drivers/BSP/UI/ui_net_sink.h + + + + + +Drivers/BSP/UI/ui_port.h + +Drivers/BSP/UI/ui_port.h + + + +App/task/ui_task.c->Drivers/BSP/UI/ui_port.h + + + + + +Drivers/BSP/UI/ui_standby.h + +Drivers/BSP/UI/ui_standby.h + + + +App/task/ui_task.c->Drivers/BSP/UI/ui_standby.h + + + + + +Drivers/BSP/UI/ui_tokens.h + +Drivers/BSP/UI/ui_tokens.h + + + +App/task/ui_task.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_w_records.h + +Drivers/BSP/UI/ui_w_records.h + + + +App/task/ui_task.c->Drivers/BSP/UI/ui_w_records.h + + + + + +Drivers/BSP/UI/ui_w_soe.h + +Drivers/BSP/UI/ui_w_soe.h + + + +App/task/ui_task.c->Drivers/BSP/UI/ui_w_soe.h + + + + + +App/task/ui_task.c->Drivers/BSP/dbg_log.h + + + + + +App/task/ui_task.c->Lib/FatFs/ff.h + + + + + +App/task/ui_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +test/board/net_latency_test.h + +test/board/net_latency_test.h + + + +App/task/ui_task.c->test/board/net_latency_test.h + + + + + +App/task/ui_task.c->test/board/test_config.h + + + + + +App/task/ui_task.c->外部/系统头文件 + + + + + +App/util/boot_stats.c + +App/util/boot_stats.c + + + +App/util/boot_stats.c->App/app/app_main.h + + + + + +App/util/boot_stats.c->App/util/boot_stats.h + + + + + +App/util/boot_stats.c->Drivers/BSP/SD2506/sd2506.h + + + + + +App/util/boot_stats.c->Inc/main.h + + + + + +App/util/boot_stats.c->外部/系统头文件 + + + + + +App/util/boot_stats.h->外部/系统头文件 + + + + + +App/util/ioboard_di.c + +App/util/ioboard_di.c + + + +App/util/ioboard_di.c->App/util/ioboard_di.h + + + + + +App/util/ioboard_di.h->外部/系统头文件 + + + + + +App/util/sha256.c + +App/util/sha256.c + + + +App/util/sha256.h + +App/util/sha256.h + + + +App/util/sha256.c->App/util/sha256.h + + + + + +App/util/sha256.c->外部/系统头文件 + + + + + +App/util/sha256.h->外部/系统头文件 + + + + + +App/util/sys_clock.c + +App/util/sys_clock.c + + + +App/util/sys_clock.c->App/util/sys_clock.h + + + + + +App/util/sys_clock.c->Drivers/BSP/dbg_log.h + + + + + +App/util/sys_clock.c->Inc/main.h + + + + + +App/util/sys_clock.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +App/util/sys_clock.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +App/util/sys_clock.c->外部/系统头文件 + + + + + +App/util/sys_clock.h->Drivers/BSP/SD2506/sd2506.h + + + + + +App/util/sys_clock.h->外部/系统头文件 + + + + + +App/util/task_prof.c + +App/util/task_prof.c + + + +App/util/task_prof.c->App/log/console_log.h + + + + + +App/util/task_prof.c->App/util/task_prof.h + + + + + +App/util/task_prof.c->Inc/main.h + + + + + +App/util/task_prof.c->外部/系统头文件 + + + + + +App/util/task_prof.h->外部/系统头文件 + + + + + +App/util/task_watchdog.c + +App/util/task_watchdog.c + + + +App/util/task_watchdog.c->App/log/console_log.h + + + + + +App/util/task_watchdog.c->App/log/sys_log.h + + + + + +App/util/task_watchdog.c->App/util/task_watchdog.h + + + + + +Drivers/BSP/NET/lftpd/lftpd.h + +Drivers/BSP/NET/lftpd/lftpd.h + + + +App/util/task_watchdog.c->Drivers/BSP/NET/lftpd/lftpd.h + + + + + +App/util/task_watchdog.c->Drivers/BSP/dbg_log.h + + + + + +Inc/iwdg.h + +Inc/iwdg.h + + + +App/util/task_watchdog.c->Inc/iwdg.h + + + + + +App/util/task_watchdog.c->Inc/main.h + + + + + +App/util/task_watchdog.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +App/util/task_watchdog.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +App/util/task_watchdog.c->test/board/test_config.h + + + + + +App/util/task_watchdog.c->外部/系统头文件 + + + + + +App/util/task_watchdog.h->外部/系统头文件 + + + + + +Drivers/BSP/CH395F/ch395f.c + +Drivers/BSP/CH395F/ch395f.c + + + +Drivers/BSP/CH395F/ch395f.c->Drivers/BSP/CH395F/ch395f.h + + + + + +Drivers/BSP/CH395F/ch395f.c->Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h + + + + + +Drivers/BSP/CH395F/ch395f.c->Drivers/BSP/dbg_log.h + + + + + +Inc/spi.h + +Inc/spi.h + + + +Drivers/BSP/CH395F/ch395f.c->Inc/spi.h + + + + + +Drivers/BSP/CH395F/ch395f.c->Inc/usart.h + + + + + +Drivers/BSP/CH395F/ch395f.c->外部/系统头文件 + + + + + +Drivers/BSP/CH395F/ch395f.h->Inc/main.h + + + + + +Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c + +Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c + + + +Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c->Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h + + + + + +Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c->Drivers/BSP/dbg_log.h + + + + + +Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c->Inc/spi.h + + + + + +Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c->外部/系统头文件 + + + + + +Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h->Inc/main.h + + + + + +Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h->外部/系统头文件 + + + + + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.c + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.c + + + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h + + + + + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Drivers/BSP/GD5F2GQ5UE/nand_ftl.h + + + + + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Drivers/BSP/bsp_err.h + + + + + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Drivers/BSP/dbg_log.h + + + + + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Lib/FatFs/diskio.h + + + + + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Lib/FatFs/ff.h + + + + + +Lib/dhara/map.h + +Lib/dhara/map.h + + + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Lib/dhara/map.h + + + + + +Lib/dhara/nand.h + +Lib/dhara/nand.h + + + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->Lib/dhara/nand.h + + + + + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.c->外部/系统头文件 + + + + + +Drivers/BSP/GD5F2GQ5UE/nand_ftl.h->外部/系统头文件 + + + + + +Drivers/BSP/IOBOARD/ioboard.c + +Drivers/BSP/IOBOARD/ioboard.c + + + +Drivers/BSP/IOBOARD/ioboard.c->Drivers/BSP/IOBOARD/ioboard.h + + + + + +Drivers/BSP/IOBOARD/ioboard.c->Inc/main.h + + + + + +Drivers/BSP/IOBOARD/ioboard.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +Drivers/BSP/IOBOARD/ioboard.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +Drivers/BSP/IOBOARD/ioboard_bits.h + +Drivers/BSP/IOBOARD/ioboard_bits.h + + + +Drivers/BSP/IOBOARD/ioboard.h->Drivers/BSP/IOBOARD/ioboard_bits.h + + + + + +Drivers/BSP/IOBOARD/ioboard.h->Drivers/BSP/bsp_err.h + + + + + +Drivers/BSP/IOBOARD/ioboard.h->外部/系统头文件 + + + + + +Drivers/BSP/IOBOARD/ioboard_bits.c + +Drivers/BSP/IOBOARD/ioboard_bits.c + + + +Drivers/BSP/IOBOARD/ioboard_bits.c->Drivers/BSP/IOBOARD/ioboard_bits.h + + + + + +Drivers/BSP/IOBOARD/ioboard_bits.h->外部/系统头文件 + + + + + +Drivers/BSP/NET/lftpd/lftpd.c + +Drivers/BSP/NET/lftpd/lftpd.c + + + +Drivers/BSP/NET/lftpd/lftpd_auth.c + +Drivers/BSP/NET/lftpd/lftpd_auth.c + + + +Drivers/BSP/NET/lftpd/lftpd_auth.h + +Drivers/BSP/NET/lftpd/lftpd_auth.h + + + +Drivers/BSP/NET/lftpd/lftpd_inet.c + +Drivers/BSP/NET/lftpd/lftpd_inet.c + + + +Drivers/BSP/NET/lftpd/lftpd_io.c + +Drivers/BSP/NET/lftpd/lftpd_io.c + + + +Drivers/BSP/NET/lftpd/lftpd_string.c + +Drivers/BSP/NET/lftpd/lftpd_string.c + + + +Drivers/BSP/NET/lftpd/private/lftpd_inet.h + +Drivers/BSP/NET/lftpd/private/lftpd_inet.h + + + +Drivers/BSP/NET/lftpd/private/lftpd_io.h + +Drivers/BSP/NET/lftpd/private/lftpd_io.h + + + +Drivers/BSP/NET/lftpd/private/lftpd_string.h + +Drivers/BSP/NET/lftpd/private/lftpd_string.h + + + +Drivers/BSP/NET/net_config.h + +Drivers/BSP/NET/net_config.h + + + +Drivers/BSP/NET/net_events.c + +Drivers/BSP/NET/net_events.c + + + +Drivers/BSP/NET/net_events.c->Drivers/BSP/CH395F/ch395f.h + + + + + +Drivers/BSP/NET/net_events.h + +Drivers/BSP/NET/net_events.h + + + +Drivers/BSP/NET/net_events.c->Drivers/BSP/NET/net_events.h + + + + + +Drivers/BSP/NET/net_listener.h + +Drivers/BSP/NET/net_listener.h + + + +Drivers/BSP/NET/net_events.c->Drivers/BSP/NET/net_listener.h + + + + + +Drivers/BSP/NET/net_pending.h + +Drivers/BSP/NET/net_pending.h + + + +Drivers/BSP/NET/net_events.c->Drivers/BSP/NET/net_pending.h + + + + + +Drivers/BSP/NET/net_events.c->Drivers/BSP/NET/net_socket.h + + + + + +Drivers/BSP/NET/net_events.c->Drivers/BSP/dbg_log.h + + + + + +Drivers/BSP/NET/net_events.c->Inc/main.h + + + + + +Drivers/BSP/NET/net_events.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +Drivers/BSP/NET/net_events.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +Drivers/BSP/NET/net_events.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +Drivers/BSP/NET/net_events.c->test/board/net_latency_test.h + + + + + +Drivers/BSP/NET/net_events.c->test/board/test_config.h + + + + + +Drivers/BSP/NET/net_events.c->外部/系统头文件 + + + + + +Drivers/BSP/NET/net_types.h + +Drivers/BSP/NET/net_types.h + + + +Drivers/BSP/NET/net_events.h->Drivers/BSP/NET/net_types.h + + + + + +Drivers/BSP/NET/net_listener.c + +Drivers/BSP/NET/net_listener.c + + + +Drivers/BSP/NET/net_listener.c->Drivers/BSP/CH395F/ch395f.h + + + + + +Drivers/BSP/NET/net_listener.c->Drivers/BSP/NET/net_listener.h + + + + + +Drivers/BSP/NET/net_listener.c->Drivers/BSP/NET/net_pending.h + + + + + +Drivers/BSP/NET/net_listener.c->Drivers/BSP/NET/net_socket.h + + + + + +Drivers/BSP/NET/net_listener.c->Drivers/BSP/dbg_log.h + + + + + +Drivers/BSP/NET/net_listener.c->Inc/main.h + + + + + +Drivers/BSP/NET/net_listener.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +Drivers/BSP/NET/net_listener.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +Drivers/BSP/NET/net_listener.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +Drivers/BSP/NET/net_listener.c->test/board/net_latency_test.h + + + + + +Drivers/BSP/NET/net_listener.c->test/board/test_config.h + + + + + +Drivers/BSP/NET/net_listener.c->外部/系统头文件 + + + + + +Drivers/BSP/NET/net_listener.h->Drivers/BSP/NET/net_types.h + + + + + +Drivers/BSP/NET/net_pending.c + +Drivers/BSP/NET/net_pending.c + + + +Drivers/BSP/NET/net_pending.c->Drivers/BSP/CH395F/ch395f.h + + + + + +Drivers/BSP/NET/net_pending.c->Drivers/BSP/NET/net_listener.h + + + + + +Drivers/BSP/NET/net_pending.c->Drivers/BSP/NET/net_pending.h + + + + + +Drivers/BSP/NET/net_pending.c->Drivers/BSP/NET/net_socket.h + + + + + +Drivers/BSP/NET/net_pending.c->Drivers/BSP/NET/net_types.h + + + + + +Drivers/BSP/NET/net_pending.c->Drivers/BSP/dbg_log.h + + + + + +Drivers/BSP/NET/net_pending.c->Inc/main.h + + + + + +Drivers/BSP/NET/net_pending.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +Drivers/BSP/NET/net_pending.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +Drivers/BSP/NET/net_pending.c->外部/系统头文件 + + + + + +Drivers/BSP/NET/net_pending.h->Drivers/BSP/CH395F/ch395f.h + + + + + +Drivers/BSP/NET/net_pending.h->Drivers/BSP/NET/net_types.h + + + + + +Drivers/BSP/NET/net_pending.h->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +Drivers/BSP/NET/net_pending.h->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +Drivers/BSP/NET/net_pending.h->外部/系统头文件 + + + + + +Drivers/BSP/NET/net_select.c + +Drivers/BSP/NET/net_select.c + + + +Drivers/BSP/NET/net_select.c->Drivers/BSP/CH395F/ch395f.h + + + + + +Drivers/BSP/NET/net_select.c->Drivers/BSP/NET/net_select.h + + + + + +Drivers/BSP/NET/net_select.c->Drivers/BSP/NET/net_socket.h + + + + + +Drivers/BSP/NET/net_select.c->Inc/main.h + + + + + +Drivers/BSP/NET/net_select.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +Drivers/BSP/NET/net_select.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +Drivers/BSP/NET/net_select.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +Drivers/BSP/NET/net_select.c->外部/系统头文件 + + + + + +Drivers/BSP/NET/net_select.h->Drivers/BSP/NET/net_config.h + + + + + +Drivers/BSP/NET/net_select.h->Drivers/BSP/NET/net_types.h + + + + + +Drivers/BSP/NET/net_socket.c + +Drivers/BSP/NET/net_socket.c + + + +Drivers/BSP/NET/net_socket.c->Drivers/BSP/CH395F/ch395f.h + + + + + +Drivers/BSP/NET/net_socket.c->Drivers/BSP/NET/net_events.h + + + + + +Drivers/BSP/NET/net_socket.c->Drivers/BSP/NET/net_listener.h + + + + + +Drivers/BSP/NET/net_socket.c->Drivers/BSP/NET/net_pending.h + + + + + +Drivers/BSP/NET/net_socket.c->Drivers/BSP/NET/net_socket.h + + + + + +Drivers/BSP/NET/net_udp.h + +Drivers/BSP/NET/net_udp.h + + + +Drivers/BSP/NET/net_socket.c->Drivers/BSP/NET/net_udp.h + + + + + +Drivers/BSP/app_assert.h + +Drivers/BSP/app_assert.h + + + +Drivers/BSP/NET/net_socket.c->Drivers/BSP/app_assert.h + + + + + +Drivers/BSP/NET/net_socket.c->Drivers/BSP/dbg_log.h + + + + + +Drivers/BSP/NET/net_socket.c->Inc/main.h + + + + + +Drivers/BSP/NET/net_socket.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +Drivers/BSP/NET/net_socket.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +Drivers/BSP/NET/net_socket.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +Drivers/BSP/NET/net_socket.c->test/board/net_latency_test.h + + + + + +Drivers/BSP/NET/net_socket.c->test/board/test_config.h + + + + + +Drivers/BSP/NET/net_socket.c->外部/系统头文件 + + + + + +Drivers/BSP/NET/net_socket.h->Drivers/BSP/NET/net_types.h + + + + + +Drivers/BSP/NET/net_socket.h->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h + + + + + +Drivers/BSP/NET/net_socket.h->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +Drivers/BSP/NET/net_socket.h->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +Drivers/BSP/NET/net_types.h->Drivers/BSP/NET/net_config.h + + + + + +Drivers/BSP/NET/net_types.h->外部/系统头文件 + + + + + +Drivers/BSP/NET/net_udp.c + +Drivers/BSP/NET/net_udp.c + + + +Drivers/BSP/NET/net_udp.c->Drivers/BSP/CH395F/ch395f.h + + + + + +Drivers/BSP/NET/net_udp.c->Drivers/BSP/NET/net_pending.h + + + + + +Drivers/BSP/NET/net_udp.c->Drivers/BSP/NET/net_socket.h + + + + + +Drivers/BSP/NET/net_udp.c->Drivers/BSP/NET/net_types.h + + + + + +Drivers/BSP/NET/net_udp.c->Drivers/BSP/NET/net_udp.h + + + + + +Drivers/BSP/NET/net_udp.c->Drivers/BSP/dbg_log.h + + + + + +Drivers/BSP/NET/net_udp.c->Inc/main.h + + + + + +Drivers/BSP/NET/net_udp.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +Drivers/BSP/NET/net_udp.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +Drivers/BSP/NET/net_udp.c->外部/系统头文件 + + + + + +Drivers/BSP/NET/net_udp.h->Drivers/BSP/NET/net_types.h + + + + + +Drivers/BSP/NET/net_udp.h->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +Drivers/BSP/NET/net_udp.h->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +Drivers/BSP/NET/net_udp.h->外部/系统头文件 + + + + + +Drivers/BSP/NETCFG/ftp_cfg.c + +Drivers/BSP/NETCFG/ftp_cfg.c + + + +Drivers/BSP/NETCFG/ftp_cfg.c->App/cfg/cfg_file.h + + - + Drivers/BSP/NETCFG/ftp_cfg.c->Drivers/BSP/NETCFG/ftp_cfg.h - - + + - + Drivers/BSP/NETCFG/ftp_cfg.c->外部/系统头文件 - - + + - + Drivers/BSP/NETCFG/ftp_cfg.h->外部/系统头文件 - - + + - + Drivers/BSP/NETCFG/net_cfg.c - -Drivers/BSP/NETCFG/net_cfg.c + +Drivers/BSP/NETCFG/net_cfg.c - + Drivers/BSP/NETCFG/net_cfg.c->App/cfg/cfg_file.h - - + + - + Drivers/BSP/NETCFG/net_cfg.c->Drivers/BSP/NETCFG/ftp_cfg.h - - + + - + Drivers/BSP/NETCFG/net_cfg.c->Drivers/BSP/NETCFG/net_cfg.h - - + + + + + +Drivers/BSP/NETCFG/net_cfg.c->Drivers/BSP/NETCFG/sntp_cfg.h + + - + Drivers/BSP/NETCFG/net_cfg.c->Drivers/BSP/dbg_log.h - - + + - + Drivers/BSP/NETCFG/net_cfg.c->外部/系统头文件 - - + + - + Drivers/BSP/NETCFG/net_cfg.h->外部/系统头文件 - - + + + + + +Drivers/BSP/NETCFG/sntp_cfg.c + +Drivers/BSP/NETCFG/sntp_cfg.c + + + +Drivers/BSP/NETCFG/sntp_cfg.c->Drivers/BSP/NETCFG/sntp_cfg.h + + + + + +Drivers/BSP/NETCFG/sntp_cfg.c->外部/系统头文件 + + + + + +Drivers/BSP/NETCFG/sntp_cfg.h->外部/系统头文件 + + - + Drivers/BSP/RS485/rs485.c - -Drivers/BSP/RS485/rs485.c + +Drivers/BSP/RS485/rs485.c - + Drivers/BSP/RS485/rs485.c->Drivers/BSP/RS485/rs485.h - - + + + + + +Drivers/BSP/RS485/rs485.c->Drivers/BSP/ScreenLink/sb_link.h + + + + + +Drivers/BSP/RS485/rs485.h->Drivers/BSP/bsp_err.h + + - + Drivers/BSP/RS485/rs485.h->Inc/main.h - - + + - + Drivers/BSP/SD2506/sd2506.c - -Drivers/BSP/SD2506/sd2506.c + +Drivers/BSP/SD2506/sd2506.c - + Drivers/BSP/SD2506/sd2506.c->Drivers/BSP/SD2506/sd2506.h - - + + - + Drivers/BSP/SD2506/sd2506.c->Drivers/BSP/dbg_log.h - - + + - + Inc/i2c.h - -Inc/i2c.h + +Inc/i2c.h - + Drivers/BSP/SD2506/sd2506.c->Inc/i2c.h - - + + - + Drivers/BSP/SD2506/sd2506.c->外部/系统头文件 - - + + + + + +Drivers/BSP/SD2506/sd2506.h->Drivers/BSP/bsp_err.h + + - + Drivers/BSP/SD2506/sd2506.h->Inc/main.h - - + + + + + +Drivers/BSP/ScreenLink/sb_link.c + +Drivers/BSP/ScreenLink/sb_link.c + + + +Drivers/BSP/ScreenLink/sb_link.c->Drivers/BSP/ScreenLink/sb_link.h + + + + + +Drivers/BSP/ScreenLink/sb_link.c->Drivers/BSP/dbg_log.h + + + + + +Drivers/BSP/ScreenLink/sb_link.c->外部/系统头文件 + + + + + +Drivers/BSP/ScreenLink/sb_proto.h + +Drivers/BSP/ScreenLink/sb_proto.h + + + +Drivers/BSP/ScreenLink/sb_link.h->Drivers/BSP/ScreenLink/sb_proto.h + + + + + +Drivers/BSP/ScreenLink/sb_link.h->Drivers/BSP/bsp_err.h + + + + + +Drivers/BSP/ScreenLink/sb_link.h->Inc/main.h + + + + + +Drivers/BSP/ScreenLink/sb_link.h->外部/系统头文件 + + + + + +Drivers/BSP/ScreenLink/sb_proto.c + +Drivers/BSP/ScreenLink/sb_proto.c + + + +Drivers/BSP/ScreenLink/sb_proto.c->Drivers/BSP/ScreenLink/sb_proto.h + + + + + +Drivers/BSP/ScreenLink/sb_proto.c->外部/系统头文件 + + + + + +Drivers/BSP/ScreenLink/sb_proto.h->Drivers/BSP/bsp_err.h + + + + + +Drivers/BSP/ScreenLink/sb_proto.h->外部/系统头文件 + + - + Drivers/BSP/TPAFE5160/tpafe5160.c - -Drivers/BSP/TPAFE5160/tpafe5160.c + +Drivers/BSP/TPAFE5160/tpafe5160.c - + Drivers/BSP/TPAFE5160/tpafe5160.c->Drivers/BSP/TPAFE5160/tpafe5160.h - - + + - + Drivers/BSP/TPAFE5160/tpafe5160.c->Drivers/BSP/dbg_log.h - - + + - + Drivers/BSP/TPAFE5160/tpafe5160.c->Inc/main.h - - + + - + Drivers/BSP/TPAFE5160/tpafe5160.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - + + - + Drivers/BSP/TPAFE5160/tpafe5160.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - + + - + Drivers/BSP/TPAFE5160/tpafe5160.c->外部/系统头文件 - - + + + + + +Drivers/BSP/TPAFE5160/tpafe5160.h->Drivers/BSP/bsp_err.h + + - + Drivers/BSP/TPAFE5160/tpafe5160.h->Inc/main.h - - + + - + Drivers/BSP/UI/ui_content_page.c - -Drivers/BSP/UI/ui_content_page.c + +Drivers/BSP/UI/ui_content_page.c - + Drivers/BSP/UI/ui_content_page.h - -Drivers/BSP/UI/ui_content_page.h + +Drivers/BSP/UI/ui_content_page.h - + Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_content_page.h - - + + + + + +Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_data.h + + - + Drivers/BSP/UI/ui_deco.h - -Drivers/BSP/UI/ui_deco.h + +Drivers/BSP/UI/ui_deco.h - + Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_deco.h - - + + - + Drivers/BSP/UI/ui_menu_view.h - -Drivers/BSP/UI/ui_menu_view.h + +Drivers/BSP/UI/ui_menu_view.h - + Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_menu_view.h - - - - - -Drivers/BSP/UI/ui_page_ac.h - -Drivers/BSP/UI/ui_page_ac.h - - - -Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_page_ac.h - - - - - -Drivers/BSP/UI/ui_page_dc.h - -Drivers/BSP/UI/ui_page_dc.h - - - -Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_page_dc.h - - - - - -Drivers/BSP/UI/ui_page_device_info.h - -Drivers/BSP/UI/ui_page_device_info.h - - - -Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_page_device_info.h - - - - - -Drivers/BSP/UI/ui_page_net_cfg.h - -Drivers/BSP/UI/ui_page_net_cfg.h - - - -Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_page_net_cfg.h - - - - - -Drivers/BSP/UI/ui_page_password.h - -Drivers/BSP/UI/ui_page_password.h - - - -Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_page_password.h - - - - - -Drivers/BSP/UI/ui_page_runlog.h - -Drivers/BSP/UI/ui_page_runlog.h - - - -Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_page_runlog.h - - - - - -Drivers/BSP/UI/ui_page_selftest.h - -Drivers/BSP/UI/ui_page_selftest.h - - - -Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_page_selftest.h - - + + - + Drivers/BSP/UI/ui_pwd_def.h - -Drivers/BSP/UI/ui_pwd_def.h + +Drivers/BSP/UI/ui_pwd_def.h - + Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_pwd_def.h - - + + - + Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_standby.h - - + + + + + +Drivers/BSP/UI/ui_style.h + +Drivers/BSP/UI/ui_style.h + + + +Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_style.h + + + + + +Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/UI/ui_tokens.h + + - + Drivers/BSP/UI/ui_content_page.c->Drivers/BSP/dbg_log.h - - + + - + Lib/lvgl/lvgl.h - -Lib/lvgl/lvgl.h + +Lib/lvgl/lvgl.h - + Drivers/BSP/UI/ui_content_page.c->Lib/lvgl/lvgl.h - - + + - + Drivers/BSP/UI/ui_content_page.c->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_content_page.h->Lib/lvgl/lvgl.h - - + + - + Drivers/BSP/UI/ui_content_page.h->外部/系统头文件 - - + + + + + +Drivers/BSP/UI/ui_data.c + +Drivers/BSP/UI/ui_data.c + + + +Drivers/BSP/UI/ui_data.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_data.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_data.h->外部/系统头文件 + + - + Drivers/BSP/UI/ui_deco.c - -Drivers/BSP/UI/ui_deco.c + +Drivers/BSP/UI/ui_deco.c - + Drivers/BSP/UI/ui_deco.c->Drivers/BSP/UI/ui_deco.h - - + + + + + +Drivers/BSP/UI/ui_deco.c->Drivers/BSP/UI/ui_tokens.h + + - + Drivers/BSP/UI/ui_deco.c->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_deco.h->Lib/lvgl/lvgl.h - - + + - + Drivers/BSP/UI/ui_font_cn_12.c - -Drivers/BSP/UI/ui_font_cn_12.c + +Drivers/BSP/UI/ui_font_cn_12.c - + Drivers/BSP/UI/ui_font_cn_12.c->Lib/lvgl/lvgl.h - - + + - + Drivers/BSP/UI/ui_menu.c - -Drivers/BSP/UI/ui_menu.c + +Drivers/BSP/UI/ui_menu.c - + Drivers/BSP/UI/ui_menu.c->Drivers/BSP/UI/ui_content_page.h - - + + - + Drivers/BSP/UI/ui_menu.c->Drivers/BSP/UI/ui_menu.h - - + + - + Drivers/BSP/UI/ui_menu_tab.h - -Drivers/BSP/UI/ui_menu_tab.h + +Drivers/BSP/UI/ui_menu_tab.h - + Drivers/BSP/UI/ui_menu.c->Drivers/BSP/UI/ui_menu_tab.h - - + + - + Drivers/BSP/UI/ui_menu.c->Drivers/BSP/UI/ui_menu_view.h - - + + + + + +Drivers/BSP/UI/ui_page_password.h + +Drivers/BSP/UI/ui_page_password.h - + Drivers/BSP/UI/ui_menu.c->Drivers/BSP/UI/ui_page_password.h - - + + + + + +Drivers/BSP/UI/ui_page_registry.h + +Drivers/BSP/UI/ui_page_registry.h + + + +Drivers/BSP/UI/ui_menu.c->Drivers/BSP/UI/ui_page_registry.h + + - + Drivers/BSP/UI/ui_menu.c->Drivers/BSP/UI/ui_pwd_def.h - - + + - + Drivers/BSP/UI/ui_menu.c->Drivers/BSP/UI/ui_standby.h - - + + - + Drivers/BSP/UI/ui_menu.c->Drivers/BSP/dbg_log.h - - + + - + Drivers/BSP/UI/ui_menu.c->Lib/lvgl/lvgl.h - - + + - + Drivers/BSP/UI/ui_menu.c->外部/系统头文件 - - + + + + + +Drivers/BSP/UI/ui_menu.h->外部/系统头文件 + + - + Drivers/BSP/UI/ui_menu_tab.c - -Drivers/BSP/UI/ui_menu_tab.c + +Drivers/BSP/UI/ui_menu_tab.c - + Drivers/BSP/UI/ui_menu_tab.c->Drivers/BSP/UI/ui_menu_tab.h - - + + - + Drivers/BSP/UI/ui_menu_tab.h->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_menu_view.c - -Drivers/BSP/UI/ui_menu_view.c + +Drivers/BSP/UI/ui_menu_view.c - + Drivers/BSP/UI/ui_menu_view.c->Drivers/BSP/UI/ui_deco.h - - + + - + Drivers/BSP/UI/ui_menu_view.c->Drivers/BSP/UI/ui_menu_tab.h - - + + - + Drivers/BSP/UI/ui_menu_view.c->Drivers/BSP/UI/ui_menu_view.h - - + + + + + +Drivers/BSP/UI/ui_menu_view.c->Drivers/BSP/UI/ui_style.h + + + + + +Drivers/BSP/UI/ui_menu_view.c->Drivers/BSP/UI/ui_tokens.h + + - + Drivers/BSP/UI/ui_menu_view.c->Drivers/BSP/dbg_log.h - - + + - + Drivers/BSP/UI/ui_menu_view.c->Lib/lvgl/lvgl.h - - + + - + Drivers/BSP/UI/ui_menu_view.c->外部/系统头文件 - - + + + + + +Drivers/BSP/UI/ui_menu_view.h->Drivers/BSP/UI/ui_tokens.h + + - + Drivers/BSP/UI/ui_menu_view.h->Lib/lvgl/lvgl.h - - + + - + Drivers/BSP/UI/ui_menu_view.h->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_net_sink.c - -Drivers/BSP/UI/ui_net_sink.c + +Drivers/BSP/UI/ui_net_sink.c - + Drivers/BSP/UI/ui_net_sink.c->Drivers/BSP/NET/net_socket.h - - + + - + Drivers/BSP/UI/ui_net_sink.c->Drivers/BSP/NET/net_types.h - - + + + + + +Drivers/BSP/UI/ui_net_sink.c->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_net_sink.c->Drivers/BSP/UI/ui_menu.h + + + + + +Drivers/BSP/UI/ui_net_sink.c->Drivers/BSP/UI/ui_menu_view.h + + - + Drivers/BSP/UI/ui_net_sink.c->Drivers/BSP/UI/ui_net_sink.h - - + + - + Drivers/BSP/UI/ui_net_sink_backend.h - -Drivers/BSP/UI/ui_net_sink_backend.h + +Drivers/BSP/UI/ui_net_sink_backend.h - + Drivers/BSP/UI/ui_net_sink.c->Drivers/BSP/UI/ui_net_sink_backend.h - - + + + + + +Drivers/BSP/UI/ui_net_sink.c->Drivers/BSP/UI/ui_page_registry.h + + + + + +Drivers/BSP/UI/ui_net_sink.c->Drivers/BSP/UI/ui_pwd_def.h + + + + + +Drivers/BSP/UI/ui_net_sink.c->Drivers/BSP/UI/ui_standby.h + + + + + +Drivers/BSP/UI/ui_net_sink.c->Drivers/BSP/UI/ui_tokens.h + + - + Drivers/BSP/UI/ui_net_sink.c->Drivers/BSP/dbg_log.h - - + + - + Drivers/BSP/UI/ui_net_sink.c->test/board/net_latency_test.h - - + + - + Drivers/BSP/UI/ui_net_sink.c->test/board/test_config.h - - + + - + Drivers/BSP/UI/ui_net_sink.c->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_net_sink.h->外部/系统头文件 - - + + + + + +Drivers/BSP/UI/ui_net_sink_backend.h->Drivers/BSP/UI/ui_port.h + + - + Drivers/BSP/UI/ui_net_sink_backend.h->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_net_sink_backend_mcu.c - -Drivers/BSP/UI/ui_net_sink_backend_mcu.c + +Drivers/BSP/UI/ui_net_sink_backend_mcu.c - + Drivers/BSP/UI/ui_net_sink_backend_mcu.c->Drivers/BSP/UI/ui_net_sink_backend.h - - + + - + Drivers/BSP/UI/ui_net_sink_backend_mcu.c->Drivers/BSP/UI/ui_port.h - - + + - + Drivers/BSP/UI/ui_net_sink_backend_mcu.c->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_page_ac.c - -Drivers/BSP/UI/ui_page_ac.c + +Drivers/BSP/UI/ui_page_ac.c + + + +Drivers/BSP/UI/ui_page_ac.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_page_ac.h + +Drivers/BSP/UI/ui_page_ac.h - + Drivers/BSP/UI/ui_page_ac.c->Drivers/BSP/UI/ui_page_ac.h - - + + + + + +Drivers/BSP/UI/ui_page_ac.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_w_editor.h + +Drivers/BSP/UI/ui_w_editor.h + + + +Drivers/BSP/UI/ui_page_ac.c->Drivers/BSP/UI/ui_w_editor.h + + + + + +Drivers/BSP/UI/ui_page_ac.c->外部/系统头文件 + + - + Drivers/BSP/UI/ui_page_ac.h->Drivers/BSP/UI/ui_content_page.h - - + + + + + +Drivers/BSP/UI/ui_page_accident.c + +Drivers/BSP/UI/ui_page_accident.c + + + +Drivers/BSP/UI/ui_page_accident.h + +Drivers/BSP/UI/ui_page_accident.h + + + +Drivers/BSP/UI/ui_page_accident.c->Drivers/BSP/UI/ui_page_accident.h + + + + + +Drivers/BSP/UI/ui_page_accident.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_accident.c->Drivers/BSP/UI/ui_w_records.h + + + + + +Drivers/BSP/UI/ui_page_accident.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_action.c + +Drivers/BSP/UI/ui_page_action.c + + + +Drivers/BSP/UI/ui_page_action.c->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_action.h + +Drivers/BSP/UI/ui_page_action.h + + + +Drivers/BSP/UI/ui_page_action.c->Drivers/BSP/UI/ui_page_action.h + + + + + +Drivers/BSP/UI/ui_page_action.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_action.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_page_action.h->Lib/lvgl/lvgl.h + + + + + +Drivers/BSP/UI/ui_page_action.h->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_page_alarm.c + +Drivers/BSP/UI/ui_page_alarm.c + + + +Drivers/BSP/UI/ui_page_alarm.h + +Drivers/BSP/UI/ui_page_alarm.h + + + +Drivers/BSP/UI/ui_page_alarm.c->Drivers/BSP/UI/ui_page_alarm.h + + + + + +Drivers/BSP/UI/ui_page_alarm.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_alarm.c->Drivers/BSP/UI/ui_w_records.h + + + + + +Drivers/BSP/UI/ui_page_alarm.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_calib.c + +Drivers/BSP/UI/ui_page_calib.c + + + +Drivers/BSP/UI/ui_page_calib.h + +Drivers/BSP/UI/ui_page_calib.h + + + +Drivers/BSP/UI/ui_page_calib.c->Drivers/BSP/UI/ui_page_calib.h + + + + + +Drivers/BSP/UI/ui_page_calib.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_w_setlist.h + +Drivers/BSP/UI/ui_w_setlist.h + + + +Drivers/BSP/UI/ui_page_calib.c->Drivers/BSP/UI/ui_w_setlist.h + + + + + +Drivers/BSP/UI/ui_w_ytview.h + +Drivers/BSP/UI/ui_w_ytview.h + + + +Drivers/BSP/UI/ui_page_calib.c->Drivers/BSP/UI/ui_w_ytview.h + + + + + +Drivers/BSP/UI/ui_page_calib.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_clear.c + +Drivers/BSP/UI/ui_page_clear.c + + + +Drivers/BSP/UI/ui_page_clear.c->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_clear.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_page_clear.h + +Drivers/BSP/UI/ui_page_clear.h + + + +Drivers/BSP/UI/ui_page_clear.c->Drivers/BSP/UI/ui_page_clear.h + + + + + +Drivers/BSP/UI/ui_page_clear.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_clear.c->Drivers/BSP/UI/ui_w_records.h + + + + + +Drivers/BSP/UI/ui_page_clear.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_page_clear.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_clock.c + +Drivers/BSP/UI/ui_page_clock.c + + + +Drivers/BSP/UI/ui_page_clock.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_page_clock.h + +Drivers/BSP/UI/ui_page_clock.h + + + +Drivers/BSP/UI/ui_page_clock.c->Drivers/BSP/UI/ui_page_clock.h + + + + + +Drivers/BSP/UI/ui_page_clock.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_clock.c->Drivers/BSP/UI/ui_w_editor.h + + + + + +Drivers/BSP/UI/ui_page_clock.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_page_clock.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_comm.c + +Drivers/BSP/UI/ui_page_comm.c + + + +Drivers/BSP/UI/ui_page_comm.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_page_comm.h + +Drivers/BSP/UI/ui_page_comm.h + + + +Drivers/BSP/UI/ui_page_comm.c->Drivers/BSP/UI/ui_page_comm.h + + + + + +Drivers/BSP/UI/ui_page_comm.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_comm.c->Drivers/BSP/UI/ui_w_setlist.h + + + + + +Drivers/BSP/UI/ui_page_comm.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_page_comm.h->Drivers/BSP/UI/ui_content_page.h + + - + Drivers/BSP/UI/ui_page_dc.c - -Drivers/BSP/UI/ui_page_dc.c + +Drivers/BSP/UI/ui_page_dc.c + + + +Drivers/BSP/UI/ui_page_dc.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_page_dc.h + +Drivers/BSP/UI/ui_page_dc.h - + Drivers/BSP/UI/ui_page_dc.c->Drivers/BSP/UI/ui_page_dc.h - - + + + + + +Drivers/BSP/UI/ui_page_dc.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_dc.c->Drivers/BSP/UI/ui_w_editor.h + + + + + +Drivers/BSP/UI/ui_page_dc.c->外部/系统头文件 + + - + Drivers/BSP/UI/ui_page_dc.h->Drivers/BSP/UI/ui_content_page.h - - + + + + + +Drivers/BSP/UI/ui_page_deadband.c + +Drivers/BSP/UI/ui_page_deadband.c + + + +Drivers/BSP/UI/ui_page_deadband.h + +Drivers/BSP/UI/ui_page_deadband.h + + + +Drivers/BSP/UI/ui_page_deadband.c->Drivers/BSP/UI/ui_page_deadband.h + + + + + +Drivers/BSP/UI/ui_page_deadband.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_deadband.c->Drivers/BSP/UI/ui_w_setlist.h + + + + + +Drivers/BSP/UI/ui_page_deadband.c->Drivers/BSP/UI/ui_w_ytview.h + + + + + +Drivers/BSP/UI/ui_page_deadband.h->Drivers/BSP/UI/ui_content_page.h + + - + Drivers/BSP/UI/ui_page_device_info.c - -Drivers/BSP/UI/ui_page_device_info.c + +Drivers/BSP/UI/ui_page_device_info.c + + + +Drivers/BSP/UI/ui_page_device_info.c->Drivers/BSP/NETCFG/net_cfg.h + + + + + +Drivers/BSP/UI/ui_page_device_info.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_page_device_info.h + +Drivers/BSP/UI/ui_page_device_info.h - + Drivers/BSP/UI/ui_page_device_info.c->Drivers/BSP/UI/ui_page_device_info.h - - + + + + + +Drivers/BSP/UI/ui_page_device_info.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_device_info.c->外部/系统头文件 + + - + Drivers/BSP/UI/ui_page_device_info.h->Drivers/BSP/UI/ui_content_page.h - - + + - + Drivers/BSP/UI/ui_page_net_cfg.c - -Drivers/BSP/UI/ui_page_net_cfg.c + +Drivers/BSP/UI/ui_page_net_cfg.c - + Drivers/BSP/UI/ui_page_net_cfg.c->Drivers/BSP/NETCFG/net_cfg.h - - + + + + + +Drivers/BSP/UI/ui_page_net_cfg.h + +Drivers/BSP/UI/ui_page_net_cfg.h - + Drivers/BSP/UI/ui_page_net_cfg.c->Drivers/BSP/UI/ui_page_net_cfg.h - - + + + + + +Drivers/BSP/UI/ui_page_net_cfg.c->Drivers/BSP/UI/ui_tokens.h + + - + Drivers/BSP/UI/ui_page_net_cfg.c->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_page_net_cfg.h->Drivers/BSP/UI/ui_content_page.h - - + + + + + +Drivers/BSP/UI/ui_page_oper.c + +Drivers/BSP/UI/ui_page_oper.c + + + +Drivers/BSP/UI/ui_page_oper.h + +Drivers/BSP/UI/ui_page_oper.h + + + +Drivers/BSP/UI/ui_page_oper.c->Drivers/BSP/UI/ui_page_oper.h + + + + + +Drivers/BSP/UI/ui_page_oper.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_oper.c->Drivers/BSP/UI/ui_w_records.h + + + + + +Drivers/BSP/UI/ui_page_oper.h->Drivers/BSP/UI/ui_content_page.h + + - + Drivers/BSP/UI/ui_page_password.c - -Drivers/BSP/UI/ui_page_password.c + +Drivers/BSP/UI/ui_page_password.c - + Drivers/BSP/UI/ui_page_password.c->Drivers/BSP/UI/ui_page_password.h - - + + - + Drivers/BSP/UI/ui_page_password.c->Drivers/BSP/UI/ui_pwd_def.h - - + + + + + +Drivers/BSP/UI/ui_page_password.c->Drivers/BSP/UI/ui_tokens.h + + - + Drivers/BSP/UI/ui_page_password.c->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_page_password.h->Drivers/BSP/UI/ui_content_page.h - - + + + + + +Drivers/BSP/UI/ui_page_registry.c + +Drivers/BSP/UI/ui_page_registry.c + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_ac.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_accident.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_alarm.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_calib.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_clear.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_clock.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_comm.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_dc.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_deadband.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_device_info.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_net_cfg.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_oper.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_password.h + + + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_registry.h + + + + + +Drivers/BSP/UI/ui_page_reset.h + +Drivers/BSP/UI/ui_page_reset.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_reset.h + + + + + +Drivers/BSP/UI/ui_page_runlog.h + +Drivers/BSP/UI/ui_page_runlog.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_runlog.h + + + + + +Drivers/BSP/UI/ui_page_runreport.h + +Drivers/BSP/UI/ui_page_runreport.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_runreport.h + + + + + +Drivers/BSP/UI/ui_page_selftest.h + +Drivers/BSP/UI/ui_page_selftest.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_selftest.h + + + + + +Drivers/BSP/UI/ui_page_sntp.h + +Drivers/BSP/UI/ui_page_sntp.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_sntp.h + + + + + +Drivers/BSP/UI/ui_page_soe.h + +Drivers/BSP/UI/ui_page_soe.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_soe.h + + + + + +Drivers/BSP/UI/ui_page_start.h + +Drivers/BSP/UI/ui_page_start.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_start.h + + + + + +Drivers/BSP/UI/ui_page_view_param.h + +Drivers/BSP/UI/ui_page_view_param.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_view_param.h + + + + + +Drivers/BSP/UI/ui_page_view_plate.h + +Drivers/BSP/UI/ui_page_view_plate.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_view_plate.h + + + + + +Drivers/BSP/UI/ui_page_view_set.h + +Drivers/BSP/UI/ui_page_view_set.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_view_set.h + + + + + +Drivers/BSP/UI/ui_page_view_word.h + +Drivers/BSP/UI/ui_page_view_word.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_view_word.h + + + + + +Drivers/BSP/UI/ui_page_wave_manual.h + +Drivers/BSP/UI/ui_page_wave_manual.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_wave_manual.h + + + + + +Drivers/BSP/UI/ui_page_wave_play.h + +Drivers/BSP/UI/ui_page_wave_play.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_wave_play.h + + + + + +Drivers/BSP/UI/ui_page_yk.h + +Drivers/BSP/UI/ui_page_yk.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_yk.h + + + + + +Drivers/BSP/UI/ui_page_yx.h + +Drivers/BSP/UI/ui_page_yx.h + + + +Drivers/BSP/UI/ui_page_registry.c->Drivers/BSP/UI/ui_page_yx.h + + + + + +Drivers/BSP/UI/ui_page_registry.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_registry.h->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_page_reset.c + +Drivers/BSP/UI/ui_page_reset.c + + + +Drivers/BSP/UI/ui_page_reset.c->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_reset.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_page_reset.c->Drivers/BSP/UI/ui_page_action.h + + + + + +Drivers/BSP/UI/ui_page_reset.c->Drivers/BSP/UI/ui_page_reset.h + + + + + +Drivers/BSP/UI/ui_page_reset.h->Drivers/BSP/UI/ui_content_page.h + + - + Drivers/BSP/UI/ui_page_runlog.c - -Drivers/BSP/UI/ui_page_runlog.c - - - -Drivers/BSP/UI/ui_page_runlog.c->App/log/sys_log.h - - + +Drivers/BSP/UI/ui_page_runlog.c - + Drivers/BSP/UI/ui_page_runlog.c->Drivers/BSP/UI/ui_page_runlog.h - - + + + + + +Drivers/BSP/UI/ui_page_runlog.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_runlog.c->Drivers/BSP/UI/ui_w_records.h + + - + Drivers/BSP/UI/ui_page_runlog.c->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_page_runlog.h->Drivers/BSP/UI/ui_content_page.h - - + + + + + +Drivers/BSP/UI/ui_page_runreport.c + +Drivers/BSP/UI/ui_page_runreport.c + + + +Drivers/BSP/UI/ui_page_runreport.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_page_runreport.c->Drivers/BSP/UI/ui_page_runreport.h + + + + + +Drivers/BSP/UI/ui_page_runreport.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_runreport.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_page_runreport.h->Drivers/BSP/UI/ui_content_page.h + + - + Drivers/BSP/UI/ui_page_selftest.c - -Drivers/BSP/UI/ui_page_selftest.c - - - -Drivers/BSP/UI/ui_page_selftest.c->App/log/sys_log.h - - + +Drivers/BSP/UI/ui_page_selftest.c - + Drivers/BSP/UI/ui_page_selftest.c->Drivers/BSP/UI/ui_page_selftest.h - - + + + + + +Drivers/BSP/UI/ui_page_selftest.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_selftest.c->Drivers/BSP/UI/ui_w_records.h + + - + Drivers/BSP/UI/ui_page_selftest.c->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_page_selftest.h->Drivers/BSP/UI/ui_content_page.h - - + + + + + +Drivers/BSP/UI/ui_page_sntp.c + +Drivers/BSP/UI/ui_page_sntp.c + + + +Drivers/BSP/UI/ui_page_sntp.c->Drivers/BSP/NETCFG/net_cfg.h + + + + + +Drivers/BSP/UI/ui_page_sntp.c->Drivers/BSP/NETCFG/sntp_cfg.h + + + + + +Drivers/BSP/UI/ui_page_sntp.c->Drivers/BSP/UI/ui_page_sntp.h + + + + + +Drivers/BSP/UI/ui_page_sntp.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_sntp.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_page_sntp.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_soe.c + +Drivers/BSP/UI/ui_page_soe.c + + + +Drivers/BSP/UI/ui_page_soe.c->Drivers/BSP/UI/ui_page_soe.h + + + + + +Drivers/BSP/UI/ui_page_soe.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_soe.c->Drivers/BSP/UI/ui_w_soe.h + + + + + +Drivers/BSP/UI/ui_page_soe.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_start.c + +Drivers/BSP/UI/ui_page_start.c + + + +Drivers/BSP/UI/ui_page_start.c->Drivers/BSP/UI/ui_page_start.h + + + + + +Drivers/BSP/UI/ui_page_start.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_start.c->Drivers/BSP/UI/ui_w_records.h + + + + + +Drivers/BSP/UI/ui_page_start.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_view_param.c + +Drivers/BSP/UI/ui_page_view_param.c + + + +Drivers/BSP/UI/ui_page_view_param.c->Drivers/BSP/UI/ui_page_view_param.h + + + + + +Drivers/BSP/UI/ui_page_view_param.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_view_param.c->Drivers/BSP/UI/ui_w_setlist.h + + + + + +Drivers/BSP/UI/ui_w_setview.h + +Drivers/BSP/UI/ui_w_setview.h + + + +Drivers/BSP/UI/ui_page_view_param.c->Drivers/BSP/UI/ui_w_setview.h + + + + + +Drivers/BSP/UI/ui_page_view_param.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_view_plate.c + +Drivers/BSP/UI/ui_page_view_plate.c + + + +Drivers/BSP/UI/ui_page_view_plate.c->Drivers/BSP/UI/ui_page_view_plate.h + + + + + +Drivers/BSP/UI/ui_page_view_plate.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_view_plate.c->Drivers/BSP/UI/ui_w_setlist.h + + + + + +Drivers/BSP/UI/ui_page_view_plate.c->Drivers/BSP/UI/ui_w_setview.h + + + + + +Drivers/BSP/UI/ui_page_view_plate.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_view_set.c + +Drivers/BSP/UI/ui_page_view_set.c + + + +Drivers/BSP/UI/ui_page_view_set.c->Drivers/BSP/UI/ui_page_view_set.h + + + + + +Drivers/BSP/UI/ui_page_view_set.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_view_set.c->Drivers/BSP/UI/ui_w_setlist.h + + + + + +Drivers/BSP/UI/ui_page_view_set.c->Drivers/BSP/UI/ui_w_setview.h + + + + + +Drivers/BSP/UI/ui_page_view_set.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_view_word.c + +Drivers/BSP/UI/ui_page_view_word.c + + + +Drivers/BSP/UI/ui_page_view_word.c->Drivers/BSP/UI/ui_page_view_word.h + + + + + +Drivers/BSP/UI/ui_page_view_word.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_view_word.c->Drivers/BSP/UI/ui_w_setlist.h + + + + + +Drivers/BSP/UI/ui_page_view_word.c->Drivers/BSP/UI/ui_w_setview.h + + + + + +Drivers/BSP/UI/ui_page_view_word.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_wave_manual.c + +Drivers/BSP/UI/ui_page_wave_manual.c + + + +Drivers/BSP/UI/ui_page_wave_manual.c->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_wave_manual.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_page_wave_manual.c->Drivers/BSP/UI/ui_page_action.h + + + + + +Drivers/BSP/UI/ui_page_wave_manual.c->Drivers/BSP/UI/ui_page_wave_manual.h + + + + + +Drivers/BSP/UI/ui_page_wave_manual.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_wave_play.c + +Drivers/BSP/UI/ui_page_wave_play.c + + + +Drivers/BSP/UI/ui_page_wave_play.c->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_wave_play.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_page_wave_play.c->Drivers/BSP/UI/ui_page_wave_play.h + + + + + +Drivers/BSP/UI/ui_page_wave_play.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_wave_play.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_page_wave_play.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_yk.c + +Drivers/BSP/UI/ui_page_yk.c + + + +Drivers/BSP/UI/ui_page_yk.c->Drivers/BSP/UI/ui_page_yk.h + + + + + +Drivers/BSP/UI/ui_page_yk.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_yk.c->Drivers/BSP/UI/ui_w_records.h + + + + + +Drivers/BSP/UI/ui_page_yk.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_page_yx.c + +Drivers/BSP/UI/ui_page_yx.c + + + +Drivers/BSP/UI/ui_page_yx.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_page_yx.c->Drivers/BSP/UI/ui_page_yx.h + + + + + +Drivers/BSP/UI/ui_page_yx.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_page_yx.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_page_yx.h->Drivers/BSP/UI/ui_content_page.h + + - + Drivers/BSP/UI/ui_port.c - -Drivers/BSP/UI/ui_port.c + +Drivers/BSP/UI/ui_port.c - + Drivers/BSP/UI/ui_port.c->Drivers/BSP/UI/ui_port.h - - + + - + Drivers/BSP/UI/ui_port.c->Drivers/BSP/dbg_log.h - - + + - + Drivers/BSP/UI/ui_port.c->Lib/lvgl/lvgl.h - - + + - + Drivers/BSP/UI/ui_port.c->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_port.h->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_pwd_def.h->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_standby.c - -Drivers/BSP/UI/ui_standby.c + +Drivers/BSP/UI/ui_standby.c + + + +Drivers/BSP/UI/ui_standby.c->Drivers/BSP/UI/ui_data.h + + - + Drivers/BSP/UI/ui_standby.c->Drivers/BSP/UI/ui_menu_view.h - - + + - + Drivers/BSP/UI/ui_standby.c->Drivers/BSP/UI/ui_standby.h - - + + + + + +Drivers/BSP/UI/ui_standby.c->Drivers/BSP/UI/ui_style.h + + + + + +Drivers/BSP/UI/ui_standby.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_standby.c->Drivers/BSP/UI/ui_w_editor.h + + - + Drivers/BSP/UI/ui_standby.c->Drivers/BSP/dbg_log.h - - + + - + Drivers/BSP/UI/ui_standby.c->Lib/lvgl/lvgl.h - - + + - + Drivers/BSP/UI/ui_standby.c->外部/系统头文件 - - + + - + Drivers/BSP/UI/ui_standby.h->外部/系统头文件 - - + + + + + +Drivers/BSP/UI/ui_style.c + +Drivers/BSP/UI/ui_style.c + + + +Drivers/BSP/UI/ui_style.c->Drivers/BSP/UI/ui_style.h + + + + + +Drivers/BSP/UI/ui_style.h->Lib/lvgl/lvgl.h + + + + + +Drivers/BSP/UI/ui_tokens.h->Drivers/BSP/UI/ui_port.h + + + + + +Drivers/BSP/UI/ui_w_editor.c + +Drivers/BSP/UI/ui_w_editor.c + + + +Drivers/BSP/UI/ui_w_editor.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_w_editor.c->Drivers/BSP/UI/ui_w_editor.h + + + + + +Drivers/BSP/UI/ui_w_editor.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_w_editor.h->Lib/lvgl/lvgl.h + + + + + +Drivers/BSP/UI/ui_w_editor.h->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_w_records.c + +Drivers/BSP/UI/ui_w_records.c + + + +Drivers/BSP/UI/ui_w_records.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_w_records.c->Drivers/BSP/UI/ui_w_records.h + + + + + +Drivers/BSP/UI/ui_w_records.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_w_records.h->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_w_setlist.c + +Drivers/BSP/UI/ui_w_setlist.c + + + +Drivers/BSP/UI/ui_w_setlist.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_w_setlist.c->Drivers/BSP/UI/ui_w_setlist.h + + + + + +Drivers/BSP/UI/ui_w_setlist.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_w_setlist.h->Drivers/BSP/UI/ui_content_page.h + + + + + +Drivers/BSP/UI/ui_w_setlist.h->Drivers/BSP/UI/ui_w_editor.h + + + + + +Drivers/BSP/UI/ui_w_setlist.h->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_w_setview.c + +Drivers/BSP/UI/ui_w_setview.c + + + +Drivers/BSP/UI/ui_w_setview.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_w_setview.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_w_setview.c->Drivers/BSP/UI/ui_w_setview.h + + + + + +Drivers/BSP/UI/ui_w_setview.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_w_setview.h->Drivers/BSP/UI/ui_w_setlist.h + + + + + +Drivers/BSP/UI/ui_w_setview.h->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_w_soe.c + +Drivers/BSP/UI/ui_w_soe.c + + + +Drivers/BSP/UI/ui_w_soe.c->Drivers/BSP/UI/ui_w_soe.h + + + + + +Drivers/BSP/UI/ui_w_soe.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_w_soe.h->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_w_ytview.c + +Drivers/BSP/UI/ui_w_ytview.c + + + +Drivers/BSP/UI/ui_w_ytview.c->Drivers/BSP/UI/ui_data.h + + + + + +Drivers/BSP/UI/ui_w_ytview.c->Drivers/BSP/UI/ui_tokens.h + + + + + +Drivers/BSP/UI/ui_w_ytview.c->Drivers/BSP/UI/ui_w_ytview.h + + + + + +Drivers/BSP/UI/ui_w_ytview.c->外部/系统头文件 + + + + + +Drivers/BSP/UI/ui_w_ytview.h->Drivers/BSP/UI/ui_w_setlist.h + + + + + +Drivers/BSP/UI/ui_w_ytview.h->外部/系统头文件 + + + + + +Drivers/BSP/app_assert.h->外部/系统头文件 + + + + + +Drivers/BSP/bsp_err.h->外部/系统头文件 + + - + Drivers/BSP/dbg_cfg.h - -Drivers/BSP/dbg_cfg.h + +Drivers/BSP/dbg_cfg.h - + Drivers/BSP/dbg_log.h->App/log/console_log.h - - + + - + Drivers/BSP/dbg_log.h->App/util/sys_clock.h - - + + - + Drivers/BSP/dbg_log.h->Drivers/BSP/dbg_cfg.h - - + + - + Drivers/BSP/dbg_log.h->外部/系统头文件 - - + + - + Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h - -Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h + +Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_iwdg.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_iwdg.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_iwdg.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h - + Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h - -Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h + +Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h - + Inc/FreeRTOSConfig.h - -Inc/FreeRTOSConfig.h + +Inc/FreeRTOSConfig.h - + Inc/FreeRTOSConfig.h->外部/系统头文件 - - + + - + Inc/adc.h->Inc/main.h - - + + - + Inc/dma.h - -Inc/dma.h + +Inc/dma.h - + Inc/dma.h->Inc/main.h - - + + - + Inc/gpio.h - -Inc/gpio.h + +Inc/gpio.h - + Inc/gpio.h->Inc/main.h - - + + - + Inc/i2c.h->Inc/main.h - - + + - + Inc/iwdg.h->Inc/main.h - - + + - + Inc/main.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h - - + + - + Inc/spi.h->Inc/main.h - - + + - + Inc/stm32f4xx_hal_conf.h - -Inc/stm32f4xx_hal_conf.h + +Inc/stm32f4xx_hal_conf.h - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h - - + + - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h - - + + - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h - - + + - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h - - + + - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h - - + + - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h - - + + - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h - - + + - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_iwdg.h - - + + - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h - - + + - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h - - + + - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h - - + + - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h - - + + - + Inc/stm32f4xx_hal_conf.h->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h - - + + - + Inc/stm32f4xx_hal_conf.h->外部/系统头文件 - - + + - + Inc/tim.h->Inc/main.h - - + + - + Inc/usart.h->Inc/main.h - - + + + + + +Lib/dhara/journal.c + +Lib/dhara/journal.c + + + +Lib/dhara/map.c + +Lib/dhara/map.c - + Src/adc.c - -Src/adc.c + +Src/adc.c - + Src/adc.c->Inc/adc.h - - + + - + Src/dma.c - -Src/dma.c + +Src/dma.c - + Src/dma.c->Inc/dma.h - - + + - + Src/freertos.c - -Src/freertos.c + +Src/freertos.c - + Src/freertos.c->App/app/sys_events.h - - + + - + Src/freertos.c->App/sync/time_sync.h - - + + - + Src/freertos.c->App/task/adc_task.h - - + + - + Src/freertos.c->App/task/default_task.h - - - - - -Src/freertos.c->App/task/iec104_serv.h - - + + - + Src/freertos.c->App/task/net_task.h - - + + - + Src/freertos.c->App/task/protect_task.h - - + + - + Src/freertos.c->App/util/task_watchdog.h - - + + - + Src/freertos.c->Drivers/BSP/CH395F/ch395f.h - - + + - + Src/freertos.c->Drivers/BSP/NET/lftpd/lftpd.h - - + + - + Src/freertos.c->Drivers/BSP/NET/net_socket.h - - + + - + Src/freertos.c->Drivers/BSP/dbg_log.h - - + + - + Src/freertos.c->Inc/main.h - - + + - + Src/freertos.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - + + - + Src/freertos.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - + + - + Src/freertos.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - + + - + test/board/ch395f_test.h - -test/board/ch395f_test.h + +test/board/ch395f_test.h - + Src/freertos.c->test/board/ch395f_test.h - - + + - + test/board/ch395f_test_task.h - -test/board/ch395f_test_task.h + +test/board/ch395f_test_task.h - + Src/freertos.c->test/board/ch395f_test_task.h - - + + - + Src/freertos.c->test/board/test_config.h - - + + - + Src/freertos.c->外部/系统头文件 - - + + - + Src/gpio.c - -Src/gpio.c + +Src/gpio.c - + Src/gpio.c->Inc/gpio.h - - + + - + Src/i2c.c - -Src/i2c.c + +Src/i2c.c - + Src/i2c.c->Inc/i2c.h - - + + - + Src/iwdg.c - -Src/iwdg.c + +Src/iwdg.c - + Src/iwdg.c->Inc/iwdg.h - - + + - + Src/main.c - -Src/main.c + +Src/main.c - + Src/main.c->App/app/app_main.h - - + + - + Src/main.c->App/task/adc_task.h - - + + - + Src/main.c->App/util/sys_clock.h - - + + - + Src/main.c->App/util/task_watchdog.h - - + + - + Src/main.c->Drivers/BSP/CH395F/ch395f.h - - + + - + Src/main.c->Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h - - + + + + + +Src/main.c->Drivers/BSP/IOBOARD/ioboard.h + + - + Src/main.c->Drivers/BSP/NET/net_select.h - - + + - + Src/main.c->Drivers/BSP/NET/net_socket.h - - + + - + Src/main.c->Drivers/BSP/RS485/rs485.h - - + + - + Src/main.c->Drivers/BSP/SD2506/sd2506.h - - + + + + + +Src/main.c->Drivers/BSP/ScreenLink/sb_link.h + + - + Src/main.c->Drivers/BSP/TPAFE5160/tpafe5160.h - - + + - + Src/main.c->Drivers/BSP/dbg_log.h - - + + - + Src/main.c->Inc/adc.h - - + + - + Src/main.c->Inc/dma.h - - + + - + Src/main.c->Inc/gpio.h - - + + - + Src/main.c->Inc/i2c.h - - + + - + Src/main.c->Inc/iwdg.h - - + + - + Src/main.c->Inc/main.h - - + + - + Src/main.c->Inc/spi.h - - + + - + Src/main.c->Inc/tim.h - - + + - + Src/main.c->Inc/usart.h - - + + - + Src/main.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - + + - + Src/main.c->外部/系统头文件 - - + + - + Src/spi.c - -Src/spi.c + +Src/spi.c - + Src/spi.c->Inc/spi.h - - + + - + Src/stm32f4xx_hal_msp.c - -Src/stm32f4xx_hal_msp.c + +Src/stm32f4xx_hal_msp.c - + Src/stm32f4xx_hal_msp.c->Inc/main.h - - + + - + Src/stm32f4xx_hal_timebase_tim.c - -Src/stm32f4xx_hal_timebase_tim.c + +Src/stm32f4xx_hal_timebase_tim.c - + Src/stm32f4xx_hal_timebase_tim.c->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h - - + + - + Src/stm32f4xx_hal_timebase_tim.c->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h - - + + - + Src/stm32f4xx_it.c - -Src/stm32f4xx_it.c + +Src/stm32f4xx_it.c + + + +Src/stm32f4xx_it.c->App/log/console_log.h + + - + Src/stm32f4xx_it.c->Inc/main.h - - + + - + Src/stm32f4xx_it.c->Inc/stm32f4xx_it.h - - + + - + Src/stm32f4xx_it.c->Inc/usart.h - - + + - + Src/system_stm32f4xx.c - -Src/system_stm32f4xx.c + +Src/system_stm32f4xx.c - + Src/system_stm32f4xx.c->Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h - - + + - + Src/tim.c - -Src/tim.c + +Src/tim.c - + Src/tim.c->Inc/tim.h - - + + - + Src/usart.c - -Src/usart.c + +Src/usart.c + + + +Src/usart.c->Drivers/BSP/ScreenLink/sb_link.h + + - + Src/usart.c->Inc/usart.h - - + + - + simulator/SDL2/SDL2-2.32.10/include/SDL.h - -simulator/SDL2/SDL2-2.32.10/include/SDL.h + +simulator/SDL2/SDL2-2.32.10/include/SDL.h - + simulator/dbg_log.h - -simulator/dbg_log.h + +simulator/dbg_log.h - + simulator/dbg_log.h->外部/系统头文件 - - + + - + simulator/lv_conf.h - -simulator/lv_conf.h + +simulator/lv_conf.h - + simulator/main.c - -simulator/main.c + +simulator/main.c + + + +simulator/main.c->App/algo/adc_cal.h + + + + + +simulator/main.c->App/algo/prot_set.h + + + + + +simulator/main.c->App/algo/wave_ring.h + + + + + +simulator/main.c->App/algo/wave_store.h + + - + simulator/main.c->App/cfg/cfg_file.h - - + + - + simulator/main.c->App/cfg/cfg_file_store.h - - + + + + + +simulator/main.c->App/iec60870/104/iec104_core.h + + - + simulator/main.c->App/log/sys_log.h - - + + - + simulator/main.c->Drivers/BSP/NETCFG/net_cfg.h - - + + + + + +simulator/main.c->Drivers/BSP/UI/ui_content_page.h + + + + + +simulator/main.c->Drivers/BSP/UI/ui_data.h + + - + simulator/main.c->Drivers/BSP/UI/ui_menu.h - - + + - + simulator/main.c->Drivers/BSP/UI/ui_net_sink.h - - + + - + simulator/main.c->Drivers/BSP/UI/ui_standby.h - - + + + + + +simulator/main.c->Drivers/BSP/UI/ui_w_records.h + + + + + +simulator/main.c->Drivers/BSP/UI/ui_w_soe.h + + - + simulator/main.c->Lib/lvgl/lvgl.h - - + + - + simulator/main.c->simulator/SDL2/SDL2-2.32.10/include/SDL.h - - + + + + + +simulator/sim/iec104_sim.h + +simulator/sim/iec104_sim.h + + + +simulator/main.c->simulator/sim/iec104_sim.h + + - + simulator/sim/sim_port.h - -simulator/sim/sim_port.h + +simulator/sim/sim_port.h - + simulator/main.c->simulator/sim/sim_port.h - - + + - + simulator/main.c->外部/系统头文件 - - + + - + simulator/sim/cfg_file_store_sim.c - -simulator/sim/cfg_file_store_sim.c + +simulator/sim/cfg_file_store_sim.c - + simulator/sim/cfg_file_store_sim.c->App/cfg/cfg_file_store.h - - + + - + simulator/sim/cfg_file_store_sim.c->外部/系统头文件 - - + + + + + +simulator/sim/iec104_sim.c + +simulator/sim/iec104_sim.c + + + +simulator/sim/iec104_sim.c->App/iec60870/104/IEC104_Net.h + + + + + +simulator/sim/iec104_sim.c->App/iec60870/104/iec104_core.h + + + + + +simulator/sim/iec104_sim.c->App/iec60870/104/iec104_source.h + + + + + +simulator/sim/iec104_sim.c->App/iec60870/common/IEC60870_Time.h + + + + + +simulator/sim/iec104_sim.c->simulator/SDL2/SDL2-2.32.10/include/SDL.h + + + + + +simulator/sim/iec104_sim.c->simulator/sim/iec104_sim.h + + + + + +simulator/sim/iec104_sim.c->外部/系统头文件 + + + + + +simulator/sim/iec104_sim.h->外部/系统头文件 + + - + simulator/sim/net_socket_sim.c - -simulator/sim/net_socket_sim.c + +simulator/sim/net_socket_sim.c - + simulator/sim/net_socket_sim.c->Drivers/BSP/NET/net_socket.h - - + + - + simulator/sim/net_socket_sim.c->外部/系统头文件 - - + + - + simulator/sim/sim_latency_stub.c - -simulator/sim/sim_latency_stub.c + +simulator/sim/sim_latency_stub.c - + simulator/sim/sim_latency_stub.c->test/board/net_latency_test.h - - + + - + simulator/sim/sim_port.c - -simulator/sim/sim_port.c + +simulator/sim/sim_port.c - + simulator/sim/sim_port.c->Lib/lvgl/lvgl.h - - + + - + simulator/sim/sim_port.c->simulator/SDL2/SDL2-2.32.10/include/SDL.h - - + + - + simulator/sim/sim_port.c->simulator/sim/sim_port.h - - + + - + simulator/sim/sim_port.h->外部/系统头文件 - - + + - + simulator/sim/sim_syslog.c - -simulator/sim/sim_syslog.c + +simulator/sim/sim_syslog.c - + simulator/sim/sim_syslog.c->App/log/sys_log.h - - + + - + simulator/sim/sim_syslog.c->外部/系统头文件 - - + + - + simulator/sim/ui_net_sink_backend_sim.c - -simulator/sim/ui_net_sink_backend_sim.c + +simulator/sim/ui_net_sink_backend_sim.c - + simulator/sim/ui_net_sink_backend_sim.c->Drivers/BSP/UI/ui_net_sink_backend.h - - + + - + simulator/sim/ui_net_sink_backend_sim.c->Drivers/BSP/UI/ui_port.h - - + + - + simulator/sim/ui_net_sink_backend_sim.c->Lib/lvgl/lvgl.h - - + + - + simulator/sim/ui_net_sink_backend_sim.c->simulator/sim/sim_port.h - - + + - + test/board/ch395f_reuse_bench.c - -test/board/ch395f_reuse_bench.c + +test/board/ch395f_reuse_bench.c - + test/board/ch395f_reuse_bench.c->Drivers/BSP/CH395F/ch395f.h - - + + - + test/board/ch395f_reuse_bench.c->Drivers/BSP/dbg_log.h - - + + - + test/board/ch395f_reuse_bench.c->Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h - - + + - + test/board/ch395f_reuse_bench.c->Inc/main.h - - + + - + test/board/ch395f_reuse_bench.h - -test/board/ch395f_reuse_bench.h + +test/board/ch395f_reuse_bench.h - + test/board/ch395f_reuse_bench.c->test/board/ch395f_reuse_bench.h - - + + - + test/board/test_common.h - -test/board/test_common.h + +test/board/test_common.h - + test/board/ch395f_test.h->test/board/test_common.h - - + + - + test/board/ch395f_test.h->外部/系统头文件 - - + + - + test/board/ch395f_test_task.c - -test/board/ch395f_test_task.c + +test/board/ch395f_test_task.c - + test/board/ch395f_test_task.c->App/app/sys_events.h - - + + - + test/board/ch395f_test_task.c->App/task/net_task.h - - + + - + test/board/ch395f_test_task.c->Drivers/BSP/CH395F/ch395f.h - - + + - + test/board/ch395f_test_task.c->Drivers/BSP/NET/net_socket.h - - + + - + test/board/ch395f_test_task.c->Drivers/BSP/dbg_log.h - - + + - + test/board/ch395f_test_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - + + - + test/board/ch395f_test_task.c->test/board/ch395f_test.h - - + + - + test/board/ch395f_test_task.c->test/board/ch395f_test_task.h - - + + - + test/board/gd5f_test.h - -test/board/gd5f_test.h + +test/board/gd5f_test.h - + test/board/ch395f_test_task.c->test/board/gd5f_test.h - - + + - + test/board/ch395f_test_task.c->test/board/net_latency_test.h - - + + - + test/board/net_test_task.h - -test/board/net_test_task.h + +test/board/net_test_task.h - + test/board/ch395f_test_task.c->test/board/net_test_task.h - - + + - + test/board/sd2506_test.h - -test/board/sd2506_test.h + +test/board/sd2506_test.h - + test/board/ch395f_test_task.c->test/board/sd2506_test.h - - + + - + test/board/storage_test.h - -test/board/storage_test.h + +test/board/storage_test.h - + test/board/ch395f_test_task.c->test/board/storage_test.h - - + + - + test/board/ch395f_test_task.c->test/board/test_config.h - - + + - + test/board/ch395f_test_task.c->外部/系统头文件 - - + + - + test/board/gd5f_test.h->Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h - - + + - + test/board/gd5f_test.h->test/board/test_common.h - - + + - + test/board/gd5f_test.h->外部/系统头文件 - - + + - + test/board/gd5f_test_task.c - -test/board/gd5f_test_task.c + +test/board/gd5f_test_task.c - + test/board/gd5f_test_task.c->Drivers/BSP/GD5F2GQ5UE/nand_ftl.h - - + + - + test/board/gd5f_test_task.c->Drivers/BSP/dbg_log.h - - + + - + test/board/gd5f_test_task.c->Lib/FatFs/ff.h - - + + - + test/board/gd5f_test_task.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - + + - + test/board/gd5f_test_task.c->test/board/gd5f_test.h - - + + - + test/board/gd5f_test_task.c->test/board/test_config.h - - + + - + test/board/gd5f_test_task.c->外部/系统头文件 - - + + + + + +test/board/ioboard_test.h + +test/board/ioboard_test.h + + + +test/board/ioboard_test.h->test/board/test_common.h + + + + + +test/board/ioboard_test.h->外部/系统头文件 + + + + + +test/board/ioboard_test_task.c + +test/board/ioboard_test_task.c + + + +test/board/ioboard_test_task.c->Drivers/BSP/IOBOARD/ioboard.h + + + + + +test/board/ioboard_test_task.c->Drivers/BSP/IOBOARD/ioboard_bits.h + + + + + +test/board/ioboard_test_task.c->Drivers/BSP/bsp_err.h + + + + + +test/board/ioboard_test_task.c->Drivers/BSP/dbg_log.h + + + + + +test/board/ioboard_test_task.c->Inc/main.h + + + + + +test/board/ioboard_test_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +test/board/ioboard_test_task.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +test/board/ioboard_test_task.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +test/board/ioboard_test_task.c->test/board/ioboard_test.h + + + + + +test/board/ioboard_test_task.c->test/board/test_config.h + + + + + +test/board/ioboard_test_task.c->外部/系统头文件 + + - + test/board/net_latency_test.c - -test/board/net_latency_test.c + +test/board/net_latency_test.c - + test/board/net_latency_test.c->Drivers/BSP/CH395F/ch395f.h - - + + - + test/board/net_latency_test.c->Drivers/BSP/NET/net_socket.h - - + + - + test/board/net_latency_test.c->Drivers/BSP/dbg_log.h - - + + - + test/board/net_latency_test.c->Inc/main.h - - + + - + test/board/net_latency_test.c->test/board/ch395f_test.h - - + + - + test/board/net_latency_test.c->test/board/net_latency_test.h - - + + - + test/board/net_latency_test.c->test/board/test_config.h - - + + - + test/board/net_latency_test.c->外部/系统头文件 - - + + - + test/board/net_latency_test.h->外部/系统头文件 - - + + - + test/board/net_test_task.c - -test/board/net_test_task.c + +test/board/net_test_task.c - + test/board/net_test_task.c->Drivers/BSP/NET/net_select.h - - + + - + test/board/net_test_task.c->Drivers/BSP/NET/net_socket.h - - + + - + test/board/net_test_task.c->Drivers/BSP/NET/net_types.h - - + + - + test/board/net_test_task.c->Drivers/BSP/dbg_log.h - - + + - + test/board/net_test_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - + + - + test/board/net_test_task.c->test/board/ch395f_test.h - - + + - + test/board/net_test_task.c->test/board/ch395f_test_task.h - - + + - + test/board/net_test_task.c->test/board/net_latency_test.h - - + + - + test/board/net_test_task.c->test/board/net_test_task.h - - + + - + test/board/net_test_task.c->外部/系统头文件 - - + + - + test/board/sd2506_test.h->test/board/test_common.h - - + + - + test/board/sd2506_test.h->外部/系统头文件 - - + + - + test/board/sd2506_test_task.c - -test/board/sd2506_test_task.c + +test/board/sd2506_test_task.c - + test/board/sd2506_test_task.c->Drivers/BSP/SD2506/sd2506.h - - + + - + test/board/sd2506_test_task.c->Drivers/BSP/dbg_log.h - - + + - + test/board/sd2506_test_task.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - + + - + test/board/sd2506_test_task.c->test/board/sd2506_test.h - - + + - + test/board/sd2506_test_task.c->test/board/test_config.h - - + + - + test/board/sd2506_test_task.c->外部/系统头文件 - - + + - + test/board/storage_test.h->test/board/test_common.h - - + + - + test/board/storage_test.h->外部/系统头文件 - - + + - + test/board/storage_test_task.c - -test/board/storage_test_task.c + +test/board/storage_test_task.c - + test/board/storage_test_task.c->Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h - - + + - + test/board/storage_test_task.c->Drivers/BSP/GD5F2GQ5UE/nand_ftl.h - - + + - + test/board/storage_test_task.c->Drivers/BSP/dbg_log.h - - + + - + test/board/storage_test_task.c->Inc/main.h - - + + - + test/board/storage_test_task.c->Lib/FatFs/diskio.h - - + + - + test/board/storage_test_task.c->Lib/FatFs/ff.h - - + + - + test/board/storage_test_task.c->test/board/storage_test.h - - + + - + test/board/storage_test_task.c->test/board/test_config.h - - + + - + test/board/storage_test_task.c->外部/系统头文件 - - + + - + test/board/test_common.h->外部/系统头文件 - - + + - + test/board/test_config.c - -test/board/test_config.c + +test/board/test_config.c - + test/board/test_config.c->Drivers/BSP/dbg_log.h - - + + - + test/board/test_config.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - + + - + test/board/test_config.c->test/board/ch395f_test_task.h - - + + - + test/board/test_config.c->test/board/gd5f_test.h - - + + + + + +test/board/test_config.c->test/board/ioboard_test.h + + - + test/board/test_config.c->test/board/sd2506_test.h - - + + - + test/board/test_config.c->test/board/storage_test.h - - + + - + test/board/test_config.c->test/board/test_config.h - - + + - + test/board/test_config.h->test/board/ch395f_test.h - - + + - + test/board/test_config.h->test/board/gd5f_test.h - - + + + + + +test/board/test_config.h->test/board/ioboard_test.h + + - + test/board/test_config.h->test/board/sd2506_test.h - - + + - + test/board/test_config.h->test/board/storage_test.h - - + + - + test/board/test_config.h->外部/系统头文件 - - + + + + + +test/host/adc_cal/adc_cal_test.c + +test/host/adc_cal/adc_cal_test.c + + + +test/host/adc_cal/adc_cal_test.c->App/algo/adc_cal.c + + + + + +test/host/adc_cal/adc_cal_test.c->App/algo/adc_input.h + + + + + +test/host/adc_cal/adc_cal_test.c->App/cfg/cfg_file.c + + + + + +test/host/adc_cal/adc_cal_test.c->App/cfg/cfg_file_store.h + + + + + +test/host/adc_cal/adc_cal_test.c->App/log/sys_log.h + + + + + +test/host/adc_cal/adc_cal_test.c->Drivers/BSP/dbg_log.h + + + + + +test/host/adc_cal/adc_cal_test.c->外部/系统头文件 + + + + + +test/host/adc_cal/stub/dbg_log.h + +test/host/adc_cal/stub/dbg_log.h + + + +test/host/adc_cal/stub/dbg_log.h->外部/系统头文件 + + - + test/host/adc_health/adc_health_test.c - -test/host/adc_health/adc_health_test.c + +test/host/adc_health/adc_health_test.c - + test/host/adc_health/adc_health_test.c->App/algo/adc_health.c - - + + - + test/host/adc_health/adc_health_test.c->外部/系统头文件 - - + + - + test/host/adc_input/adc_input_test.c - -test/host/adc_input/adc_input_test.c + +test/host/adc_input/adc_input_test.c - + test/host/adc_input/adc_input_test.c->App/algo/adc_input.c - - + + - + test/host/adc_input/adc_input_test.c->App/algo/adc_input.h - - + + - + test/host/adc_input/adc_input_test.c->Drivers/BSP/TPAFE5160/tpafe5160.h - - + + - + test/host/adc_input/adc_input_test.c->Inc/adc.h - - + + - + test/host/adc_input/adc_input_test.c->外部/系统头文件 - - + + - + test/host/adc_input/stub/adc.h - -test/host/adc_input/stub/adc.h + +test/host/adc_input/stub/adc.h - + test/host/adc_input/stub/adc.h->外部/系统头文件 - - + + - + test/host/adc_input/stub/tpafe5160.h - -test/host/adc_input/stub/tpafe5160.h + +test/host/adc_input/stub/tpafe5160.h - + test/host/adc_input/stub/tpafe5160.h->外部/系统头文件 - - + + + + + +test/host/boot_stats/boot_stats_test.c + +test/host/boot_stats/boot_stats_test.c + + + +test/host/boot_stats/boot_stats_test.c->App/app/app_main.h + + + + + +test/host/boot_stats/boot_stats_test.c->App/util/boot_stats.c + + + + + +test/host/boot_stats/boot_stats_test.c->App/util/boot_stats.h + + + + + +test/host/boot_stats/boot_stats_test.c->Drivers/BSP/SD2506/sd2506.h + + + + + +test/host/boot_stats/boot_stats_test.c->外部/系统头文件 + + + + + +test/host/boot_stats/stub/main.h + +test/host/boot_stats/stub/main.h + + + +test/host/boot_stats/stub/main.h->外部/系统头文件 + + - + test/host/cfg_file/cfg_file_test.c - -test/host/cfg_file/cfg_file_test.c + +test/host/cfg_file/cfg_file_test.c - + test/host/cfg_file/cfg_file_test.c->App/cfg/cfg_file.c - - + + - + test/host/cfg_file/cfg_file_test.c->App/cfg/cfg_file_store.h - - + + - + test/host/cfg_file/cfg_file_test.c->App/log/sys_log.h - - + + - + test/host/cfg_file/cfg_file_test.c->Drivers/BSP/dbg_log.h - - + + - + test/host/cfg_file/cfg_file_test.c->外部/系统头文件 - - + + - + test/host/cfg_file/stub/dbg_log.h - -test/host/cfg_file/stub/dbg_log.h + +test/host/cfg_file/stub/dbg_log.h - + test/host/cfg_file/stub/dbg_log.h->外部/系统头文件 - - + + + + + +test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c + +test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c + + + +test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c->App/cfg/cfg_file_store.h + + + + + +test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c->App/cfg/cfg_file_store_mcu.c + + + + + +test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c->App/fs/vol_lock.h + + + + + +test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c->Lib/FatFs/ff.h + + + + + +test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +test/host/cfg_file_store_mcu/cfg_file_store_mcu_test.c->外部/系统头文件 + + + + + +test/host/cfg_file_store_mcu/stub/FreeRTOS.h + +test/host/cfg_file_store_mcu/stub/FreeRTOS.h + + + +test/host/cfg_file_store_mcu/stub/FreeRTOS.h->外部/系统头文件 + + + + + +test/host/common/ch395f_fake.c + +test/host/common/ch395f_fake.c + + + +test/host/common/ch395f_fake.h + +test/host/common/ch395f_fake.h + + + +test/host/common/ch395f_fake.c->test/host/common/ch395f_fake.h + + + + + +test/host/common/ch395f_fake.c->外部/系统头文件 + + + + + +test/host/common/ch395f_fake.h->外部/系统头文件 + + + + + +test/host/common/fatfs_fake.c + +test/host/common/fatfs_fake.c + + + +test/host/common/fatfs_fake.h + +test/host/common/fatfs_fake.h + + + +test/host/common/fatfs_fake.c->test/host/common/fatfs_fake.h + + + + + +test/host/common/fatfs_fake.c->外部/系统头文件 + + + + + +test/host/common/fatfs_fake.h->Lib/FatFs/ff.h + + + + + +test/host/common/fatfs_fake.h->外部/系统头文件 + + + + + +test/host/console_log/console_log_test.c + +test/host/console_log/console_log_test.c + + + +test/host/console_log/console_log_test.c->App/log/console_log.c + + + + + +test/host/console_log/console_log_test.c->外部/系统头文件 + + + + + +test/host/console_log/stub/FreeRTOS.h + +test/host/console_log/stub/FreeRTOS.h + + + +test/host/console_log/stub/stm32f4_fake.h + +test/host/console_log/stub/stm32f4_fake.h + + + +test/host/console_log/stub/FreeRTOS.h->test/host/console_log/stub/stm32f4_fake.h + + + + + +test/host/console_log/stub/FreeRTOS.h->外部/系统头文件 + + + + + +test/host/console_log/stub/cmsis_os.h + +test/host/console_log/stub/cmsis_os.h + + + +test/host/console_log/stub/cmsis_os.h->外部/系统头文件 + + + + + +test/host/console_log/stub/cmsis_os2.h + +test/host/console_log/stub/cmsis_os2.h + + + +test/host/console_log/stub/cmsis_os2.h->test/host/console_log/stub/stm32f4_fake.h + + + + + +test/host/console_log/stub/cmsis_os2.h->外部/系统头文件 + + + + + +test/host/console_log/stub/stm32f4_fake.h->外部/系统头文件 + + + + + +test/host/console_log/stub/task.h + +test/host/console_log/stub/task.h + + + +test/host/console_log/stub/task.h->test/host/console_log/stub/FreeRTOS.h + + + + + +test/host/console_log/stub/usart.h + +test/host/console_log/stub/usart.h + + + +test/host/console_log/stub/usart.h->test/host/console_log/stub/stm32f4_fake.h + + + + + +test/host/console_log/stub/usart.h->外部/系统头文件 + + - + test/host/freq/freq_test.c - -test/host/freq/freq_test.c + +test/host/freq/freq_test.c - + test/host/freq/freq_test.c->App/algo/freq.c - - + + - + test/host/freq/freq_test.c->App/algo/phasor.c - - + + - + test/host/freq/freq_test.c->App/algo/sample_ring.c - - + + - + test/host/freq/freq_test.c->外部/系统头文件 - - + + - + test/host/ftp_auth/ftp_auth_test.c - -test/host/ftp_auth/ftp_auth_test.c + +test/host/ftp_auth/ftp_auth_test.c - + test/host/ftp_auth/ftp_auth_test.c->App/util/sha256.c - - + + - + test/host/ftp_auth/ftp_auth_test.c->Drivers/BSP/NET/lftpd/lftpd_auth.c - - + + - + test/host/ftp_auth/ftp_auth_test.c->外部/系统头文件 - - + + - - -test/host/iec104/iec104_test.c - -test/host/iec104/iec104_test.c + + +test/host/ftp_cfg/ftp_cfg_test.c + +test/host/ftp_cfg/ftp_cfg_test.c - - -test/host/iec104/iec104_test.c->App/algo/freq.c - - + + +test/host/ftp_cfg/ftp_cfg_test.c->App/cfg/cfg_file.h + + - - -test/host/iec104/iec104_test.c->App/algo/phasor.c - - + + +test/host/ftp_cfg/ftp_cfg_test.c->Drivers/BSP/NETCFG/ftp_cfg.c + + - - -test/host/iec104/iec104_test.c->App/algo/prot_elm.c - - + + +test/host/ftp_cfg/ftp_cfg_test.c->Drivers/BSP/NETCFG/ftp_cfg.h + + - - -test/host/iec104/iec104_test.c->App/algo/prot_set.c - - + + +test/host/ftp_cfg/ftp_cfg_test.c->外部/系统头文件 + + - - -test/host/iec104/iec104_test.c->App/algo/sample_ring.c - - + + +test/host/iec104_comm/iec104_comm_test.c + +test/host/iec104_comm/iec104_comm_test.c - - -test/host/iec104/iec104_test.c->App/protocol/iec104/iec104_asdu.c - - + + +test/host/iec104_comm/iec104_comm_test.c->App/cfg/cfg_file.h + + - - -test/host/iec104/iec104_test.c->App/protocol/iec104/iec104_link.c - - + + +test/host/iec104_comm/iec104_comm_test.c->App/iec60870/104/iec104_comm.c + + - - -test/host/iec104/iec104_test.c->App/protocol/iec104/iec104_pts.c - - + + +test/host/iec104_comm/iec104_comm_test.c->外部/系统头文件 + + - - -test/host/iec104/iec104_test.c->外部/系统头文件 - - + + +test/host/iec104_dtu/core_lifecycle_test.c + +test/host/iec104_dtu/core_lifecycle_test.c + + + +test/host/iec104_dtu/core_lifecycle_test.c->App/iec60870/104/iec104_core.h + + + + + +test/host/iec104_dtu/core_lifecycle_test.c->App/iec60870/104/iec104_source.h + + + + + +test/host/iec104_dtu/core_lifecycle_test.c->外部/系统头文件 + + + + + +test/host/iec104_dtu/source_binding_test.c + +test/host/iec104_dtu/source_binding_test.c + + + +test/host/iec104_dtu/source_binding_test.c->App/iec60870/104/iec104_source.h + + + + + +test/host/iec104_dtu/source_binding_test.c->外部/系统头文件 + + + + + +test/host/iec104_dtu/vendor_boundary_test.c + +test/host/iec104_dtu/vendor_boundary_test.c + + + +test/host/iec104_dtu/vendor_boundary_test.c->App/iec60870/104/business/IEC104_Command.h + + + + + +test/host/iec104_dtu/vendor_boundary_test.c->外部/系统头文件 + + + + + +test/host/iec104_netmcu/net_socket_fake.c + +test/host/iec104_netmcu/net_socket_fake.c + + + +test/host/iec104_netmcu/net_socket_fake.h + +test/host/iec104_netmcu/net_socket_fake.h + + + +test/host/iec104_netmcu/net_socket_fake.c->test/host/iec104_netmcu/net_socket_fake.h + + + + + +test/host/iec104_netmcu/net_socket_fake.c->外部/系统头文件 + + + + + +test/host/iec104_netmcu/net_socket_fake.h->Drivers/BSP/NET/net_socket.h + + + + + +test/host/iec104_netmcu/net_socket_fake.h->Drivers/BSP/NET/net_types.h + + + + + +test/host/iec104_netmcu/net_socket_fake.h->外部/系统头文件 + + + + + +test/host/iec104_netmcu/netmcu_stub_test.c + +test/host/iec104_netmcu/netmcu_stub_test.c + + + +test/host/iec104_netmcu/netmcu_stub_test.c->App/iec60870/104/IEC104_Net.h + + + + + +test/host/iec104_netmcu/netmcu_stub_test.c->test/host/iec104_netmcu/net_socket_fake.h + + + + + +test/host/iec104_netmcu/stub_iec104_netmcu.h + +test/host/iec104_netmcu/stub_iec104_netmcu.h + + + +test/host/iec104_netmcu/netmcu_stub_test.c->test/host/iec104_netmcu/stub_iec104_netmcu.h + + + + + +test/host/iec104_netmcu/netmcu_stub_test.c->外部/系统头文件 + + + + + +test/host/iec104_netmcu/netmcu_test.c + +test/host/iec104_netmcu/netmcu_test.c + + + +test/host/iec104_netmcu/netmcu_test.c->App/iec60870/104/IEC104_Net.h + + + + + +test/host/iec104_netmcu/netmcu_test.c->test/host/iec104_netmcu/net_socket_fake.h + + + + + +test/host/iec104_netmcu/netmcu_test.c->外部/系统头文件 + + + + + +test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c + +test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c + + + +test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c->App/iec60870/104/IEC104_Net.h + + + + + +test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c->Drivers/BSP/NET/net_socket.h + + + + + +test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c->外部/系统头文件 + + + + + +test/host/iec104_netmcu/stub/FreeRTOS.h + +test/host/iec104_netmcu/stub/FreeRTOS.h + + + +test/host/net_socket/stub/FreeRTOS.h + +test/host/net_socket/stub/FreeRTOS.h + + + +test/host/iec104_netmcu/stub/FreeRTOS.h->test/host/net_socket/stub/FreeRTOS.h + + + + + +test/host/iec104_netmcu/stub/cmsis_os2.h + +test/host/iec104_netmcu/stub/cmsis_os2.h + + + +test/host/iec104_netmcu/stub/cmsis_os2.h->外部/系统头文件 + + + + + +test/host/iec104_netmcu/stub/task.h + +test/host/iec104_netmcu/stub/task.h + + + +test/host/net_socket/stub/task.h + +test/host/net_socket/stub/task.h + + + +test/host/iec104_netmcu/stub/task.h->test/host/net_socket/stub/task.h + + + + + +test/host/iec104_netmcu/stub_iec104_netmcu.c + +test/host/iec104_netmcu/stub_iec104_netmcu.c + + + +test/host/iec104_netmcu/stub_iec104_netmcu.c->test/host/iec104_netmcu/net_socket_fake.h + + + + + +test/host/iec104_netmcu/stub_iec104_netmcu.c->test/host/iec104_netmcu/stub_iec104_netmcu.h + + + + + +test/host/iec104_netmcu/stub_iec104_netmcu.c->外部/系统头文件 + + + + + +test/host/iec104_netmcu/stub_iec104_netmcu.h->App/iec60870/104/IEC104_Net.h + + + + + +test/host/iec104_serv/iec104_serv_test.c + +test/host/iec104_serv/iec104_serv_test.c + + + +test/host/iec104_serv/iec104_serv_test.c->App/algo/adc_cal.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->App/algo/meas.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->App/algo/prot_set.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->App/algo/run_par.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->App/app/sys_events.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->App/cfg/cfg_file.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->App/iec60870/104/iec104_comm.c + + + + + +test/host/iec104_serv/iec104_serv_test.c->App/iec60870/104/iec104_core.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->App/iec60870/104/iec104_net_mcu.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->App/iec60870/104/iec104_source.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->App/task/iec104_serv.c + + + + + +test/host/iec104_serv/iec104_serv_test.c->App/util/ioboard_di.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->App/util/task_watchdog.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->Drivers/BSP/NET/net_socket.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->Drivers/BSP/dbg_log.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h + + + + + +test/host/iec104_serv/iec104_serv_test.c->外部/系统头文件 + + + + + +test/host/iec104_serv/stub/cmsis_os2.h + +test/host/iec104_serv/stub/cmsis_os2.h + + + +test/host/iec104_serv/stub/cmsis_os2.h->外部/系统头文件 + + + + + +test/host/iec104_serv/stub/dbg_log.h + +test/host/iec104_serv/stub/dbg_log.h + + + +test/host/iec104_serv/stub/iec104_comm.h + +test/host/iec104_serv/stub/iec104_comm.h + + + +test/host/iec104_serv/stub/iec104_comm.h->外部/系统头文件 + + + + + +test/host/iec104_serv/stub/net_socket.h + +test/host/iec104_serv/stub/net_socket.h + + + +test/host/iec104_serv/stub/net_socket.h->外部/系统头文件 + + + + + +test/host/iec104_serv/stub/sys_events.h + +test/host/iec104_serv/stub/sys_events.h + + + +test/host/iec104_serv/stub/sys_events.h->test/host/iec104_serv/stub/cmsis_os2.h + + + + + +test/host/ioboard/ioboard_test.c + +test/host/ioboard/ioboard_test.c + + + +test/host/ioboard/ioboard_test.c->App/util/ioboard_di.c + + + + + +test/host/ioboard/ioboard_test.c->App/util/ioboard_di.h + + + + + +test/host/ioboard/ioboard_test.c->Drivers/BSP/IOBOARD/ioboard.h + + + + + +test/host/ioboard/ioboard_test.c->Drivers/BSP/IOBOARD/ioboard_bits.c + + + + + +test/host/ioboard/ioboard_test.c->Drivers/BSP/IOBOARD/ioboard_bits.h + + + + + +test/host/ioboard/ioboard_test.c->Drivers/BSP/bsp_err.h + + + + + +test/host/ioboard/ioboard_test.c->外部/系统头文件 + + + + + +test/host/lftpd/lftpd_test.c + +test/host/lftpd/lftpd_test.c + + + +test/host/lftpd/lftpd_test.c->Drivers/BSP/NET/lftpd/lftpd.c + + + + + +test/host/lftpd/lftpd_test.c->Drivers/BSP/NET/lftpd/lftpd.h + + + + + +test/host/lftpd/lftpd_test.c->Drivers/BSP/NET/lftpd/lftpd_auth.h + + + + + +test/host/lftpd/lftpd_test.c->Drivers/BSP/NET/lftpd/lftpd_string.c + + + + + +test/host/lftpd/lftpd_test.c->Drivers/BSP/NETCFG/ftp_cfg.h + + + + + +test/host/lftpd/lftpd_test.c->Lib/FatFs/ff.h + + + + + +test/host/lftpd/lftpd_test.c->外部/系统头文件 + + + + + +test/host/lftpd/stub/FreeRTOS.h + +test/host/lftpd/stub/FreeRTOS.h + + + +test/host/lftpd/stub/FreeRTOS.h->外部/系统头文件 + + + + + +test/host/lftpd/stub/dbg_log.h + +test/host/lftpd/stub/dbg_log.h + + + +test/host/lftpd/stub/net_socket.h + +test/host/lftpd/stub/net_socket.h + + + +test/host/lftpd/stub/net_socket.h->Drivers/BSP/NET/net_types.h + + + + + +test/host/lftpd/stub/net_socket.h->test/host/lftpd/stub/FreeRTOS.h + + + + + +test/host/lftpd/stub/task.h + +test/host/lftpd/stub/task.h + + + +test/host/lftpd/stub/net_socket.h->test/host/lftpd/stub/task.h + + + + + +test/host/lftpd/stub/task.h->test/host/lftpd/stub/FreeRTOS.h + + + + + +test/host/lftpd_inet/lftpd_inet_test.c + +test/host/lftpd_inet/lftpd_inet_test.c + + + +test/host/lftpd_inet/lftpd_inet_test.c->Drivers/BSP/NET/lftpd/lftpd_inet.c + + + + + +test/host/lftpd_inet/lftpd_inet_test.c->Drivers/BSP/NET/lftpd/private/lftpd_inet.h + + + + + +test/host/lftpd_inet/lftpd_inet_test.c->Drivers/BSP/NET/net_socket.h + + + + + +test/host/lftpd_inet/lftpd_inet_test.c->Drivers/BSP/NET/net_types.h + + + + + +test/host/lftpd_inet/lftpd_inet_test.c->外部/系统头文件 + + + + + +test/host/lftpd_inet/stub/FreeRTOS.h + +test/host/lftpd_inet/stub/FreeRTOS.h + + + +test/host/lftpd_inet/stub/FreeRTOS.h->外部/系统头文件 + + + + + +test/host/lftpd_inet/stub/dbg_log.h + +test/host/lftpd_inet/stub/dbg_log.h + + + +test/host/lftpd_inet/stub/net_socket.h + +test/host/lftpd_inet/stub/net_socket.h + + + +test/host/lftpd_inet/stub/net_socket.h->Drivers/BSP/NET/net_types.h + + + + + +test/host/lftpd_inet/stub/net_socket.h->test/host/lftpd_inet/stub/FreeRTOS.h + + + + + +test/host/lftpd_inet/stub/task.h + +test/host/lftpd_inet/stub/task.h + + + +test/host/lftpd_inet/stub/net_socket.h->test/host/lftpd_inet/stub/task.h + + + + + +test/host/lftpd_inet/stub/task.h->test/host/lftpd_inet/stub/FreeRTOS.h + + + + + +test/host/lftpd_io/lftpd_io_test.c + +test/host/lftpd_io/lftpd_io_test.c + + + +test/host/lftpd_io/lftpd_io_test.c->App/fs/vol_lock.h + + + + + +test/host/lftpd_io/lftpd_io_test.c->Drivers/BSP/NET/lftpd/lftpd.h + + + + + +test/host/lftpd_io/lftpd_io_test.c->Drivers/BSP/NET/lftpd/lftpd_io.c + + + + + +test/host/lftpd_io/lftpd_io_test.c->Drivers/BSP/NET/lftpd/lftpd_string.c + + + + + +test/host/lftpd_io/lftpd_io_test.c->Drivers/BSP/NET/lftpd/private/lftpd_io.h + + + + + +test/host/lftpd_io/lftpd_io_test.c->Drivers/BSP/NET/lftpd/private/lftpd_string.h + + + + + +test/host/lftpd_io/lftpd_io_test.c->Lib/FatFs/ff.h + + + + + +test/host/lftpd_io/lftpd_io_test.c->外部/系统头文件 + + + + + +test/host/lftpd_io/stub/FreeRTOS.h + +test/host/lftpd_io/stub/FreeRTOS.h + + + +test/host/lftpd_io/stub/FreeRTOS.h->外部/系统头文件 + + + + + +test/host/lftpd_io/stub/dbg_log.h + +test/host/lftpd_io/stub/dbg_log.h + + + +test/host/meas/meas_test.c + +test/host/meas/meas_test.c + + + +test/host/meas/meas_test.c->App/algo/meas.c + + + + + +test/host/meas/meas_test.c->App/algo/phasor.c + + + + + +test/host/meas/meas_test.c->App/algo/sample_ring.c + + + + + +test/host/meas/meas_test.c->外部/系统头文件 + + + + + +test/host/nand_port/nand_port_test.c + +test/host/nand_port/nand_port_test.c + + + +test/host/nand_port/nand_port_test.c->Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h + + + + + +test/host/nand_port/nand_port_test.c->Drivers/BSP/GD5F2GQ5UE/nand_ftl.c + + + + + +test/host/nand_port/nand_port_test.c->Drivers/BSP/dbg_log.h + + + + + +test/host/nand_port/nand_port_test.c->Lib/dhara/journal.c + + + + + +test/host/nand_port/nand_port_test.c->Lib/dhara/map.c + + + + + +test/host/nand_port/nand_port_test.c->外部/系统头文件 + + + + + +test/host/nand_port/stub/dbg_log.h + +test/host/nand_port/stub/dbg_log.h + + + +test/host/nand_port/stub/dbg_log.h->外部/系统头文件 + + + + + +test/host/nand_port/stub/gd5f2gq5ue.h + +test/host/nand_port/stub/gd5f2gq5ue.h + + + +test/host/nand_port/stub/gd5f2gq5ue.h->外部/系统头文件 + + + + + +test/host/net_cfg/net_cfg_test.c + +test/host/net_cfg/net_cfg_test.c + + + +test/host/net_cfg/net_cfg_test.c->App/cfg/cfg_file.h + + + + + +test/host/net_cfg/net_cfg_test.c->Drivers/BSP/NETCFG/net_cfg.c + + + + + +test/host/net_cfg/net_cfg_test.c->Drivers/BSP/NETCFG/net_cfg.h + + + + + +test/host/net_cfg/net_cfg_test.c->Drivers/BSP/NETCFG/sntp_cfg.c + + + + + +test/host/net_cfg/net_cfg_test.c->Drivers/BSP/NETCFG/sntp_cfg.h + + + + + +test/host/net_cfg/net_cfg_test.c->外部/系统头文件 + + + + + +test/host/net_cfg/stub/dbg_log.h + +test/host/net_cfg/stub/dbg_log.h + + + +test/host/net_events/net_events_test.c + +test/host/net_events/net_events_test.c + + + +test/host/net_events/net_events_test.c->Drivers/BSP/CH395F/ch395f.h + + + + + +test/host/net_events/net_events_test.c->Drivers/BSP/NET/net_events.c + + + + + +test/host/net_events/net_events_test.c->Drivers/BSP/NET/net_events.h + + + + + +test/host/net_events/net_events_test.c->Drivers/BSP/NET/net_listener.h + + + + + +test/host/net_events/net_events_test.c->Drivers/BSP/NET/net_pending.h + + + + + +test/host/net_events/net_events_test.c->Drivers/BSP/NET/net_socket.h + + + + + +test/host/net_events/net_events_test.c->外部/系统头文件 + + + + + +test/host/net_events/stub/FreeRTOS.h + +test/host/net_events/stub/FreeRTOS.h + + + +test/host/net_events/stub/FreeRTOS.h->外部/系统头文件 + + + + + +test/host/net_events/stub/ch395f.h + +test/host/net_events/stub/ch395f.h + + + +test/host/net_events/stub/ch395f.h->外部/系统头文件 + + + + + +test/host/net_events/stub/cmsis_os.h + +test/host/net_events/stub/cmsis_os.h + + + +test/host/net_events/stub/cmsis_os.h->外部/系统头文件 + + + + + +test/host/net_events/stub/dbg_log.h + +test/host/net_events/stub/dbg_log.h + + + +test/host/net_events/stub/main.h + +test/host/net_events/stub/main.h + + + +test/host/net_events/stub/main.h->外部/系统头文件 + + + + + +test/host/net_events/stub/net_latency_test.h + +test/host/net_events/stub/net_latency_test.h + + + +test/host/net_events/stub/net_socket.h + +test/host/net_events/stub/net_socket.h + + + +test/host/net_events/stub/net_socket.h->Drivers/BSP/NET/net_types.h + + + + + +test/host/net_events/stub/task.h + +test/host/net_events/stub/task.h + + + +test/host/net_events/stub/task.h->test/host/net_events/stub/FreeRTOS.h + + + + + +test/host/net_events/stub/test_config.h + +test/host/net_events/stub/test_config.h + + + +test/host/net_listener/net_listener_test.c + +test/host/net_listener/net_listener_test.c + + + +test/host/net_listener/net_listener_test.c->Drivers/BSP/CH395F/ch395f.h + + + + + +test/host/net_listener/net_listener_test.c->Drivers/BSP/NET/net_listener.c + + + + + +test/host/net_listener/net_listener_test.c->Drivers/BSP/NET/net_listener.h + + + + + +test/host/net_listener/net_listener_test.c->Drivers/BSP/NET/net_pending.h + + + + + +test/host/net_listener/net_listener_test.c->Drivers/BSP/NET/net_socket.h + + + + + +test/host/net_listener/net_listener_test.c->外部/系统头文件 + + + + + +test/host/net_listener/stub/FreeRTOS.h + +test/host/net_listener/stub/FreeRTOS.h + + + +test/host/net_listener/stub/FreeRTOS.h->外部/系统头文件 + + + + + +test/host/net_listener/stub/ch395f.h + +test/host/net_listener/stub/ch395f.h + + + +test/host/net_listener/stub/ch395f.h->外部/系统头文件 + + + + + +test/host/net_listener/stub/cmsis_os.h + +test/host/net_listener/stub/cmsis_os.h + + + +test/host/net_listener/stub/cmsis_os.h->外部/系统头文件 + + + + + +test/host/net_listener/stub/dbg_log.h + +test/host/net_listener/stub/dbg_log.h + + + +test/host/net_listener/stub/main.h + +test/host/net_listener/stub/main.h + + + +test/host/net_listener/stub/main.h->外部/系统头文件 + + + + + +test/host/net_listener/stub/net_latency_test.h + +test/host/net_listener/stub/net_latency_test.h + + + +test/host/net_listener/stub/net_socket.h + +test/host/net_listener/stub/net_socket.h + + + +test/host/net_listener/stub/net_socket.h->Drivers/BSP/NET/net_types.h + + + + + +test/host/net_listener/stub/task.h + +test/host/net_listener/stub/task.h + + + +test/host/net_listener/stub/test_config.h + +test/host/net_listener/stub/test_config.h + + + +test/host/net_pending/net_pending_test.c + +test/host/net_pending/net_pending_test.c + + + +test/host/net_pending/net_pending_test.c->Drivers/BSP/CH395F/ch395f.h + + + + + +test/host/net_pending/net_pending_test.c->Drivers/BSP/NET/net_listener.h + + + + + +test/host/net_pending/net_pending_test.c->Drivers/BSP/NET/net_pending.c + + + + + +test/host/net_pending/net_pending_test.c->Drivers/BSP/NET/net_pending.h + + + + + +test/host/net_pending/net_pending_test.c->Drivers/BSP/NET/net_socket.h + + + + + +test/host/net_pending/net_pending_test.c->外部/系统头文件 + + + + + +test/host/net_pending/stub/FreeRTOS.h + +test/host/net_pending/stub/FreeRTOS.h + + + +test/host/net_pending/stub/FreeRTOS.h->外部/系统头文件 + + + + + +test/host/net_pending/stub/ch395f.h + +test/host/net_pending/stub/ch395f.h + + + +test/host/net_pending/stub/ch395f.h->外部/系统头文件 + + + + + +test/host/net_pending/stub/dbg_log.h + +test/host/net_pending/stub/dbg_log.h + + + +test/host/net_pending/stub/main.h + +test/host/net_pending/stub/main.h + + + +test/host/net_pending/stub/main.h->外部/系统头文件 + + + + + +test/host/net_pending/stub/net_socket.h + +test/host/net_pending/stub/net_socket.h + + + +test/host/net_pending/stub/net_socket.h->Drivers/BSP/NET/net_types.h + + + + + +test/host/net_pending/stub/task.h + +test/host/net_pending/stub/task.h + + + +test/host/net_pending/stub/task.h->test/host/net_pending/stub/FreeRTOS.h + + + + + +test/host/net_select/net_select_test.c + +test/host/net_select/net_select_test.c + + + +test/host/net_select/net_select_test.c->Drivers/BSP/NET/net_select.c + + + + + +test/host/net_select/net_select_test.c->Drivers/BSP/NET/net_select.h + + + + + +test/host/net_select/net_select_test.c->Drivers/BSP/NET/net_socket.h + + + + + +test/host/net_select/net_select_test.c->外部/系统头文件 + + + + + +test/host/net_select/stub/FreeRTOS.h + +test/host/net_select/stub/FreeRTOS.h + + + +test/host/net_select/stub/FreeRTOS.h->外部/系统头文件 + + + + + +test/host/net_select/stub/ch395f.h + +test/host/net_select/stub/ch395f.h + + + +test/host/net_select/stub/ch395f.h->外部/系统头文件 + + + + + +test/host/net_select/stub/cmsis_os.h + +test/host/net_select/stub/cmsis_os.h + + + +test/host/net_select/stub/cmsis_os.h->外部/系统头文件 + + + + + +test/host/net_select/stub/main.h + +test/host/net_select/stub/main.h + + + +test/host/net_select/stub/main.h->外部/系统头文件 + + + + + +test/host/net_select/stub/net_socket.h + +test/host/net_select/stub/net_socket.h + + + +test/host/net_select/stub/net_socket.h->Drivers/BSP/NET/net_types.h + + + + + +test/host/net_select/stub/task.h + +test/host/net_select/stub/task.h + + + +test/host/net_socket/net_socket_test.c + +test/host/net_socket/net_socket_test.c + + + +test/host/net_socket/net_socket_test.c->Drivers/BSP/CH395F/ch395f.h + + + + + +test/host/net_socket/net_socket_test.c->Drivers/BSP/NET/net_events.h + + + + + +test/host/net_socket/net_socket_test.c->Drivers/BSP/NET/net_listener.h + + + + + +test/host/net_socket/net_socket_test.c->Drivers/BSP/NET/net_pending.h + + + + + +test/host/net_socket/net_socket_test.c->Drivers/BSP/NET/net_socket.c + + + + + +test/host/net_socket/net_socket_test.c->Drivers/BSP/NET/net_socket.h + + + + + +test/host/net_socket/net_socket_test.c->Drivers/BSP/NET/net_types.h + + + + + +test/host/net_socket/net_socket_test.c->Drivers/BSP/NET/net_udp.c + + + + + +test/host/net_socket/ns_peers.c + +test/host/net_socket/ns_peers.c + + + +test/host/net_socket/net_socket_test.c->test/host/net_socket/ns_peers.c + + + + + +test/host/net_socket/ns_rtos.c + +test/host/net_socket/ns_rtos.c + + + +test/host/net_socket/net_socket_test.c->test/host/net_socket/ns_rtos.c + + + + + +test/host/net_socket/ns_s3_msg.c + +test/host/net_socket/ns_s3_msg.c + + + +test/host/net_socket/net_socket_test.c->test/host/net_socket/ns_s3_msg.c + + + + + +test/host/net_socket/ns_s4_state.c + +test/host/net_socket/ns_s4_state.c + + + +test/host/net_socket/net_socket_test.c->test/host/net_socket/ns_s4_state.c + + + + + +test/host/net_socket/ns_s5_io.c + +test/host/net_socket/ns_s5_io.c + + + +test/host/net_socket/net_socket_test.c->test/host/net_socket/ns_s5_io.c + + + + + +test/host/net_socket/ns_s6_edges.c + +test/host/net_socket/ns_s6_edges.c + + + +test/host/net_socket/net_socket_test.c->test/host/net_socket/ns_s6_edges.c + + + + + +test/host/net_socket/ns_s7_udp.c + +test/host/net_socket/ns_s7_udp.c + + + +test/host/net_socket/net_socket_test.c->test/host/net_socket/ns_s7_udp.c + + + + + +test/host/net_socket/net_socket_test.c->外部/系统头文件 + + + + + +test/host/net_socket/ns_peers.c->Drivers/BSP/NET/net_events.h + + + + + +test/host/net_socket/ns_peers.c->Drivers/BSP/NET/net_listener.h + + + + + +test/host/net_socket/ns_peers.c->Drivers/BSP/NET/net_pending.h + + + + + +test/host/net_socket/ns_peers.c->Drivers/BSP/NET/net_socket.h + + + + + +test/host/net_socket/ns_peers.h + +test/host/net_socket/ns_peers.h + + + +test/host/net_socket/ns_peers.c->test/host/net_socket/ns_peers.h + + + + + +test/host/net_socket/ns_peers.c->外部/系统头文件 + + + + + +test/host/net_socket/ns_peers.h->Drivers/BSP/NET/net_types.h + + + + + +test/host/net_socket/ns_peers.h->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +test/host/net_socket/ns_peers.h->外部/系统头文件 + + + + + +test/host/net_socket/ns_rtos.c->Drivers/BSP/NET/net_socket.h + + + + + +test/host/net_socket/ns_rtos.c->外部/系统头文件 + + + + + +test/host/net_socket/stub/FreeRTOS.h->外部/系统头文件 + + + + + +test/host/net_socket/stub/ch395f.h + +test/host/net_socket/stub/ch395f.h + + + +test/host/net_socket/stub/ch395f.h->外部/系统头文件 + + + + + +test/host/net_socket/stub/cmsis_os.h + +test/host/net_socket/stub/cmsis_os.h + + + +test/host/net_socket/stub/cmsis_os.h->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h + + + + + +test/host/net_socket/stub/dbg_log.h + +test/host/net_socket/stub/dbg_log.h + + + +test/host/net_socket/stub/main.h + +test/host/net_socket/stub/main.h + + + +test/host/net_socket/stub/main.h->外部/系统头文件 + + + + + +test/host/net_socket/stub/net_latency_test.h + +test/host/net_socket/stub/net_latency_test.h + + + +test/host/net_socket/stub/ns_rtos.h + +test/host/net_socket/stub/ns_rtos.h + + + +test/host/net_socket/stub/ns_rtos.h->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h + + + + + +test/host/net_socket/stub/ns_rtos.h->test/host/net_socket/stub/FreeRTOS.h + + + + + +test/host/net_socket/stub/ns_rtos.h->test/host/net_socket/stub/main.h + + + + + +test/host/net_socket/stub/task.h->test/host/net_socket/stub/FreeRTOS.h + + + + + +test/host/net_socket/stub/test_config.h + +test/host/net_socket/stub/test_config.h - + test/host/phasor/phasor_test.c - -test/host/phasor/phasor_test.c + +test/host/phasor/phasor_test.c - + test/host/phasor/phasor_test.c->App/algo/phasor.c - - + + - + test/host/phasor/phasor_test.c->App/algo/sample_ring.c - - + + - + test/host/phasor/phasor_test.c->外部/系统头文件 - - + + + + + +test/host/prot_dim/prot_dim_test.c + +test/host/prot_dim/prot_dim_test.c + + + +test/host/prot_dim/prot_dim_test.c->App/algo/adc_cal.c + + + + + +test/host/prot_dim/prot_dim_test.c->App/algo/adc_cal.h + + + + + +test/host/prot_dim/prot_dim_test.c->App/algo/adc_input.h + + + + + +test/host/prot_dim/prot_dim_test.c->App/algo/freq.c + + + + + +test/host/prot_dim/prot_dim_test.c->App/algo/phasor.c + + + + + +test/host/prot_dim/prot_dim_test.c->App/algo/prot_elm.c + + + + + +test/host/prot_dim/prot_dim_test.c->App/algo/prot_set.c + + + + + +test/host/prot_dim/prot_dim_test.c->App/algo/sample_ring.c + + + + + +test/host/prot_dim/prot_dim_test.c->App/cfg/cfg_file.h + + + + + +test/host/prot_dim/prot_dim_test.c->Drivers/BSP/dbg_log.h + + + + + +test/host/prot_dim/prot_dim_test.c->外部/系统头文件 + + + + + +test/host/prot_dim/stub/dbg_log.h + +test/host/prot_dim/stub/dbg_log.h + + + +test/host/prot_dim/stub/dbg_log.h->外部/系统头文件 + + - + test/host/prot_elm/prot_elm_test.c - -test/host/prot_elm/prot_elm_test.c + +test/host/prot_elm/prot_elm_test.c - + test/host/prot_elm/prot_elm_test.c->App/algo/freq.c - - + + - + test/host/prot_elm/prot_elm_test.c->App/algo/phasor.c - - + + - + test/host/prot_elm/prot_elm_test.c->App/algo/prot_elm.c - - + + - + test/host/prot_elm/prot_elm_test.c->App/algo/prot_set.c - - + + - + test/host/prot_elm/prot_elm_test.c->App/algo/sample_ring.c - - + + - + test/host/prot_elm/prot_elm_test.c->外部/系统头文件 - - + + - + test/host/prot_set/prot_set_test.c - -test/host/prot_set/prot_set_test.c + +test/host/prot_set/prot_set_test.c - + test/host/prot_set/prot_set_test.c->App/algo/prot_set.c - - + + - + test/host/prot_set/prot_set_test.c->外部/系统头文件 - - + + + + + +test/host/prot_set_store/prot_set_store_test.c + +test/host/prot_set_store/prot_set_store_test.c + + + +test/host/prot_set_store/prot_set_store_test.c->App/algo/prot_set.c + + + + + +test/host/prot_set_store/prot_set_store_test.c->App/algo/prot_set.h + + + + + +test/host/prot_set_store/prot_set_store_test.c->App/cfg/cfg_file_store.h + + + + + +test/host/prot_set_store/prot_set_store_test.c->App/cfg/prot_set_store.c + + + + + +test/host/prot_set_store/prot_set_store_test.c->App/cfg/prot_set_store.h + + + + + +test/host/prot_set_store/prot_set_store_test.c->外部/系统头文件 + + + + + +test/host/prot_set_store/stub/dbg_log.h + +test/host/prot_set_store/stub/dbg_log.h + + + +test/host/run_par/run_par_test.c + +test/host/run_par/run_par_test.c + + + +test/host/run_par/run_par_test.c->App/algo/adc_cal.c + + + + + +test/host/run_par/run_par_test.c->App/algo/adc_input.h + + + + + +test/host/run_par/run_par_test.c->App/algo/run_par.c + + + + + +test/host/run_par/run_par_test.c->App/cfg/cfg_file.c + + + + + +test/host/run_par/run_par_test.c->App/cfg/cfg_file_store.h + + + + + +test/host/run_par/run_par_test.c->App/log/sys_log.h + + + + + +test/host/run_par/run_par_test.c->Drivers/BSP/dbg_log.h + + + + + +test/host/run_par/run_par_test.c->外部/系统头文件 + + + + + +test/host/run_par/stub/dbg_log.h + +test/host/run_par/stub/dbg_log.h + + + +test/host/sb_led_map/sb_led_map_test.c + +test/host/sb_led_map/sb_led_map_test.c + + + +test/host/sb_led_map/sb_led_map_test.c->App/algo/sb_led_map.c + + + + + +test/host/sb_led_map/sb_led_map_test.c->App/algo/sb_led_map.h + + + + + +test/host/sb_led_map/sb_led_map_test.c->外部/系统头文件 + + + + + +test/host/sb_link/sb_link_test.c + +test/host/sb_link/sb_link_test.c + + + +test/host/sb_link/sb_link_test.c->Drivers/BSP/ScreenLink/sb_link.c + + + + + +test/host/sb_link/sb_link_test.c->Drivers/BSP/ScreenLink/sb_proto.c + + + + + +test/host/sb_link/sb_link_test.c->外部/系统头文件 + + + + + +test/host/sb_link/stub/dbg_log.h + +test/host/sb_link/stub/dbg_log.h + + + +test/host/sb_link/stub/dbg_log.h->外部/系统头文件 + + + + + +test/host/sb_link/stub/main.h + +test/host/sb_link/stub/main.h + + + +test/host/sb_link/stub/main.h->外部/系统头文件 + + + + + +test/host/sb_proto/sb_proto_test.c + +test/host/sb_proto/sb_proto_test.c + + + +test/host/sb_proto/sb_proto_test.c->Drivers/BSP/ScreenLink/sb_proto.c + + + + + +test/host/sb_proto/sb_proto_test.c->外部/系统头文件 + + - + test/host/sha256/sha256_test.c - -test/host/sha256/sha256_test.c + +test/host/sha256/sha256_test.c - + test/host/sha256/sha256_test.c->App/util/sha256.c - - + + - + test/host/sha256/sha256_test.c->外部/系统头文件 - - + + + + + +test/host/sntp/sntp_test.c + +test/host/sntp/sntp_test.c + + + +test/host/sntp/sntp_test.c->App/app/sys_events.h + + + + + +test/host/sntp/sntp_test.c->App/log/sys_log.h + + + + + +test/host/sntp/sntp_test.c->App/sync/time_sntp.c + + + + + +test/host/sntp/sntp_test.c->App/util/sys_clock.h + + + + + +test/host/sntp/sntp_test.c->Drivers/BSP/NET/net_socket.h + + + + + +test/host/sntp/sntp_test.c->Drivers/BSP/NET/net_types.h + + + + + +test/host/sntp/sntp_test.c->Drivers/BSP/NETCFG/sntp_cfg.c + + + + + +test/host/sntp/sntp_test.c->Drivers/BSP/dbg_log.h + + + + + +test/host/sntp/sntp_test.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h + + + + + +test/host/sntp/sntp_test.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +test/host/sntp/sntp_test.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +test/host/sntp/sntp_test.c->外部/系统头文件 + + + + + +test/host/sntp/stub/FreeRTOS.h + +test/host/sntp/stub/FreeRTOS.h + + + +test/host/sntp/stub/FreeRTOS.h->外部/系统头文件 + + + + + +test/host/sntp/stub/cmsis_os2.h + +test/host/sntp/stub/cmsis_os2.h + + + +test/host/sntp/stub/cmsis_os2.h->外部/系统头文件 + + + + + +test/host/sntp/stub/dbg_log.h + +test/host/sntp/stub/dbg_log.h + + + +test/host/sntp/stub/dbg_log.h->外部/系统头文件 + + + + + +test/host/sntp/stub/net_socket.h + +test/host/sntp/stub/net_socket.h + + + +test/host/sntp/stub/net_types.h + +test/host/sntp/stub/net_types.h + + + +test/host/sntp/stub/net_socket.h->test/host/sntp/stub/net_types.h + + + + + +test/host/sntp/stub/task.h + +test/host/sntp/stub/task.h + + + +test/host/sntp/stub/net_socket.h->test/host/sntp/stub/task.h + + + + + +test/host/sntp/stub/net_types.h->外部/系统头文件 + + + + + +test/host/sntp/stub/sys_clock.h + +test/host/sntp/stub/sys_clock.h + + + +test/host/sntp/stub/sys_clock.h->外部/系统头文件 + + + + + +test/host/sntp/stub/sys_events.h + +test/host/sntp/stub/sys_events.h + + + +test/host/sntp/stub/sys_events.h->test/host/sntp/stub/cmsis_os2.h + + + + + +test/host/sntp/stub/sys_log.h + +test/host/sntp/stub/sys_log.h + + + +test/host/sntp/stub/sys_log.h->外部/系统头文件 + + + + + +test/host/sntp/stub/task.h->test/host/sntp/stub/FreeRTOS.h + + + + + +test/host/sntp/stub/task.h->外部/系统头文件 + + - + test/host/soe/soe_test.c - -test/host/soe/soe_test.c + +test/host/soe/soe_test.c + + + +test/host/soe/soe_test.c->App/iec60870/common/IEC60870_Time.c + + - + test/host/soe/soe_test.c->App/log/soe_rec.c - - - - - -test/host/soe/soe_test.c->App/protocol/iec104/iec104_asdu.c - - + + - + test/host/soe/soe_test.c->外部/系统头文件 - - + + + + + +test/host/soe_store/soe_store_test.c + +test/host/soe_store/soe_store_test.c + + + +test/host/soe_store/soe_store_test.c->App/fs/vol_lock.h + + + + + +test/host/soe_store/soe_store_test.c->App/log/soe_rec.c + + + + + +test/host/soe_store/soe_store_test.c->App/log/soe_rec.h + + + + + +test/host/soe_store/soe_store_test.c->App/log/soe_store.c + + + + + +test/host/soe_store/soe_store_test.c->App/log/soe_store.h + + + + + +test/host/soe_store/soe_store_test.c->App/util/sys_clock.h + + + + + +test/host/soe_store/soe_store_test.c->Drivers/BSP/dbg_log.h + + + + + +test/host/soe_store/soe_store_test.c->Lib/FatFs/ff.h + + + + + +test/host/soe_store/soe_store_test.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +test/host/soe_store/soe_store_test.c->外部/系统头文件 + + + + + +test/host/soe_store/stub/cmsis_os.h + +test/host/soe_store/stub/cmsis_os.h + + + +test/host/soe_store/stub/cmsis_os.h->外部/系统头文件 + + + + + +test/host/soe_store/stub/dbg_log.h + +test/host/soe_store/stub/dbg_log.h + + + +test/host/soe_store/stub/main.h + +test/host/soe_store/stub/main.h + + + +test/host/soe_store/stub/main.h->外部/系统头文件 + + - + test/host/sys_clock/stub/FreeRTOS.h - -test/host/sys_clock/stub/FreeRTOS.h + +test/host/sys_clock/stub/FreeRTOS.h - + test/host/sys_clock/stub/FreeRTOS.h->外部/系统头文件 - - + + - + test/host/sys_clock/stub/dbg_log.h - -test/host/sys_clock/stub/dbg_log.h + +test/host/sys_clock/stub/dbg_log.h - + test/host/sys_clock/stub/dbg_log.h->外部/系统头文件 - - + + - + test/host/sys_clock/stub/main.h - -test/host/sys_clock/stub/main.h + +test/host/sys_clock/stub/main.h - + test/host/sys_clock/stub/main.h->外部/系统头文件 - - + + - + test/host/sys_clock/stub/task.h - -test/host/sys_clock/stub/task.h + +test/host/sys_clock/stub/task.h - + test/host/sys_clock/stub/task.h->test/host/sys_clock/stub/FreeRTOS.h - - + + - + test/host/sys_clock/sys_clock_test.c - -test/host/sys_clock/sys_clock_test.c + +test/host/sys_clock/sys_clock_test.c - + test/host/sys_clock/sys_clock_test.c->App/util/sys_clock.c - - + + - + test/host/sys_clock/sys_clock_test.c->App/util/sys_clock.h - - + + - + test/host/sys_clock/sys_clock_test.c->Drivers/BSP/SD2506/sd2506.h - - + + - + test/host/sys_clock/sys_clock_test.c->Drivers/BSP/dbg_log.h - - + + - + test/host/sys_clock/sys_clock_test.c->Inc/main.h - - + + - + test/host/sys_clock/sys_clock_test.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - + + - + test/host/sys_clock/sys_clock_test.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - + + - + test/host/sys_clock/sys_clock_test.c->外部/系统头文件 - - + + + + + +test/host/sys_log_mcu/stub/cmsis_os.h + +test/host/sys_log_mcu/stub/cmsis_os.h + + + +test/host/sys_log_mcu/stub/cmsis_os.h->外部/系统头文件 + + + + + +test/host/sys_log_mcu/stub/dbg_log.h + +test/host/sys_log_mcu/stub/dbg_log.h + + + +test/host/sys_log_mcu/stub/main.h + +test/host/sys_log_mcu/stub/main.h + + + +test/host/sys_log_mcu/stub/main.h->外部/系统头文件 + + + + + +test/host/sys_log_mcu/sys_log_mcu_test.c + +test/host/sys_log_mcu/sys_log_mcu_test.c + + + +test/host/sys_log_mcu/sys_log_mcu_test.c->App/fs/vol_lock.h + + + + + +test/host/sys_log_mcu/sys_log_mcu_test.c->App/log/soe_store.h + + + + + +test/host/sys_log_mcu/sys_log_mcu_test.c->App/log/sys_log.h + + + + + +test/host/sys_log_mcu/sys_log_mcu_test.c->App/log/sys_log_mcu.c + + + + + +test/host/sys_log_mcu/sys_log_mcu_test.c->App/util/sys_clock.h + + + + + +test/host/sys_log_mcu/sys_log_mcu_test.c->Drivers/BSP/dbg_log.h + + + + + +test/host/sys_log_mcu/sys_log_mcu_test.c->Lib/FatFs/ff.h + + + + + +test/host/sys_log_mcu/sys_log_mcu_test.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +test/host/sys_log_mcu/sys_log_mcu_test.c->外部/系统头文件 + + + + + +test/host/task_prof/stub/main.h + +test/host/task_prof/stub/main.h + + + +test/host/task_prof/stub/main.h->外部/系统头文件 + + + + + +test/host/task_prof/task_prof_test.c + +test/host/task_prof/task_prof_test.c + + + +test/host/task_prof/task_prof_test.c->App/log/console_log.h + + + + + +test/host/task_prof/task_prof_test.c->App/util/task_prof.c + + + + + +test/host/task_prof/task_prof_test.c->App/util/task_prof.h + + + + + +test/host/task_prof/task_prof_test.c->外部/系统头文件 + + - + test/host/time_sync/stub/FreeRTOS.h - -test/host/time_sync/stub/FreeRTOS.h + +test/host/time_sync/stub/FreeRTOS.h - + test/host/time_sync/stub/FreeRTOS.h->外部/系统头文件 - - + + - + test/host/time_sync/stub/cmsis_os2.h - -test/host/time_sync/stub/cmsis_os2.h + +test/host/time_sync/stub/cmsis_os2.h - + test/host/time_sync/stub/cmsis_os2.h->外部/系统头文件 - - - - - -test/host/time_sync/stub/dbg_log.h - -test/host/time_sync/stub/dbg_log.h - - - -test/host/time_sync/stub/dbg_log.h->外部/系统头文件 - - + + - + test/host/time_sync/stub/net_socket.h - -test/host/time_sync/stub/net_socket.h + +test/host/time_sync/stub/net_socket.h - + test/host/time_sync/stub/net_socket.h->test/host/time_sync/stub/FreeRTOS.h - - + + - + test/host/time_sync/stub/task.h - -test/host/time_sync/stub/task.h + +test/host/time_sync/stub/task.h - + test/host/time_sync/stub/net_socket.h->test/host/time_sync/stub/task.h - - + + - + test/host/time_sync/stub/net_socket.h->外部/系统头文件 - - - - - -test/host/time_sync/stub/sys_clock.h - -test/host/time_sync/stub/sys_clock.h - - - -test/host/time_sync/stub/sys_clock.h->外部/系统头文件 - - + + - + test/host/time_sync/stub/sys_events.h - -test/host/time_sync/stub/sys_events.h + +test/host/time_sync/stub/sys_events.h - + test/host/time_sync/stub/sys_events.h->test/host/time_sync/stub/cmsis_os2.h - - + + - + test/host/time_sync/stub/task.h->test/host/time_sync/stub/FreeRTOS.h - - + + - + test/host/time_sync/time_sync_test.c - -test/host/time_sync/time_sync_test.c + +test/host/time_sync/time_sync_test.c - + test/host/time_sync/time_sync_test.c->App/app/sys_events.h - - + + + + + +test/host/time_sync/time_sync_test.c->App/sync/time_sntp.h + + - + test/host/time_sync/time_sync_test.c->App/sync/time_sync.c - - - - - -test/host/time_sync/time_sync_test.c->App/util/sys_clock.h - - + + - + test/host/time_sync/time_sync_test.c->App/util/task_watchdog.h - - + + - + test/host/time_sync/time_sync_test.c->Drivers/BSP/NET/net_socket.h - - + + - + test/host/time_sync/time_sync_test.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h - - + + - + test/host/time_sync/time_sync_test.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h - - + + - + test/host/time_sync/time_sync_test.c->外部/系统头文件 - - + + + + + +test/host/ui_data/ui_data_test.c + +test/host/ui_data/ui_data_test.c + + + +test/host/ui_data/ui_data_test.c->App/algo/adc_input.h + + + + + +test/host/ui_data/ui_data_test.c->App/algo/prot_elm.h + + + + + +test/host/ui_data/ui_data_test.c->App/algo/prot_set.h + + + + + +test/host/ui_data/ui_data_test.c->App/log/soe_rec.h + + + + + +test/host/ui_data/ui_data_test.c->App/log/sys_log.h + + + + + +test/host/ui_data/ui_data_test.c->Drivers/BSP/UI/ui_data.c + + + + + +test/host/ui_data/ui_data_test.c->Drivers/BSP/UI/ui_w_records.h + + + + + +test/host/ui_data/ui_data_test.c->Drivers/BSP/UI/ui_w_soe.c + + + + + +test/host/ui_data/ui_data_test.c->外部/系统头文件 + + + + + +test/host/ui_sink/stub/dbg_log.h + +test/host/ui_sink/stub/dbg_log.h + + + +test/host/ui_sink/stub/lvgl.h + +test/host/ui_sink/stub/lvgl.h + + + +test/host/ui_sink/stub/lvgl.h->外部/系统头文件 + + + + + +test/host/ui_sink/stub/net_latency_test.h + +test/host/ui_sink/stub/net_latency_test.h + + + +test/host/ui_sink/stub/net_socket.h + +test/host/ui_sink/stub/net_socket.h + + + +test/host/ui_sink/stub/net_socket.h->外部/系统头文件 + + + + + +test/host/ui_sink/stub/net_types.h + +test/host/ui_sink/stub/net_types.h + + + +test/host/ui_sink/stub/test_config.h + +test/host/ui_sink/stub/test_config.h + + + +test/host/ui_sink/stub/ui_port.h + +test/host/ui_sink/stub/ui_port.h + + + +test/host/ui_sink/ui_sink_test.c + +test/host/ui_sink/ui_sink_test.c + + + +test/host/ui_sink/ui_sink_test.c->Drivers/BSP/NET/net_socket.h + + + + + +test/host/ui_sink/ui_sink_test.c->Drivers/BSP/UI/ui_content_page.h + + + + + +test/host/ui_sink/ui_sink_test.c->Drivers/BSP/UI/ui_menu.h + + + + + +test/host/ui_sink/ui_sink_test.c->Drivers/BSP/UI/ui_net_sink.c + + + + + +test/host/ui_sink/ui_sink_test.c->Drivers/BSP/UI/ui_net_sink.h + + + + + +test/host/ui_sink/ui_sink_test.c->Drivers/BSP/UI/ui_net_sink_backend.h + + + + + +test/host/ui_sink/ui_sink_test.c->Drivers/BSP/UI/ui_page_registry.h + + + + + +test/host/ui_sink/ui_sink_test.c->Drivers/BSP/UI/ui_standby.h + + + + + +test/host/ui_sink/ui_sink_test.c->外部/系统头文件 + + + + + +test/host/vol_idle_sync/stub/FreeRTOS.h + +test/host/vol_idle_sync/stub/FreeRTOS.h + + + +test/host/vol_idle_sync/stub/FreeRTOS.h->外部/系统头文件 + + + + + +test/host/vol_idle_sync/stub/cmsis_os.h + +test/host/vol_idle_sync/stub/cmsis_os.h + + + +test/host/vol_idle_sync/stub/cmsis_os2.h + +test/host/vol_idle_sync/stub/cmsis_os2.h + + + +test/host/vol_idle_sync/stub/cmsis_os.h->test/host/vol_idle_sync/stub/cmsis_os2.h + + + + + +test/host/vol_idle_sync/stub/cmsis_os2.h->外部/系统头文件 + + + + + +test/host/vol_idle_sync/stub/dbg_log.h + +test/host/vol_idle_sync/stub/dbg_log.h + + + +test/host/vol_idle_sync/stub/task.h + +test/host/vol_idle_sync/stub/task.h + + + +test/host/vol_idle_sync/stub/task.h->test/host/vol_idle_sync/stub/FreeRTOS.h + + + + + +test/host/vol_idle_sync/stub/test_config.h + +test/host/vol_idle_sync/stub/test_config.h + + + +test/host/vol_idle_sync/vol_idle_sync_test.c + +test/host/vol_idle_sync/vol_idle_sync_test.c + + + +test/host/vol_idle_sync/vol_idle_sync_test.c->App/app/sys_events.h + + + + + +test/host/vol_idle_sync/vol_idle_sync_test.c->App/fs/vol_idle_sync.c + + + + + +test/host/vol_idle_sync/vol_idle_sync_test.c->Drivers/BSP/dbg_log.h + + + + + +test/host/vol_idle_sync/vol_idle_sync_test.c->Lib/FatFs/diskio.h + + + + + +test/host/vol_idle_sync/vol_idle_sync_test.c->Lib/FatFs/ff.h + + + + + +test/host/vol_idle_sync/vol_idle_sync_test.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h + + + + + +test/host/vol_idle_sync/vol_idle_sync_test.c->Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h + + + + + +test/host/vol_idle_sync/vol_idle_sync_test.c->Middlewares/Third_Party/FreeRTOS/Source/include/task.h + + + + + +test/host/vol_idle_sync/vol_idle_sync_test.c->test/board/test_config.h + + + + + +test/host/vol_idle_sync/vol_idle_sync_test.c->外部/系统头文件 + + - + test/host/vol_lock/stub/cmsis_os.h - -test/host/vol_lock/stub/cmsis_os.h + +test/host/vol_lock/stub/cmsis_os.h - + test/host/vol_lock/stub/cmsis_os.h->外部/系统头文件 - - + + - + test/host/vol_lock/vol_lock_test.c - -test/host/vol_lock/vol_lock_test.c + +test/host/vol_lock/vol_lock_test.c - + test/host/vol_lock/vol_lock_test.c->App/fs/vol_lock.c - - + + - + test/host/vol_lock/vol_lock_test.c->Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h - - + + - + test/host/vol_lock/vol_lock_test.c->外部/系统头文件 - - + + - + test/host/watchdog/stub/dbg_log.h - -test/host/watchdog/stub/dbg_log.h + +test/host/watchdog/stub/dbg_log.h - + test/host/watchdog/stub/dbg_log.h->外部/系统头文件 - - + + - + test/host/watchdog/stub/iwdg.h - -test/host/watchdog/stub/iwdg.h + +test/host/watchdog/stub/iwdg.h - + test/host/watchdog/stub/iwdg.h->外部/系统头文件 - - + + - + test/host/watchdog/stub/main.h - -test/host/watchdog/stub/main.h + +test/host/watchdog/stub/main.h - + test/host/watchdog/stub/main.h->外部/系统头文件 - - + + - + test/host/watchdog/watchdog_test.c - -test/host/watchdog/watchdog_test.c + +test/host/watchdog/watchdog_test.c - + test/host/watchdog/watchdog_test.c->App/util/task_watchdog.c - - + + - + test/host/watchdog/watchdog_test.c->Drivers/BSP/dbg_log.h - - + + - + test/host/watchdog/watchdog_test.c->Inc/iwdg.h - - + + - + test/host/watchdog/watchdog_test.c->Inc/main.h - - + + - + test/host/watchdog/watchdog_test.c->外部/系统头文件 - - + + + + + +test/host/wave_ring/wave_ring_test.c + +test/host/wave_ring/wave_ring_test.c + + + +test/host/wave_ring/wave_ring_test.c->App/algo/wave_ring.c + + + + + +test/host/wave_ring/wave_ring_test.c->App/algo/wave_store.c + + + + + +test/host/wave_ring/wave_ring_test.c->外部/系统头文件 + + + + + +test/host/wave_store/wave_store_test.c + +test/host/wave_store/wave_store_test.c + + + +test/host/wave_store/wave_store_test.c->App/algo/wave_store.c + + + + + +test/host/wave_store/wave_store_test.c->外部/系统头文件 + + + + + +test/host/wave_trig/wave_trig_test.c + +test/host/wave_trig/wave_trig_test.c + + + +test/host/wave_trig/wave_trig_test.c->App/algo/wave_ring.c + + + + + +test/host/wave_trig/wave_trig_test.c->App/algo/wave_ring.h + + + + + +test/host/wave_trig/wave_trig_test.c->App/algo/wave_store.c + + + + + +test/host/wave_trig/wave_trig_test.c->外部/系统头文件 + + diff --git a/docs/images/引用关系图_模块.dot b/docs/images/引用关系图_模块.dot index 4a9f0124..fc38490f 100644 --- a/docs/images/引用关系图_模块.dot +++ b/docs/images/引用关系图_模块.dot @@ -28,19 +28,23 @@ digraph refgraph_module { "test" [fillcolor="#dbeafe", color="#1d4ed8"]; "其他(第三方)" [fillcolor="#f3f4f6", color="#9ca3af"]; "外部/系统头文件" [shape=ellipse, fillcolor="#fef3c7", color="#d97706"]; - "App" -> "App/log" [color="#2563eb", penwidth=1.2, label="×2"]; - "App" -> "App/util" [color="#2563eb", penwidth=1.2, label="×4"]; - "App" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×4"]; + "App" -> "App/log" [color="#2563eb", penwidth=1.2, label="×3"]; + "App" -> "App/task" [color="#2563eb", penwidth=1.2, label="×1"]; + "App" -> "App/util" [color="#2563eb", penwidth=1.2, label="×8"]; + "App" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×10"]; "App" -> "BSP/GD5F2GQ5UE" [color="#2563eb", penwidth=1.2, label="×1"]; - "App" -> "BSP/NET" [color="#2563eb", penwidth=1.2, label="×1"]; + "App" -> "BSP/NET" [color="#2563eb", penwidth=1.2, label="×3"]; + "App" -> "BSP/NETCFG" [color="#2563eb", penwidth=1.2, label="×2"]; "App" -> "BSP/RS485" [color="#2563eb", penwidth=1.2, label="×1"]; "App" -> "BSP/SD2506" [color="#2563eb", penwidth=1.2, label="×1"]; "App" -> "BSP/TPAFE5160" [color="#2563eb", penwidth=1.2, label="×2"]; - "App" -> "FatFs" [color="#2563eb", penwidth=1.2, label="×1"]; - "App" -> "FreeRTOS" [color="#2563eb", penwidth=1.2, label="×3"]; - "App" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×5"]; - "App" -> "test" [color="#2563eb", penwidth=1.2, label="×1"]; - "App" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×28"]; + "App" -> "BSP/UI" [color="#2563eb", penwidth=1.2, label="×2"]; + "App" -> "FatFs" [color="#2563eb", penwidth=1.2, label="×3"]; + "App" -> "FreeRTOS" [color="#2563eb", penwidth=1.2, label="×7"]; + "App" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×6"]; + "App" -> "test" [color="#2563eb", penwidth=1.2, label="×2"]; + "App" -> "其他(第三方)" [color="#2563eb", penwidth=1.2, label="×1"]; + "App" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×83"]; "App/log" -> "App" [color="#2563eb", penwidth=1.2, label="×3"]; "App/log" -> "App/util" [color="#2563eb", penwidth=1.2, label="×2"]; "App/log" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×2"]; @@ -48,64 +52,69 @@ digraph refgraph_module { "App/log" -> "FreeRTOS" [color="#2563eb", penwidth=1.2, label="×5"]; "App/log" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×1"]; "App/log" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×8"]; - "App/task" -> "App" [color="#2563eb", penwidth=1.2, label="×18"]; - "App/task" -> "App/log" [color="#2563eb", penwidth=1.2, label="×6"]; - "App/task" -> "App/util" [color="#2563eb", penwidth=1.2, label="×12"]; - "App/task" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×7"]; + "App/task" -> "App" [color="#2563eb", penwidth=1.2, label="×42"]; + "App/task" -> "App/log" [color="#2563eb", penwidth=1.2, label="×9"]; + "App/task" -> "App/util" [color="#2563eb", penwidth=1.2, label="×14"]; + "App/task" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×10"]; "App/task" -> "BSP/CH395F" [color="#2563eb", penwidth=1.2, label="×1"]; "App/task" -> "BSP/GD5F2GQ5UE" [color="#2563eb", penwidth=1.2, label="×1"]; "App/task" -> "BSP/NET" [color="#2563eb", penwidth=1.2, label="×3"]; "App/task" -> "BSP/NETCFG" [color="#2563eb", penwidth=1.2, label="×2"]; "App/task" -> "BSP/RS485" [color="#2563eb", penwidth=1.2, label="×1"]; - "App/task" -> "BSP/TPAFE5160" [color="#2563eb", penwidth=1.2, label="×1"]; - "App/task" -> "BSP/UI" [color="#2563eb", penwidth=1.2, label="×4"]; - "App/task" -> "FatFs" [color="#2563eb", penwidth=1.2, label="×1"]; - "App/task" -> "FreeRTOS" [color="#2563eb", penwidth=1.2, label="×9"]; + "App/task" -> "BSP/TPAFE5160" [color="#2563eb", penwidth=1.2, label="×2"]; + "App/task" -> "BSP/UI" [color="#2563eb", penwidth=1.2, label="×8"]; + "App/task" -> "FatFs" [color="#2563eb", penwidth=1.2, label="×2"]; + "App/task" -> "FreeRTOS" [color="#2563eb", penwidth=1.2, label="×10"]; "App/task" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×1"]; "App/task" -> "test" [color="#2563eb", penwidth=1.2, label="×4"]; "App/task" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×3"]; + "App/util" -> "App" [color="#2563eb", penwidth=1.2, label="×1"]; "App/util" -> "App/log" [color="#2563eb", penwidth=1.2, label="×3"]; "App/util" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×2"]; - "App/util" -> "BSP/SD2506" [color="#2563eb", penwidth=1.2, label="×1"]; + "App/util" -> "BSP/SD2506" [color="#2563eb", penwidth=1.2, label="×2"]; "App/util" -> "FreeRTOS" [color="#2563eb", penwidth=1.2, label="×4"]; - "App/util" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×4"]; + "App/util" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×5"]; "App/util" -> "lftpd" [color="#2563eb", penwidth=1.2, label="×1"]; - "App/util" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×8"]; + "App/util" -> "test" [color="#2563eb", penwidth=1.2, label="×1"]; + "App/util" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×11"]; "BSP(公共)" -> "App/log" [color="#2563eb", penwidth=1.2, label="×1"]; "BSP(公共)" -> "App/util" [color="#2563eb", penwidth=1.2, label="×1"]; - "BSP(公共)" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×1"]; + "BSP(公共)" -> "FreeRTOS" [color="#2563eb", penwidth=1.2, label="×2"]; + "BSP(公共)" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×2"]; + "BSP(公共)" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×9"]; "BSP/CH395F" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×1"]; + "BSP/CH395F" -> "BSP/GD5F2GQ5UE" [color="#2563eb", penwidth=1.2, label="×1"]; "BSP/CH395F" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×3"]; "BSP/CH395F" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×1"]; - "BSP/GD5F2GQ5UE" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×2"]; + "BSP/GD5F2GQ5UE" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×3"]; "BSP/GD5F2GQ5UE" -> "FatFs" [color="#2563eb", penwidth=1.2, label="×2"]; - "BSP/GD5F2GQ5UE" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×1"]; + "BSP/GD5F2GQ5UE" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×2"]; "BSP/GD5F2GQ5UE" -> "dhara" [color="#2563eb", penwidth=1.2, label="×2"]; "BSP/GD5F2GQ5UE" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×4"]; - "BSP/NET" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×4"]; - "BSP/NET" -> "BSP/CH395F" [color="#2563eb", penwidth=1.2, label="×6"]; - "BSP/NET" -> "FreeRTOS" [color="#2563eb", penwidth=1.2, label="×18"]; - "BSP/NET" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×5"]; + "BSP/NET" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×6"]; + "BSP/NET" -> "BSP/CH395F" [color="#2563eb", penwidth=1.2, label="×7"]; + "BSP/NET" -> "FreeRTOS" [color="#2563eb", penwidth=1.2, label="×23"]; + "BSP/NET" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×6"]; "BSP/NET" -> "test" [color="#2563eb", penwidth=1.2, label="×6"]; - "BSP/NET" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×7"]; + "BSP/NET" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×9"]; "BSP/NETCFG" -> "App" [color="#2563eb", penwidth=1.2, label="×2"]; "BSP/NETCFG" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×1"]; - "BSP/NETCFG" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×4"]; + "BSP/NETCFG" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×6"]; + "BSP/RS485" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×2"]; "BSP/RS485" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×1"]; - "BSP/SD2506" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×1"]; + "BSP/SD2506" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×2"]; "BSP/SD2506" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×2"]; "BSP/SD2506" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×1"]; - "BSP/TPAFE5160" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×1"]; + "BSP/TPAFE5160" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×2"]; "BSP/TPAFE5160" -> "FreeRTOS" [color="#2563eb", penwidth=1.2, label="×2"]; "BSP/TPAFE5160" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×2"]; "BSP/TPAFE5160" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×1"]; - "BSP/UI" -> "App/log" [color="#2563eb", penwidth=1.2, label="×2"]; "BSP/UI" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×6"]; "BSP/UI" -> "BSP/NET" [color="#2563eb", penwidth=1.2, label="×2"]; - "BSP/UI" -> "BSP/NETCFG" [color="#2563eb", penwidth=1.2, label="×1"]; - "BSP/UI" -> "LVGL" [color="#2563eb", penwidth=1.2, label="×9"]; + "BSP/UI" -> "BSP/NETCFG" [color="#2563eb", penwidth=1.2, label="×4"]; + "BSP/UI" -> "LVGL" [color="#2563eb", penwidth=1.2, label="×12"]; "BSP/UI" -> "test" [color="#2563eb", penwidth=1.2, label="×2"]; - "BSP/UI" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×20"]; + "BSP/UI" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×48"]; "CMSIS" -> "HAL" [color="#94a3b8", penwidth=0.7, label="×1"]; "CMSIS" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×22"]; "FatFs" -> "App/util" [color="#94a3b8", penwidth=0.7, label="×1"]; @@ -125,9 +134,10 @@ digraph refgraph_module { "LVGL" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×204"]; "SDL2" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×36"]; "Src/Inc (CubeMX)" -> "App" [color="#2563eb", penwidth=1.2, label="×3"]; - "Src/Inc (CubeMX)" -> "App/task" [color="#2563eb", penwidth=1.2, label="×6"]; + "Src/Inc (CubeMX)" -> "App/log" [color="#2563eb", penwidth=1.2, label="×1"]; + "Src/Inc (CubeMX)" -> "App/task" [color="#2563eb", penwidth=1.2, label="×5"]; "Src/Inc (CubeMX)" -> "App/util" [color="#2563eb", penwidth=1.2, label="×3"]; - "Src/Inc (CubeMX)" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×2"]; + "Src/Inc (CubeMX)" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×5"]; "Src/Inc (CubeMX)" -> "BSP/CH395F" [color="#2563eb", penwidth=1.2, label="×2"]; "Src/Inc (CubeMX)" -> "BSP/GD5F2GQ5UE" [color="#2563eb", penwidth=1.2, label="×1"]; "Src/Inc (CubeMX)" -> "BSP/NET" [color="#2563eb", penwidth=1.2, label="×3"]; @@ -149,29 +159,34 @@ digraph refgraph_module { "lftpd" -> "FatFs" [color="#94a3b8", penwidth=0.7, label="×2"]; "lftpd" -> "FreeRTOS" [color="#94a3b8", penwidth=0.7, label="×2"]; "lftpd" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×9"]; - "simulator" -> "App" [color="#2563eb", penwidth=1.2, label="×3"]; + "simulator" -> "App" [color="#2563eb", penwidth=1.2, label="×12"]; "simulator" -> "App/log" [color="#2563eb", penwidth=1.2, label="×2"]; "simulator" -> "BSP/NET" [color="#2563eb", penwidth=1.2, label="×1"]; "simulator" -> "BSP/NETCFG" [color="#2563eb", penwidth=1.2, label="×1"]; - "simulator" -> "BSP/UI" [color="#2563eb", penwidth=1.2, label="×5"]; + "simulator" -> "BSP/UI" [color="#2563eb", penwidth=1.2, label="×9"]; "simulator" -> "LVGL" [color="#2563eb", penwidth=1.2, label="×3"]; - "simulator" -> "SDL2" [color="#2563eb", penwidth=1.2, label="×2"]; + "simulator" -> "SDL2" [color="#2563eb", penwidth=1.2, label="×3"]; "simulator" -> "test" [color="#2563eb", penwidth=1.2, label="×1"]; - "simulator" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×6"]; - "test" -> "App" [color="#2563eb", penwidth=1.2, label="×29"]; - "test" -> "App/log" [color="#2563eb", penwidth=1.2, label="×2"]; - "test" -> "App/task" [color="#2563eb", penwidth=1.2, label="×1"]; - "test" -> "App/util" [color="#2563eb", penwidth=1.2, label="×7"]; - "test" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×11"]; - "test" -> "BSP/CH395F" [color="#2563eb", penwidth=1.2, label="×3"]; - "test" -> "BSP/GD5F2GQ5UE" [color="#2563eb", penwidth=1.2, label="×4"]; - "test" -> "BSP/NET" [color="#2563eb", penwidth=1.2, label="×6"]; - "test" -> "BSP/SD2506" [color="#2563eb", penwidth=1.2, label="×2"]; + "simulator" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×8"]; + "test" -> "App" [color="#2563eb", penwidth=1.2, label="×92"]; + "test" -> "App/log" [color="#2563eb", penwidth=1.2, label="×16"]; + "test" -> "App/task" [color="#2563eb", penwidth=1.2, label="×2"]; + "test" -> "App/util" [color="#2563eb", penwidth=1.2, label="×17"]; + "test" -> "BSP(公共)" [color="#2563eb", penwidth=1.2, label="×31"]; + "test" -> "BSP/CH395F" [color="#2563eb", penwidth=1.2, label="×7"]; + "test" -> "BSP/GD5F2GQ5UE" [color="#2563eb", penwidth=1.2, label="×6"]; + "test" -> "BSP/NET" [color="#2563eb", penwidth=1.2, label="×50"]; + "test" -> "BSP/NETCFG" [color="#2563eb", penwidth=1.2, label="×8"]; + "test" -> "BSP/SD2506" [color="#2563eb", penwidth=1.2, label="×3"]; "test" -> "BSP/TPAFE5160" [color="#2563eb", penwidth=1.2, label="×1"]; - "test" -> "FatFs" [color="#2563eb", penwidth=1.2, label="×3"]; - "test" -> "FreeRTOS" [color="#2563eb", penwidth=1.2, label="×10"]; + "test" -> "BSP/UI" [color="#2563eb", penwidth=1.2, label="×10"]; + "test" -> "FatFs" [color="#2563eb", penwidth=1.2, label="×11"]; + "test" -> "FreeRTOS" [color="#2563eb", penwidth=1.2, label="×26"]; "test" -> "HAL" [color="#2563eb", penwidth=1.2, label="×1"]; - "test" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×7"]; - "test" -> "lftpd" [color="#2563eb", penwidth=1.2, label="×1"]; - "test" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×43"]; + "test" -> "Src/Inc (CubeMX)" [color="#2563eb", penwidth=1.2, label="×8"]; + "test" -> "dhara" [color="#2563eb", penwidth=1.2, label="×2"]; + "test" -> "lftpd" [color="#2563eb", penwidth=1.2, label="×12"]; + "test" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×147"]; + "其他(第三方)" -> "App" [color="#94a3b8", penwidth=0.7, label="×107"]; + "其他(第三方)" -> "外部/系统头文件" [color="#94a3b8", penwidth=0.7, label="×120"]; } diff --git a/docs/images/引用关系图_模块.svg b/docs/images/引用关系图_模块.svg index 3c01d456..f5837d43 100644 --- a/docs/images/引用关系图_模块.svg +++ b/docs/images/引用关系图_模块.svg @@ -4,1189 +4,1294 @@ - - + + refgraph_module - -STM32F4-Base 模块引用概览 + +STM32F4-Base 模块引用概览 App - -App + +App App/log - -App/log + +App/log App->App/log - - -×2 - - - -App/util - -App/util - - - -App->App/util - - -×4 - - - -BSP(公共) - -BSP(公共) - - - -App->BSP(公共) - - -×4 - - - -BSP/GD5F2GQ5UE - -BSP/GD5F2GQ5UE - - - -App->BSP/GD5F2GQ5UE - - -×1 - - - -BSP/NET - -BSP/NET - - - -App->BSP/NET - - -×1 - - - -BSP/RS485 - -BSP/RS485 - - - -App->BSP/RS485 - - -×1 - - - -BSP/SD2506 - -BSP/SD2506 - - - -App->BSP/SD2506 - - -×1 - - - -BSP/TPAFE5160 - -BSP/TPAFE5160 - - - -App->BSP/TPAFE5160 - - -×2 - - - -FatFs - -FatFs - - - -App->FatFs - - -×1 - - - -FreeRTOS - -FreeRTOS - - - -App->FreeRTOS - - -×3 - - - -Src/Inc (CubeMX) - -Src/Inc (CubeMX) - - - -App->Src/Inc (CubeMX) - - -×5 - - - -test - -test - - - -App->test - - -×1 - - - -外部/系统头文件 - -外部/系统头文件 - - - -App->外部/系统头文件 - - -×28 - - - -App/log->App - - -×3 - - - -App/log->App/util - - -×2 - - - -App/log->BSP(公共) - - -×2 - - - -App/log->FatFs - - -×2 - - - -App/log->FreeRTOS - - -×5 - - - -App/log->Src/Inc (CubeMX) - - -×1 - - - -App/log->外部/系统头文件 - - -×8 + + +×3 App/task - -App/task + +App/task - - -App/task->App - - -×18 + + +App->App/task + + +×1 - - -App/task->App/log - - -×6 + + +App/util + +App/util - - -App/task->App/util - - -×12 + + +App->App/util + + +×8 - - -App/task->BSP(公共) - - -×7 + + +BSP(公共) + +BSP(公共) - - -BSP/CH395F - -BSP/CH395F + + +App->BSP(公共) + + +×10 - - -App/task->BSP/CH395F - - -×1 + + +BSP/GD5F2GQ5UE + +BSP/GD5F2GQ5UE - - -App/task->BSP/GD5F2GQ5UE - - -×1 + + +App->BSP/GD5F2GQ5UE + + +×1 - - -App/task->BSP/NET - - -×3 + + +BSP/NET + +BSP/NET + + + +App->BSP/NET + + +×3 BSP/NETCFG - -BSP/NETCFG + +BSP/NETCFG - - -App/task->BSP/NETCFG - - -×2 + + +App->BSP/NETCFG + + +×2 - - -App/task->BSP/RS485 - - -×1 + + +BSP/RS485 + +BSP/RS485 - - -App/task->BSP/TPAFE5160 - - -×1 + + +App->BSP/RS485 + + +×1 + + + +BSP/SD2506 + +BSP/SD2506 + + + +App->BSP/SD2506 + + +×1 + + + +BSP/TPAFE5160 + +BSP/TPAFE5160 + + + +App->BSP/TPAFE5160 + + +×2 BSP/UI - -BSP/UI - - - -App/task->BSP/UI - - -×4 - - - -App/task->FatFs - - -×1 - - - -App/task->FreeRTOS - - -×9 - - - -App/task->Src/Inc (CubeMX) - - -×1 - - - -App/task->test - - -×4 - - - -App/task->外部/系统头文件 - - -×3 - - - -App/util->App/log - - -×3 - - - -App/util->BSP(公共) - - -×2 - - - -App/util->BSP/SD2506 - - -×1 - - - -App/util->FreeRTOS - - -×4 - - - -App/util->Src/Inc (CubeMX) - - -×4 - - - -lftpd - -lftpd - - - -App/util->lftpd - - -×1 - - - -App/util->外部/系统头文件 - - -×8 - - - -BSP(公共)->App/log - - -×1 - - - -BSP(公共)->App/util - - -×1 - - - -BSP(公共)->外部/系统头文件 - - -×1 - - - -BSP/CH395F->BSP(公共) - - -×1 - - - -BSP/CH395F->Src/Inc (CubeMX) - - -×3 - - - -BSP/CH395F->外部/系统头文件 - - -×1 - - - -BSP/GD5F2GQ5UE->BSP(公共) - - -×2 - - - -BSP/GD5F2GQ5UE->FatFs - - -×2 - - - -BSP/GD5F2GQ5UE->Src/Inc (CubeMX) - - -×1 - - - -dhara - -dhara - - - -BSP/GD5F2GQ5UE->dhara - - -×2 - - - -BSP/GD5F2GQ5UE->外部/系统头文件 - - -×4 - - - -BSP/NET->BSP(公共) - - -×4 - - - -BSP/NET->BSP/CH395F - - -×6 - - - -BSP/NET->FreeRTOS - - -×18 - - - -BSP/NET->Src/Inc (CubeMX) - - -×5 - - - -BSP/NET->test - - -×6 - - - -BSP/NET->外部/系统头文件 - - -×7 - - - -BSP/NETCFG->App - - -×2 - - - -BSP/NETCFG->BSP(公共) - - -×1 - - - -BSP/NETCFG->外部/系统头文件 - - -×4 - - - -BSP/RS485->Src/Inc (CubeMX) - - -×1 - - - -BSP/SD2506->BSP(公共) - - -×1 - - - -BSP/SD2506->Src/Inc (CubeMX) - - -×2 - - - -BSP/SD2506->外部/系统头文件 - - -×1 - - - -BSP/TPAFE5160->BSP(公共) - - -×1 - - - -BSP/TPAFE5160->FreeRTOS - - -×2 - - - -BSP/TPAFE5160->Src/Inc (CubeMX) - - -×2 - - - -BSP/TPAFE5160->外部/系统头文件 - - -×1 - - - -BSP/UI->App/log - - -×2 - - - -BSP/UI->BSP(公共) - - -×6 - - - -BSP/UI->BSP/NET - - -×2 - - - -BSP/UI->BSP/NETCFG - - -×1 - - - -LVGL - -LVGL - - - -BSP/UI->LVGL - - -×9 - - - -BSP/UI->test - - -×2 - - - -BSP/UI->外部/系统头文件 - - -×20 - - - -CMSIS - -CMSIS - - - -HAL - -HAL - - - -CMSIS->HAL - - -×1 - - - -CMSIS->外部/系统头文件 - - -×22 - - - -FatFs->App/util - - -×1 - - - -FatFs->BSP(公共) - - -×1 - - - -FatFs->FreeRTOS - - -×1 - - - -FatFs->外部/系统头文件 - - -×2 - - - -FreeRTOS->CMSIS - - -×1 - - - -FreeRTOS->Src/Inc (CubeMX) - - -×1 - - - -FreeRTOS->外部/系统头文件 - - -×14 - - - -HAL->CMSIS - - -×16 - - - -HAL->Src/Inc (CubeMX) - - -×1 - - - -HAL->外部/系统头文件 - - -×1 - - - -LVGL->FatFs - - -×1 - - - -LVGL->FreeRTOS - - -×6 - - - -SDL2 - -SDL2 - - - -LVGL->SDL2 - - -×1 + +BSP/UI + + + +App->BSP/UI + + +×2 + + + +FatFs + +FatFs + + + +App->FatFs + + +×3 + + + +FreeRTOS + +FreeRTOS + + + +App->FreeRTOS + + +×7 + + + +Src/Inc (CubeMX) + +Src/Inc (CubeMX) + + + +App->Src/Inc (CubeMX) + + +×6 + + + +test + +test + + + +App->test + + +×2 其他(第三方) - -其他(第三方) + +其他(第三方) + + + +App->其他(第三方) + + +×1 + + + +外部/系统头文件 + +外部/系统头文件 + + + +App->外部/系统头文件 + + +×83 + + + +App/log->App + + +×3 + + + +App/log->App/util + + +×2 + + + +App/log->BSP(公共) + + +×2 + + + +App/log->FatFs + + +×2 + + + +App/log->FreeRTOS + + +×5 + + + +App/log->Src/Inc (CubeMX) + + +×1 + + + +App/log->外部/系统头文件 + + +×8 + + + +App/task->App + + +×42 + + + +App/task->App/log + + +×9 + + + +App/task->App/util + + +×14 + + + +App/task->BSP(公共) + + +×10 + + + +BSP/CH395F + +BSP/CH395F + + + +App/task->BSP/CH395F + + +×1 + + + +App/task->BSP/GD5F2GQ5UE + + +×1 + + + +App/task->BSP/NET + + +×3 + + + +App/task->BSP/NETCFG + + +×2 + + + +App/task->BSP/RS485 + + +×1 + + + +App/task->BSP/TPAFE5160 + + +×2 + + + +App/task->BSP/UI + + +×8 + + + +App/task->FatFs + + +×2 + + + +App/task->FreeRTOS + + +×10 + + + +App/task->Src/Inc (CubeMX) + + +×1 + + + +App/task->test + + +×4 + + + +App/task->外部/系统头文件 + + +×3 + + + +App/util->App + + +×1 + + + +App/util->App/log + + +×3 + + + +App/util->BSP(公共) + + +×2 + + + +App/util->BSP/SD2506 + + +×2 + + + +App/util->FreeRTOS + + +×4 + + + +App/util->Src/Inc (CubeMX) + + +×5 + + + +lftpd + +lftpd + + + +App/util->lftpd + + +×1 + + + +App/util->test + + +×1 + + + +App/util->外部/系统头文件 + + +×11 + + + +BSP(公共)->App/log + + +×1 + + + +BSP(公共)->App/util + + +×1 + + + +BSP(公共)->FreeRTOS + + +×2 + + + +BSP(公共)->Src/Inc (CubeMX) + + +×2 + + + +BSP(公共)->外部/系统头文件 + + +×9 + + + +BSP/CH395F->BSP(公共) + + +×1 + + + +BSP/CH395F->BSP/GD5F2GQ5UE + + +×1 + + + +BSP/CH395F->Src/Inc (CubeMX) + + +×3 + + + +BSP/CH395F->外部/系统头文件 + + +×1 + + + +BSP/GD5F2GQ5UE->BSP(公共) + + +×3 + + + +BSP/GD5F2GQ5UE->FatFs + + +×2 + + + +BSP/GD5F2GQ5UE->Src/Inc (CubeMX) + + +×2 + + + +dhara + +dhara + + + +BSP/GD5F2GQ5UE->dhara + + +×2 + + + +BSP/GD5F2GQ5UE->外部/系统头文件 + + +×4 + + + +BSP/NET->BSP(公共) + + +×6 + + + +BSP/NET->BSP/CH395F + + +×7 + + + +BSP/NET->FreeRTOS + + +×23 + + + +BSP/NET->Src/Inc (CubeMX) + + +×6 + + + +BSP/NET->test + + +×6 + + + +BSP/NET->外部/系统头文件 + + +×9 + + + +BSP/NETCFG->App + + +×2 + + + +BSP/NETCFG->BSP(公共) + + +×1 + + + +BSP/NETCFG->外部/系统头文件 + + +×6 + + + +BSP/RS485->BSP(公共) + + +×2 + + + +BSP/RS485->Src/Inc (CubeMX) + + +×1 + + + +BSP/SD2506->BSP(公共) + + +×2 + + + +BSP/SD2506->Src/Inc (CubeMX) + + +×2 + + + +BSP/SD2506->外部/系统头文件 + + +×1 + + + +BSP/TPAFE5160->BSP(公共) + + +×2 + + + +BSP/TPAFE5160->FreeRTOS + + +×2 + + + +BSP/TPAFE5160->Src/Inc (CubeMX) + + +×2 + + + +BSP/TPAFE5160->外部/系统头文件 + + +×1 + + + +BSP/UI->BSP(公共) + + +×6 + + + +BSP/UI->BSP/NET + + +×2 + + + +BSP/UI->BSP/NETCFG + + +×4 + + + +LVGL + +LVGL + + + +BSP/UI->LVGL + + +×12 + + + +BSP/UI->test + + +×2 + + + +BSP/UI->外部/系统头文件 + + +×48 + + + +CMSIS + +CMSIS + + + +HAL + +HAL + + + +CMSIS->HAL + + +×1 + + + +CMSIS->外部/系统头文件 + + +×22 + + + +FatFs->App/util + + +×1 + + + +FatFs->BSP(公共) + + +×1 + + + +FatFs->FreeRTOS + + +×1 + + + +FatFs->外部/系统头文件 + + +×2 + + + +FreeRTOS->CMSIS + + +×1 + + + +FreeRTOS->Src/Inc (CubeMX) + + +×1 + + + +FreeRTOS->外部/系统头文件 + + +×14 + + + +HAL->CMSIS + + +×16 + + + +HAL->Src/Inc (CubeMX) + + +×1 + + + +HAL->外部/系统头文件 + + +×1 + + + +LVGL->FatFs + + +×1 + + + +LVGL->FreeRTOS + + +×6 + + + +SDL2 + +SDL2 + + + +LVGL->SDL2 + + +×1 - + LVGL->其他(第三方) - - -×1 + + +×1 - + LVGL->外部/系统头文件 - - -×204 + + +×204 - + SDL2->外部/系统头文件 - - -×36 + + +×36 - + Src/Inc (CubeMX)->App - - -×3 + + +×3 + + + +Src/Inc (CubeMX)->App/log + + +×1 - + Src/Inc (CubeMX)->App/task - - -×6 + + +×5 - + Src/Inc (CubeMX)->App/util - - -×3 + + +×3 - + Src/Inc (CubeMX)->BSP(公共) - - -×2 + + +×5 - + Src/Inc (CubeMX)->BSP/CH395F - - -×2 + + +×2 - + Src/Inc (CubeMX)->BSP/GD5F2GQ5UE - - -×1 + + +×1 - + Src/Inc (CubeMX)->BSP/NET - - -×3 + + +×3 - + Src/Inc (CubeMX)->BSP/RS485 - - -×1 + + +×1 - + Src/Inc (CubeMX)->BSP/SD2506 - - -×1 + + +×1 - + Src/Inc (CubeMX)->BSP/TPAFE5160 - - -×1 + + +×1 - + Src/Inc (CubeMX)->CMSIS - - -×1 + + +×1 - + Src/Inc (CubeMX)->FreeRTOS - - -×4 + + +×4 - + Src/Inc (CubeMX)->HAL - - -×16 + + +×16 - + Src/Inc (CubeMX)->lftpd - - -×1 + + +×1 - + Src/Inc (CubeMX)->test - - -×3 + + +×3 - + Src/Inc (CubeMX)->外部/系统头文件 - - -×4 + + +×4 - + dhara->外部/系统头文件 - - -×5 + + +×5 - + lftpd->App - - -×1 + + +×1 - + lftpd->App/util - - -×1 + + +×1 - + lftpd->BSP(公共) - - -×3 + + +×3 - + lftpd->BSP/NET - - -×3 + + +×3 - + lftpd->BSP/NETCFG - - -×1 + + +×1 - + lftpd->FatFs - - -×2 + + +×2 - + lftpd->FreeRTOS - - -×2 + + +×2 - + lftpd->外部/系统头文件 - - -×9 + + +×9 simulator - -simulator + +simulator - + simulator->App - - -×3 + + +×12 - + simulator->App/log - - -×2 + + +×2 - + simulator->BSP/NET - - -×1 + + +×1 - + simulator->BSP/NETCFG - - -×1 + + +×1 - + simulator->BSP/UI - - -×5 + + +×9 - + simulator->LVGL - - -×3 + + +×3 - + simulator->SDL2 - - -×2 + + +×3 - + simulator->test - - -×1 + + +×1 - + simulator->外部/系统头文件 - - -×6 + + +×8 - + test->App - - -×29 + + +×92 - + test->App/log - - -×2 + + +×16 - + test->App/task - - -×1 + + +×2 - + test->App/util - - -×7 + + +×17 - + test->BSP(公共) - - -×11 + + +×31 - + test->BSP/CH395F - - -×3 + + +×7 - + test->BSP/GD5F2GQ5UE - - -×4 + + +×6 - + test->BSP/NET - - -×6 + + +×50 + + + +test->BSP/NETCFG + + +×8 - + test->BSP/SD2506 - - -×2 + + +×3 - + test->BSP/TPAFE5160 - - -×1 + + +×1 + + + +test->BSP/UI + + +×10 - + test->FatFs - - -×3 + + +×11 - + test->FreeRTOS - - -×10 + + +×26 - + test->HAL - - -×1 + + +×1 - + test->Src/Inc (CubeMX) - - -×7 + + +×8 + + + +test->dhara + + +×2 - + test->lftpd - - -×1 + + +×12 - + test->外部/系统头文件 - - -×43 + + +×147 + + + +其他(第三方)->App + + +×107 + + + +其他(第三方)->外部/系统头文件 + + +×120 diff --git a/docs/images/项目架构总览.svg b/docs/images/项目架构总览.svg index 7c945826..2eafe984 100644 --- a/docs/images/项目架构总览.svg +++ b/docs/images/项目架构总览.svg @@ -43,10 +43,10 @@ task/(9 任务) algo/(语义取数与有效性~保护判据 · 遥测快照 · 录波数据面) - -protocol/iec104(104 上行默认 :2404) - -ui_data_feed(App→UI 装配) + +iec60870/(104 上行默认 :2404;common 编解码 + 104 协议) + +ui_data_feed(App→UI 装配) sys_log · soe(记录引擎) diff --git a/docs/产品需求/产品需求设计文档.md b/docs/产品需求/产品需求设计文档.md index 07b7820e..ef30f318 100644 --- a/docs/产品需求/产品需求设计文档.md +++ b/docs/产品需求/产品需求设计文档.md @@ -170,7 +170,7 @@ flowchart LR | G1 | **可靠**:现场死机可自恢复、掉电不丢配置、错误可追溯 | IWDG + 任务心跳位图、原子写 + 迁移、错误码通道四要素 | | G2 | **可维护**:分层解耦、单一事实源、双端复用、门禁强制 | 六层架构、就绪屏障、生成器(菜单/字体/任务表)、pre-commit 钩子族 | | G3 | **可移植**:UI/配置源码 MCU 与 PC 模拟器共用 | 平台后端抽象(`*_mcu.c` / `*_sim.c`),核心零平台依赖 | -| G4 | **可扩展**:新子系统/新配置段/新页面按模板接入 | 事件位扩展、段注册三步、页面插件描述符、`App/protocol/` 预留 | +| G4 | **可扩展**:新子系统/新配置段/新页面按模板接入 | 事件位扩展、段注册三步、页面插件描述符、协议族自成一域(104 在 `App/iec60870/`) | | G5 | **可验收**:每项能力有明确判据与自动化门禁 | `/keil-build` / `/serial-boot-test` / 静态门禁 / 主机侧纯逻辑单测 / 台架验证 | **设计原则**(贯穿全项目): @@ -475,8 +475,10 @@ flowchart LR ### 5.10 RS-485 采集(FR-RS485)⬜ 冻结 - **需求(已确认)**:半双工 RS-485 **对下 ModBus RTU 采集**(下行采集口;上行走以太网 104)。 -- **现状**:`rs485_init()` 已调用;`rs485_task.c` 为空桩、未在 `freertos.c` 创建;`App/protocol/` 为该 - 协议族预留(当前仅 104 在用)。**整簇冻结**(用户决定,2026-10-12)。 +- **现状**:`rs485_init()` 已调用;`rs485_task.c` 为空桩、未在 `freertos.c` 创建。原表述「`App/protocol/` + 为该协议族预留(当前仅 104 在用)」**已于 2026-11-18 失效**:`App/protocol/` 这一层被删除,104 迁入 + `App/iec60870/`(`common/` 编解码 + `104/` 协议与平台适配)。ModBus RTU 协议族将来的落点**需确认**——不再存在 + 一个集中收容协议实现的预留目录。**整簇冻结**(用户决定,2026-10-12)。 - **重启门禁**:先修「单缓冲包撕裂」「TX 超时拉 DE 未等 TC」两条,再谈接消费者。 - **动手前必须落实的三条设计约束**(事后无法补测——撕裂与错误路径在真机上不可稳定复现。 本条收口原「测试与架构专项」2026-10-28 删除后唯一未闭环的约束): @@ -642,8 +644,8 @@ flowchart LR **FR-IEC104-1 链路层** - 需求:APCI U/S/I 帧、STARTDT/STOPDT/TESTFR、k/w 窗、t1/t2/t3;TCP 流重组与坏帧自恢复。 -- 实现:`App/protocol/iec104/iec104_link.c`(纯逻辑:收=喂流、发=回调、时基注入);参数 k=12 / w=8 / - t1=15 s / t2=10 s / t3=20 s;序号 15 bit 回绕、超时一律差值法。 +- 实现:旧 `App/protocol/iec104/iec104_link.c`(纯逻辑:收=喂流、发=回调、时基注入)——该文件 2026-11-18 随骨架迁 MCU 删除,现由 vendor `App/iec60870/104/IEC104_Link*` 承担;参数 k=12 / w=8 / + t1=15 s / t2=10 s / t3=20 s(现实现默认值同值,见 `App/iec60870/104/IEC104_Types.h` 的 `IEC104_DEFAULT_*`);序号 15 bit 回绕、超时一律差值法。 - 判据:主机侧 174 断言全绿;台架主站往返 STARTDT → 总召四组 → actterm 全通过。 **FR-IEC104-2 遥测上送** @@ -654,7 +656,7 @@ flowchart LR **FR-IEC104-3 遥信上送** - 需求:双位置遥信上双点、其余单点;变位突发 + 背景扫描;**无效点也入表并置 IV**。 -- 实现:`iec104_pts.c` 点表(33 点)+ COV 判定;突发单点带 CP56 时标。 +- 实现:旧 `App/protocol/iec104/iec104_pts.c` 点表(33 点)+ COV 判定(该文件 2026-11-18 已删除;现为 DTU 标准表 75 个遥信点,见 `App/iec60870/104/iec104_dtu_table.c`,两套点表语义不同不可对号入座);突发单点带 CP56 时标。 - 判据:`YX15~18/23/31` 为活数据;`YX1~14/19~22/24~30/32~33` 恒 IV(缺行比置 IV 更糟)。 **FR-IEC104-4 遥控** @@ -1347,7 +1349,7 @@ mac=00:00:00:00:00:00 | `prot_elm` | `prot_elm_init/run/eval/state/request_reset` | 保护判据元件框架(9 实例) | | `run_par` | `run_par_init/get/set_104_write/dirty_peek` | 运行参数段(死区 + 系数代理) | | `soe_rec` / `soe_store` | `soe_rec_encode/decode` · `soe_store_post/drain` | SOE 编解码 + 落盘投递 | -| `iec104` | `iec104_link_*` / `iec104_pts_*` / `iec104_serv_*` | 104 链路 / 点表 / 板端胶水 | +| `iec104` | 旧 `iec104_link_*` / `iec104_pts_*` / `iec104_serv_*`(2026-11-18 删旧自研三源后,现为 `iec104_core_*` / `iec104_source_*` / `iec104_dtu_table_*` 等适配层接口 + 协议核心 `IEC104_*`) | 104 链路 / 点表 / 板端胶水 | ### 6.8 IEC 60870-5-104 点表摘要 diff --git a/docs/内存管理/RAM使用分析与优化方案.md b/docs/内存管理/RAM使用分析与优化方案.md index 8a460409..3ae8eb9b 100644 --- a/docs/内存管理/RAM使用分析与优化方案.md +++ b/docs/内存管理/RAM使用分析与优化方案.md @@ -47,10 +47,10 @@ dhara 失败类 +84;RO 另 +208,全是该失败类名表)→ `ER_IROM1` | 区域 | 用量 | 容量 | 占比 | |---|---|---|---| -| ER_IROM1 | 416,092 B (406.34 KB) | 1,048,576 B (1024 KB) | 39.7% | +| ER_IROM1 | 414,128 B (404.42 KB) | 1,048,576 B (1024 KB) | 39.5% | | RW_IRAM1 | 118,408 B (115.63 KB) | 131,072 B (128 KB) | 90.3% | | RW_CCM | 57,376 B (56.03 KB) | 65,280 B (64 KB) | 87.9% | -| **Flash (ROM 合计)** | **418,380 B (408.6 KB)** | 1,048,576 B (1024 KB) | **39.9%** | +| **Flash (ROM 合计)** | **416,416 B (406.7 KB)** | 1,048,576 B (1024 KB) | **39.7%** | 各区的容量与常量来源: diff --git a/docs/内存管理/RAM预算台账.md b/docs/内存管理/RAM预算台账.md index 20447b68..154f57bd 100644 --- a/docs/内存管理/RAM预算台账.md +++ b/docs/内存管理/RAM预算台账.md @@ -15,7 +15,7 @@ | 区域 | 用量 | 容量 | 占比 | 门禁(≤92%) | |---|---|---|---|---| -| ER_IROM1 (Flash) | 416,092 B | 1,048,576 B | 39.7% | 参考 | +| ER_IROM1 (Flash) | 414,128 B | 1,048,576 B | 39.5% | 参考 | | RW_CCM | 57,376 B | 65,280 B | 87.9% | PASS | | UNINIT_CCM | 48 B | 256 B | 18.8% | 参考 | | RW_IRAM1 | 118,408 B | 131,072 B | 90.3% | PASS | diff --git a/docs/子系统设计/IEC104_MCU落地规划.md b/docs/子系统设计/IEC104_MCU落地规划.md index b8cc8436..5c9a299b 100644 --- a/docs/子系统设计/IEC104_MCU落地规划.md +++ b/docs/子系统设计/IEC104_MCU落地规划.md @@ -40,7 +40,7 @@ 把全部可写参数纳入统一的提交语义,因为只为真实保护参数落盘会遗漏标准参数、区域参数和模拟项。 -**事实**:`App/protocol/iec104/iec104_source.h` 的 `iec104_source_bind()` 要求平台整批校验与原子应用,但现行 `iec104_source_init()` 明确恢复类型化默认值;这不是新产品掉电保持实现。 +**事实**:`App/iec60870/104/iec104_source.h` 的 `iec104_source_bind()` 要求平台整批校验与原子应用,但现行 `iec104_source_init()` 明确恢复类型化默认值;这不是新产品掉电保持实现。 **事实**:持久化调查 `ci-artifacts/iec104-mcu-plan/persistence/report.md` 及其 `audit_parameters.py` 逐项核出远方参数 264 个可写元数据:176 个全局项、88 个区域项;区域 0 与区域 1~4 各持一份区域值,合计 616 个可写区域实例。标准参数 120 项与远方参数没有信息对象地址(IOA)交集,当前源码也没有别名桥;加总是 736 个值槽,而不是业务同义已获裁定。`iec104_core.c` 的 QPA3(参数激活限定词)在当前装配仅控制一个组的遥测周期启停,此状态也须持久,不包含在上述值槽数内;编码未批。标准参数的限定词与逐点激活语义仍需和实际装配逐项冻结,不能把库支持的所有扩展当作已开放,也不能静默只保存 120 个数值。 diff --git a/docs/子系统设计/IEC104上行设计说明.md b/docs/子系统设计/IEC104上行设计说明.md index ec4f508b..fec37d76 100644 --- a/docs/子系统设计/IEC104上行设计说明.md +++ b/docs/子系统设计/IEC104上行设计说明.md @@ -3,22 +3,26 @@ > **定位**:DTU 上行规约 IEC 60870-5-104(DL/T 634.5104-2009)的设计基线—— > 范围、点表、链路流程、板端接入、预算与测试。规格来源 > `docs/算法/继电保护功能复现规划.md` §1.5(产品定义,验收 = 省电科院点表); -> 代码落点 `App/protocol/iec104/`;未闭环的送检验收见本文 §8。 +> 代码落点 `App/iec60870/104/` 与 `App/iec60870/common/`;未闭环的送检验收见本文 §8。 > **角色**:本 DTU = **被控站(受控端)**,104 **TCP 服务器,端口 `[comm]` 段 `port`(工厂默认 2404)**;主站 > (控制端,点表参考 `192.168.1.199`)主动连入。 ## 0. 成熟协议核心迁入状态与验证边界 -本节说明正在迁入的 `IEC60870-Slave` 产品子集。**下文 §1 至 §8 仍描述既有板端实现及其历史验证,不代表新核心已经替换板端。** 当前旧 asdu/pts/link 与 `App/task/iec104_serv.c` 仍保留;删除旧栈必须在板端切换、资源闭环及实际验证后进行。 +本节说明已迁入的 104 协议栈的验证边界。**下文 §1 至 §8 仍描述既有板端实现及其历史验证,不代表新核心已经替换板端。** + +> **2026-11-18 补记(旧栈状态已变,此处按日期冻结)**:本节原写「当前旧 asdu/pts/link 与 `App/task/iec104_serv.c` 仍保留;删除旧栈必须在板端切换、资源闭环及实际验证后进行」——**该描述在当天之后失效**:`iec104_asdu/pts/link` 三源在同一日随骨架迁 MCU 删除(`App/task/iec104_serv.c` 被重写为新契约,不再含旧胶水),`App/protocol/` 这一层整体并入 `App/iec60870/`。§1–§8 保留为历史实现记录,其中出现的 `App/protocol/iec104/…` 路径与 `iec104Task` 承载描述均属当时事实;当前结构见 §0.1 与 `App/README.md`。 +> +> **同日起该目录代码已收编为项目自有**:不再是「必须逐字节保真的第三方导入」,按本仓规范维护即可;仓库根 `IEC60870-Slave/` 仅作独立验证基线保留。 ### 0.1 装配与生命周期 | 落点 | 当前职责 | 不能据此推断 | |---|---|---| -| `App/protocol/iec60870/` | 成熟 ASDU、Slave、业务状态机、TcpServer 与网络后端;来源见 `App/protocol/iec60870/IMPORT.md` | 目录迁入不等于 MCU 集成通过 | -| `App/protocol/iec104/iec104_core.c` | `iec104_core_start()` / `iec104_core_poll()` / `iec104_core_stop()` 装配共享核心;`iec104_core_get_status()` 提供状态 | PC 运行不证明 CH395F、RTOS 或板端监听生命周期正确 | -| `App/protocol/iec104/iec104_source.c` | 数据、模拟动作、参数 RAM 与虚拟设备墙钟;`iec104_source_bind()` 是可选平台接缝 | 接口存在不等于已绑定 UI、保护或标定真源 | -| `App/protocol/iec104/iec104_dtu_table.c` | 标准 DTU 演示点表与元数据 | 新旧通信地址相同不代表语义相同;候选映射不代表真实绑定 | +| `App/iec60870/` | 成熟 ASDU、Slave、业务状态机、TcpServer 与网络后端;目录说明与设计约束见 `App/iec60870/README.md` | 目录迁入不等于 MCU 集成通过 | +| `App/iec60870/104/iec104_core.c` | `iec104_core_start()` / `iec104_core_poll()` / `iec104_core_stop()` 装配共享核心;`iec104_core_get_status()` 提供状态 | PC 运行不证明 CH395F、RTOS 或板端监听生命周期正确 | +| `App/iec60870/104/iec104_source.c` | 数据、模拟动作、参数 RAM 与虚拟设备墙钟;`iec104_source_bind()` 是可选平台接缝 | 接口存在不等于已绑定 UI、保护或标定真源 | +| `App/iec60870/104/iec104_dtu_table.c` | 标准 DTU 演示点表与元数据 | 新旧通信地址相同不代表语义相同;候选映射不代表真实绑定 | 调用必须由同一事件循环属主串行执行,源回调须短且不阻塞。`start` 拒绝重复启动;失败清理后仍持有资源时须重试 `stop`,不得直接再次启动。每次被接纳的服务启动重置模拟值、参数 RAM、计数及设备墙钟;普通 TCP 重连保留已提交 RAM 值,但取消未完成的选择与参数预置事务。模拟“固化”仅提交运行时 RAM,不是断电保持。 @@ -60,9 +64,9 @@ ### 0.5 骨架阶段的记录缺口(有意收窄,不是回归 bug) -**旧板端实现会写遥控与对时记录。** `git show HEAD:App/protocol/iec104/iec104_pts.c` 的 `s_src_yk_exec()` 有 7 处 `syslog_post_quiet()` 写 `SYSLOG_YK`(`/log/yk.log`),覆盖 8 种文案:`YK11 select`、`YK11 exec`、`YK12 select`、`YK12 exec on`、`YK12 exec off`、`YK12 exec fail`、`YK12 bad dpc`、`YK unknown ioa`;同一函数另有 2 处写 `SYSLOG_OPER`(`/log/oper.log`),覆盖 3 种文案:YK11 执行段调 `prot_elm_request_reset()` 后写 `force reset`,YK12 执行段调 `prot_set_set_sealed(PS_GLOBAL_EN, …)` 成功/失败后写 `plate in` / `plate out`。`git show HEAD:App/task/iec104_serv.c` 的 `s_clock_sync()` 在 `sys_clock_set_unix()` 返回 0 时写 `SYSLOG_OPER` 的 `clock set by 104`。 +**旧板端实现会写遥控与对时记录。** 取旧实现请用**删文件前的那个提交**,不能用 `HEAD`:`iec104_pts.c` 在 `90cc9a7d`(2026-11-18 骨架迁 MCU)被删除,`App/task/iec104_serv.c` 也在同一次提交里重写成新契约,所以 `git show HEAD:…iec104_pts.c` 直接报 `path does not exist`、`git show HEAD:App/task/iec104_serv.c` 里已无 `s_clock_sync()`。可复现的证据锚点 = `2e9272cc`(2026-11-17,两文件都在),路径按当时的目录名 `App/protocol/` 写:`git show 2e9272cc:App/protocol/iec104/iec104_pts.c` 的 `s_src_yk_exec()` 有 7 处 `syslog_post_quiet()` 写 `SYSLOG_YK`(`/log/yk.log`),覆盖 8 种文案:`YK11 select`、`YK11 exec`、`YK12 select`、`YK12 exec on`、`YK12 exec off`、`YK12 exec fail`、`YK12 bad dpc`、`YK unknown ioa`;同一函数另有 2 处写 `SYSLOG_OPER`(`/log/oper.log`),覆盖 3 种文案:YK11 执行段调 `prot_elm_request_reset()` 后写 `force reset`,YK12 执行段调 `prot_set_set_sealed(PS_GLOBAL_EN, …)` 成功/失败后写 `plate in` / `plate out`。`git show 2e9272cc:App/task/iec104_serv.c` 的 `s_clock_sync()` 在 `sys_clock_set_unix()` 返回 0 时写 `SYSLOG_OPER` 的 `clock set by 104`。 -**迁移后的共享核心不写这些记录,因为无真事实可写。** `iec104_source_command()`(`App/protocol/iec104/iec104_source.c`,函数头注释「改变模拟遥信并标识替代源,绝不驱动物理出口」)是纯模拟态变更:选择段立即返回,执行段只改模拟 IOA 的状态与统计,其中复位动作的注释明确「只复归模拟锁存,绝不复归真实保护状态」。`App/protocol/` 与 `App/task/iec104_serv.c` 对 `prot_elm_request_reset` 与 `PS_GLOBAL_EN` 均为 0 次引用,即新核心不触碰任何真实控制目标(与 §0.2「遥控全部为模拟动作」同一事实)。因此骨架档若照旧写 `force reset` 或 `plate in/out`,写下的将是**伪造记录**——不写是当前唯一诚实的做法。 +**迁移后的共享核心不写这些记录,因为无真事实可写。** `iec104_source_command()`(`App/iec60870/104/iec104_source.c`,函数头注释「改变模拟遥信并标识替代源,绝不驱动物理出口」)是纯模拟态变更:选择段立即返回,执行段只改模拟 IOA 的状态与统计,其中复位动作的注释明确「只复归模拟锁存,绝不复归真实保护状态」。`App/protocol/` 与 `App/task/iec104_serv.c` 对 `prot_elm_request_reset` 与 `PS_GLOBAL_EN` 均为 0 次引用(当时目录名为 `App/protocol/`,2026-11-18 重构为 `App/iec60870/`;此句记录的是那次 grep 的当时范围,不改写成新路径),即新核心不触碰任何真实控制目标(与 §0.2「遥控全部为模拟动作」同一事实)。因此骨架档若照旧写 `force reset` 或 `plate in/out`,写下的将是**伪造记录**——不写是当前唯一诚实的做法。 **可感知后果**(按用户可见面): @@ -92,11 +96,11 @@ | 模块 | 文件 | 职责 | I/O | |---|---|---|---| -| ASDU 编解码 | `App/protocol/iec104/iec104_asdu.c/h` | 类型/COT 常量、ASDU 头、IOA 3B 小端、短浮点、CP56Time2a↔epoch | 零 | -| 点表/数据源 | `App/protocol/iec104/iec104_pts.c/h` | YC/YX/YK/定值表、COV(变位+死区)、**数据源 vtable**(板端绑 phasor/prot_*,单测绑假源) | 零(源注入) | -| 链路状态机 | `App/protocol/iec104/iec104_link.c/h` | TCP 流重组、U/S/I、k/w/t1/t2/t3、总召/突发/遥控/定值/对时编排 | 零(收=on_rx 喂流,发=回调,时基注入) | +| ASDU 编解码 | 旧 `App/protocol/iec104/iec104_asdu.c/h`(**已删除 2026-11-18**,现由 vendor `App/iec60870/common/` 承担) | 类型/COT 常量、ASDU 头、IOA 3B 小端、短浮点、CP56Time2a↔epoch | 零 | +| 点表/数据源 | 旧 `App/protocol/iec104/iec104_pts.c/h`(**已删除 2026-11-18**,现由 `App/iec60870/104/iec104_dtu_table.c` + `iec104_source.c` 承担) | YC/YX/YK/定值表、COV(变位+死区)、**数据源 vtable**(板端绑 phasor/prot_*,单测绑假源) | 零(源注入) | +| 链路状态机 | 旧 `App/protocol/iec104/iec104_link.c/h`(**已删除 2026-11-18**,现由 vendor `App/iec60870/104/IEC104_Link*` 与 `iec104_core.c` 承担) | TCP 流重组、U/S/I、k/w/t1/t2/t3、总召/突发/遥控/定值/对时编排 | 零(收=on_rx 喂流,发=回调,时基注入) | | 板端胶水 | `App/task/iec104_serv.c/h`(随实现定名) | `[comm]` port 监听(工厂默认 2404)、数据通道收发、断链重听、netTask 驱动 | 全部(net_* API) | -| 通讯参数段 | `App/protocol/iec104/iec104_comm.c/h`(道G task-8) | `[comm]` 段注册 + ca/端口 getter 合法带自愈 / setter 守卫 | cfg_file 引擎(只注册不属主) | +| 通讯参数段 | `App/iec60870/104/iec104_comm.c/h`(道G task-8) | `[comm]` 段注册 + ca/端口 getter 合法带自愈 / setter 守卫 | cfg_file 引擎(只注册不属主) | > 三个纯逻辑模块 + 真实数据源(`App/algo/` 全纯逻辑)可整体在主机侧编译 → > 主机侧纯逻辑单测覆盖**全协议栈**(`test/host/iec104/` 已删除 2026-11-18,随旧自研协议层三源退役),与 `test/host/prot_elm/` 同模式。 @@ -198,8 +202,8 @@ | 其余 | 留白(PT/CT 变比等未启用类别) | — | — | C_RD → COT14+EVI / C_SE → actcon+PN | - `0x8027~0x802A` 是 prot_set 告警段(过压/欠压),**run_par 命中集精确匹配、永不覆盖**; - 两表共存的路由顺序 = **run_par 表先、未命中落 prot_set**(`iec104_pts.c` set 路由, - 证据钉在 TC-IEC104-029)。 + 两表共存的路由顺序 = **run_par 表先、未命中落 prot_set**(旧 `App/protocol/iec104/iec104_pts.c` + 的 set 路由,该文件 2026-11-18 已删除;证据钉在 TC-IEC104-029)。 - 现行门控 = 两段式 + 范围/合法带校验(与保护定值同款),**无「仅暂停/测试态可写」 门控**——文档现行如此,不造新语义;若送检点表要求该类门控,接线点在 `run_par_104_write` 执行段入口,加一处即可。 @@ -230,7 +234,7 @@ - **承载任务 = 专用 iec104Task(640 words / Normal)**,非 netTask:netTask 是 socket RPC 执行者,`net_recv/net_send` 在 netTask 内调用 = 自己等自己回执(死锁)。 手写于 `Src/freertos.c` USER CODE 区(timeSyncTask/adcTask 同款先例),文件 - `App/task/iec104_serv.c`(纯编排,协议语义全在 `App/protocol/iec104/`)。 + `App/task/iec104_serv.c`(纯编排,协议语义全在 `App/iec60870/104/`)。 - **看门狗**:`TASK_WD_IEC104 = 7` 纳入 `wd_required_mask()` 两分支(产品 0x1F7 / HW 测试层 0x1F5,含 保护任务 protect 位 bit8);主循环 100ms 节拍喂位,屏障等待按 100ms 分片喂位(timeSyncTask 2026-10-02 台架先例)。 @@ -285,7 +289,8 @@ **任意上下文可读**(不取锁、不读时刻、不碰 socket;四枚 u32 单字原子,跨字段不保证同一 瞬间,四枚之间没有"合起来才成立"的判据),到顶饱和不回绕。**「总召次数 / 上送 I 帧数」 不在这里**:那是 link 层事件,serv 照不到,需要它得去 - `App/protocol/iec104/iec104_link.c` 加——本卡未做,别在页面上摆一个数却没有产生它的地方。 + 旧 `App/protocol/iec104/iec104_link.c` 加(该文件 2026-11-18 已删除;当前对应实现在 + vendor `App/iec60870/104/IEC104_Link*`)——本卡未做,别在页面上摆一个数却没有产生它的地方。 ## 6. RAM / 栈预算(2026-10-12 实测) diff --git a/docs/子系统设计/网络配置说明.md b/docs/子系统设计/网络配置说明.md index 38531a12..8a6e1204 100644 --- a/docs/子系统设计/网络配置说明.md +++ b/docs/子系统设计/网络配置说明.md @@ -161,7 +161,7 @@ write=1 ### 3.5 `[comm]` 段:IEC 60870-5-104 通讯参数(2026-10-26 新增,「UI 补齐」波次里的非 UI 前置项,道G task-8) -104 被控站的公共地址与监听端口持久载体(段属主 = `App/protocol/iec104/` 配对模块: +104 被控站的公共地址与监听端口持久载体(段属主 = `App/iec60870/104/` 配对模块: 工厂默认与合法带见 `iec104_comm.h`、键表与实现见 `iec104_comm.c`;注册 `iec104_comm_init()` 在 `app_main_init()` 内核前——「先注册后 load」契约同 [adc_cal] / [run_par]): diff --git a/docs/子系统设计/配置文件设计.md b/docs/子系统设计/配置文件设计.md index 17ce3d9b..bef285e5 100644 --- a/docs/子系统设计/配置文件设计.md +++ b/docs/子系统设计/配置文件设计.md @@ -137,7 +137,7 @@ db_freq=500 | `ca` | 无符号 | `1` | 公共地址 CA(1~65535) | | `port` | 无符号 | `2404` | 104 服务端口(1024~65535) | -**改后需重启生效**(该链路在任务启动时建立连接参数)。来源 `App/protocol/iec104/iec104_comm.c`。 +**改后需重启生效**(该链路在任务启动时建立连接参数)。来源 `App/iec60870/104/iec104_comm.c`。 ### 2.5 `[adc_cal]`、`[adc_cal_ofs]`、`[adc_cal_sec]`:采集标定 @@ -325,7 +325,7 @@ flowchart TD | `[network]` | 4 | `Drivers/BSP/NETCFG/net_cfg.c` | 有(触发网络重建) | 保存后立即重建网络 | | `[ftp]` | 3 | `Drivers/BSP/NETCFG/ftp_cfg.c` | 无 | 下次登录生效 | | `[sntp]` | 4 | `Drivers/BSP/NETCFG/sntp_cfg.c` | 无 | 客户端每轮直读 RAM 副本 | -| `[comm]` | 2 | `App/protocol/iec104/iec104_comm.c` | 无 | 改后重启生效 | +| `[comm]` | 2 | `App/iec60870/104/iec104_comm.c` | 无 | 改后重启生效 | | `[adc_cal]` | 9 | `App/algo/adc_cal.c` | 无 | 消费方按拍直读 | | `[adc_cal_ofs]` | 8 | `App/algo/adc_cal.c` | 无 | 同上 | | `[adc_cal_sec]` | 8 | `App/algo/adc_cal.c` | 无 | 同上 | diff --git a/docs/架构设计/引用关系图说明.md b/docs/架构设计/引用关系图说明.md index eb8a155a..106686d5 100644 --- a/docs/架构设计/引用关系图说明.md +++ b/docs/架构设计/引用关系图说明.md @@ -63,7 +63,10 @@ ## 4. 解析原理(与编译器行为对齐) -1. 扫描仓库全部 `.c/.h`(跳过 `.git`/`.venv`/`MDK-ARM`/`docs`/`simulator/build`); +1. 扫描仓库全部 `.c/.h`(跳过 `.git`/`.venv`/`MDK-ARM`/`docs`/`simulator/build`/**`ci-artifacts`**); + `ci-artifacts/` 是一次性取证与构建产物区(`.gitignore` 挡掉、不入库),里面的桩文件、旧基线 + 副本与探针 `.c` 会经 `#include` 相对路径拉进幽灵节点(实测曾把已删除的 `iec104_pts.c` / + `iec104_link.c` 拉回图中),且"本机有没有这个目录"会导致产物不同——排除它图才可复现; 2. 提取每条 `#include`(处理行尾反斜杠续行;编码按 UTF-8→GBK→Latin-1 兜底); 3. 解析顺序与编译器一致:**所在文件目录 → Keil 工程包含路径(解析自 `MDK-ARM/STM32F407-Demo.uvprojx`,自动跟随)→ 模拟器 CMake 包含路径 @@ -94,9 +97,14 @@ - 换机:`winget install Graphviz.Graphviz`(渲染依赖;缺失时工具自动跳过渲染, 仍产出 `.dot`)。 -## 7. 当前数据(2026-10-14 刷新) +## 7. 当前数据(2026-11-18 刷新,含 `App/iec60870/` 迁入与 `ci-artifacts` 排除) -索引 1495 个 `.c/.h`;解析 include 5972 条(解析成功 4821,外部/系统 1151,351 种); -第一方文件 215 个;节点 = 第一方 215 + 第三方 1266 + 外部聚合 1;去重边 5176 条。 -被引用最多的第一方文件:`Drivers/BSP/dbg_log.h`(48)、`Inc/main.h`(33)、 -`Drivers/BSP/NET/net_socket.h`(18)……(完整 Top10 见运行报告)。 +索引 2026 个 `.c/.h`;解析 include 7745 条(解析成功 5889,外部/系统 1856,373 种); +第一方文件 559 个;节点 = 第一方 559 + 第三方 1455 + 外部聚合 1 = 2015;边 7745 条。 +被引用最多的第一方文件:`Drivers/BSP/dbg_log.h`(63)、`Drivers/BSP/UI/ui_content_page.h`(40)、 +`Drivers/BSP/UI/ui_tokens.h`(39)、`Inc/main.h`(38)、`App/iec60870/104/IEC104_Net.h`(36)…… +(完整 Top10 见运行报告)。 + +> 上一版口径(2026-10-14)是 1495 个文件 / 5972 条 include / 第一方 215 个。两次口径不可直接 +> 相减:中间既迁入了 `IEC60870-Slave` 与 `App/iec60870/`(第一方文件数大增),也排除了 +> `ci-artifacts/`(上一版没有这个目录,本次若不禁会多出约 1900 个第三方节点)。 diff --git a/docs/架构设计/软件架构与运行时规格.md b/docs/架构设计/软件架构与运行时规格.md index 9d2e2ccb..93a65d53 100644 --- a/docs/架构设计/软件架构与运行时规格.md +++ b/docs/架构设计/软件架构与运行时规格.md @@ -23,7 +23,7 @@ |---|---|---|---| | ① 业务层 | `Drivers/BSP/NETCFG/` | 顶层共享配置(被 UI 与基础服务共用) | `net_cfg` | | ② UI 层 | `Drivers/BSP/UI/` | LVGL 界面(与 PC 模拟器共用源码) | `ui_port` `ui_menu` `ui_menu_view` `ui_menu_tab` `ui_content_page` `ui_page_*` `ui_net_sink` `ui_font_cn_12` `ui_deco` | -| ③ 基础服务层 | `App/`、`Drivers/BSP/NET/lftpd/` | 应用侧服务、采集算法与协议编排 | `app_main` `sys_events` `app_cfg` `task/*` `algo/*`(语义取数与有效性~保护判据)`protocol/iec104/*` `log/soe_store` `lftpd` `time_sync` | +| ③ 基础服务层 | `App/`、`Drivers/BSP/NET/lftpd/` | 应用侧服务、采集算法与协议编排 | `app_main` `sys_events` `app_cfg` `task/*` `algo/*`(语义取数与有效性~保护判据)`iec60870/*`(`common` 编解码 + `104` 协议与平台适配)`log/soe_store` `lftpd` `time_sync` | | ④ 中间件层 | `Drivers/BSP/NET/`、`Lib/`、`App/util/` | 通用库 / 协议栈 | `net_socket` `net_select` `FatFs` `nand_ftl`(dhara) `LVGL` `sys_clock` | | ⑤ 驱动层 | `Drivers/BSP/{CH395F,GD5F2GQ5UE,TPAFE5160,SD2506,RS485}/` | 芯片寄存器 / 时序 / 中断 | `ch395f` `gd5f2gq5ue` `tpafe5160` `sd2506` `rs485` | | ⑥ 内核 / HAL | `Middlewares/`、`Drivers/STM32F4xx_HAL_Driver/`、`Drivers/CMSIS/` | 任务调度、外设 HAL、启动 | FreeRTOS V10.3.1 · STM32 HAL · CMSIS | diff --git a/docs/架构设计/项目架构总览.md b/docs/架构设计/项目架构总览.md index 9c20ccc3..6a72be31 100644 --- a/docs/架构设计/项目架构总览.md +++ b/docs/架构设计/项目架构总览.md @@ -23,7 +23,7 @@ |---|---|---|---| | ① 业务层 | `Drivers/BSP/NETCFG/` | 顶层共享配置(被 UI 与基础服务共用) | `net_cfg`(`/config.ini` `[network]` 段) | | ② UI 层 | `Drivers/BSP/UI/` | LVGL 160×160 单色界面(与 PC 模拟器、屏板、远程显示**共用同一份显存**) | `ui_port` `ui_menu` `ui_menu_view` `ui_menu_tab`(生成物) `ui_content_page` `ui_page_registry`(生成物) `ui_page_*`(20+ 页插件) `ui_data`(数据供给发布 API) `ui_net_sink` `ui_standby` `ui_font_cn_12` `ui_deco` | -| ③ 基础服务层 | `App/`、`Drivers/BSP/NET/lftpd/` | 应用侧服务与编排 | `app_main` `sys_events` `ui_data_feed` `task/*`(9 任务) `algo/*`(语义取数与有效性~保护判据 + 遥测快照 + 录波数据面 + 屏板灯位映射) `protocol/iec104` `sys_log`·`soe_*`·`console_log` `cfg_file`·`prot_set_store` `vol_lock` `time_sync` `lftpd` | +| ③ 基础服务层 | `App/`、`Drivers/BSP/NET/lftpd/` | 应用侧服务与编排 | `app_main` `sys_events` `ui_data_feed` `task/*`(9 任务) `algo/*`(语义取数与有效性~保护判据 + 遥测快照 + 录波数据面 + 屏板灯位映射) `iec60870/*`(`common` 编解码 + `104` 协议与平台适配) `sys_log`·`soe_*`·`console_log` `cfg_file`·`prot_set_store` `vol_lock` `time_sync` `lftpd` | | ④ 中间件层 | `Drivers/BSP/NET/`、`Lib/`、`App/util/` | 通用库 / 协议栈 | `net_socket` `net_select` `net_events` `net_listener` `net_pending` `FatFs` `nand_ftl(dhara)` `LVGL v9.3` `sys_clock` `task_watchdog` | | ⑤ 驱动层 | `Drivers/BSP/{CH395F,GD5F2GQ5UE,TPAFE5160,SD2506,RS485,ScreenLink}/` | 芯片寄存器 / 时序 / 中断 | `ch395f` `gd5f2gq5ue` `tpafe5160` `sd2506` `rs485` `sb_link`·`sb_proto` | | ⑥ 内核 / HAL | `Middlewares/`、`Drivers/STM32F4xx_HAL_Driver/`、`Drivers/CMSIS/` | 任务调度、外设 HAL、启动 | FreeRTOS V10.3.1 · STM32 HAL · CMSIS | @@ -315,7 +315,10 @@ STM32F4-Base/ │ │ prot_set / prot_elm / run_par / wave_ring / wave_store / sb_led_map │ ├── task/ default_task / net_task / ui_task / adc_task / iec104_serv / protect_task / │ │ rs485_task*(*未创建,RS-485 暂缓)+ task_handles.h -│ ├── protocol/iec104/ IEC 60870-5-104:iec104_asdu / iec104_link / iec104_pts(点表:遥测读 meas、遥信读 prot_elm)/ iec104_comm([comm] 段) +│ ├── iec60870/ IEC 60870-5-104「只维护一个」:vendor 子树 + 我方适配层 +│ │ common/(ASDU/时间/信息对象编解码)· 104/(Slave/TcpServer/ +│ │ Connection/SendManager + business/)· examples/(DTU 点表 profile) +│ │ · 平台适配与业务装配(core/source/net_mcu/dtu_table/comm) │ ├── log/ sys_log 记录引擎(定长 64B,/log 唯一写者=defaultTask)、 │ │ console_log(UART5 控制台单写者)、soe_rec(64B SOE 纯编解码)+ soe_store(投递/落盘胶水) │ ├── cfg/ 配置引擎:cfg_file(静态态单任务收敛于 defaultTask)、store(MCU=FreeRTOS 堆)、 diff --git a/docs/测试说明/单元测试/主机单测覆盖率口径.md b/docs/测试说明/单元测试/主机单测覆盖率口径.md index eeb682ac..3c29f153 100644 --- a/docs/测试说明/单元测试/主机单测覆盖率口径.md +++ b/docs/测试说明/单元测试/主机单测覆盖率口径.md @@ -99,6 +99,24 @@ 分母一律取"**插桩报告里出现的行**",**不做任何静态行数猜测**;`--md` 报告里"有效代码行" 那一列只用于未触及面的体量提示,不参与任何百分比。 +### 4.1 纯 Python 套件:显式 `COVERAGE_SKIP`,不参与 C 覆盖率 + +覆盖率统计面是 MSVC 插桩后的 C/C++ 生产源码;`test/host/**` 里少数**纯 Python** +套件(例如独立协议 oracle / 解码器测试)不编译 C 文件,天然没有模块级 `BUILD` +(`TestBuild`)。这类运行器必须在模块顶层声明一个显式标记: + +```python +COVERAGE_SKIP = "纯 Python oracle/解码器测试,无 C 编译单元" +``` + +`scripts/check_test_coverage.py` 在读取 `BUILD` 前先读该常量:有标记即把该套件记入 +基线 `no_coverage_suites`、控制台以 `SKIP` / `[NOTE]` 打印,**不计入 `modules` +与 `modules_total/modules_ok`**,也不会因缺 `BUILD` 判 FAIL。没有标记又没有 `BUILD` +的运行器仍然 FAIL,保持"缺编译配置就是真缺陷"的严格性。 + +**不得用启发式**(如"目录里没有 `.c` 就跳过")替代这个显式标记:那会把真正丢了 +`BUILD` 的 C 套件静默洗成绿灯,正是覆盖率门禁要拦的假绿形态。 + ## 5. 门禁姿态:只拦回退,不拦进步 台账 = [`scripts/test_coverage_baseline.json`](../../../scripts/test_coverage_baseline.json) @@ -126,7 +144,7 @@ |---|---| | 16 套主机单测 | 全部通过(插桩运行下仍 PASS) | | 被测到的自研生产源文件 | **19 个** / 2,893 可执行行 | -| 行覆盖最低的两个 | `Drivers/BSP/GD5F2GQ5UE/nand_ftl.c` 48.6%(123/253,函数 14/22)、`App/protocol/iec104/iec104_pts.c` 67.2%(117/174,函数 13/17) | +| 行覆盖最低的两个 | `Drivers/BSP/GD5F2GQ5UE/nand_ftl.c` 48.6%(123/253,函数 14/22)、`App/protocol/iec104/iec104_pts.c` 67.2%(117/174,函数 13/17)——后者 2026-11-18 随骨架迁 MCU 删除,此处为当时路径 | | 行覆盖 95%+ 的文件 | 12 个(多为纯逻辑层:`adc_health` / `sample_ring` / `vol_lock` / `time_sync` / `task_watchdog` …) | | **从未进过任何主机单测的生产源文件** | **125 个 / 约 11,839 有效代码行**——拆开是 **47 个 `.c`(9,657 行) | + 78 个 `.h`(2,182 行,多数只有声明与宏)**;前五:`net_socket.c` 1,251、`ch395f.c` 801、`lftpd.c` 694、 diff --git a/docs/测试说明/流程与规范/测试开发标准流程.md b/docs/测试说明/流程与规范/测试开发标准流程.md index c4b09a15..61631f8a 100644 --- a/docs/测试说明/流程与规范/测试开发标准流程.md +++ b/docs/测试说明/流程与规范/测试开发标准流程.md @@ -329,7 +329,7 @@ static void phaseN_run(void) { | `App/log/sys_log_mcu.c` | — | ⬜ 候选 | 记录编解码(定长 64B) | 编解码纯逻辑;写入端依赖 FatFS + 队列,测编解码即可 | | `App/util/time_sync.c` | — | ⬜ 候选 | 协议帧编解码 | 报文组装/解析纯逻辑;网络收发不测 | | `Drivers/BSP/NETCFG/net_cfg_legacy.c` | — | ⛔ 已删除(2026-10-10) | — | 二进制旧档的迁移代码整体移除,测试候选随之撤销 | -| `App/protocol/iec104/*`(104 协议栈) | — | ✅ 已覆盖(82 断言,2026-10-12 IEC 104 上行) | 数据源 vtable + tick 注入 + 发送回调注入 | APCI 重组/总召分片/COV/k-w-t1~t3/两段式全离线穷举;`iec104-unit-test` 钩子 | +| `App/iec60870/104/*`(104 协议栈) | — | ✅ 已覆盖(82 断言,2026-10-12 IEC 104 上行) | 数据源 vtable + tick 注入 + 发送回调注入 | APCI 重组/总召分片/COV/k-w-t1~t3/两段式全离线穷举;`iec104-unit-test` 钩子 | | `Drivers/BSP/GD5F2GQ5UE/nand_ftl.c`(dhara 移植层) | 573 行 | ✅ 已覆盖(149 断言,2026-10-15 起离线钉死 dhara 移植层两条硬约束) | 11 个 SPI 原语(`gd5f2gq5ue.h`)→ **RAM 假芯片** | 移植层是纯地址算术 + 边界判定,换掉芯片即可离线跑;钉死 is_free 整页扫描与六入口越界守卫,并内联旧算法做对照证明断言有牙 | | `App/util/rs485.c` | — | ⏸ 待功能实现 | — | 上游 RS-485 采集链路;当前为空桩 | | `Drivers/BSP/TPAFE5160/*.c` | — | ❌ 不适格 | — | 寄存器序列为主,需真机时序 | diff --git a/docs/算法/继电保护功能复现规划.md b/docs/算法/继电保护功能复现规划.md index c6f9896f..d1f96a22 100644 --- a/docs/算法/继电保护功能复现规划.md +++ b/docs/算法/继电保护功能复现规划.md @@ -187,7 +187,7 @@ | **全周傅氏相量计算** | 全周傅氏基波/谐波、线/负序/零序合成、双区交换 | `CalFFTVecFull` / `CalfLineVec` / `CalfNegVec` | `App/algo/`(拟) | | **保护判据元件** | 各保护判据(过流/零序/过压/频率/…) | `RelayUnit/PRS_*.c` | `App/protect/`(拟) | | **出口与记录与信号** | 跳闸/告警出口、信号灯 | `TripKO` / KO | `App/protect/` + BSP 出口驱动 | -| **动作留痕记录与上送** | SOE/动作记录、UI 显示、遥测上送 | 记录模块 + 通信 | `App/log/` + `Drivers/BSP/UI/` + `App/protocol/` | +| **动作留痕记录与上送** | SOE/动作记录、UI 显示、遥测上送 | 记录模块 + 通信 | `App/log/` + `Drivers/BSP/UI/` + `App/iec60870/`(104 上送;2026-11-18 前该层名为 `App/protocol/`) | > **分层原则**:语义取数与有效性只做"数"(码值→工程量),全周傅氏相量只做"相量"(工程量→复相量),保护判据只做"判据"(相量 + 定值→布尔),出口与记录/动作留痕只做"动作与留痕"。**算法与 I/O 分离**,使 全周傅氏相量/保护判据成为主机侧纯逻辑单测的天然适格对象(三条采集链路设计约束的正文在 `docs/产品需求/产品需求设计文档.md` §5.10)。 @@ -224,7 +224,7 @@ | 定值存取 | **cfg_file 配置引擎**(替代参考的 EEPROM 定值文件) | `App/cfg/cfg_file.c` + 新增定值段 | | 动作/SOE 记录 | `sys_log`(`/log/run.log`)与运行记录 | `App/log/` | | 保护定值/测量显示 | 远端显示 UI(`ui_page_ac` 已有 24 行占位) | `Drivers/BSP/UI/ui_page_ac.h` | -| 遥测/事件上送 | 网络栈 + `App/protocol/`(协议预留) | `App/protocol/` + `Drivers/BSP/NET/` | +| 遥测/事件上送 | 网络栈 + `App/iec60870/`(现状只有 104) | `App/iec60870/` + `Drivers/BSP/NET/` | | 时间戳 | `sys_clock`(RTC 基准) | `App/util/sys_clock.c` | | 自检留痕 | `selftest.log` / 自检框架 | `App/log/` | diff --git a/docs/算法/采集与算法层设计说明.md b/docs/算法/采集与算法层设计说明.md index fae19b1e..9c1e7ad7 100644 --- a/docs/算法/采集与算法层设计说明.md +++ b/docs/算法/采集与算法层设计说明.md @@ -741,7 +741,7 @@ V0.1 恒命中 UB/UC/IB/IC/IN,位图 `0xE6`),它表示"这路不能测交 | # | 位置 | 现值与语义 | 状态 | |---|---|---|---| | 1 | `App/algo/freq.h` 的 `FREQ_AMP_MIN` | 测频幅值门,**二次值 V 口径**(与 `prot_set.c` 头部量纲基准同源):2026-10-25 重定为 50 V = 0.5×Un;**2026-11-13 用户裁定放宽到 5 V = 0.05×Un**(台架低端注入也能测频,浮空噪声与门仍差两个数量级) | ✅ 已放宽;`eng=0` 过渡期「本门恒不过 → 如实报不可测」是当时那一轮测频轮的读法(引脚域满幅 <5 V,历史叙述);标定完成后 UA ≥5 V 即出数 | -| 2 | `App/protocol/iec104/iec104_pts.c:69-80` | `k_yc[].deadband` 已按点重定:电压 0.5 V、电流 0.005 A、频率 0.5 Hz(真源在 `run_par`,UI 可改) | ✅ 已重定;④ 变比到手后需再复核一次量纲 | +| 2 | `App/algo/run_par.c` 的 `s_db_rom[]`(出厂默认表) | 死区已按点重定:电压 0.5 V、电流 0.005 A、频率 0.5 Hz(毫值 500 / 5 / 500);真源在本模块,UI 与 104 都经 `run_par_deadband()` / `run_par_deadband_set()` 读写。旧实现 `App/protocol/iec104/iec104_pts.c:69-80` 的 `k_yc[].deadband` 是这份常量的前身,该文件 2026-11-18 随骨架迁 MCU 删除,引用的源码行号随之失效 | ✅ 已重定;④ 变比到手后需再复核一次量纲 | | 3 | `App/algo/prot_set.c:25-70` | `g_prot_set_meta[]` 定值 = 二次值 A / V(基准 100 V / 1 A):OC1 10 A、OV 120 V、UV 20 V、3U0 15 V… | 🟡 口径对,但**标定前无法在板上验真**;精度目标定了之后连同 `min`/`max` 复核 | ### 13.8 落盘:拆三段,不碰引擎 diff --git a/docs/网络/IEC104_Net适配契约.md b/docs/网络/IEC104_Net适配契约.md index ca73721c..946b226d 100644 --- a/docs/网络/IEC104_Net适配契约.md +++ b/docs/网络/IEC104_Net适配契约.md @@ -1,15 +1,15 @@ # IEC 104 板端 Net 适配契约 -> **定位**:`App/protocol/iec104/iec104_net_mcu.c` 把成熟 104 库的 `IEC104_Net.h` 后端 ABI 接到 +> **定位**:`App/iec60870/104/iec104_net_mcu.c` 把成熟 104 库的 `IEC104_Net.h` 后端 ABI 接到 > `Drivers/BSP/NET/net_socket.h` 的 `net_*` 接口上,本契约说明**为什么不能直译、按什么规则映射、 -> 哪些不变量必须成立**。代码落点:`App/protocol/iec104/iec104_net_mcu.c` / `.h`。 +> 哪些不变量必须成立**。代码落点:`App/iec60870/104/iec104_net_mcu.c` / `.h`。 > **验证边界**:见 §7——经 fake net 层 12/12 与代码审查,**CH395F 板端行为未证**。 ## 1. 反例:直译 vendor 的 `Close(client)` 会毁掉监听 成熟库按 **Windows/Winsock 式的"独立 client fd"** 设计:监听 socket 与接入后的数据 socket 是两个不同句柄,因此 `Accept` 失败清理、以及"已有客户端时又来一个"的分支,一律 -`IEC104_Net_Close(client, NULL)`——`App/protocol/iec60870/104/IEC104_TcpServer.c` 里共 **7 处** +`IEC104_Net_Close(client, NULL)`——`App/iec60870/104/IEC104_TcpServer.c` 里共 **7 处** (约 1606 / 1611 / 1616 / 1628 / 1636 / 1652 / 1665 行)。在 Winsock 下这让两侧各自独立,语义自洽。 CH395F 是**单连接模型**:`net_accept()` 返回的是**监听 socket 自己**,接入瞬间同一个 fd 从 @@ -128,7 +128,7 @@ listen/close 后旧 handle 必然查表失败。 | 5 个新声明所在的 `#ifndef NET_NO_OS` 段 | `net_socket.h:702` ~ `:809` | | `net_drop_conn_locked` / `net_accept_locked` 声明 | `net_socket.h:769` / `:770` | | `net_pending_bytes` / `net_send_try` / `net_mono_now_ms` 声明 | `net_socket.h:777` / `:785` / `:792` | -| 后端的 LISTEN / CLIENT 分流 | `App/protocol/iec104/iec104_net_mcu.c` 的 `IEC104_Net_Close()` | +| 后端的 LISTEN / CLIENT 分流 | `App/iec60870/104/iec104_net_mcu.c` 的 `IEC104_Net_Close()` | | 后端的 role 查表 | 同文件 `find_role()` / `slot_by_handle()` | -| 7 处 `IEC104_Net_Close(client, NULL)` | `App/protocol/iec60870/104/IEC104_TcpServer.c` 约 1606/1611/1616/1628/1636/1652/1665 | +| 7 处 `IEC104_Net_Close(client, NULL)` | `App/iec60870/104/IEC104_TcpServer.c` 约 1606/1611/1616/1628/1636/1652/1665 | | `server->listen_socket` 赋值点 | 同文件 `:2129`(Listen 成功)/ `:322`、`:2146`、`:3322`(置无效) | diff --git a/docs/门禁说明/mem-budget.md b/docs/门禁说明/mem-budget.md index 6625c8f5..ddf4e663 100644 --- a/docs/门禁说明/mem-budget.md +++ b/docs/门禁说明/mem-budget.md @@ -79,7 +79,7 @@ RAM 预算门禁 FAIL:RW_CCM 占用 92.3% > 92%(阈值 92%) 真实链接测量过」——**这不是预算问题,也不拦提交**(该脚本只挂在 `scripts/ci_local.py` 的体积门禁,不在 51 条 pre-commit 钩子内)。判据:报错里若同时列出「未入索引的文件」且那些文件正被别的任务改,就等它们入库后 统一 `/keil-build` → `ram_baseline.py --update` 补凭证,**别为了把它调绿去 `git add` 别人在飞的改动**。本条写作时 - (2026-10-27 09:4x)凭证**仍是红的**:`App/protocol/iec104/iec104_comm.{c,h}` 正被通讯道改、未入索引; + (2026-10-27 09:4x)凭证**仍是红的**:`App/iec60870/104/iec104_comm.{c,h}` 正被通讯道改、未入索引; 回填动作发生在该卡入库之后,届时以 `--update` 的实际输出为准,本节不预告结果。 ## 7. 豁免与基线 diff --git a/docs/问题记录/采集与数据处理短板评测.md b/docs/问题记录/采集与数据处理短板评测.md index b222ab28..c0030361 100644 --- a/docs/问题记录/采集与数据处理短板评测.md +++ b/docs/问题记录/采集与数据处理短板评测.md @@ -94,7 +94,7 @@ - `App/algo/adc_input.c` 的 `adc_input_raw()` 明确只搬原始码值、不做标定(见其头文件注释)。 - `App/algo/phasor.c` 的系数表只含 √2/N 折算,**不含通道增益**——`fAmSQ` 的数值量纲是"码值",不是 V/A。 - `App/algo/prot_elm.h` 与 `App/algo/freq.h` 均注明"工程量↔码值换算系数 = 1(「通道标定(一次系数 + 零漂)」标定未实现)"。 -- `App/protocol/iec104/iec104_pts.c` 的遥测源直接返回 `p.fAmSQ`;死区 10.0 也是码值口径。 +- 旧 `App/protocol/iec104/iec104_pts.c`(该文件 2026-11-18 随骨架迁 MCU 删除,下条同)的遥测源直接返回 `p.fAmSQ`;死区 10.0 也是码值口径。 **参考做法**:`DataPre.c` 每拍做 `fValue = iVal * pfSamCoe[dwPinNo]`,每通道一个定点(2^10)系数,把码值换成二次侧工程量;再由 PT/CT 变比换一次值。 @@ -119,7 +119,7 @@ **现状与证据** - 全库无 200 ms 测量任务,无谐波方和根、无 4 点平均、无死区确认、无零漂、无畸变率(按关键词扫描 `App/` 与 `Drivers/BSP/` 均无命中)。 -- `App/protocol/iec104/iec104_pts.c` 的 COV 比对在**协议层**做死区判定——遥测层不存在。 +- 旧 `App/protocol/iec104/iec104_pts.c` 的 COV 比对在**协议层**做死区判定——遥测层不存在。 - 遥测值 = 相量瞬时值,每 1 ms 变化一次。 **参考做法**:`CalfYcMea.c`(2 453 行)——中断内回溯一周波 20 点入私有缓冲,主循环每 200 ms:`YcJLFilter` 对 k=1~9 逐次 DFT → 方和根 `√(ΣHk²)` → 4 点平均 → 死区连续 2 点确认 → 零漂门槛置零 → 微调系数 → 变比。 diff --git a/scripts/check_registration.py b/scripts/check_registration.py index 416f7440..42fa2179 100644 --- a/scripts/check_registration.py +++ b/scripts/check_registration.py @@ -147,8 +147,8 @@ SIM_EXEMPT = [ # 命中 -> WARN 不拦;新缺口 -> GAP FAIL。仅针对"存在但未注册"方向。 KNOWN_GAPS = { "App/task/rs485_task.c": "RS-485 接线门禁(驱动契约未修完,随 B2 暂缓)", - "App/protocol/iec60870/104/IEC104_Net_Windows.c": - "Windows 平台后端,板端由 App/protocol/iec104/iec104_net_mcu.c 提供同一 IEC104_Net ABI,不能同时编入(会抢 IEC104_Net_* 符号)", + "App/iec60870/104/IEC104_Net_Windows.c": + "Windows 平台后端,板端由 App/iec60870/104/iec104_net_mcu.c 提供同一 IEC104_Net ABI,不能同时编入(会抢 IEC104_Net_* 符号)", } diff --git a/scripts/check_test_coverage.py b/scripts/check_test_coverage.py index 4607fc88..fce706ab 100644 --- a/scripts/check_test_coverage.py +++ b/scripts/check_test_coverage.py @@ -7,6 +7,7 @@ r""" 1. 发现 test/host/**/run_unit_test.py(与 scripts/ci_local.py 的主机侧纯逻辑单测同一套发现规则), 直接 import 各模块运行器、复用其中声明的 TestBuild(**单一事实源**:include 目录、 桩顺序、测试单元路径都不在这里重复一遍); + 0. 模块运行器顶部显式声明 COVERAGE_SKIP 的纯 Python 套件不参与 C 覆盖率(见 load_test_build); 2. 用**与门禁完全相同的编译开关**(unit_test_harness._BASE_FLAGS)另建一份带 /Zi 调试 信息的产物,交给 Microsoft.CodeCoverage.Console.exe 动态插桩运行; 3. 解析 Cobertura XML,只保留**自研生产源码**(App/**、Drivers/BSP/** 的 .c/.h)的行与 @@ -141,6 +142,10 @@ def load_test_build(runner_path, harness): 各运行器都是声明式的:顶层只 import + 构造 TestBuild,真跑在 if __name__ == "__main__" 里,所以按独立模块名 import 是安全的。 + + 纯 Python 套件没有 C 编译单元,天然没有 BUILD;由运行器顶部显式声明 + COVERAGE_SKIP = "<原因>" 退出本 C 覆盖率门禁。必须是显式标记,不能靠 + "目录里有没有 .c" 猜——那会把真正丢了 BUILD 的 C 套件静默洗成绿灯。 """ mod_name = "dtu_cov_" + re.sub(r"\W+", "_", Path(runner_path).parent.name) spec = importlib.util.spec_from_file_location(mod_name, runner_path) @@ -153,6 +158,9 @@ def load_test_build(runner_path, harness): return None, "{} 在 import 阶段就调用了 sys.exit()".format(runner_path) except Exception as exc: return None, "import {} 失败: {}".format(runner_path, exc) + skip = getattr(mod, "COVERAGE_SKIP", None) + if skip is not None: + return None, ("__SKIP__" + str(skip)) build = getattr(mod, "BUILD", None) if build is None: return None, "{} 未声明模块级 BUILD,覆盖率脚本无法复用其编译配置".format(runner_path) @@ -435,7 +443,7 @@ BASELINE_FILE_FIELDS = ("lines_valid", "lines_covered", "funcs_valid", "funcs_co "line_rate", "func_rate") -def write_baseline(path, modules, files, totals, tested_sources, untested): +def write_baseline(path, modules, files, totals, tested_sources, untested, no_coverage_suites): # 基线只留可比字段:missing_lines 每次跑都会漂,进了台账就是无意义的提交抖动 payload = { "schema": BASELINE_SCHEMA, @@ -444,6 +452,7 @@ def write_baseline(path, modules, files, totals, tested_sources, untested): "门禁判据:files[].lines_covered 与 funcs_covered 只增不减,下降即拦提交。", "totals": totals, "modules": modules, + "no_coverage_suites": no_coverage_suites, "files": {rel: {k: v for k, v in rec.items() if k in BASELINE_FILE_FIELDS} for rel, rec in files.items()}, "tested_sources": tested_sources, @@ -454,7 +463,7 @@ def write_baseline(path, modules, files, totals, tested_sources, untested): f.write("\n") -def diff_baseline(baseline, modules, files, totals, full_run): +def diff_baseline(baseline, modules, files, totals, full_run, no_coverage_suites): """返回 (回退项, 提示项);回退项非空即门禁失败。""" regress, notes = [], [] if baseline is None: @@ -496,6 +505,8 @@ def diff_baseline(baseline, modules, files, totals, full_run): for name, b in sorted(base_mods.items()): cur = modules.get(name) if cur is None: + if name in no_coverage_suites: + continue if full_run: regress.append("模块 {}: 基线里有,本次未跑到(运行器缺失 / import 失败?)".format(name)) elif not cur.get("ok"): @@ -511,6 +522,8 @@ def diff_baseline(baseline, modules, files, totals, full_run): notes.append("新纳入统计: {}({}/{} 行,{})——确认无误后 --update-baseline 登记".format( rel, files[rel]["lines_covered"], files[rel]["lines_valid"], pct(files[rel]["line_rate"]))) + for name, reason in sorted(no_coverage_suites.items()): + notes.append("套件 {} 不参与 C 覆盖率:{}".format(name, reason)) if not full_run: notes.append("本次是 --module 子集运行:并集必然变小,跳过全部覆盖率回退判定" "(文件消失 / 行减少 / 函数减少 / 总计下降);只保留" @@ -522,10 +535,13 @@ def diff_baseline(baseline, modules, files, totals, full_run): # 输出 # -------------------------------------------------------------------------- -def print_report(modules, files, totals, untested, generated, notes, regress, verbose): +def print_report(modules, files, totals, untested, generated, notes, regress, verbose, + no_coverage_suites): print("=== 主机单测覆盖率(口径:docs/测试说明/单元测试/主机单测覆盖率口径.md)===") print("") print("--- 各套单测(插桩运行)---") + for name, reason in sorted(no_coverage_suites.items()): + print(" {:<12} SKIP {}".format(name, reason)) for name in sorted(modules): m = modules[name] if not m["ok"]: @@ -571,7 +587,7 @@ def print_report(modules, files, totals, untested, generated, notes, regress, ve totals["files_tested"], totals["files_untested"])) -def write_markdown(path, modules, files, totals, untested, notes, regress): +def write_markdown(path, modules, files, totals, untested, notes, regress, no_coverage_suites): """一次性 Markdown 报告(建议放临时目录,不入库)。 ⚠ 行拼装一律走 code() 显式拼接:`.format` 的优先级高于 `+`,写成 @@ -604,6 +620,8 @@ def write_markdown(path, modules, files, totals, untested, notes, regress): "| 套件 | 结果 | 触及生产文件 | 插桩行 |", "|---|---|---|---|", ] + for name, reason in sorted(no_coverage_suites.items()): + out.append("| " + code(name) + " | SKIP(" + reason + ") | 0 | 0 |") for name in sorted(modules): m = modules[name] out.append("| " + code(name) + " | " @@ -704,12 +722,16 @@ def run(args): total_files = {} modules = {} + no_coverage_suites = {} for name, runner in sorted(runners.items()): + build, err = load_test_build(runner, harness) + if err and err.startswith("__SKIP__"): + no_coverage_suites[name] = err[len("__SKIP__"):] + continue workdir = os.path.join(work_root, name) shutil.rmtree(workdir, ignore_errors=True) os.makedirs(workdir, exist_ok=True) - build, err = load_test_build(runner, harness) if err: modules[name] = {"ok": False, "reason": err, "files": {}, "lines_total": 0} print("[FAIL] {}".format(err), file=sys.stderr) @@ -796,6 +818,7 @@ def run(args): if args.json: payload = {"totals": totals, "modules": modules, "files": files, + "no_coverage_suites": no_coverage_suites, "untested_sources": untested, "generated_excluded": generated} Path(args.json).write_text( json.dumps(payload, ensure_ascii=False, indent=2, sort_keys=True) + "\n", @@ -805,15 +828,19 @@ def run(args): if args.build_only: regress, notes = [], ["--build-only:只编译覆盖率形态(带 PDB),不采集数据"] else: - regress, notes = diff_baseline(baseline, modules, files, totals, full_run) + regress, notes = diff_baseline(baseline, modules, files, totals, full_run, + no_coverage_suites) - print_report(modules, files, totals, untested, generated, notes, regress, args.verbose) + print_report(modules, files, totals, untested, generated, notes, regress, args.verbose, + no_coverage_suites) if args.md: - write_markdown(args.md, modules, files, totals, untested, notes, regress) + write_markdown(args.md, modules, files, totals, untested, notes, regress, + no_coverage_suites) print("[OK] Markdown 报告: {}".format(args.md)) if args.update_baseline: - write_baseline(args.baseline, modules, files, totals, tested, untested) + write_baseline(args.baseline, modules, files, totals, tested, untested, + no_coverage_suites) print("[OK] 基线已写入 {}".format(os.path.relpath(args.baseline, REPO_ROOT))) return 0 diff --git a/scripts/ram_baseline.tsv b/scripts/ram_baseline.tsv index 41c1b609..eed67e9e 100644 --- a/scripts/ram_baseline.tsv +++ b/scripts/ram_baseline.tsv @@ -23,4 +23,4 @@ date code ro rw zi er_irom1 er_pct iram1 iram1_pct ccm ccm_pct top_rwzi 2026-11-11 256024 31760 2080 152368 287784 27.4 97024 74.0 57376 87.9 heap_4.o=57376;lv_mem_core_builtin.o=16384;nand_ftl.o=8288;lftpd.o=7884;ui_net_sink.o=6802;ui_port.o=6432;wave_ring.o=5332;sb_link.o=4376;ch395f.o=4162;console_log.o=4132 2026-11-13 256592 32036 2088 152584 288628 27.5 97248 74.2 57376 87.9 heap_4.o=57376;lv_mem_core_builtin.o=16384;nand_ftl.o=8288;lftpd.o=7884;ui_net_sink.o=6802;ui_port.o=6432;wave_ring.o=5332;sb_link.o=4376;ch395f.o=4162;console_log.o=4132 2026-11-15 256592 32036 2088 152584 288628 27.5 97248 74.2 57376 87.9 heap_4.o=57376;lv_mem_core_builtin.o=16384;nand_ftl.o=8288;lftpd.o=7884;ui_net_sink.o=6802;ui_port.o=6432;wave_ring.o=5332;sb_link.o=4376;ch395f.o=4162;console_log.o=4132 -2026-11-18 367488 48604 2288 173544 416092 39.7 118408 90.3 57376 87.9 heap_4.o=57376;lv_mem_core_builtin.o=16384;nand_ftl.o=8288;lftpd.o=7884;iec104_tcpserver.o=7656;ui_net_sink.o=6802;ui_port.o=6432;iec104_source.o=5944;wave_ring.o=5332;sb_link.o=4376 +2026-11-18 365792 48336 2288 173544 414128 39.5 118408 90.3 57376 87.9 heap_4.o=57376;lv_mem_core_builtin.o=16384;nand_ftl.o=8288;lftpd.o=7884;iec104_tcpserver.o=7656;ui_net_sink.o=6802;ui_port.o=6432;iec104_source.o=5944;wave_ring.o=5332;sb_link.o=4376 diff --git a/scripts/size_attestation.json b/scripts/size_attestation.json index 1f00f1e0..2585f15d 100644 --- a/scripts/size_attestation.json +++ b/scripts/size_attestation.json @@ -1,17 +1,17 @@ { - "built_at": "2026-11-18T19:40:16+08:00", - "fingerprint": "ab2a2842d208dd3fc465d3a5fa346f423d826bffd5e5456f24aba4724c1aa7c6", - "fingerprint_files": 1583, + "built_at": "2026-11-18T21:50:20+08:00", + "fingerprint": "9e6301ede83014653be5ff5c14b6753244713e86c8ed5dd907a6c21483c772ac", + "fingerprint_files": 1563, "fingerprint_source": "git-index", "gated_regions": [ "RW_IRAM1", "RW_CCM" ], - "git_head": "6e0755f97152f62de724e9bde66ba9a83691de08", + "git_head": "50ee1b44021c7cc291f70fcad1c73f3385e15dc6", "map": "MDK-ARM/STM32F407-Demo/STM32F407-Demo.map", - "map_mtime": 1795001958, + "map_mtime": 1795009797, "pct": { - "ER_IROM1": 39.68, + "ER_IROM1": 39.49, "RW_CCM": 87.89, "RW_IRAM1": 90.34, "UNINIT_CCM": 18.75 @@ -19,7 +19,7 @@ "regions": { "ER_IROM1": { "max": 1048576, - "size": 416092 + "size": 414128 }, "RW_CCM": { "max": 65280, @@ -37,8 +37,8 @@ "schema": 2, "scope_note": "\u540c\u7801\u51ed\u8bc1\uff1a\u6307\u7eb9\u8986\u76d6\u56fa\u4ef6\u4f53\u79ef\u76f8\u5173\u6e90\u7801\uff0c\u53e3\u5f84\u89c1\u672c\u811a\u672c docstring", "sizes": { - "code": 367488, - "ro_data": 48604, + "code": 365792, + "ro_data": 48336, "rw_data": 2288, "zi_data": 173544 }, diff --git a/scripts/test_coverage_baseline.json b/scripts/test_coverage_baseline.json index 6f5117ae..33071a93 100644 --- a/scripts/test_coverage_baseline.json +++ b/scripts/test_coverage_baseline.json @@ -144,13 +144,29 @@ "lines_covered": 33, "lines_valid": 33 }, + "App/iec60870/104/iec104_comm.c": { + "func_rate": 1.0, + "funcs_covered": 7, + "funcs_valid": 7, + "line_rate": 1.0, + "lines_covered": 50, + "lines_valid": 50 + }, + "App/iec60870/common/IEC60870_Time.c": { + "func_rate": 0.45, + "funcs_covered": 9, + "funcs_valid": 20, + "line_rate": 0.3669, + "lines_covered": 62, + "lines_valid": 169 + }, "App/log/console_log.c": { "func_rate": 1.0, "funcs_covered": 21, "funcs_valid": 21, "line_rate": 0.9961, - "lines_covered": 256, - "lines_valid": 257 + "lines_covered": 255, + "lines_valid": 256 }, "App/log/soe_rec.c": { "func_rate": 1.0, @@ -176,38 +192,6 @@ "lines_covered": 410, "lines_valid": 413 }, - "App/protocol/iec104/iec104_asdu.c": { - "func_rate": 1.0, - "funcs_covered": 10, - "funcs_valid": 10, - "line_rate": 0.932, - "lines_covered": 96, - "lines_valid": 103 - }, - "App/protocol/iec104/iec104_comm.c": { - "func_rate": 1.0, - "funcs_covered": 7, - "funcs_valid": 7, - "line_rate": 0.98, - "lines_covered": 49, - "lines_valid": 50 - }, - "App/protocol/iec104/iec104_link.c": { - "func_rate": 1.0, - "funcs_covered": 23, - "funcs_valid": 23, - "line_rate": 0.9062, - "lines_covered": 367, - "lines_valid": 405 - }, - "App/protocol/iec104/iec104_pts.c": { - "func_rate": 0.9524, - "funcs_covered": 20, - "funcs_valid": 21, - "line_rate": 0.8902, - "lines_covered": 227, - "lines_valid": 255 - }, "App/sync/time_sntp.c": { "func_rate": 1.0, "funcs_covered": 18, @@ -225,12 +209,12 @@ "lines_valid": 20 }, "App/task/iec104_serv.c": { - "func_rate": 0.75, + "func_rate": 1.0, "funcs_covered": 9, - "funcs_valid": 12, - "line_rate": 0.7572, - "lines_covered": 131, - "lines_valid": 173 + "funcs_valid": 9, + "line_rate": 1.0, + "lines_covered": 102, + "lines_valid": 102 }, "App/util/boot_stats.c": { "func_rate": 1.0, @@ -242,11 +226,11 @@ }, "App/util/ioboard_di.c": { "func_rate": 1.0, - "funcs_covered": 8, - "funcs_valid": 8, - "line_rate": 0.9358, - "lines_covered": 102, - "lines_valid": 109 + "funcs_covered": 10, + "funcs_valid": 10, + "line_rate": 0.9426, + "lines_covered": 115, + "lines_valid": 122 }, "App/util/sha256.c": { "func_rate": 1.0, @@ -369,12 +353,12 @@ "lines_valid": 117 }, "Drivers/BSP/NET/net_socket.c": { - "func_rate": 1.0, + "func_rate": 0.9516, "funcs_covered": 59, - "funcs_valid": 59, - "line_rate": 0.9969, + "funcs_valid": 62, + "line_rate": 0.9612, "lines_covered": 966, - "lines_valid": 969 + "lines_valid": 1005 }, "Drivers/BSP/NET/net_udp.c": { "func_rate": 1.0, @@ -496,9 +480,9 @@ }, "console_log": { "files": { - "App/log/console_log.c": 257 + "App/log/console_log.c": 256 }, - "lines_total": 257, + "lines_total": 256, "ok": true }, "freq": { @@ -525,38 +509,27 @@ "lines_total": 36, "ok": true }, - "iec104": { + "iec104_comm": { "files": { - "App/algo/adc_cal.c": 193, - "App/algo/freq.c": 130, - "App/algo/meas.c": 64, - "App/algo/phasor.c": 55, - "App/algo/prot_elm.c": 122, - "App/algo/prot_set.c": 179, - "App/algo/run_par.c": 148, - "App/algo/sample_ring.c": 41, - "App/cfg/cfg_file.c": 754, - "App/protocol/iec104/iec104_asdu.c": 103, - "App/protocol/iec104/iec104_comm.c": 50, - "App/protocol/iec104/iec104_link.c": 405, - "App/protocol/iec104/iec104_pts.c": 255 + "App/iec60870/104/iec104_comm.c": 50 }, - "lines_total": 2499, + "lines_total": 50, "ok": true }, "iec104_serv": { "files": { - "App/task/iec104_serv.c": 173 + "App/iec60870/104/iec104_comm.c": 50, + "App/task/iec104_serv.c": 102 }, - "lines_total": 173, + "lines_total": 152, "ok": true }, "ioboard": { "files": { - "App/util/ioboard_di.c": 109, + "App/util/ioboard_di.c": 122, "Drivers/BSP/IOBOARD/ioboard_bits.c": 8 }, - "lines_total": 117, + "lines_total": 130, "ok": true }, "lftpd": { @@ -636,10 +609,10 @@ }, "net_socket": { "files": { - "Drivers/BSP/NET/net_socket.c": 969, + "Drivers/BSP/NET/net_socket.c": 1005, "Drivers/BSP/NET/net_udp.c": 239 }, - "lines_total": 1208, + "lines_total": 1244, "ok": true }, "phasor": { @@ -736,10 +709,10 @@ }, "soe": { "files": { - "App/log/soe_rec.c": 87, - "App/protocol/iec104/iec104_asdu.c": 103 + "App/iec60870/common/IEC60870_Time.c": 169, + "App/log/soe_rec.c": 87 }, - "lines_total": 190, + "lines_total": 256, "ok": true }, "soe_store": { @@ -838,6 +811,9 @@ "ok": true } }, + "no_coverage_suites": { + "iec104_dtu": "纯 Python oracle/解码器测试,无 C 编译单元" + }, "note": "主机单测覆盖率基线。口径与工具链限制见 docs/测试说明/单元测试/主机单测覆盖率口径.md。门禁判据:files[].lines_covered 与 funcs_covered 只增不减,下降即拦提交。", "schema": 1, "tested_sources": [ @@ -859,14 +835,12 @@ "App/cfg/prot_set_store.c", "App/fs/vol_idle_sync.c", "App/fs/vol_lock.c", + "App/iec60870/104/iec104_comm.c", + "App/iec60870/common/IEC60870_Time.c", "App/log/console_log.c", "App/log/soe_rec.c", "App/log/soe_store.c", "App/log/sys_log_mcu.c", - "App/protocol/iec104/iec104_asdu.c", - "App/protocol/iec104/iec104_comm.c", - "App/protocol/iec104/iec104_link.c", - "App/protocol/iec104/iec104_pts.c", "App/sync/time_sntp.c", "App/sync/time_sync.c", "App/task/iec104_serv.c", @@ -899,39 +873,123 @@ "Drivers/BSP/UI/ui_w_soe.c" ], "totals": { - "files_generated_excluded": 5, - "files_tested": 56, - "files_untested": 181, - "func_rate": 0.9339, - "funcs_covered": 664, - "funcs_valid": 711, - "line_rate": 0.9027, - "lines_covered": 8848, - "lines_valid": 9802, + "files_generated_excluded": 6, + "files_tested": 54, + "files_untested": 254, + "func_rate": 0.9161, + "funcs_covered": 622, + "funcs_valid": 679, + "line_rate": 0.8932, + "lines_covered": 8204, + "lines_valid": 9185, "modules_ok": 49, "modules_total": 49 }, "untested_sources": [ + { + "code_lines": 3526, + "path": "App/iec60870/common/IEC60870_InformationObjects.c" + }, + { + "code_lines": 2176, + "path": "App/iec60870/104/IEC104_TcpServer.c" + }, + { + "code_lines": 1680, + "path": "App/iec60870/104/IEC104_AsduQueue.c" + }, + { + "code_lines": 1480, + "path": "App/iec60870/104/business/IEC104_Interrogation.c" + }, + { + "code_lines": 1374, + "path": "App/iec60870/104/business/IEC104_Command.c" + }, + { + "code_lines": 1125, + "path": "App/iec60870/104/IEC104_SendManager.c" + }, + { + "code_lines": 1086, + "path": "App/iec60870/104/business/IEC104_RemoteParameter.c" + }, + { + "code_lines": 1027, + "path": "App/iec60870/104/business/IEC104_PeriodicScan.c" + }, + { + "code_lines": 945, + "path": "App/iec60870/104/IEC104_Connection.c" + }, + { + "code_lines": 892, + "path": "App/iec60870/104/business/IEC104_SystemCommand.c" + }, + { + "code_lines": 802, + "path": "App/iec60870/104/IEC104_Slave.c" + }, { "code_lines": 801, "path": "Drivers/BSP/CH395F/ch395f.c" }, + { + "code_lines": 757, + "path": "App/iec60870/104/business/IEC104_Parameter.c" + }, { "code_lines": 712, "path": "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.c" }, + { + "code_lines": 656, + "path": "App/iec60870/common/IEC60870_InformationObjects.h" + }, + { + "code_lines": 653, + "path": "App/iec60870/104/business/IEC104_Spontaneous.c" + }, + { + "code_lines": 640, + "path": "App/iec60870/104/iec104_core.c" + }, { "code_lines": 597, "path": "App/task/ui_task.c" }, { - "code_lines": 539, + "code_lines": 585, + "path": "App/iec60870/examples/iec104_dtu_profile.h" + }, + { + "code_lines": 579, + "path": "App/iec60870/104/IEC104_Link.c" + }, + { + "code_lines": 541, "path": "App/task/default_task.c" }, { - "code_lines": 423, + "code_lines": 517, + "path": "App/iec60870/104/business/IEC104_ClockSynchronization.c" + }, + { + "code_lines": 489, + "path": "App/iec60870/104/iec104_source.c" + }, + { + "code_lines": 465, "path": "App/app/ui_data_feed.c" }, + { + "code_lines": 462, + "path": "App/iec60870/104/business/IEC104_Read.c" + }, + { + "code_lines": 441, + "path": "App/iec60870/104/iec104_net_mcu.c" + }, { "code_lines": 375, "path": "App/task/adc_task.c" @@ -944,21 +1002,29 @@ "code_lines": 353, "path": "Drivers/BSP/UI/ui_w_setview.c" }, + { + "code_lines": 343, + "path": "App/iec60870/104/IEC104_SendBuffer.c" + }, { "code_lines": 334, "path": "Drivers/BSP/UI/ui_content_page.c" }, + { + "code_lines": 281, + "path": "App/iec60870/common/IEC60870_Asdu.c" + }, { "code_lines": 265, "path": "Drivers/BSP/UI/ui_w_editor.c" }, { "code_lines": 264, - "path": "Drivers/BSP/SD2506/sd2506.c" + "path": "Drivers/BSP/IOBOARD/ioboard.c" }, { - "code_lines": 262, - "path": "Drivers/BSP/IOBOARD/ioboard.c" + "code_lines": 264, + "path": "Drivers/BSP/SD2506/sd2506.c" }, { "code_lines": 261, @@ -973,7 +1039,11 @@ "path": "Drivers/BSP/UI/ui_page_wave_play.c" }, { - "code_lines": 232, + "code_lines": 247, + "path": "App/iec60870/104/IEC104_Net_Windows.c" + }, + { + "code_lines": 238, "path": "Drivers/BSP/UI/ui_data.h" }, { @@ -984,6 +1054,14 @@ "code_lines": 215, "path": "Drivers/BSP/UI/ui_w_setlist.c" }, + { + "code_lines": 210, + "path": "App/iec60870/104/IEC104_TcpTypes.h" + }, + { + "code_lines": 208, + "path": "App/iec60870/common/IEC60870_FaultEvent.c" + }, { "code_lines": 206, "path": "Drivers/BSP/CH395F/ch395f.h" @@ -992,10 +1070,42 @@ "code_lines": 205, "path": "Drivers/BSP/UI/ui_page_net_cfg.c" }, + { + "code_lines": 204, + "path": "App/iec60870/104/IEC104_SendManager.h" + }, { "code_lines": 200, "path": "Drivers/BSP/UI/ui_w_ytview.c" }, + { + "code_lines": 190, + "path": "App/iec60870/104/IEC104_Slave.h" + }, + { + "code_lines": 182, + "path": "App/iec60870/104/IEC104_AsduQueue.h" + }, + { + "code_lines": 180, + "path": "App/iec60870/104/business/IEC104_Command.h" + }, + { + "code_lines": 179, + "path": "App/iec60870/104/business/IEC104_RemoteParameter.h" + }, + { + "code_lines": 175, + "path": "App/iec60870/104/IEC104_Connection.h" + }, + { + "code_lines": 169, + "path": "App/iec60870/104/IEC104_Codec.c" + }, + { + "code_lines": 169, + "path": "App/iec60870/104/IEC104_Receiver.c" + }, { "code_lines": 157, "path": "Drivers/BSP/TPAFE5160/tpafe5160.c" @@ -1012,6 +1122,10 @@ "code_lines": 150, "path": "Drivers/BSP/UI/ui_page_password.c" }, + { + "code_lines": 148, + "path": "App/iec60870/104/IEC104_Link_Common.h" + }, { "code_lines": 148, "path": "Drivers/BSP/UI/ui_page_device_info.c" @@ -1024,10 +1138,22 @@ "code_lines": 142, "path": "App/task/protect_task.c" }, + { + "code_lines": 139, + "path": "App/iec60870/common/IEC60870_Codec.c" + }, + { + "code_lines": 136, + "path": "App/iec60870/104/business/IEC104_Interrogation.h" + }, { "code_lines": 134, "path": "Drivers/BSP/UI/ui_menu.c" }, + { + "code_lines": 129, + "path": "App/task/net_task.c" + }, { "code_lines": 129, "path": "Drivers/BSP/UI/ui_page_clear.c" @@ -1037,8 +1163,16 @@ "path": "Drivers/BSP/UI/ui_page_comm.c" }, { - "code_lines": 123, - "path": "App/task/net_task.c" + "code_lines": 126, + "path": "App/iec60870/104/business/IEC104_Startup.c" + }, + { + "code_lines": 124, + "path": "App/iec60870/104/business/IEC104_Spontaneous.h" + }, + { + "code_lines": 120, + "path": "Drivers/BSP/UI/ui_page_yx.c" }, { "code_lines": 119, @@ -1048,6 +1182,18 @@ "code_lines": 114, "path": "Drivers/BSP/UI/ui_page_ac.c" }, + { + "code_lines": 111, + "path": "App/iec60870/104/business/IEC104_Parameter.h" + }, + { + "code_lines": 110, + "path": "App/iec60870/104/IEC104_SendBuffer.h" + }, + { + "code_lines": 109, + "path": "App/iec60870/104/business/IEC104_PeriodicScan.h" + }, { "code_lines": 104, "path": "Drivers/BSP/NET/net_types.h" @@ -1057,20 +1203,28 @@ "path": "Drivers/BSP/UI/ui_port.c" }, { - "code_lines": 98, - "path": "Drivers/BSP/SD2506/sd2506.h" + "code_lines": 102, + "path": "App/iec60870/104/IEC104_TcpServer.h" }, { - "code_lines": 94, + "code_lines": 99, "path": "Drivers/BSP/NET/net_socket.h" }, + { + "code_lines": 98, + "path": "Drivers/BSP/SD2506/sd2506.h" + }, { "code_lines": 93, "path": "Drivers/BSP/GD5F2GQ5UE/gd5f2gq5ue.h" }, { - "code_lines": 87, - "path": "Drivers/BSP/UI/ui_page_yx.c" + "code_lines": 89, + "path": "App/iec60870/104/IEC104_Link_Slave_StartStop.c" + }, + { + "code_lines": 85, + "path": "App/iec60870/104/business/IEC104_SystemCommand.h" }, { "code_lines": 84, @@ -1084,26 +1238,42 @@ "code_lines": 77, "path": "App/algo/prot_set.h" }, + { + "code_lines": 77, + "path": "App/iec60870/104/business/IEC104_ClockSynchronization.h" + }, { "code_lines": 77, "path": "Drivers/BSP/dbg_log.h" }, + { + "code_lines": 75, + "path": "App/iec60870/104/iec104_dtu_table.c" + }, + { + "code_lines": 73, + "path": "App/iec60870/common/IEC60870_Asdu.h" + }, { "code_lines": 70, "path": "Drivers/BSP/UI/ui_page_dc.c" }, { - "code_lines": 62, - "path": "App/protocol/iec104/iec104_asdu.h" + "code_lines": 66, + "path": "App/iec60870/104/business/IEC104_Read.h" + }, + { + "code_lines": 66, + "path": "App/iec60870/common/IEC60870_Time.h" + }, + { + "code_lines": 59, + "path": "App/iec60870/104/IEC104_Types.h" }, { "code_lines": 55, "path": "App/algo/adc_health.h" }, - { - "code_lines": 55, - "path": "App/protocol/iec104/iec104_link.h" - }, { "code_lines": 55, "path": "Drivers/BSP/ScreenLink/sb_link.h" @@ -1112,10 +1282,22 @@ "code_lines": 54, "path": "Drivers/BSP/TPAFE5160/tpafe5160.h" }, + { + "code_lines": 53, + "path": "App/iec60870/common/IEC60870_FaultEvent.h" + }, { "code_lines": 52, "path": "Drivers/BSP/UI/ui_w_setlist.h" }, + { + "code_lines": 51, + "path": "App/iec60870/104/IEC104_Net.h" + }, + { + "code_lines": 51, + "path": "App/iec60870/104/IEC104_Receiver.h" + }, { "code_lines": 51, "path": "App/util/task_watchdog.h" @@ -1124,6 +1306,10 @@ "code_lines": 50, "path": "App/log/sys_log.h" }, + { + "code_lines": 49, + "path": "App/iec60870/104/iec104_source.h" + }, { "code_lines": 47, "path": "Drivers/BSP/UI/ui_w_soe.h" @@ -1152,6 +1338,10 @@ "code_lines": 42, "path": "App/cfg/cfg_file.h" }, + { + "code_lines": 41, + "path": "App/iec60870/104/IEC104_Codec.h" + }, { "code_lines": 41, "path": "Drivers/BSP/NET/lftpd/private/lftpd_status.h" @@ -1176,6 +1366,10 @@ "code_lines": 41, "path": "Drivers/BSP/UI/ui_page_view_word.c" }, + { + "code_lines": 40, + "path": "App/util/ioboard_di.h" + }, { "code_lines": 40, "path": "Drivers/BSP/UI/ui_page_deadband.c" @@ -1186,12 +1380,16 @@ }, { "code_lines": 38, - "path": "App/util/ioboard_di.h" + "path": "App/iec60870/common/IEC60870_InformationObjects_Internal.h" }, { "code_lines": 38, "path": "Drivers/BSP/UI/ui_page_wave_manual.c" }, + { + "code_lines": 37, + "path": "App/iec60870/104/business/IEC104_GeneralInterrogation.c" + }, { "code_lines": 36, "path": "Drivers/BSP/UI/ui_w_records.h" @@ -1200,10 +1398,26 @@ "code_lines": 35, "path": "App/algo/prot_elm.h" }, + { + "code_lines": 35, + "path": "App/iec60870/104/business/IEC104_CounterInterrogation.c" + }, + { + "code_lines": 35, + "path": "App/iec60870/104/iec104_core.h" + }, + { + "code_lines": 34, + "path": "App/iec60870/104/IEC104_TcpServer_Config.h" + }, { "code_lines": 34, "path": "Drivers/BSP/NETCFG/net_cfg.h" }, + { + "code_lines": 33, + "path": "Drivers/BSP/IOBOARD/ioboard.h" + }, { "code_lines": 33, "path": "Drivers/BSP/NET/net_config.h" @@ -1230,11 +1444,7 @@ }, { "code_lines": 31, - "path": "App/protocol/iec104/iec104_pts.h" - }, - { - "code_lines": 31, - "path": "Drivers/BSP/IOBOARD/ioboard.h" + "path": "App/iec60870/104/iec104_net_mcu.h" }, { "code_lines": 31, @@ -1248,6 +1458,10 @@ "code_lines": 31, "path": "Drivers/BSP/UI/ui_w_editor.h" }, + { + "code_lines": 30, + "path": "App/iec60870/104/iec104_dtu_table.h" + }, { "code_lines": 29, "path": "App/algo/meas.h" @@ -1266,7 +1480,7 @@ }, { "code_lines": 27, - "path": "App/task/task_handles.h" + "path": "App/iec60870/common/IEC60870_Codec.h" }, { "code_lines": 27, @@ -1288,10 +1502,22 @@ "code_lines": 26, "path": "App/algo/sb_led_map.h" }, + { + "code_lines": 26, + "path": "App/iec60870/104/business/IEC104_Startup.h" + }, { "code_lines": 26, "path": "Drivers/BSP/UI/ui_port.h" }, + { + "code_lines": 25, + "path": "App/iec60870/common/IEC60870_Slave.h" + }, + { + "code_lines": 25, + "path": "App/task/task_handles.h" + }, { "code_lines": 25, "path": "Drivers/BSP/NETCFG/sntp_cfg.h" @@ -1310,12 +1536,16 @@ }, { "code_lines": 23, - "path": "App/protocol/iec104/iec104_comm.h" + "path": "App/iec60870/104/iec104_comm.h" }, { "code_lines": 22, "path": "App/cfg/cfg_file_store.h" }, + { + "code_lines": 22, + "path": "App/iec60870/104/IEC104_Link_Slave_StartStop.h" + }, { "code_lines": 22, "path": "App/log/console_log.h" @@ -1360,6 +1590,10 @@ "code_lines": 22, "path": "Drivers/BSP/UI/ui_page_yk.c" }, + { + "code_lines": 20, + "path": "App/iec60870/104/business/IEC104_Interrogation_Internal.h" + }, { "code_lines": 19, "path": "App/app/sys_events.h" @@ -1368,6 +1602,10 @@ "code_lines": 19, "path": "App/fs/vol_lock.h" }, + { + "code_lines": 19, + "path": "App/iec60870/common/IEC60870_Slave.c" + }, { "code_lines": 18, "path": "Drivers/BSP/NET/lftpd/lftpd.h" @@ -1380,14 +1618,26 @@ "code_lines": 17, "path": "App/algo/sample_ring.h" }, + { + "code_lines": 16, + "path": "App/iec60870/104/business/IEC104_CounterInterrogation.h" + }, { "code_lines": 16, "path": "Drivers/BSP/UI/ui_menu_view.h" }, + { + "code_lines": 16, + "path": "Drivers/BSP/UI/ui_net_sink_backend_mcu.c" + }, { "code_lines": 15, "path": "App/algo/freq.h" }, + { + "code_lines": 15, + "path": "App/iec60870/104/IEC104_Link_Internal.h" + }, { "code_lines": 15, "path": "App/log/soe_store.h" @@ -1400,10 +1650,6 @@ "code_lines": 15, "path": "Drivers/BSP/NET/net_udp.h" }, - { - "code_lines": 15, - "path": "Drivers/BSP/UI/ui_net_sink_backend_mcu.c" - }, { "code_lines": 15, "path": "Drivers/BSP/UI/ui_standby.h" @@ -1416,6 +1662,10 @@ "code_lines": 14, "path": "Drivers/BSP/UI/ui_style.c" }, + { + "code_lines": 13, + "path": "App/iec60870/common/IEC60870_Types.h" + }, { "code_lines": 13, "path": "App/task/adc_task.h" @@ -1424,6 +1674,10 @@ "code_lines": 13, "path": "Drivers/BSP/NET/net_events.h" }, + { + "code_lines": 13, + "path": "Drivers/BSP/UI/ui_net_sink_backend.h" + }, { "code_lines": 13, "path": "Drivers/BSP/UI/ui_pwd_def.h" @@ -1436,6 +1690,10 @@ "code_lines": 12, "path": "App/app/app_main.h" }, + { + "code_lines": 12, + "path": "App/iec60870/104/business/IEC104_BusinessConfig_Internal.h" + }, { "code_lines": 12, "path": "App/sync/time_sntp.h" @@ -1452,10 +1710,6 @@ "code_lines": 12, "path": "Drivers/BSP/UI/ui_menu.h" }, - { - "code_lines": 12, - "path": "Drivers/BSP/UI/ui_net_sink_backend.h" - }, { "code_lines": 11, "path": "App/task/net_task.h" @@ -1556,6 +1810,10 @@ "code_lines": 10, "path": "App/fs/vol_idle_sync.h" }, + { + "code_lines": 10, + "path": "App/iec60870/104/IEC104_Config_Internal.h" + }, { "code_lines": 10, "path": "App/sync/time_sync.h" @@ -1564,6 +1822,10 @@ "code_lines": 10, "path": "App/task/default_task.h" }, + { + "code_lines": 9, + "path": "App/iec60870/common/IEC60870_StaticAssert.h" + }, { "code_lines": 6, "path": "Drivers/BSP/UI/ui_page_password.h" @@ -1608,10 +1870,18 @@ "code_lines": 5, "path": "Drivers/BSP/UI/ui_page_oper.h" }, + { + "code_lines": 5, + "path": "Drivers/BSP/UI/ui_page_runlog.h" + }, { "code_lines": 5, "path": "Drivers/BSP/UI/ui_page_runreport.h" }, + { + "code_lines": 5, + "path": "Drivers/BSP/UI/ui_page_selftest.h" + }, { "code_lines": 5, "path": "Drivers/BSP/UI/ui_page_start.h" @@ -1621,16 +1891,12 @@ "path": "Drivers/BSP/UI/ui_page_yk.h" }, { - "code_lines": 4, - "path": "Drivers/BSP/UI/ui_page_runlog.h" - }, - { - "code_lines": 4, - "path": "Drivers/BSP/UI/ui_page_selftest.h" + "code_lines": 3, + "path": "App/app/app_cfg.h" }, { "code_lines": 3, - "path": "App/app/app_cfg.h" + "path": "App/iec60870/104/business/IEC104_GeneralInterrogation.h" }, { "code_lines": 3, diff --git a/simulator/CMakeLists.txt b/simulator/CMakeLists.txt index 1c90e3d2..61ab21a5 100644 --- a/simulator/CMakeLists.txt +++ b/simulator/CMakeLists.txt @@ -9,7 +9,7 @@ set(LVGL_DIR "${PROJECT_ROOT}/Lib/lvgl") set(UI_DIR "${PROJECT_ROOT}/Drivers/BSP/UI") set(NET_DIR "${PROJECT_ROOT}/Drivers/BSP/NET") set(NETCFG_DIR "${PROJECT_ROOT}/Drivers/BSP/NETCFG") -set(IEC60870_DIR "${PROJECT_ROOT}/App/protocol/iec60870") +set(IEC60870_DIR "${PROJECT_ROOT}/App/iec60870") set(SDL2_DIR "${CMAKE_CURRENT_SOURCE_DIR}/SDL2/SDL2-2.32.10") #============================================================================= @@ -58,7 +58,6 @@ include_directories( # 声明宿主安全;2026-09-21 修复模拟器构建断链; # 2026-10-02 测试目录重构后头文件移入 test/board/) ${PROJECT_ROOT}/App/cfg # cfg_file.h / cfg_file_store.h(通用配置文件引擎,双端共享核心) - ${PROJECT_ROOT}/App/protocol/iec104 # iec104_comm.h([comm] 段契约头,供 IEC104_SOURCES 编译;道G task-8) ${PROJECT_ROOT}/App/log # sys_log.h(运行/自检记录引擎,双端共享核心) ${PROJECT_ROOT}/App/algo # prot_set.h(定值模型纯算法,双端共享核心;见 ALGO_SOURCES) ${PROJECT_ROOT}/App/util # ioboard_di.h(开入去抖与快照,双端共享核心) @@ -170,10 +169,10 @@ set(ALGO_SOURCES # iec104_net_mcu.c 是 MCU 平台后端(匹配 *_mcu.c 豁免规则), # 模拟器由 vendor 的 IEC104_Net_Windows.c 提供同一 IEC104_Net ABI,故不在此注册。 set(IEC104_SOURCES - ${PROJECT_ROOT}/App/protocol/iec104/iec104_comm.c - ${PROJECT_ROOT}/App/protocol/iec104/iec104_core.c - ${PROJECT_ROOT}/App/protocol/iec104/iec104_source.c - ${PROJECT_ROOT}/App/protocol/iec104/iec104_dtu_table.c + ${PROJECT_ROOT}/App/iec60870/104/iec104_comm.c + ${PROJECT_ROOT}/App/iec60870/104/iec104_core.c + ${PROJECT_ROOT}/App/iec60870/104/iec104_source.c + ${PROJECT_ROOT}/App/iec60870/104/iec104_dtu_table.c ${IEC60870_DIR}/common/IEC60870_Asdu.c ${IEC60870_DIR}/common/IEC60870_Codec.c ${IEC60870_DIR}/common/IEC60870_FaultEvent.c diff --git a/simulator/README.md b/simulator/README.md index f45a12c1..0d35f9ab 100644 --- a/simulator/README.md +++ b/simulator/README.md @@ -131,7 +131,7 @@ LVGL 场景(同一份 ui_menu.c) ### 2.5 IEC104 共享核心显式运行模式 -`--iec104` 路径装配 `App/protocol/iec104/iec104_core.c` 与成熟 Slave/TcpServer/Windows 网络后端,在同一个 `lvgl_sim.exe` 内提供真实 TCP,监听 `0.0.0.0`(全部本机 IPv4 接口,默认端口 2404)。本机可用 `127.0.0.1` 连接;局域网客户端应使用模拟器所在主机的实际 IPv4 地址,能否从远端访问仍取决于网络与 Windows 防火墙规则,本程序不自动修改防火墙。它不表示板端服务已经切换;旧板端协议栈仍保留。 +`--iec104` 路径装配 `App/iec60870/104/iec104_core.c` 与成熟 Slave/TcpServer/Windows 网络后端,在同一个 `lvgl_sim.exe` 内提供真实 TCP,监听 `0.0.0.0`(全部本机 IPv4 接口,默认端口 2404)。本机可用 `127.0.0.1` 连接;局域网客户端应使用模拟器所在主机的实际 IPv4 地址,能否从远端访问仍取决于网络与 Windows 防火墙规则,本程序不自动修改防火墙。它不表示板端服务已经切换;旧板端协议栈仍保留。 ```powershell .\simulator\build\Debug\lvgl_sim.exe --iec104 --iec104-headless --iec104-port 2404 --iec104-duration 60 diff --git a/simulator/main.c b/simulator/main.c index 97a03c72..29d642c4 100644 --- a/simulator/main.c +++ b/simulator/main.c @@ -321,7 +321,7 @@ static float s_yt_k[UI_DATA_YT_CH_N] = { static uint8_t s_yt_dirty; /* 镜像 run_par 的整档脏位(页面上 WAIT 的唯一来源) */ static int s_yt_nopump; /* --yt-nopump:拍 WAIT 态黄金专用(截图前不清脏) */ -/* 道G task-9 通讯参数假件:镜像 App/protocol/iec104/iec104_comm.c 的 RAM 副本 +/* 道G task-9 通讯参数假件:镜像 App/iec60870/104/iec104_comm.c 的 RAM 副本 * 与脏位。模拟器不链 iec104_comm.c(与 run_par 假件同一条理由,见上方镜像 * 纪律注):值与合法带是镜像,初值 = IEC104_COMM_DEF_CA/_PORT,变更纪律同 * s_yt_* 三件套 */ @@ -1061,8 +1061,12 @@ static void sim_fill_rt_frame(ui_data_rt_t *p_rt, uint32_t n) { } p_rt->yx_bits = 0u; /* 固定帧无动作态 */ p_rt->yx_valid = 0x4043C000ULL; /* YX15~18/23/31 有效位图(与点表同集合) */ - /* 双点位图照写侧口径给(App/protocol/iec104/iec104_pts.c 的 YX_DP_N = 4 → bit0~3)。 - * 这 4 点**不在**上面的有效位图里(V0.1 无开入硬件),所以遥信页对它们打 "--"—— + /* 双点位图照写侧口径给(bit0~3 = 双点)——这是**固定帧**、不是按点表算出来的: + * 旧产品 33 点表实现(App/protocol/iec104/iec104_pts.c 的 YX_DP_N = 4,该文件 + * 2026-11-18 已删除)当时双点确实在 bit0~3;割接后 DTU 标准表把双点段挪到下标 + * 59~74,写侧 feed_yx_dp() 按新表算出的位图 bit0~32 全 0,本帧仍写 0x0F 以固定 + * 台架画面形态。这 4 点**不在**上面的有效位图里 + * (V0.1 无开入硬件),所以遥信页对它们打 "--"—— * 刻意不把 bit0 塞进 yx_valid 让画面多两个汉字好看:那会让黄金参考显示成"这台设备 * 有开关位置遥信",而真机上没有(屏上的话必须与本机一致,同页脚页码那条裁定) */ p_rt->yx_dp = 0x0FULL; diff --git a/test/host/bench/iec104/iec104_master.py b/test/host/bench/iec104/iec104_master.py index bcb5fe04..ef949d85 100644 --- a/test/host/bench/iec104/iec104_master.py +++ b/test/host/bench/iec104/iec104_master.py @@ -3,8 +3,10 @@ """B6 bench leg: IEC 60870-5-104 master client (GI + COV round-trip). Historical bench leg; acceptance criteria: docs/子系统设计/IEC104上行设计说明.md §8. -docs/子系统设计/IEC104上行设计说明.md §3/§4. Constants mirror -App/protocol/iec104/iec104_asdu.h / iec104_link.h. +docs/子系统设计/IEC104上行设计说明.md §3/§4. Constants mirror the old in-house +protocol layer (App/protocol/iec104/iec104_asdu.h / iec104_link.h, both deleted +2026-11-18 with the skeleton MCU migration); current wire layout is governed by +App/iec60870/common/IEC60870_Asdu.h + App/iec60870/104/IEC104_Types.h. Flow: 1. TCP connect device :2404 (factory default; --port overrides), @@ -64,7 +66,8 @@ import socket import struct import time -# ---- constants (mirror iec104_asdu.h / iec104_link.h) ----------------------- +# ---- constants (mirror the old iec104_asdu.h / iec104_link.h; both deleted +# 2026-11-18 -- current layout: App/iec60870/common/ + App/iec60870/104/) ------ U_STARTDT_ACT, U_STARTDT_CON = 0x07, 0x0B U_TESTFR_ACT, U_TESTFR_CON = 0x43, 0x83 @@ -76,9 +79,13 @@ T_C_IC_NA_1, T_C_RD_NA_1 = 100, 102 COT_BG, COT_SPONT, COT_INIT, COT_REQ = 2, 3, 4, 5 COT_ACT, COT_ACTCON, COT_ACTTERM = 6, 7, 8 COT_PN = 0x40 # cause byte bit6: negative confirm -# NOTE(2026-10-25 m104fix): THIS SLAVE USES THE B4 IN-HOUSE 6-BYTE ASDU HEAD -- -# T/PN/RBT FLAGS LIVE IN THE CAUSE BYTE (bit7/bit6/bit4), byte[3] IS OA+EVI(bit7). -# SEE App/protocol/iec104/iec104_asdu.c iec104_asdu_put_hdr(). The old RX path read +# NOTE(2026-10-25 m104fix): THE 6-BYTE ASDU HEAD PUTS T/PN FLAGS IN THE CAUSE BYTE +# (bit7/bit6) AND byte[3] IS OA -- NOT COT HI. Current firmware config is sizeOfCOT=2 +# (App/iec60870/104/IEC104_Types.h IEC104_APP_LAYER_PARAMETERS_DEFAULT), written by +# App/iec60870/common/IEC60870_Asdu.c: buffer[2] = cause | PN<<6 | TEST<<7, buffer[3] = OA. +# The in-house writer this note was first written against, old +# App/protocol/iec104/iec104_asdu.c iec104_asdu_put_hdr(), was deleted on 2026-11-18 +# with the skeleton MCU migration. The old RX path read # PN from byte[3] (standard 2-byte-COT habit) -> pn was ALWAYS False and a rejected # command logged cot=71 (7|0x40), so actcon_of(type, True) could never match. # Bench proof 2026-10-25 (V5-gap replay): two out-of-range C_SE writes diff --git a/test/host/iec104_comm/iec104_comm_test.c b/test/host/iec104_comm/iec104_comm_test.c new file mode 100644 index 00000000..06e765c2 --- /dev/null +++ b/test/host/iec104_comm/iec104_comm_test.c @@ -0,0 +1,159 @@ +/* + * IEC104 [comm] segment host unit test. + * Builds the real App/iec60870/104/iec104_comm.c into this translation unit + * and fakes only the config engine boundary (cfg_file_register/cfg_file_save) + * against the real App/cfg/cfg_file.h interface. + */ +#include +#include +#include + +#include "cfg_file.h" + +static int s_total = 0, s_passed = 0, s_failed = 0; +#define CHECK(cond, name) do { \ + s_total++; \ + if (cond) { s_passed++; printf(" [PASS] %s\n", name); } \ + else { s_failed++; printf(" [FAIL] %s (line %d)\n", name, __LINE__); } \ +} while (0) + +/* Config engine fake, controlled by each test case. */ +static int g_save_result; +static int g_register_calls; +static int g_save_calls; +static cfg_section_reg_t g_last_reg; + +int cfg_file_save(void) +{ + g_save_calls++; + return g_save_result; +} + +int cfg_file_register(const cfg_section_reg_t *p_reg) +{ + g_register_calls++; + if (p_reg != NULL) { + g_last_reg = *p_reg; + } + return 0; +} + +#include "iec104_comm.c" + +static void reset_fakes(int save_result) +{ + g_save_result = save_result; + g_register_calls = 0; + g_save_calls = 0; + memset(&g_last_reg, 0, sizeof(g_last_reg)); +} + +static void tc_init_defaults(void) +{ + uint16_t ca, port; + + reset_fakes(0); + CHECK(iec104_comm_ca_set(1234) == 0, "set ca before init"); + CHECK(iec104_comm_port_set(4000) == 0, "set port before init"); + CHECK(iec104_comm_init() == 0, "init returns register result"); + CHECK(g_register_calls == 1, "init registers exactly once"); + CHECK(strcmp(g_last_reg.name, IEC104_COMM_SEC) == 0, "registered section name"); + CHECK(g_last_reg.p_data == &s_comm, "registered RAM copy pointer"); + CHECK(g_last_reg.p_defaults == &s_comm_rom, "registered defaults pointer"); + CHECK(g_last_reg.data_size == sizeof(iec104_comm_t), "registered data size"); + CHECK(g_last_reg.p_keys == s_comm_keys, "registered key table"); + CHECK(g_last_reg.key_count == 2u, "registered key count"); + CHECK(g_last_reg.p_cb == NULL, "no config callback"); + CHECK(s_comm_keys[0].type == CFG_VAL_UINT && s_comm_keys[0].len == 2u && + s_comm_keys[0].offset == offsetof(iec104_comm_t, ca), "ca key descriptor"); + CHECK(s_comm_keys[1].type == CFG_VAL_UINT && s_comm_keys[1].len == 2u && + s_comm_keys[1].offset == offsetof(iec104_comm_t, port), "port key descriptor"); + ca = iec104_comm_ca(); + port = iec104_comm_port(); + CHECK(ca == IEC104_COMM_DEF_CA, "init restores ca default"); + CHECK(port == IEC104_COMM_DEF_PORT, "init restores port default"); + CHECK(iec104_comm_dirty_peek() == 0u, "init clears dirty flag"); +} + +static void tc_getter_band(void) +{ + reset_fakes(0); + (void)iec104_comm_init(); + + s_comm.ca = 0u; + CHECK(iec104_comm_ca() == IEC104_COMM_DEF_CA, "ca below band falls back"); + s_comm.ca = IEC104_COMM_CA_MAX; + CHECK(iec104_comm_ca() == IEC104_COMM_CA_MAX, "ca upper bound accepted"); + s_comm.ca = 42u; + CHECK(iec104_comm_ca() == 42u, "ca in-band returned"); + + s_comm.port = 0u; + CHECK(iec104_comm_port() == IEC104_COMM_DEF_PORT, "port below band falls back"); + s_comm.port = IEC104_COMM_PORT_MIN - 1u; + CHECK(iec104_comm_port() == IEC104_COMM_DEF_PORT, "port 1023 falls back"); + s_comm.port = IEC104_COMM_PORT_MAX; + CHECK(iec104_comm_port() == IEC104_COMM_PORT_MAX, "port upper bound accepted"); + s_comm.port = 2404u; + CHECK(iec104_comm_port() == 2404u, "port in-band returned"); +} + +static void tc_setters(void) +{ + reset_fakes(0); + (void)iec104_comm_init(); + + CHECK(iec104_comm_ca_set(IEC104_COMM_CA_MIN) == 0, "ca min accepted"); + CHECK(iec104_comm_ca() == IEC104_COMM_CA_MIN, "ca min stored"); + CHECK(iec104_comm_ca_set(IEC104_COMM_CA_MAX) == 0, "ca max accepted"); + CHECK(iec104_comm_ca() == IEC104_COMM_CA_MAX, "ca max stored"); + CHECK(iec104_comm_dirty_peek() == 1u, "legal ca set makes dirty"); + + (void)iec104_comm_init(); + CHECK(iec104_comm_ca_set(0u) == -1, "ca zero rejected"); + CHECK(iec104_comm_ca() == IEC104_COMM_DEF_CA, "rejected ca leaves copy unchanged"); + CHECK(iec104_comm_dirty_peek() == 0u, "rejected ca does not make dirty"); + + CHECK(iec104_comm_port_set(IEC104_COMM_PORT_MIN) == 0, "port min accepted"); + CHECK(iec104_comm_port() == IEC104_COMM_PORT_MIN, "port min stored"); + CHECK(iec104_comm_port_set(IEC104_COMM_PORT_MAX) == 0, "port max accepted"); + CHECK(iec104_comm_port() == IEC104_COMM_PORT_MAX, "port max stored"); + CHECK(iec104_comm_dirty_peek() == 1u, "legal port set makes dirty"); + + (void)iec104_comm_init(); + CHECK(iec104_comm_port_set(IEC104_COMM_PORT_MIN - 1u) == -1, "port 1023 rejected"); + CHECK(iec104_comm_port() == IEC104_COMM_DEF_PORT, "rejected port leaves copy unchanged"); + CHECK(iec104_comm_dirty_peek() == 0u, "rejected port does not make dirty"); +} + +static void tc_store_save(void) +{ + reset_fakes(0); + (void)iec104_comm_init(); + CHECK(iec104_comm_store_save() == 0, "clean store is a no-op success"); + CHECK(g_save_calls == 0, "clean store does not call engine"); + + CHECK(iec104_comm_ca_set(7u) == 0, "dirty setup"); + g_save_result = -1; + CHECK(iec104_comm_store_save() == -1, "engine failure propagated"); + CHECK(g_save_calls == 1, "engine save attempted once on failure"); + CHECK(iec104_comm_dirty_peek() == 1u, "failed save keeps dirty for retry"); + + g_save_result = 0; + CHECK(iec104_comm_store_save() == 0, "retry save succeeds"); + CHECK(g_save_calls == 2, "retry calls engine again"); + CHECK(iec104_comm_dirty_peek() == 0u, "successful save clears dirty"); + CHECK(iec104_comm_store_save() == 0, "next clean store again no-op"); + CHECK(g_save_calls == 2, "no extra engine call after clear"); +} + +int main(void) +{ + printf("=== IEC104 [comm] Host Unit Tests ===\n"); + tc_init_defaults(); + tc_getter_band(); + tc_setters(); + tc_store_save(); + printf("=== IEC104 Comm Tests: %d/%d PASSED (failed=%d) ===\n", + s_passed, s_total, s_failed); + return (s_failed == 0) ? 0 : 1; +} diff --git a/test/host/iec104_comm/run_unit_test.py b/test/host/iec104_comm/run_unit_test.py new file mode 100644 index 00000000..4c988b33 --- /dev/null +++ b/test/host/iec104_comm/run_unit_test.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +"""Host unit-test runner for the IEC104 [comm] configuration segment.""" +import os +import sys + +HERE = os.path.dirname(os.path.abspath(__file__)) +ROOT = os.path.dirname(os.path.dirname(os.path.dirname(HERE))) +sys.path.insert(0, os.path.join(ROOT, "test", "host", "common")) + +from unit_test_harness import TestBuild, run_host_unit_test # noqa: E402 + +BUILD = TestBuild( + name="IEC104 Comm Tests", + src=os.path.join(HERE, "iec104_comm_test.c"), + include_dirs=[ + os.path.join(ROOT, "App", "cfg"), + os.path.join(ROOT, "App", "iec60870", "104"), + HERE, + ], + summary_marker="=== IEC104 Comm Tests:", +) + +if __name__ == "__main__": + sys.exit(run_host_unit_test(BUILD)) diff --git a/test/host/iec104_dtu/PROBE_RUNBOOK.md b/test/host/iec104_dtu/PROBE_RUNBOOK.md index 098b561a..32f00ac9 100644 --- a/test/host/iec104_dtu/PROBE_RUNBOOK.md +++ b/test/host/iec104_dtu/PROBE_RUNBOOK.md @@ -11,7 +11,7 @@ ## 前置条件 - Real board: powered, reachable at `192.168.31.100`, firmware IEC104 listener on `2404`, - profile table matching `App/protocol/iec60870/examples/iec104_dtu_profile.h`. + profile table matching `App/iec60870/examples/iec104_dtu_profile.h`. - Simulator: `simulator/build/Debug/lvgl_sim.exe` built with IEC104 headless CLI, chosen port free, Windows `Get-NetTCPConnection` available for the LAN bind probe. - All three scripts are Python 3 standard library only. They print ASCII only and diff --git a/test/host/iec104_dtu/run_transport_test.py b/test/host/iec104_dtu/run_transport_test.py index 153d93b6..dbbbf741 100644 --- a/test/host/iec104_dtu/run_transport_test.py +++ b/test/host/iec104_dtu/run_transport_test.py @@ -19,16 +19,45 @@ def main(): args = parser.parse_args() output = args.output.resolve() output.mkdir(parents=True, exist_ok=True) - vendor = ROOT / "App/protocol/iec60870" + vendor = ROOT / "App/iec60870" original = ROOT / "IEC60870-Slave/test" cl, inc, lib = locate_toolchain() if not cl: raise RuntimeError("MSVC compiler not found") env = dict(os.environ, INCLUDE=os.pathsep.join(inc), LIB=os.pathsep.join(lib)) - sources = [vendor / line.split(" ", 1)[1] for line in (vendor / "UPSTREAM.sha256").read_text().splitlines() if line.endswith(".c")] - # Each fixture includes vendor TcpServer.c and provides the Net implementation. - sources = [p for p in sources if p.name not in ("IEC104_TcpServer.c", "IEC104_Net_Windows.c")] - assert len(sources) >= 26 and all(p.is_file() for p in sources) + # 协议栈源文件清单写死在这里,不再从清单文件推导:App/iec60870 已是项目自有 + # 代码,增删文件时本次修改要同步这张表,别让测试悄悄少编一个单元。 + # 每个夹具自带 TcpServer.c 并自己提供 Net 实现,故这两份不在此列。 + sources = [vendor / rel for rel in ( + "104/IEC104_AsduQueue.c", + "104/IEC104_Codec.c", + "104/IEC104_Connection.c", + "104/IEC104_Link.c", + "104/IEC104_Link_Slave_StartStop.c", + "104/IEC104_Receiver.c", + "104/IEC104_SendBuffer.c", + "104/IEC104_SendManager.c", + "104/IEC104_Slave.c", + "104/business/IEC104_ClockSynchronization.c", + "104/business/IEC104_Command.c", + "104/business/IEC104_CounterInterrogation.c", + "104/business/IEC104_GeneralInterrogation.c", + "104/business/IEC104_Interrogation.c", + "104/business/IEC104_Parameter.c", + "104/business/IEC104_PeriodicScan.c", + "104/business/IEC104_Read.c", + "104/business/IEC104_RemoteParameter.c", + "104/business/IEC104_Spontaneous.c", + "104/business/IEC104_Startup.c", + "104/business/IEC104_SystemCommand.c", + "common/IEC60870_Asdu.c", + "common/IEC60870_Codec.c", + "common/IEC60870_FaultEvent.c", + "common/IEC60870_InformationObjects.c", + "common/IEC60870_Slave.c", + "common/IEC60870_Time.c", + )] + assert len(sources) == 27 and all(p.is_file() for p in sources) include = [vendor / "104", vendor / "104/business", vendor / "common", vendor / "platform", vendor / "examples", original] names = ("iec104_response_transport_test", "iec104_ack_tracking_test", "iec104_idle_transport_test", "iec104_strict_priority_transport_test", "iec104_tcp_event_ring_test", "iec104_tcp_scheduler_test", "iec104_remote_parameter_test") results = [] @@ -49,13 +78,13 @@ def main(): fixture.write_text(text.replace(old, new), encoding="utf-8") extra = [] if name == "source_binding_test": - extra = [ROOT / "App/protocol/iec104/iec104_source.c", ROOT / "App/protocol/iec104/iec104_dtu_table.c", vendor / "104/IEC104_Net_Windows.c", vendor / "104/IEC104_TcpServer.c"] + extra = [ROOT / "App/iec60870/104/iec104_source.c", ROOT / "App/iec60870/104/iec104_dtu_table.c", vendor / "104/IEC104_Net_Windows.c", vendor / "104/IEC104_TcpServer.c"] if name == "core_lifecycle_test": - extra = [ROOT / "App/protocol/iec104/iec104_core.c", ROOT / "App/protocol/iec104/iec104_source.c", ROOT / "App/protocol/iec104/iec104_dtu_table.c"] + extra = [ROOT / "App/iec60870/104/iec104_core.c", ROOT / "App/iec60870/104/iec104_source.c", ROOT / "App/iec60870/104/iec104_dtu_table.c"] flags = ["/nologo", "/std:c11", "/O2", "/W3", "/WX", "/utf-8", "/D_CRT_SECURE_NO_WARNINGS"] if name == "iec104_remote_parameter_test": flags += ["/DIEC104_REMOTE_PARAMETER_TEST_HOOKS", "/DIEC104_TCP_HIGH_CAPACITY=251"] - command = [cl] + flags + ["/I" + str(p) for p in include] + ["/I" + str(ROOT / "App/protocol/iec104")] + [str(fixture)] + [str(p) for p in sources + extra] + ["/Fe:" + str(target / (name + ".exe"))] + (["/link", "ws2_32.lib"] if extra else []) + command = [cl] + flags + ["/I" + str(p) for p in include] + ["/I" + str(ROOT / "App/iec60870/104")] + [str(fixture)] + [str(p) for p in sources + extra] + ["/Fe:" + str(target / (name + ".exe"))] + (["/link", "ws2_32.lib"] if extra else []) build = subprocess.run(command, cwd=target, env=env, capture_output=True) (target / "build.log").write_text(decode(build.stdout) + decode(build.stderr), encoding="utf-8") row = {"name": name, "build_rc": build.returncode, "command": command, "fixture_sha256": hashlib.sha256(fixture.read_bytes()).hexdigest(), "adaptation": adaptation, "extra_sources_sha256": {str(p.relative_to(ROOT)): hashlib.sha256(p.read_bytes()).hexdigest() for p in extra}} diff --git a/test/host/iec104_dtu/run_unit_test.py b/test/host/iec104_dtu/run_unit_test.py index 978748ae..996de33a 100644 --- a/test/host/iec104_dtu/run_unit_test.py +++ b/test/host/iec104_dtu/run_unit_test.py @@ -1,6 +1,15 @@ """Test the independent acceptance oracle/decoder; not product acceptance.""" import struct +import sys import unittest +from pathlib import Path + +HERE = Path(__file__).resolve().parent +if str(HERE) not in sys.path: + sys.path.insert(0, str(HERE)) + +# Pure Python oracle/decoder checks: no C translation unit, so C line coverage does not apply. +COVERAGE_SKIP = "纯 Python oracle/解码器测试,无 C 编译单元" from oracle import reference from wire import asdu, header, objects, remote_objects, tlv diff --git a/test/host/iec104_netmcu/MATRIX.md b/test/host/iec104_netmcu/MATRIX.md index 5cf6b20d..dac37b1b 100644 --- a/test/host/iec104_netmcu/MATRIX.md +++ b/test/host/iec104_netmcu/MATRIX.md @@ -2,20 +2,20 @@ ## 交接说明(最终交付状态) -- **这组测试证明什么**:针对 `App/protocol/iec104/iec104_net_mcu.c`(被测 SHA256 `08ca22b9d61ec86181973ab97d7fab68ec8f0ecbf944bfd758e1546a80dc8b35`)的真实后端,在 fake net 层上证明 IEC104 Net ABI 契约:同 fd 语义下 Close 不毁监听、Pending_Input 精确/降级有界续收、Send 短写且不借用 buffer、Now_Ms 跨 32 位 tick 回绕单调、网络代次与句柄失效、断链重连、非 owner 入口拒绝、两句柄模型下代次重建后的监听存活(armed==1)与无 ABA、以及单 fd 会话的 Accept 一次性语义(已有 CLIENT/CLIENT_EOF 槽时 WOULD_BLOCK、零芯片事务、Close 后释放;旧语义"re-Accept 再发新句柄"已实测导致板端拆活连接,2026-11-18 台架)。最终实测:文本级静态 2/2、静态 checker 变异自测 `real_rc=0 mutant_rc=1`、动态 12/12(`real backend passed 12/12`)。 +- **这组测试证明什么**:针对 `App/iec60870/104/iec104_net_mcu.c`(被测 SHA256 `08ca22b9d61ec86181973ab97d7fab68ec8f0ecbf944bfd758e1546a80dc8b35`)的真实后端,在 fake net 层上证明 IEC104 Net ABI 契约:同 fd 语义下 Close 不毁监听、Pending_Input 精确/降级有界续收、Send 短写且不借用 buffer、Now_Ms 跨 32 位 tick 回绕单调、网络代次与句柄失效、断链重连、非 owner 入口拒绝、两句柄模型下代次重建后的监听存活(armed==1)与无 ABA、以及单 fd 会话的 Accept 一次性语义(已有 CLIENT/CLIENT_EOF 槽时 WOULD_BLOCK、零芯片事务、Close 后释放;旧语义"re-Accept 再发新句柄"已实测导致板端拆活连接,2026-11-18 台架)。最终实测:文本级静态 2/2、静态 checker 变异自测 `real_rc=0 mutant_rc=1`、动态 12/12(`real backend passed 12/12`)。 - **这组测试不证明什么**:fake net 层只是按产品头语义实现,不是真实 CH395F 驱动或板端电路;**CH395F 板端行为未验**(同 fd 语义待板端确认);**core / TcpServer 集成未验**(完整 STARTDT 建链为 NOT_RUN);netTask 队列/临界区与板端时序未验;MCU WCET / 性能未测;真实后端编译期坏变体未做,历史 TEST DOUBLE B1~B7 仅证明 harness 有效性;S1/S2 是文本级静态检查,不覆盖宏展开或函数指针间接调用。禁止据此写“板端已验证”。 - **一条命令复现**(仓库根执行):`python test/host/iec104_netmcu/check_static_selftest.py && python test/host/iec104_netmcu/check_static.py && python test/host/iec104_netmcu/run_netmcu_tests.py && git diff --check -- test/host/iec104_netmcu` - **产物在哪里**:本目录 `test/host/iec104_netmcu/`;最终动态证据 `results/real/{build.log,run.log,report.json}`,静态证据 `results/static/report.json`,静态 checker 变异自测 `results/static_mutant/{report.json,selftest.txt,iec104_net_mcu_BAD.c}`,历史 TEST DOUBLE 证据 `results/report.json` 与 `results/{good,B1..B7}/`。所有文件未提交、未改产品/供应商源码;第二步 serv 重写后待命做 `iec104_serv_net_tick` 针对性核查。 ## 状态与边界 -- 被测对象:`App/protocol/iec104/iec104_net_mcu.c`(真实板端 Net 后端,net-cutover 所有)对 `IEC104_Net.h` 的实现。 +- 被测对象:`App/iec60870/104/iec104_net_mcu.c`(真实板端 Net 后端,net-cutover 所有)对 `IEC104_Net.h` 的实现。 - 测试替身:`net_socket_fake.{h,c}` 按产品 `Drivers/BSP/NET/net_socket.h` 声明模拟 `net_*` owner 出口(包括 `net_send_try` / `net_pending_bytes` / `net_mono_now_ms` / `net_accept_locked` / `net_drop_conn_locked` / `net_ctx_is_owner_task` 等),并受控注入单连接同 fd、短写 / WOULD_BLOCK / BUSY / RETRY_LATER、EOF / RST、网络代次变化、句柄非复用、芯片接收队列长度与 32 位 tick 回绕。绝不调用真实 CH395F 或 Windows socket。 - **CH395F 同 fd 语义(fake 已如实建模,板端仍待验证)**:`net_accept` / `net_accept_locked` 返回**监听 socket 自身**(`net_socket_fake.c:629-643` 的 `return sockfd;`),并为同一 fake fd 置 `established=1`;`net_close` 对监听 fd 会**真实销毁监听**并递增 `listen_closed_attempts`(`net_socket_fake.c:760-777`),而 `net_drop_conn` 只拆会话、保留监听(`net_socket_fake.c:779-797`)。因此 fake 不是 Winsock 式独立 fd 语义,N1/N8 断言的“Close 不毁监听”确实在同 fd 规则下判定;但这只是 fake 忠实模拟,**CH395F 实际行为仍待板端验证**。 - 本目录不进 `MDK-ARM/*.uvprojx`,不碰产品构建;只在主机侧用 MSVC 编译运行。 - 证据边界:这是 **真实后端 + fake net 层** 的 Net ABI 隔离证据,不等于完整 `iec104_core` / `TcpServer` 链路,不等于板端 CH395F / netTask 时序,也不是 MCU WCET。完整 STARTDT 建链流程仍为 NOT_RUN。 - Lead 三条口径:① `Now_Ms` = N-2(owner 周期采样),只测回绕后单调,不测“不调用也不漏记”;② `Pending_Input` 精确:RX=7 报 7、RX=0 报 0,不谎报 1/0;③ `Send` 返回后不借用 buffer:每次用不同源 buffer,返回即覆写,再断言 fake 内核中字节未被破坏。 -- 已知平台偏离:CH395F 无 `setsockopt`,`App/protocol/iec104/iec104_net_mcu.h` 注释已入档;恒无 Nagle 视作平台事实,**不以 NODELAY 作为 OK 条件**。plan.md 的入档由 net-cutover 负责。 +- 已知平台偏离:CH395F 无 `setsockopt`,`App/iec60870/104/iec104_net_mcu.h` 注释已入档;恒无 Nagle 视作平台事实,**不以 NODELAY 作为 OK 条件**。plan.md 的入档由 net-cutover 负责。 ## 静态源码检查(先于动态用例) diff --git a/test/host/iec104_netmcu/check_static.py b/test/host/iec104_netmcu/check_static.py index cbffc627..56096736 100644 --- a/test/host/iec104_netmcu/check_static.py +++ b/test/host/iec104_netmcu/check_static.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -"""Static acceptance checks for App/protocol/iec104/iec104_net_mcu.c. +"""Static acceptance checks for App/iec60870/104/iec104_net_mcu.c S1: IEC104_Net_Close CLIENT/CLIENT_EOF branch must not contain net_close_sock. S2: IEC104_Net_Recv rc==0 EOF branch must not call close/drop on the session. @@ -13,7 +13,7 @@ import re HERE = os.path.dirname(os.path.abspath(__file__)) ROOT = os.path.dirname(os.path.dirname(os.path.dirname(HERE))) -SRC = os.path.join(ROOT, "App", "protocol", "iec104", "iec104_net_mcu.c") +SRC = os.path.join(ROOT, "App", "iec60870", "104", "iec104_net_mcu.c") OUT = os.path.join(HERE, "results", "static") diff --git a/test/host/iec104_netmcu/netmcu_test.c b/test/host/iec104_netmcu/netmcu_test.c index faf97db4..dcbce754 100644 --- a/test/host/iec104_netmcu/netmcu_test.c +++ b/test/host/iec104_netmcu/netmcu_test.c @@ -1,6 +1,6 @@ /* * IEC104 Net MCU backend isolation contract tests. - * Builds the REAL App/protocol/iec104/iec104_net_mcu.c against a fake net layer. + * Builds the REAL App/iec60870/104/iec104_net_mcu.c against a fake net layer. * This is host-only evidence for the Net ABI, not full core/TcpServer or hardware. */ #include diff --git a/test/host/iec104_netmcu/results/report.json b/test/host/iec104_netmcu/results/report.json index 7351d563..242f11bc 100644 --- a/test/host/iec104_netmcu/results/report.json +++ b/test/host/iec104_netmcu/results/report.json @@ -1,12 +1,12 @@ { - "scope": "REAL backend App/protocol/iec104/iec104_net_mcu.c + fake net layer; host-only isolation evidence, not full core/TcpServer/hardware", - "backend_sha256": "4d6b8d9e8ed3404372f274d99c16bc87a06fecbee8db0b30b044b24d0562d73d", + "scope": "REAL backend App/iec60870/104/iec104_net_mcu.c + fake net layer; host-only isolation evidence, not full core/TcpServer/hardware", + "backend_sha256": "1bcb602946485156ce04b49343ece9525e8ed50f5d5ee0c1d580982e8d77ecd9", "sources": { - "MATRIX.md": "e8c913cac2a852173f052ce806a3da101a272e2a4dff8751499fdcf39788deab", - "net_socket_fake.h": "d597375d1186b4801b4dc859401b6f3f0c9d1110efda37d0a9e73b810d7a8cd0", - "net_socket_fake.c": "8eb9ea5ed195b38e2f4993ac021ad19afa40464ff03de73628d3a795350a631e", - "netmcu_test.c": "09c203941c41fbb543580f45192c1604b984daaeb10135548756d4e42e8ebe02", - "check_static.py": "8f08695a6c6bffec6047558b5b6d0aff0c7393665853357d1176f61b1aac1132" + "MATRIX.md": "67126a0b92a832dd15710c3ce611d111e35f66c94d514d14939fdac7bd0ab314", + "net_socket_fake.h": "c7c712256b5ac4b5162fd445319296dd32ada4abc6efa0384e65e2635bba38c9", + "net_socket_fake.c": "f86ecd73bae57daad7d5d9506a0a8b7158344ba0e01f0e1d16af0ebdbdac3578", + "netmcu_test.c": "a0b2b3b7719e7e355376ffd49755ebb116bcd072722075c0728c7ba37b2cacb4", + "check_static.py": "21fdcf1f67c959232b7dcdcdf4ec1c86b3ac75d632aabef480303487f7ab5448" }, "case_count": 13, "case_count_basis": "13 named cases; N2a/N2b are two cases in one N2 test function", @@ -39,6 +39,6 @@ "MCU timing/WCET" ], "known_deviations": [ - "NODELAY: App/protocol/iec104/iec104_net_mcu.h comment; CH395F has no setsockopt, treated as always no-Nagle and NOT an OK condition" + "NODELAY: App/iec60870/104/iec104_net_mcu.h comment; CH395F has no setsockopt, treated as always no-Nagle and NOT an OK condition" ] } diff --git a/test/host/iec104_netmcu/results/static/report.json b/test/host/iec104_netmcu/results/static/report.json index 326fbb7b..91c7630a 100644 --- a/test/host/iec104_netmcu/results/static/report.json +++ b/test/host/iec104_netmcu/results/static/report.json @@ -1,6 +1,6 @@ { - "source": "D:\\Code\\DTU Code\\STM32F4-Base\\.agents\\worktrees\\dsh-d2fd6422-281a\\App\\protocol\\iec104\\iec104_net_mcu.c", - "source_sha256": "4d6b8d9e8ed3404372f274d99c16bc87a06fecbee8db0b30b044b24d0562d73d", + "source": "D:\\Code\\DTU Code\\STM32F4-Base\\.agents\\worktrees\\dsh-d2fd6422-281a\\App\\iec60870\\104\\iec104_net_mcu.c", + "source_sha256": "1bcb602946485156ce04b49343ece9525e8ed50f5d5ee0c1d580982e8d77ecd9", "checks": [ { "id": "S1", diff --git a/test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c b/test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c index 6a00d34c..6b34702b 100644 --- a/test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c +++ b/test/host/iec104_netmcu/results/static_mutant/iec104_net_mcu_BAD.c @@ -1,6 +1,6 @@ /* 模块名称:IEC 60870-5-104 板端 Net 后端(netTask 单 owner) */ /* - * 模块功能:实现 App/protocol/iec60870/104/IEC104_Net.h 的全部导出 ABI, + * 模块功能:实现 App/iec60870/104/IEC104_Net.h 的全部导出 ABI, * 底层走 Drivers/BSP/NET/net_socket.h 的 net_* 接口。 * 适用平台:STM32F407ZGTx + CH395F;只在 netTask 上下文中调用(threadless)。 * 创建日期:2026-11-17(task-18 板端网络割接) diff --git a/test/host/iec104_netmcu/results/static_mutant/report.json b/test/host/iec104_netmcu/results/static_mutant/report.json index 26c22c6e..1c461e80 100644 --- a/test/host/iec104_netmcu/results/static_mutant/report.json +++ b/test/host/iec104_netmcu/results/static_mutant/report.json @@ -1,6 +1,6 @@ { "source": "D:\\Code\\DTU Code\\STM32F4-Base\\.agents\\worktrees\\dsh-d2fd6422-281a\\test\\host\\iec104_netmcu\\results\\static_mutant\\iec104_net_mcu_BAD.c", - "source_sha256": "87bf283ec6b61ac14a0de3ab0f8a0352db4c62f03d4ea4479db36f9e0c546719", + "source_sha256": "6ede122b69d5ed0074bcff01c8dd30223a8e5e521f5d78fafdc97791e1d7790e", "checks": [ { "id": "S1", diff --git a/test/host/iec104_netmcu/results/static_mutant/selftest.txt b/test/host/iec104_netmcu/results/static_mutant/selftest.txt index 3a793c2d..8c665c13 100644 --- a/test/host/iec104_netmcu/results/static_mutant/selftest.txt +++ b/test/host/iec104_netmcu/results/static_mutant/selftest.txt @@ -1,4 +1,4 @@ real_rc=0 mutant_rc=1 -real source: D:\Code\DTU Code\STM32F4-Base\.agents\worktrees\dsh-d2fd6422-281a\App\protocol\iec104\iec104_net_mcu.c +real source: D:\Code\DTU Code\STM32F4-Base\.agents\worktrees\dsh-d2fd6422-281a\App\iec60870\104_port\iec104_net_mcu.c mutant: D:\Code\DTU Code\STM32F4-Base\.agents\worktrees\dsh-d2fd6422-281a\test\host\iec104_netmcu\results\static_mutant\iec104_net_mcu_BAD.c diff --git a/test/host/iec104_netmcu/run_netmcu_tests.py b/test/host/iec104_netmcu/run_netmcu_tests.py index a392000c..6f0553bd 100644 --- a/test/host/iec104_netmcu/run_netmcu_tests.py +++ b/test/host/iec104_netmcu/run_netmcu_tests.py @@ -37,13 +37,13 @@ def run_real(cl, inc, lib): sources = [ os.path.join(HERE, "netmcu_test.c"), os.path.join(HERE, "net_socket_fake.c"), - os.path.join(ROOT, "App", "protocol", "iec104", "iec104_net_mcu.c"), + os.path.join(ROOT, "App", "iec60870", "104", "iec104_net_mcu.c"), ] env = dict(os.environ) env["INCLUDE"] = os.pathsep.join(inc + [ - os.path.join(ROOT, "App", "protocol", "iec60870", "104"), - os.path.join(ROOT, "App", "protocol", "iec60870", "common"), - os.path.join(ROOT, "App", "protocol", "iec104"), + os.path.join(ROOT, "App", "iec60870", "104"), + os.path.join(ROOT, "App", "iec60870", "common"), + os.path.join(ROOT, "App", "iec60870", "104"), os.path.join(ROOT, "Drivers", "BSP", "NET"), os.path.join(HERE, "stub"), os.path.join(ROOT, "test", "host", "net_socket", "stub"), @@ -90,9 +90,9 @@ def main(): print("real: build_rc={} run_rc={} note={} failed_cases={}".format( res["build_rc"], res["run_rc"], res["note"], res.get("failed_cases", []))) report = { - "scope": "REAL backend App/protocol/iec104/iec104_net_mcu.c + fake net layer; host-only isolation evidence, not full core/TcpServer/hardware", + "scope": "REAL backend App/iec60870/104/iec104_net_mcu.c + fake net layer; host-only isolation evidence, not full core/TcpServer/hardware", "backend_sha256": sha256(os.path.join( - ROOT, "App", "protocol", "iec104", "iec104_net_mcu.c")), + ROOT, "App", "iec60870", "104", "iec104_net_mcu.c")), "sources": {f: sha256(os.path.join(HERE, f)) for f in [ "MATRIX.md", "net_socket_fake.h", "net_socket_fake.c", "netmcu_test.c", "check_static.py"]}, @@ -102,7 +102,7 @@ def main(): "result": res, "bad_variants": "NOT_RUN for real backend; TEST DOUBLE B1..B7 evidence retained in results_stub/report.json", "not_run": ["full IEC104 STARTDT over core/TcpServer", "board CH395F", "MCU timing/WCET"], - "known_deviations": ["NODELAY: App/protocol/iec104/iec104_net_mcu.h comment; CH395F has no setsockopt, treated as always no-Nagle and NOT an OK condition"], + "known_deviations": ["NODELAY: App/iec60870/104/iec104_net_mcu.h comment; CH395F has no setsockopt, treated as always no-Nagle and NOT an OK condition"], } with open(os.path.join(OUT, "report.json"), "w", encoding="utf-8") as f: json.dump(report, f, indent=2, ensure_ascii=False) diff --git a/test/host/iec104_serv/iec104_serv_test.c b/test/host/iec104_serv/iec104_serv_test.c new file mode 100644 index 00000000..2563f377 --- /dev/null +++ b/test/host/iec104_serv/iec104_serv_test.c @@ -0,0 +1,389 @@ +/* + * IEC104 service adapter host unit test. + * Compiles the real App/task/iec104_serv.c into this TU. All collaborators are + * controlled stubs: core lifecycle, source binding, measurement snapshot, + * calibration flags, net generation, event flags and task watchdog. + */ +#include +#include +#include +#include + +static int s_total = 0, s_passed = 0, s_failed = 0; +#define CHECK(cond, name) do { \ + s_total++; \ + if (cond) { s_passed++; printf(" [PASS] %s\n", name); } \ + else { s_failed++; printf(" [FAIL] %s (line %d)\n", name, __LINE__); } \ +} while (0) + +#include "cmsis_os2.h" +#include "sys_events.h" +#include "net_socket.h" +#include "cfg_file.h" + +static int g_cfg_register_calls, g_cfg_save_result, g_cfg_save_calls; +int cfg_file_register(const cfg_section_reg_t *reg) { (void)reg; g_cfg_register_calls++; return 0; } +int cfg_file_save(void) { g_cfg_save_calls++; return g_cfg_save_result; } + +int g_i104_info_count = 0; +int g_i104_error_count = 0; + +/* ---------- CMSIS/RTOS fake ---------- */ +osEventFlagsId_t sys_evtHandle = (osEventFlagsId_t)1; +static uint32_t g_tick; +static uint32_t g_ready_wait_result; +static uint32_t g_ready_wait_options; +static uint32_t g_events; + +uint32_t osKernelGetTickCount(void) { return g_tick; } +uint32_t osEventFlagsWait(osEventFlagsId_t id, uint32_t flags, + uint32_t options, uint32_t timeout) +{ + (void)id; (void)flags; (void)timeout; + g_ready_wait_options = options; + return g_ready_wait_result; +} +uint32_t osEventFlagsSet(osEventFlagsId_t id, uint32_t flags) +{ + (void)id; + g_events |= flags; + return 0u; +} + +/* ---------- production headers, then production source ---------- */ +#include "iec104_comm.c" +#include "iec104_core.h" +#include "iec104_source.h" +#include "iec104_net_mcu.h" +#include "meas.h" +#include "adc_cal.h" +#include "ioboard_di.h" +#include "prot_set.h" +#include "run_par.h" +#include "task_watchdog.h" +#include "dbg_log.h" + +/* ---------- collaborator stubs ---------- */ +static uint32_t g_net_generation; +uint32_t net_get_generation(void) { return g_net_generation; } + +static iec104_source_bindings_t g_bound; +static int g_core_start_result; +static int g_core_poll_result; +static iec104_core_status_t g_core_status; +static iec104_core_config_t g_last_core_cfg; +static int g_core_start_calls, g_core_poll_calls, g_core_stop_calls, g_bind_calls; + +int iec104_core_start(const iec104_core_config_t *cfg) +{ + g_core_start_calls++; + if (cfg != NULL) { g_last_core_cfg = *cfg; } + return g_core_start_result; +} +int iec104_core_poll(void) { g_core_poll_calls++; return g_core_poll_result; } +int iec104_core_stop(void) { g_core_stop_calls++; return 0; } +void iec104_core_get_status(iec104_core_status_t *status) +{ + if (status != NULL) { *status = g_core_status; } +} +void iec104_source_bind(const iec104_source_bindings_t *bindings) +{ + g_bind_calls++; + if (bindings != NULL) { g_bound = *bindings; } +} + +static uint32_t g_rx_bytes; +void iec104_net_mcu_stats(uint32_t *rx_bytes) +{ + if (rx_bytes != NULL) { *rx_bytes = g_rx_bytes; } +} + +static meas_snap_t g_snap; +static int g_meas_result; +int meas_get(meas_snap_t *out) +{ + if (out != NULL) { *out = g_snap; } + return g_meas_result; +} +static uint32_t g_cal_flags[ADC_SEM_COUNT]; +uint32_t adc_cal_flags(adc_semantic_t sem) +{ + if ((int)sem < 0 || (int)sem >= (int)ADC_SEM_COUNT) { return 0u; } + return g_cal_flags[sem]; +} + +static uint8_t g_prot_dirty, g_run_dirty; +uint8_t prot_set_dirty_peek(void) { return g_prot_dirty; } +uint8_t run_par_dirty_peek(void) { return g_run_dirty; } + +static int g_wd_beats; +static task_wd_id_t g_last_wd; +void task_wd_beat(task_wd_id_t id) { g_wd_beats++; g_last_wd = id; } + +#include "iec104_serv.c" + +static void reset_all(void) +{ + g_tick = 0u; + g_ready_wait_result = SYS_EVT_NET_READY; + g_ready_wait_options = 0u; + g_events = 0u; + g_net_generation = 0u; + g_core_start_result = 0; + g_core_poll_result = 0; + memset(&g_core_status, 0, sizeof(g_core_status)); + memset(&g_last_core_cfg, 0, sizeof(g_last_core_cfg)); + g_core_start_calls = g_core_poll_calls = g_core_stop_calls = g_bind_calls = 0; + g_rx_bytes = 0u; + memset(&g_snap, 0, sizeof(g_snap)); + g_meas_result = 0; + memset(g_cal_flags, 0, sizeof(g_cal_flags)); + g_prot_dirty = g_run_dirty = 0u; + g_wd_beats = 0; + g_i104_info_count = g_i104_error_count = 0; + g_cfg_register_calls = g_cfg_save_calls = 0; + g_cfg_save_result = 0; + (void)iec104_comm_init(); + /* reset service static owner state via a fresh start cycle */ + s_started = 0u; s_gen = 0u; s_retry_tick = 0u; s_dirty_next = 0u; + s_last_active = 0u; s_link_run = 0u; + memset(&s_stats, 0, sizeof(s_stats)); + s_last_conn = s_carry_conn = 0u; + s_last_apdu = s_carry_apdu = 0u; + s_last_txfail = s_carry_txfail = 0u; + s_last_rx = s_carry_rx = 0u; + g_tick = I104_START_RETRY_MS + 1u; + iec104_serv_net_tick(); + g_tick = 0u; + g_core_start_calls = g_core_poll_calls = g_core_stop_calls = g_bind_calls = 0; + g_wd_beats = 0; + g_events = 0u; + g_i104_info_count = g_i104_error_count = 0; +} + +static void tc_monotonic(void) +{ + uint32_t last = 100u, carry = 7u; + + /* 正序:不跨回绕,carry 与 last 一起向后走。 */ + CHECK(s_monotonic(150u, &last, &carry) == 157u, "monotonic normal increment"); + CHECK(last == 150u && carry == 7u, "monotonic normal state"); + + /* 一次真回绕:now < last,把上一段的 last 折进 carry。 */ + CHECK(s_monotonic(50u, &last, &carry) == 207u, "monotonic reset carries previous"); + CHECK(last == 50u && carry == 157u, "monotonic reset state"); + + /* now == last 不算回绕:时间没有倒退,只是原地等了一拍。 + * 这一档单独写断言,是因为 `now < last` 误写成 `now <= last` 时 + * 返回值会多出一整个 last(本例 5 -> 10),而只看"单调增"是看不出来的。 */ + last = 5u; carry = 0u; + CHECK(s_monotonic(5u, &last, &carry) == 5u, "monotonic same tick does not wrap"); + CHECK(last == 5u && carry == 0u, "monotonic same tick leaves carry alone"); + + /* 折进 last 会溢出时,carry 直接钉到 SAT —— 断言 carry 本身而不只是 + * 返回值:把 `*carry = I104_STAT_SAT` 改成 SAT-1,返回值仍是 SAT + * (下一句的饱和分支照样命中),只有 carry 的内部状态能抓出来。 */ + last = 20u; carry = I104_STAT_SAT - 5u; + CHECK(s_monotonic(10u, &last, &carry) == I104_STAT_SAT, "monotonic carry saturation"); + CHECK(carry == I104_STAT_SAT, "monotonic carry pinned exactly at SAT"); + + /* 已经饱和之后再进来,仍然饱和且不再叠加。 */ + last = 10u; carry = I104_STAT_SAT; + CHECK(s_monotonic(15u, &last, &carry) == I104_STAT_SAT, "monotonic already saturated"); + CHECK(carry == I104_STAT_SAT && last == 15u, "monotonic stays saturated"); + + /* 32 位 tick 自然回绕(now 从 0xFFFFFFF0 走到 5)必须被判成回绕并饱和, + * 不能算成"倒退了 4G 多"。 */ + last = 0xFFFFFFF0u; carry = 0u; + CHECK(s_monotonic(5u, &last, &carry) == I104_STAT_SAT, + "monotonic u32 wrap saturates"); + + /* 边界对照组:carry + now 恰好等于 SAT-1 时**不许**提前饱和。 + * 饱和判据是 `carry > SAT - now`,等号留给正常的加法。 + * 说明:carry + now 恰等于 SAT 的那一档与饱和分支返回值相同, + * 属等价变异,这里不假装能区分,只用 SAT-1 这一档卡住"提前饱和"。 */ + last = 10u; carry = I104_STAT_SAT - 11u; + CHECK(s_monotonic(10u, &last, &carry) == I104_STAT_SAT - 1u, + "monotonic sum SAT-1 is not saturated early"); +} + +static void tc_measure(void) +{ + float value = -1.0f; + uint8_t quality = 0xFFu; + + reset_all(); + memset(&g_snap, 0, sizeof(g_snap)); + g_snap.yc[ADC_SEM_UB] = 12.5f; + g_snap.qds[ADC_SEM_UB] = 0x20u; /* NT only */ + g_cal_flags[ADC_SEM_UB] = ADC_CAL_F_VALID; + CHECK(g_bound.measurement != NULL && g_bound.signal != NULL, + "source bindings installed after core start"); + CHECK(g_bound.measurement(NULL, 0x9606u, &value, &quality) == true, + "mapped UB source available"); + CHECK(value == 12.5f && quality == 0x20u, + "UB value and quality copied from snapshot"); + + g_cal_flags[ADC_SEM_UB] = 0u; + CHECK(g_bound.measurement(NULL, 0x9606u, &value, &quality) == true, + "uncalibrated UB still reports snapshot"); + CHECK(quality == 0xA0u, "uncalibrated UB gets IV bit"); + + g_snap.freq_valid = 1u; + g_snap.freq_hz = 50.01f; + CHECK(g_bound.measurement(NULL, 0x960Du, &value, &quality) == true, + "frequency source available"); + CHECK(value == 50.01f && quality == 0u, "frequency value and clean quality"); + + g_snap.freq_valid = 0u; + CHECK(g_bound.measurement(NULL, 0x960Du, &value, &quality) == false, + "invalid frequency is unavailable"); + CHECK(g_bound.measurement(NULL, 0x9999u, &value, &quality) == false, + "unmapped source is unavailable"); + CHECK(g_bound.measurement(NULL, 0x9605u, NULL, &quality) == false, + "NULL value output rejected"); + CHECK(g_bound.measurement(NULL, 0x9605u, &value, NULL) == false, + "NULL quality output rejected"); + g_meas_result = -2; + CHECK(g_bound.measurement(NULL, 0x9605u, &value, &quality) == false, + "no published snapshot is unavailable"); + g_meas_result = 0; + + CHECK(g_bound.signal(NULL, 0x9141u, &quality, &quality) == false, + "signal source always unavailable"); +} + +static void tc_stats_and_link(void) +{ + iec104_serv_stats_t stats; + uint8_t link; + + reset_all(); + memset(&stats, 0x55, sizeof(stats)); + iec104_serv_get_stats(&stats); + CHECK(stats.conn_up == 0u && stats.apdu_tx == 0u && + stats.tx_fail == 0u && stats.rx_bytes == 0u, + "get_stats fills four fields"); + iec104_serv_get_stats(NULL); + CHECK(true, "get_stats NULL is harmless"); + link = iec104_serv_link_run(); + CHECK(link == 0u, "link_run starts at zero"); + + g_tick = I104_START_RETRY_MS; + g_core_status.connections = 3u; + g_core_status.written_i_frames = 4u; + g_core_status.frame_failures = 5u; + g_core_status.active = 1u; + g_rx_bytes = 6u; + iec104_serv_net_tick(); + iec104_serv_get_stats(&stats); + CHECK(stats.conn_up == 3u && stats.apdu_tx == 4u && + stats.tx_fail == 5u && stats.rx_bytes == 6u, + "stats mirror one core poll"); + CHECK(iec104_serv_link_run() == 1u, "link_run mirrors active"); + CHECK(s_last_active == 1u, "active edge recorded"); + + g_core_status.connections = 0u; + g_core_status.written_i_frames = 0u; + g_core_status.frame_failures = 0u; + g_core_status.active = 0u; + g_rx_bytes = 0u; + g_tick += 1u; + iec104_serv_net_tick(); + iec104_serv_get_stats(&stats); + CHECK(stats.conn_up == 3u && stats.apdu_tx == 4u && + stats.tx_fail == 5u && stats.rx_bytes == 6u, + "stats stay monotonic when sources reset"); + CHECK(iec104_serv_link_run() == 0u, "link_run follows active low"); +} + +static void tc_tick_control(void) +{ + iec104_serv_stats_t stats; + int wd_before; + + reset_all(); + g_ready_wait_result = osFlagsError; + g_tick = 1000u; + iec104_serv_net_tick(); + CHECK(g_wd_beats == 1 && g_last_wd == TASK_WD_IEC104, + "watchdog beat precedes NET_READY return"); + CHECK((g_ready_wait_options & osFlagsNoClear) != 0u, + "NET_READY is queried without clearing"); + CHECK(g_core_start_calls == 0 && g_core_poll_calls == 0, + "network not ready: no core calls"); + + reset_all(); + g_ready_wait_result = SYS_EVT_NET_READY; + g_tick = I104_START_RETRY_MS; + g_core_start_result = -1; + s_started = 0u; s_retry_tick = 0u; + iec104_serv_net_tick(); + CHECK(g_core_start_calls == 1 && g_bind_calls == 0, + "failed start does not bind sources"); + g_core_start_result = 0; + iec104_serv_net_tick(); + CHECK(g_core_start_calls == 1, "start retry is throttled"); + g_tick += I104_START_RETRY_MS; + iec104_serv_net_tick(); + CHECK(g_core_start_calls == 2 && g_bind_calls == 1, + "retry after throttle binds sources once"); + CHECK(strcmp(g_last_core_cfg.bind_address, "0.0.0.0") == 0, + "core bind address is wildcard"); + CHECK(g_last_core_cfg.port == iec104_comm_port() && + g_last_core_cfg.common_address == iec104_comm_ca(), + "core config uses live comm getters"); + CHECK(g_core_poll_calls > 0, "successful start allows polling in later ticks"); + + reset_all(); + g_tick = I104_START_RETRY_MS + 1u; + g_net_generation = 9u; + iec104_serv_net_tick(); /* generation change: stop + restart_core (throttled) */ + g_tick += I104_START_RETRY_MS; + iec104_serv_net_tick(); /* retry window elapsed: core starts again + rebind */ + CHECK(g_core_stop_calls >= 1 && g_core_start_calls >= 1, + "generation change restarts core without depending on stop status"); + CHECK(g_bind_calls >= 1, "generation restart rebinds sources"); + CHECK(g_i104_info_count >= 1, "generation change leaves an info trace"); + + reset_all(); + g_tick = I104_START_RETRY_MS + 1u; + iec104_serv_net_tick(); + g_tick += 1u; + g_core_poll_result = -1; + wd_before = g_wd_beats; + iec104_serv_net_tick(); + CHECK(g_core_poll_calls == 2 && g_i104_error_count >= 1, + "poll failure logs and restarts"); + iec104_serv_get_stats(&stats); + CHECK(stats.conn_up == 0u, "poll failure does not publish stats"); + + reset_all(); + g_tick = I104_START_RETRY_MS; + iec104_serv_net_tick(); + g_prot_dirty = 1u; + g_run_dirty = 1u; + g_tick = s_dirty_next; + iec104_serv_net_tick(); + CHECK((g_events & SYS_EVT_PROT_SET_SAVE) != 0u, + "protection dirty posts save event on deadline"); + CHECK((g_events & SYS_EVT_RUN_PAR_SAVE) != 0u, + "run-param dirty posts save event on deadline"); + g_events = 0u; + g_tick += 1u; + iec104_serv_net_tick(); + CHECK(g_events == 0u, "no duplicate dirty event before next deadline"); + (void)wd_before; +} + +int main(void) +{ + printf("=== IEC104 Service Host Unit Tests ===\n"); + tc_monotonic(); + tc_measure(); + tc_stats_and_link(); + tc_tick_control(); + printf("=== IEC104 Serv Tests: %d/%d PASSED (failed=%d) ===\n", + s_passed, s_total, s_failed); + return (s_failed == 0) ? 0 : 1; +} diff --git a/test/host/iec104_serv/run_unit_test.py b/test/host/iec104_serv/run_unit_test.py new file mode 100644 index 00000000..5fcdf451 --- /dev/null +++ b/test/host/iec104_serv/run_unit_test.py @@ -0,0 +1,36 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +"""Host unit-test runner for the IEC104 netTask service adapter.""" +import os +import sys + +HERE = os.path.dirname(os.path.abspath(__file__)) +ROOT = os.path.dirname(os.path.dirname(os.path.dirname(HERE))) +sys.path.insert(0, os.path.join(ROOT, "test", "host", "common")) + +from unit_test_harness import TestBuild, run_host_unit_test # noqa: E402 + +BUILD = TestBuild( + name="IEC104 Serv Tests", + src=os.path.join(HERE, "iec104_serv_test.c"), + include_dirs=[ + os.path.join(HERE, "stub"), + os.path.join(ROOT, "App", "task"), + os.path.join(ROOT, "App", "iec60870", "104"), + os.path.join(ROOT, "App", "iec60870", "common"), + os.path.join(ROOT, "App", "iec60870", "104"), + os.path.join(ROOT, "App", "iec60870", "104", "business"), + os.path.join(ROOT, "App", "iec60870", "platform"), + os.path.join(ROOT, "App", "iec60870", "examples"), + os.path.join(ROOT, "App", "algo"), + os.path.join(ROOT, "App", "sync"), + os.path.join(ROOT, "App", "util"), + os.path.join(ROOT, "App", "app"), + os.path.join(ROOT, "App", "cfg"), + HERE, + ], + summary_marker="=== IEC104 Serv Tests:", +) + +if __name__ == "__main__": + sys.exit(run_host_unit_test(BUILD)) diff --git a/test/host/iec104_serv/stub/cmsis_os2.h b/test/host/iec104_serv/stub/cmsis_os2.h new file mode 100644 index 00000000..3d772461 --- /dev/null +++ b/test/host/iec104_serv/stub/cmsis_os2.h @@ -0,0 +1,27 @@ +/* Host-only stub: CMSIS-RTOS v2 surface used by iec104_serv.c. */ +#ifndef CMSIS_OS2_H +#define CMSIS_OS2_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef void *osEventFlagsId_t; + +#define osFlagsWaitAny 0x00000000U +#define osFlagsNoClear 0x00000002U +#define osFlagsError 0x80000000U +#define osOK 0 + +uint32_t osEventFlagsWait(osEventFlagsId_t ef_id, uint32_t flags, + uint32_t options, uint32_t timeout); +uint32_t osEventFlagsSet(osEventFlagsId_t ef_id, uint32_t flags); +uint32_t osKernelGetTickCount(void); + +#ifdef __cplusplus +} +#endif + +#endif /* CMSIS_OS2_H */ diff --git a/test/host/iec104_serv/stub/dbg_log.h b/test/host/iec104_serv/stub/dbg_log.h new file mode 100644 index 00000000..6ecd2060 --- /dev/null +++ b/test/host/iec104_serv/stub/dbg_log.h @@ -0,0 +1,13 @@ +/* Host-only stub: logging macros used by iec104_serv.c (counting only). */ +#ifndef DBG_LOG_H +#define DBG_LOG_H + +extern int g_i104_info_count; +extern int g_i104_error_count; + +/* Consume all arguments so production call sites with computed locals do not + * trigger C4189 under /W4. The comma expression has no side effects. */ +#define DBG_INFO(...) do { g_i104_info_count++; (void)(__VA_ARGS__); } while (0) +#define DBG_ERROR(...) do { g_i104_error_count++; (void)(__VA_ARGS__); } while (0) + +#endif /* DBG_LOG_H */ diff --git a/test/host/iec104_serv/stub/iec104_comm.h b/test/host/iec104_serv/stub/iec104_comm.h new file mode 100644 index 00000000..44bfd3d5 --- /dev/null +++ b/test/host/iec104_serv/stub/iec104_comm.h @@ -0,0 +1,13 @@ +/* Host-only stub: IEC104 [comm] getters used by the service adapter. */ +#ifndef IEC104_COMM_H +#define IEC104_COMM_H + +#include + +#define IEC104_COMM_DEF_CA 1u +#define IEC104_COMM_DEF_PORT 2404u + +uint16_t iec104_comm_ca(void); +uint16_t iec104_comm_port(void); + +#endif /* IEC104_COMM_H */ diff --git a/test/host/iec104_serv/stub/net_socket.h b/test/host/iec104_serv/stub/net_socket.h new file mode 100644 index 00000000..31754d67 --- /dev/null +++ b/test/host/iec104_serv/stub/net_socket.h @@ -0,0 +1,17 @@ +/* Host-only stub: net generation accessor used by iec104_serv.c. */ +#ifndef NET_SOCKET_H +#define NET_SOCKET_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +uint32_t net_get_generation(void); + +#ifdef __cplusplus +} +#endif + +#endif /* NET_SOCKET_H */ diff --git a/test/host/iec104_serv/stub/sys_events.h b/test/host/iec104_serv/stub/sys_events.h new file mode 100644 index 00000000..1dab5c2c --- /dev/null +++ b/test/host/iec104_serv/stub/sys_events.h @@ -0,0 +1,21 @@ +/* Host-only stub: system event flags and values used by iec104_serv.c. */ +#ifndef SYS_EVENTS_H +#define SYS_EVENTS_H + +#include "cmsis_os2.h" + +#ifdef __cplusplus +extern "C" { +#endif + +extern osEventFlagsId_t sys_evtHandle; + +#define SYS_EVT_NET_READY (1u << 0) +#define SYS_EVT_PROT_SET_SAVE (1u << 7) +#define SYS_EVT_RUN_PAR_SAVE (1u << 8) + +#ifdef __cplusplus +} +#endif + +#endif /* SYS_EVENTS_H */ diff --git a/test/host/soe/run_unit_test.py b/test/host/soe/run_unit_test.py index 0721c87a..86f9bd02 100644 --- a/test/host/soe/run_unit_test.py +++ b/test/host/soe/run_unit_test.py @@ -35,7 +35,7 @@ BUILD = TestBuild( src=os.path.join(HERE, "soe_test.c"), include_dirs=[ os.path.join(ROOT, "App", "log"), - os.path.join(ROOT, "App", "protocol", "iec60870", "common"), + os.path.join(ROOT, "App", "iec60870", "common"), HERE, ], summary_marker="=== SOE Tests:", diff --git a/test/host/ui_data/ui_data_test.c b/test/host/ui_data/ui_data_test.c index 5aa20b2d..7dfabdcf 100644 --- a/test/host/ui_data/ui_data_test.c +++ b/test/host/ui_data/ui_data_test.c @@ -352,7 +352,7 @@ static void tc_yx_points(void) * 字面量:测试的职责是独立见证,改点数时必须有人被绊一下——绊到后要同时改: * ui_data.h 的 UI_DATA_YX_N、页面名表 ui_page_yx.c(有编译期数组守卫兜着)、本条。 * 历史:割接前 33 同时等于旧产品点表 App/protocol/iec104/iec104_pts.c 的 YX_N - * (该文件 2026-11-17 通信骨架割接已删除);现在协议侧是 DTU 标准表 + * (该文件 2026-11-17 通信骨架割接弃用、2026-11-18 随骨架迁 MCU 删除);现在协议侧是 DTU 标准表 * iec104_dtu_table.c 的 SP 59 + DP 16 = 75 个遥信点,**两者语义不同、数值本就不等**, * 写侧 ui_data_feed.c 留了一条一次性 DBG_ERROR 把这个差异显式化,不改显示 */ CHECK((uint32_t)UI_DATA_YX_N == 33u, "TC-UIDATA-009d point count is 33 (YX_N witness)"); @@ -1317,8 +1317,9 @@ static void tc_maint_forwarding(void) (void)ui_data_maint_oper_note("force reset by panel"); CHECK((s_stub_note_calls == 1) && (strcmp(s_stub_note_last, "force reset by panel") == 0), "TC-UIDATA-026i page-side note reaches executor verbatim"); - /* 面板这条与远端 YK11 那条(App/protocol/iec104/iec104_pts.c 投的 - * "force reset")必须是不同串,否则审计面再也分不出"主站下发的"还是 + /* 面板这条与远端 YK11 那条(旧 App/protocol/iec104/iec104_pts.c 投的 + * "force reset",该文件 2026-11-18 已删除;骨架阶段 104 侧无此记录) + * 必须是不同串,否则审计面再也分不出"主站下发的"还是 * "现场有人按了面板"。比的是执行侧缓冲里的实际内容,不是两个常量互比 */ CHECK(strcmp(s_stub_note_last, "force reset") != 0, "TC-UIDATA-026s posted note differs from the remote YK11 wording"); diff --git a/tools/arch_diagram/gen_arch_svg.py b/tools/arch_diagram/gen_arch_svg.py index 2559ec58..ffafade1 100644 --- a/tools/arch_diagram/gen_arch_svg.py +++ b/tools/arch_diagram/gen_arch_svg.py @@ -56,7 +56,7 @@ L_SVC = dict( title="③ 基础服务层", sub="应用侧服务 / 编排", color="#0d9488", bg="#f0fdfa", chips=["app_main(启动编排)", "sys_events(就绪屏障)", "task/(9 任务)", "algo/(语义取数与有效性~保护判据 · 遥测快照 · 录波数据面)", - "protocol/iec104(104 上行默认 :2404)", "ui_data_feed(App→UI 装配)", + "iec60870/(104 上行默认 :2404;common 编解码 + 104 协议)", "ui_data_feed(App→UI 装配)", "sys_log · soe(记录引擎)", "console_log(UART5 控制台单写者)", "cfg_file · prot_set_store(配置引擎)", "lftpd(FTP :21)", "time_sntp(SNTP 对时,UDP 出向;:8888 已退役)"], diff --git a/tools/refgraph/gen_refgraph.py b/tools/refgraph/gen_refgraph.py index 9e6b38eb..1fd9f7f2 100644 --- a/tools/refgraph/gen_refgraph.py +++ b/tools/refgraph/gen_refgraph.py @@ -67,7 +67,10 @@ import sys # --------------------------------------------------------------------------- # 文件索引时整体跳过的目录(按相对路径前缀,'/' 分隔) -EXCLUDE_PREFIXES = ("MDK-ARM", "docs", "simulator/build") +# ci-artifacts = 一次性取证/构建产物区(.gitignore 挡掉,不入库):里面的桩文件、 +# 旧基线副本、探针 .c 会以 #include 相对路径拉进一堆幽灵节点(含已删除文件), +# 且本机有无该目录会导致产物不同 → 必须排除,否则图不可复现。 +EXCLUDE_PREFIXES = ("MDK-ARM", "docs", "simulator/build", "ci-artifacts") # 按目录名跳过(任意层级) # .dsh-worktrees / .agents = DSH 新旧 worktree 插件在仓库内建的任务树(整份仓库副本): # 不排掉的话,每次有人建插件树,本生成器的输出就多出几十条重复节点/边——而