From f5fa7d2058fec2342c3e3e3955089b8f9f9a630f Mon Sep 17 00:00:00 2001 From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com> Date: 星期五, 10 一月 2025 15:02:15 +0800 Subject: [PATCH] 1. 添加IO模块 --- SourceCode/Bond/BoounionPLC/Common.h | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/SourceCode/Bond/BoounionPLC/Common.h b/SourceCode/Bond/BoounionPLC/Common.h index bbd8e73..2143140 100644 --- a/SourceCode/Bond/BoounionPLC/Common.h +++ b/SourceCode/Bond/BoounionPLC/Common.h @@ -1,5 +1,5 @@ -#pragma once - +#ifndef COMMON_H +#define COMMON_H /* Rx Code */ #define RX_CODE_TEST 0 @@ -72,4 +72,6 @@ /* 监控数据id */ -#define MONITOR_ID_ALARM 1001 \ No newline at end of file +#define MONITOR_ID_ALARM 1001 + +#endif // COMMON_H \ No newline at end of file -- Gitblit v1.9.3