BattMonitor_DB_Builder/bin/com/database_util/DB_Pwrdev_Inf.classBinary files differ
BattMonitor_DB_Builder/bin/com/version_inf/version_inf.txt
@@ -7,6 +7,7 @@ `acvol_high_limit` float NOT NULL DEFAULT '200' COMMENT '交流上限阈值', `acvol_low_limit` float NOT NULL DEFAULT '200' COMMENT '交流下限阈值', `dcoutvol_low_limit` float NOT NULL DEFAULT '43.2' COMMENT '直流输出电压下限阈值', `model` varchar(45) DEFAULT NULL COMMENT '型号', V1.82 edit at date 2023-07-24 BattMonitor_DB_Builder/src/com/database_util/DB_Pwrdev_Inf.java
@@ -73,6 +73,7 @@ " `ProtocolName` varchar(100) NOT NULL DEFAULT '0'," + " `DeviceId` varchar(20) DEFAULT '0'," + " `DeviceName` varchar(100) DEFAULT '0'," + " `model` varchar(45) DEFAULT NULL COMMENT '型号'," + " `PowerProducer` varchar(45) NOT NULL DEFAULT '0'," + " `PowerProductDate` date NOT NULL DEFAULT '2006-07-06'," + " `PowerInUseDate` date NOT NULL DEFAULT '2006-07-06'," + @@ -176,6 +177,16 @@ sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.Pwrdev_Inf_Table + " ADD COLUMN `dcoutvol_low_limit` float NOT NULL DEFAULT '43.2' COMMENT '直流输出电压下限阈值';"); } res = null; //添加字段model ----- 电源型号 res = sql.sqlMysqlQuery("SELECT * FROM information_schema.columns" + " WHERE table_schema='db_pwrdev_inf'" + " AND table_name='tb_pwrdev_inf'" + " AND column_name='model'"); if(false == res.next()) { sql.sqlMysqlExecute("ALTER TABLE " + Sql_Mysql.Pwrdev_Inf_Table + " ADD COLUMN `model` varchar(45) DEFAULT NULL COMMENT '型号' AFTER `DeviceName`;"); } } catch (SQLException e) { e.printStackTrace(); } finally { BattMonitor_DB_Builder/src/com/version_inf/version_inf.txt
@@ -7,6 +7,7 @@ `acvol_high_limit` float NOT NULL DEFAULT '200' COMMENT '交流上限阈值', `acvol_low_limit` float NOT NULL DEFAULT '200' COMMENT '交流下限阈值', `dcoutvol_low_limit` float NOT NULL DEFAULT '43.2' COMMENT '直流输出电压下限阈值', `model` varchar(45) DEFAULT NULL COMMENT '型号', V1.82 edit at date 2023-07-24 BattMonitor_DB_Builder/src/main/main_BTS_DB_Builder.java
@@ -32,7 +32,7 @@ /**************************************************************************/ /**************************************************************************/ public final static boolean app_debug = false; public final static float m_VersionNum = (float) 1.82; public final static float m_VersionNum = (float) 1.83; public final static String m_Version = "Welcome To Use BTS DB BUILDER V" + m_VersionNum + " RC_20180908"; /**************************************************************************/ /**************************************************************************/