RtuDataInfoConstant.java 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. /**
  2. * Copyright
  3. * All right reserved.
  4. * 项目名称:
  5. * 创建日期:2022/3/7
  6. */
  7. package org.springblade.constant;
  8. /***
  9. * Date:2022/3/7
  10. * Title:测站数据常量类
  11. * Description:对本文件的详细描述,原则上不能少于30字
  12. * @author admin
  13. * @mender:(文件的修改者,文件创建者之外的人)
  14. * @version 1.0
  15. * Remark:认为有必要的其他信息
  16. */
  17. public class RtuDataInfoConstant {
  18. /**
  19. * 测站编码KEY
  20. */
  21. public static final String RTU_DATA_RTUCODE_KEY ="rtuCode";
  22. public static final String RTU_DATA_COLLECT_TIME_KEY ="collectTime";
  23. public static final String RTU_DATA_UP_TIME_KEY ="upTime";
  24. public static final String RTU_DATA_PICK_TIME_KEY ="pickTime";
  25. /**
  26. * 降水量
  27. */
  28. public static final String RTU_DATA_RAIN_DRP_KEY ="drp";
  29. /**
  30. * 累计降水量
  31. */
  32. public static final String RTU_DATA_RAIN_PT_KEY ="pt";
  33. /**
  34. * 时段长
  35. */
  36. public static final String RTU_DATA_RAIN_INTV_KEY ="intv";
  37. /**
  38. * 降水历时,格式 HH.NN
  39. */
  40. public static final String RTU_DATA_RAIN_PDR_KEY ="pdr";
  41. /**
  42. * 日降水量,前一天8时到当前8时,24小时降水量
  43. */
  44. public static final String RTU_DATA_RAIN_DYP_KEY ="dyp";
  45. /**
  46. * 天气状况
  47. */
  48. public static final String RTU_DATA_RAIN_WTH_KEY ="wth";
  49. /**
  50. * 河道水位
  51. */
  52. public static final String RTU_DATA_RIVER_Z_KEY ="z";
  53. /**
  54. * 流量
  55. */
  56. public static final String RTU_DATA_RIVER_Q_KEY ="q";
  57. /**
  58. * 断面过水面积
  59. */
  60. public static final String RTU_DATA_RIVER_XSA_KEY ="xsa";
  61. /**
  62. * 断面平均流速
  63. */
  64. public static final String RTU_DATA_RIVER_XSAVV_KEY ="xsavv";
  65. /**
  66. * 断面最大流速
  67. */
  68. public static final String RTU_DATA_RIVER_XSNXV_KEY ="xsnxv";
  69. /**
  70. * 河水特征码
  71. */
  72. public static final String RTU_DATA_RAIN_PLWCHRCD_KEY ="plwchrcd";
  73. /**
  74. * 水势
  75. */
  76. public static final String RTU_DATA_RAIN_WPTN_KEY ="wptn";
  77. /**
  78. * 测流方法
  79. */
  80. public static final String RTU_DATA_RAIN_MSQMT_KEY ="msqmt";
  81. /**
  82. * 测积方法
  83. */
  84. public static final String RTU_DATA_RAIN_PMSAMT_KEY ="msamt";
  85. /**
  86. * 测速方法
  87. */
  88. public static final String RTU_DATA_RAIN_MSVMT_KEY ="msvmt";
  89. /**
  90. * 库上水位
  91. */
  92. public static final String RTU_DATA_RSVR_RZ_KEY ="rz";
  93. /**
  94. * 蓄水量
  95. */
  96. public static final String RTU_DATA_RSVR_W_KEY ="w";
  97. /**
  98. * 入库流量
  99. */
  100. public static final String RTU_DATA_RSVR_INQ_KEY ="inq";
  101. /**
  102. * 库下水位
  103. */
  104. public static final String RTU_DATA_RSVR_BLRZ_KEY ="blrz";
  105. /**
  106. * 出库流量
  107. */
  108. public static final String RTU_DATA_RSVR_OTQ_KEY ="otq";
  109. /**
  110. * 库水特征码
  111. */
  112. public static final String RTU_DATA_RSVR_RWCHRCD_KEY ="rwchrcd";
  113. /**
  114. * 库水水势
  115. */
  116. public static final String RTU_DATA_RSVR_RWPTN_KEY ="rwptn";
  117. /**
  118. * 入流时段长
  119. */
  120. public static final String RTU_DATA_RSVR_INQDR_KEY ="inqdr";
  121. /**
  122. * 测流方法
  123. */
  124. public static final String RTU_DATA_RSVR_MSQMT_KEY ="msqmt";
  125. /**
  126. * 信号强度
  127. */
  128. public static final String RTU_STATUS_DTU_SIGNAL_KEY ="dtu_signal";
  129. /**
  130. * 电源电压
  131. */
  132. public static final String RTU_STATUS_VOLTAGE_KEY ="voltage";
  133. /**
  134. *RTU温度
  135. */
  136. public static final String RTU_STATUS_TEMPERATURE_KEY ="temperature";
  137. /**
  138. * 唯一识别码
  139. */
  140. public static final String RTU_STATUS_UUID_KEY ="uuid";
  141. /**
  142. * 物联卡CCID
  143. */
  144. public static final String RTU_STATUS_CCID_KEY ="ccid";
  145. /**
  146. * 设备状态 0,SD ,1正常
  147. */
  148. public static final String RTU_STATUS_RTU_STATUS_KEY ="rtu_status";
  149. /**
  150. * 异常值
  151. */
  152. public static final String RTU_STATUS_RTU_ERROR_KEY ="rtu_error";
  153. /**
  154. * 报文发送索引
  155. */
  156. public static final String RTU_STATUS_DATAGRAM_CHANNEL_INDEX_KEY ="datagram_channel_index";
  157. /**
  158. * 电池状态
  159. */
  160. public static final String RTU_STATUS_BATTERY_STATUS_KEY ="battery_status";
  161. /**
  162. * 充电状态
  163. */
  164. public static final String RTU_STATUS_BATTERY_IN_KEY ="battery_battery_in";
  165. /**
  166. * 放电状态
  167. */
  168. public static final String RTU_STATUS_BATTERY_OUT_KEY ="battery_battery_out";
  169. /**
  170. * 电池电量 ,百分比
  171. */
  172. public static final String RTU_STATUS_BATTERY_POWER_KEY ="battery_power";
  173. /**
  174. * 电池温度
  175. */
  176. public static final String RTU_STATUS_BATTERY_TEMP_KEY ="battery_temperature";
  177. /**
  178. * 太阳能电压
  179. */
  180. public static final String RTU_STATUS_SUN_POWER_VOLTAGE_KEY ="sun_power_voltage";
  181. /**
  182. * 太阳能电流
  183. */
  184. public static final String RTU_STATUS_SUN_POWER_ELECTRIC_KEY ="sun_power_electric";
  185. /**
  186. * 水位计状态
  187. */
  188. public static final String RTU_STATUS_WATER_SENSOR_STATUS_KEY ="water_sensor_status";
  189. /**
  190. * 电池电压报警 0 正常 ,1报警
  191. */
  192. public static final String RTU_STATUS_BATTERY_VOLTAGE_WARN_KEY ="battery_voltage_warning";
  193. /**
  194. * 交流电充电报警 0 正常 ,1停电
  195. */
  196. public static final String RTU_STATUS_AC_CHARGE_WARN_KEY ="ac_charge_warning";
  197. public final static String BASE_KEY_RTU ="rtuCode";
  198. public final static String BASE_KEY_AGREEMENT ="agreement";
  199. public final static String BASE_KEY_DATAGRAM ="datagram";
  200. public final static String BASE_KEY_DATAGRAM_PICK_TM ="datagramPickTime";
  201. /**
  202. * 水资源河道水位
  203. */
  204. public static final String RTU_DATA_SZY_RIVER_HIGH="HIGH";
  205. /**
  206. * 水资源河道流速
  207. */
  208. public static final String RTU_DATA_SZY_RIVER_SPEED="SPEED";
  209. /**
  210. * 瞬时流量1组
  211. */
  212. public static final String RTU_DATA_SZY_MP_Q_R_FIRST_FLOWRATE="instantFlowrateFirst";
  213. /**
  214. * 累计流量1组
  215. */
  216. public static final String RTU_DATA_SZY_MP_Q_R_FIRST_ACC_FLOWRATE="accFlowrateFirst";
  217. /**
  218. * 瞬时流量2组
  219. */
  220. public static final String RTU_DATA_SZY_MP_Q_R_SECOND_FLOWRATE="instantFlowrateSecond";
  221. /**
  222. * 累计流量2组
  223. */
  224. public static final String RTU_DATA_SZY_MP_Q_R_SECOND_ACC_FLOWRATE="accFlowrateSecond";
  225. }