xiaoguohua 3 сар өмнө
parent
commit
820351275c
2 өөрчлөгдсөн 5 нэмэгдсэн , 4 устгасан
  1. 3 3
      gateway/README.md
  2. 2 1
      gateway/pom.xml

+ 3 - 3
gateway/README.md

@@ -1,7 +1,7 @@
 -- 通信模块表
 DROP TABLE IF EXISTS dev_transmit;
 
-CREATE TABLE config_transmit (
+CREATE TABLE dev_transmit (
   id bigserial NOT NULL,
   name varchar(50) NOT NULL,
   transmit_class varchar(100) NOT NULL DEFAULT '',
@@ -19,7 +19,7 @@ COMMENT ON COLUMN dev_transmit.config_example IS '配置示例';
 -- 协议模块表
 DROP TABLE IF EXISTS dev_protocol;
 
-CREATE TABLE config_protocol (
+CREATE TABLE dev_protocol (
   id bigserial NOT NULL,
   name varchar(50) NOT NULL,
   protocol_class varchar(100) NOT NULL,
@@ -37,7 +37,7 @@ COMMENT ON COLUMN dev_protocol.config_example IS '配置示例';
 -- 设备通道表
 DROP TABLE IF EXISTS dev_channel;
 
-CREATE TABLE config_channel (
+CREATE TABLE dev_channel (
   id bigserial NOT NULL,
   code varchar(15) NOT NULL DEFAULT '',
   name varchar(50) NOT NULL,

+ 2 - 1
gateway/pom.xml

@@ -16,8 +16,9 @@
 
     <modules>
         <module>modbus4j</module>
-        <module>forecast-iec60870</module>
         <module>forecast-modbus-tcp</module>
+        <module>forecast-iec60870</module>
+        <module>forecast-iec104</module>
 		<module>forecast-device-gateway</module>
     </modules>
 </project>