src/main/kotlin/com/flightfeather/uav/lightshare/bean/ElectricDailyInfo.kt | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/application.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/kotlin/com/flightfeather/uav/lightshare/bean/ElectricDailyInfo.kt
@@ -15,16 +15,21 @@ /***********产线设备ProductionLine, pl************/ private var plDCode: String? = null // 设备编号 private var plSTime: Date? = null // 开启时间 private var plRTime: Date? = null // 正式运行时间 private var plETime: Date? = null // 关闭时间 // FIXME: 2021/12/1 (状态为运行、高负荷的时长) private var plRunTime: Int = 0 // 运行时长(分钟) private var plRunPeriod = mutableListOf<Int>()// 运行时段(小时) /***********净化设备Purify, pf********************/ private var pfDCode: String? = null private var pfSTime: Date? = null private var pfRTime: Date? = null private var pfETime: Date? = null private var pfRunTime: Int = 0 private var pfRunPeriod = mutableListOf<Int>() // TODO: 2021/12/1 正式运行时间差 // TODO: 2021/12/1 关闭时间差 private var dailyResult: String = ""// 当日分析结果描述 // 当前设备类型,用于插入数据时决定赋值字段 @@ -87,6 +92,12 @@ */ fun getResult() { // 1. 设备开启关闭是否合规 // val timeDiff = // TODO: 2021/12/1 1. 设备正式运行时间差 =》开启是否合规 // TODO: 2021/12/1 2,设备关闭时间差 =》关闭是否合规 // TODO: 2021/12/1 3. 运行时长差 =》运行过程是否合规 // TODO: 2021/12/1 4. 综合判断结果 // TODO: 2021/12/1 5. 多日摘要统计,运行天数、合规天数等 } } src/main/resources/application.yml
@@ -7,9 +7,9 @@ # password: cn.FLIGHTFEATHER # 线上服务器 # url: jdbc:mysql://localhost:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false # username: dronemonitor # password: dronemonitor_hackxrnomxm url: jdbc:mysql://localhost:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false username: dronemonitor password: dronemonitor_hackxrnomxm # 开发本地服务器 # url: jdbc:mysql://localhost:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false @@ -17,9 +17,9 @@ # password: 123456 # 开发远程服务器 url: jdbc:mysql://47.100.191.150:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false username: remoteU1 password: eSoF8DnzfGTlhAjE # url: jdbc:mysql://47.100.191.150:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false # username: remoteU1 # password: eSoF8DnzfGTlhAjE hikari: maximum-pool-size: 500 minimum-idle: 20