Wl1k.txt 87 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567
  1. 监测实体类====================================================================
  2. //万里一矿主扇 2024-07-10
  3. @Data
  4. public class FanMainWl1kVo extends RelationVo {
  5. @JsonProperty(value = "f1Uab")
  6. private Float f1Uab; //F1_Uab
  7. @JsonProperty(value = "f1Ubc")
  8. private Float f1Ubc; //F1_Ubc
  9. @JsonProperty(value = "f1Uca")
  10. private Float f1Uca; //F1_Uca
  11. @JsonProperty(value = "f1Ia")
  12. private Float f1Ia; //F1_Ia
  13. @JsonProperty(value = "f1Ib")
  14. private Float f1Ib; //F1_Ib
  15. @JsonProperty(value = "f1Ic")
  16. private Float f1Ic; //F1_Ic
  17. @JsonProperty(value = "f1P")
  18. private Float f1P; //F1_P
  19. @JsonProperty(value = "f1Q")
  20. private Float f1Q; //F1_Q
  21. @JsonProperty(value = "f1Cos")
  22. private Float f1Cos; //F1_COS
  23. @JsonProperty(value = "f1EntryPress")
  24. private Float f1EntryPress; //F1_入口压力
  25. @JsonProperty(value = "f1ImpellerPress")
  26. private Float f1ImpellerPress; //F1_叶轮压力
  27. @JsonProperty(value = "f1OutletPress")
  28. private Float f1OutletPress; //F1_出口压力
  29. @JsonProperty(value = "f1HydraulicPress")
  30. private Float f1HydraulicPress; //F1_液压站油压
  31. @JsonProperty(value = "f1StallDiffPress")
  32. private Float f1StallDiffPress; //F1_失速压差
  33. @JsonProperty(value = "f1EntryTemp")
  34. private Float f1EntryTemp; //F1_入口温度
  35. @JsonProperty(value = "f1BladeMechAngle")
  36. private Float f1BladeMechAngle; //F1_叶片机械角度
  37. @JsonProperty(value = "f1BladeAngle")
  38. private Float f1BladeAngle; //F1_叶片角度
  39. @JsonProperty(value = "f1BladeAngleSet")
  40. private Float f1BladeAngleSet; //F1_叶片角度设定
  41. @JsonProperty(value = "f1FixedAngleSet")
  42. private Float f1FixedAngleSet; //F1_固定角度设定
  43. @JsonProperty(value = "f1StallMin")
  44. private Float f1StallMin; //F1_失速分
  45. @JsonProperty(value = "f1StallSec")
  46. private Float f1StallSec; //F1_失速秒
  47. @JsonProperty(value = "f1RunningDays")
  48. private Float f1RunningDays; //F1_运行天
  49. @JsonProperty(value = "f1FanRunTime")
  50. private Float f1FanRunTime; //F1_风机运行时
  51. @JsonProperty(value = "f1FanRunMin")
  52. private Float f1FanRunMin; //F1_风机运行分
  53. @JsonProperty(value = "f1FanRunSec")
  54. private Float f1FanRunSec; //F1_风机运行秒
  55. @JsonProperty(value = "f1FanRunHoursAcc")
  56. private Float f1FanRunHoursAcc; //F1_风机运行小时累计
  57. @JsonProperty(value = "f1TestDamperOpen")
  58. private Float f1TestDamperOpen; //F1_测试风门开度
  59. @JsonProperty(value = "f1FanDamperOpen")
  60. private Float f1FanDamperOpen; //F1_风机风门开度
  61. @JsonProperty(value = "f1LubOilTemp")
  62. private Float f1LubOilTemp; //F1_润滑油温
  63. @JsonProperty(value = "f1LubPipeTemp")
  64. private Float f1LubPipeTemp; //F1_润滑管温
  65. @JsonProperty(value = "f1HydraulicOilTemp")
  66. private Float f1HydraulicOilTemp; //F1_液压油温
  67. @JsonProperty(value = "f1FanACBTemp1")
  68. private Float f1FanACBTemp1; //F1_风机角接触轴承温度1
  69. @JsonProperty(value = "f1FanACBTemp2")
  70. private Float f1FanACBTemp2; //F1_风机角接触轴承温度2
  71. @JsonProperty(value = "f1FanDGBearingTemp1")
  72. private Float f1FanDGBearingTemp1; //F1_风机深沟轴承温度1
  73. @JsonProperty(value = "f1FanDGBearingTemp2")
  74. private Float f1FanDGBearingTemp2; //F1_风机深沟轴承温度2
  75. @JsonProperty(value = "f1FanRBearingTemp1")
  76. private Float f1FanRBearingTemp1; //F1_风机滚柱轴承温度1
  77. @JsonProperty(value = "f1FanRBearingTemp2")
  78. private Float f1FanRBearingTemp2; //F1_风机滚柱轴承温度2
  79. @JsonProperty(value = "f1MotorUTemp")
  80. private Float f1MotorUTemp; //F1_电机U绕组温度
  81. @JsonProperty(value = "f1MotorVTemp")
  82. private Float f1MotorVTemp; //F1_电机V绕组温度
  83. @JsonProperty(value = "f1MotorWTemp")
  84. private Float f1MotorWTemp; //F1_电机W绕组温度
  85. @JsonProperty(value = "f1MotorNonDriveTemp")
  86. private Float f1MotorNonDriveTemp; //F1_电机非驱动侧温度
  87. @JsonProperty(value = "f1MotorDriveTemp")
  88. private Float f1MotorDriveTemp; //F1_电机驱动侧温度
  89. @JsonProperty(value = "f1InverterCurr")
  90. private Float f1InverterCurr; //F1_变频器电流
  91. @JsonProperty(value = "f1FreqFeedback")
  92. private Float f1FreqFeedback; //F1_频率反馈
  93. @JsonProperty(value = "f1FreqSetting")
  94. private Float f1FreqSetting; //F1_频率设定
  95. @JsonProperty(value = "f1FixedFreqSetting")
  96. private Float f1FixedFreqSetting; //F1_固定频率设定
  97. @JsonProperty(value = "f1FanVertVib")
  98. private Float f1FanVertVib; //F1_风机垂直振动
  99. @JsonProperty(value = "f1FanHorizVib")
  100. private Float f1FanHorizVib; //F1_风机水平振动
  101. @JsonProperty(value = "f1AirVolume")
  102. private Float f1AirVolume; //F1_风量
  103. @JsonProperty(value = "f2Uab")
  104. private Float f2Uab; //F2_Uab
  105. @JsonProperty(value = "f2Ubc")
  106. private Float f2Ubc; //F2_Ubc
  107. @JsonProperty(value = "f2Uca")
  108. private Float f2Uca; //F2_Uca
  109. @JsonProperty(value = "f2Ia")
  110. private Float f2Ia; //F2_Ia
  111. @JsonProperty(value = "f2Ib")
  112. private Float f2Ib; //F2_Ib
  113. @JsonProperty(value = "f2Ic")
  114. private Float f2Ic; //F2_Ic
  115. @JsonProperty(value = "f2P")
  116. private Float f2P; //F2_P
  117. @JsonProperty(value = "f2Q")
  118. private Float f2Q; //F2_Q
  119. @JsonProperty(value = "f2Cos")
  120. private Float f2Cos; //F2_COS
  121. @JsonProperty(value = "f2EntryPress")
  122. private Float f2EntryPress; //F2_入口压力
  123. @JsonProperty(value = "f2ImpellerPress")
  124. private Float f2ImpellerPress; //F2_叶轮压力
  125. @JsonProperty(value = "f2OutletPress")
  126. private Float f2OutletPress; //F2_出口压力
  127. @JsonProperty(value = "f2HydraulicPress")
  128. private Float f2HydraulicPress; //F2_液压站油压
  129. @JsonProperty(value = "f2StallDiffPress")
  130. private Float f2StallDiffPress; //F2_失速压差
  131. @JsonProperty(value = "f2EntryTemp")
  132. private Float f2EntryTemp; //F2_入口温度
  133. @JsonProperty(value = "f2BladeMechAngle")
  134. private Float f2BladeMechAngle; //F2_叶片机械角度
  135. @JsonProperty(value = "f2BladeAngle")
  136. private Float f2BladeAngle; //F2_叶片角度
  137. @JsonProperty(value = "f2BladeAngleSet")
  138. private Float f2BladeAngleSet; //F2_叶片角度设定
  139. @JsonProperty(value = "f2FixedAngleSet")
  140. private Float f2FixedAngleSet; //F2_固定角度设定
  141. @JsonProperty(value = "f2StallMin")
  142. private Float f2StallMin; //F2_失速分
  143. @JsonProperty(value = "f2StallSec")
  144. private Float f2StallSec; //F2_失速秒
  145. @JsonProperty(value = "f2RunningDays")
  146. private Float f2RunningDays; //F2_运行天
  147. @JsonProperty(value = "f2FanRunTime")
  148. private Float f2FanRunTime; //F2_风机运行时
  149. @JsonProperty(value = "f2FanRunMin")
  150. private Float f2FanRunMin; //F2_风机运行分
  151. @JsonProperty(value = "f2FanRunSec")
  152. private Float f2FanRunSec; //F2_风机运行秒
  153. @JsonProperty(value = "f2FanRunHoursAcc")
  154. private Float f2FanRunHoursAcc; //F2_风机运行小时累计
  155. @JsonProperty(value = "f2TestDamperOpen")
  156. private Float f2TestDamperOpen; //F2_测试风门开度
  157. @JsonProperty(value = "f2FanDamperOpen")
  158. private Float f2FanDamperOpen; //F2_风机风门开度
  159. @JsonProperty(value = "f2LubOilTemp")
  160. private Float f2LubOilTemp; //F2_润滑油温
  161. @JsonProperty(value = "f2LubPipeTemp")
  162. private Float f2LubPipeTemp; //F2_润滑管温
  163. @JsonProperty(value = "f2HydraulicOilTemp")
  164. private Float f2HydraulicOilTemp; //F2_液压油温
  165. @JsonProperty(value = "f2FanACBTemp1")
  166. private Float f2FanACBTemp1; //F2_风机角接触轴承温度1
  167. @JsonProperty(value = "f2FanACBTemp2")
  168. private Float f2FanACBTemp2; //F2_风机角接触轴承温度2
  169. @JsonProperty(value = "f2FanDGBearingTemp1")
  170. private Float f2FanDGBearingTemp1; //F2_风机深沟轴承温度1
  171. @JsonProperty(value = "f2FanDGBearingTemp2")
  172. private Float f2FanDGBearingTemp2; //F2_风机深沟轴承温度2
  173. @JsonProperty(value = "f2FanRBearingTemp1")
  174. private Float f2FanRBearingTemp1; //F2_风机滚柱轴承温度1
  175. @JsonProperty(value = "f2FanRBearingTemp2")
  176. private Float f2FanRBearingTemp2; //F2_风机滚柱轴承温度2
  177. @JsonProperty(value = "f2MotorUTemp")
  178. private Float f2MotorUTemp; //F2_电机U绕组温度
  179. @JsonProperty(value = "f2MotorVTemp")
  180. private Float f2MotorVTemp; //F2_电机V绕组温度
  181. @JsonProperty(value = "f2MotorWTemp")
  182. private Float f2MotorWTemp; //F2_电机W绕组温度
  183. @JsonProperty(value = "f2MotorNonDriveTemp")
  184. private Float f2MotorNonDriveTemp; //F2_电机非驱动侧温度
  185. @JsonProperty(value = "f2MotorDriveTemp")
  186. private Float f2MotorDriveTemp; //F2_电机驱动侧温度
  187. @JsonProperty(value = "f2InverterCurr")
  188. private Float f2InverterCurr; //F2_变频器电流
  189. @JsonProperty(value = "f2FreqFeedback")
  190. private Float f2FreqFeedback; //F2_频率反馈
  191. @JsonProperty(value = "f2FreqSetting")
  192. private Float f2FreqSetting; //F2_频率设定
  193. @JsonProperty(value = "f2FixedFreqSetting")
  194. private Float f2FixedFreqSetting; //F2_固定频率设定
  195. @JsonProperty(value = "f2FanVertVib")
  196. private Float f2FanVertVib; //F2_风机垂直振动
  197. @JsonProperty(value = "f2FanHorizVib")
  198. private Float f2FanHorizVib; //F2_风机水平振动
  199. @JsonProperty(value = "f2AirVolume")
  200. private Float f2AirVolume; //F2_风量
  201. }
  202. 控制实体类====================================================================
  203. //万里一矿主扇 2024-07-10
  204. @Data
  205. public class FanMainWl1kFrom{
  206. @JsonProperty(value = "f1BladeAngleSet")
  207. private Float f1BladeAngleSet; //F1_叶片角度设定
  208. @JsonProperty(value = "f1FixedAngleSet")
  209. private Float f1FixedAngleSet; //F1_固定角度设定
  210. @JsonProperty(value = "f1FreqSetting")
  211. private Float f1FreqSetting; //F1_频率设定
  212. @JsonProperty(value = "f1FixedFreqSetting")
  213. private Float f1FixedFreqSetting; //F1_固定频率设定
  214. @JsonProperty(value = "f2BladeAngleSet")
  215. private Float f2BladeAngleSet; //F2_叶片角度设定
  216. @JsonProperty(value = "f2FixedAngleSet")
  217. private Float f2FixedAngleSet; //F2_固定角度设定
  218. @JsonProperty(value = "f2FreqSetting")
  219. private Float f2FreqSetting; //F2_频率设定
  220. @JsonProperty(value = "f2FixedFreqSetting")
  221. private Float f2FixedFreqSetting; //F2_固定频率设定
  222. @JsonProperty(value = "f1ScreenStart")
  223. private Boolean f1ScreenStart; //F1_画面启动
  224. @JsonProperty(value = "f1ScreenStop")
  225. private Boolean f1ScreenStop; //F1_画面停止
  226. @JsonProperty(value = "f1ScreenAlarmClear")
  227. private Boolean f1ScreenAlarmClear; //F1_画面消警
  228. @JsonProperty(value = "f1ScreenReset")
  229. private Boolean f1ScreenReset; //F1_画面复位
  230. @JsonProperty(value = "f2ScreenStart")
  231. private Boolean f2ScreenStart; //F2_画面启动
  232. @JsonProperty(value = "f2ScreenStop")
  233. private Boolean f2ScreenStop; //F2_画面停止
  234. @JsonProperty(value = "f2ScreenAlarmClear")
  235. private Boolean f2ScreenAlarmClear; //F2_画面消警
  236. @JsonProperty(value = "f2ScreenReset")
  237. private Boolean f2ScreenReset; //F2_画面复位
  238. }
  239. 枚举=========================================================================
  240. //万里一矿主扇 2024-07-10
  241. public enum FanMainWl1kEnum {
  242. FAN_MAIN_WL1K_ENUM_F1UAB("f1Uab", "F1_Uab", "DB100.0"),
  243. FAN_MAIN_WL1K_ENUM_F1UBC("f1Ubc", "F1_Ubc", "DB100.4"),
  244. FAN_MAIN_WL1K_ENUM_F1UCA("f1Uca", "F1_Uca", "DB100.8"),
  245. FAN_MAIN_WL1K_ENUM_F1IA("f1Ia", "F1_Ia", "DB100.16"),
  246. FAN_MAIN_WL1K_ENUM_F1IB("f1Ib", "F1_Ib", "DB100.20"),
  247. FAN_MAIN_WL1K_ENUM_F1IC("f1Ic", "F1_Ic", "DB100.24"),
  248. FAN_MAIN_WL1K_ENUM_F1P("f1P", "F1_P", "DB100.32"),
  249. FAN_MAIN_WL1K_ENUM_F1Q("f1Q", "F1_Q", "DB100.36"),
  250. FAN_MAIN_WL1K_ENUM_F1COS("f1Cos", "F1_COS", "DB100.40"),
  251. FAN_MAIN_WL1K_ENUM_F1ENTRYPRESS("f1EntryPress", "F1_入口压力", "DB100.360"),
  252. FAN_MAIN_WL1K_ENUM_F1IMPELLERPRESS("f1ImpellerPress", "F1_叶轮压力", "DB100.364"),
  253. FAN_MAIN_WL1K_ENUM_F1OUTLETPRESS("f1OutletPress", "F1_出口压力", "DB100.368"),
  254. FAN_MAIN_WL1K_ENUM_F1HYDRAULICPRESS("f1HydraulicPress", "F1_液压站油压", "DB100.372"),
  255. FAN_MAIN_WL1K_ENUM_F1STALLDIFFPRESS("f1StallDiffPress", "F1_失速压差", "DB100.376"),
  256. FAN_MAIN_WL1K_ENUM_F1ENTRYTEMP("f1EntryTemp", "F1_入口温度", "DB100.524"),
  257. FAN_MAIN_WL1K_ENUM_F1BLADEMECHANGLE("f1BladeMechAngle", "F1_叶片机械角度", "DB100.416"),
  258. FAN_MAIN_WL1K_ENUM_F1BLADEANGLE("f1BladeAngle", "F1_叶片角度", "DB100.412"),
  259. FAN_MAIN_WL1K_ENUM_F1BLADEANGLESET("f1BladeAngleSet", "F1_叶片角度设定", "DB100.60"),
  260. FAN_MAIN_WL1K_ENUM_F1FIXEDANGLESET("f1FixedAngleSet", "F1_固定角度设定", "DB100.68"),
  261. FAN_MAIN_WL1K_ENUM_F1STALLMIN("f1StallMin", "F1_失速分", "DB100.244"),
  262. FAN_MAIN_WL1K_ENUM_F1STALLSEC("f1StallSec", "F1_失速秒", "DB100.248"),
  263. FAN_MAIN_WL1K_ENUM_F1RUNNINGDAYS("f1RunningDays", "F1_运行天", "DB100.164"),
  264. FAN_MAIN_WL1K_ENUM_F1FANRUNTIME("f1FanRunTime", "F1_风机运行时", "DB100.168"),
  265. FAN_MAIN_WL1K_ENUM_F1FANRUNMIN("f1FanRunMin", "F1_风机运行分", "DB100.172"),
  266. FAN_MAIN_WL1K_ENUM_F1FANRUNSEC("f1FanRunSec", "F1_风机运行秒", "DB100.176"),
  267. FAN_MAIN_WL1K_ENUM_F1FANRUNHOURSACC("f1FanRunHoursAcc", "F1_风机运行小时累计", "DB101.268"),
  268. FAN_MAIN_WL1K_ENUM_F1TESTDAMPEROPEN("f1TestDamperOpen", "F1_测试风门开度", "DB100.344"),
  269. FAN_MAIN_WL1K_ENUM_F1FANDAMPEROPEN("f1FanDamperOpen", "F1_风机风门开度", "DB100.348"),
  270. FAN_MAIN_WL1K_ENUM_F1LUBOILTEMP("f1LubOilTemp", "F1_润滑油温", "DB100.488"),
  271. FAN_MAIN_WL1K_ENUM_F1LUBPIPETEMP("f1LubPipeTemp", "F1_润滑管温", "DB100.484"),
  272. FAN_MAIN_WL1K_ENUM_F1HYDRAULICOILTEMP("f1HydraulicOilTemp", "F1_液压油温", "DB100.480"),
  273. FAN_MAIN_WL1K_ENUM_F1FANACBTEMP1("f1FanACBTemp1", "F1_风机角接触轴承温度1", "DB100.456"),
  274. FAN_MAIN_WL1K_ENUM_F1FANACBTEMP2("f1FanACBTemp2", "F1_风机角接触轴承温度2", "DB100.460"),
  275. FAN_MAIN_WL1K_ENUM_F1FANDGBEARINGTEMP1("f1FanDGBearingTemp1", "F1_风机深沟轴承温度1", "DB100.464"),
  276. FAN_MAIN_WL1K_ENUM_F1FANDGBEARINGTEMP2("f1FanDGBearingTemp2", "F1_风机深沟轴承温度2", "DB100.468"),
  277. FAN_MAIN_WL1K_ENUM_F1FANRBEARINGTEMP1("f1FanRBearingTemp1", "F1_风机滚柱轴承温度1", "DB100.472"),
  278. FAN_MAIN_WL1K_ENUM_F1FANRBEARINGTEMP2("f1FanRBearingTemp2", "F1_风机滚柱轴承温度2", "DB100.476"),
  279. FAN_MAIN_WL1K_ENUM_F1MOTORUTEMP("f1MotorUTemp", "F1_电机U绕组温度", "DB100.500"),
  280. FAN_MAIN_WL1K_ENUM_F1MOTORVTEMP("f1MotorVTemp", "F1_电机V绕组温度", "DB100.508"),
  281. FAN_MAIN_WL1K_ENUM_F1MOTORWTEMP("f1MotorWTemp", "F1_电机W绕组温度", "DB100.516"),
  282. FAN_MAIN_WL1K_ENUM_F1MOTORNONDRIVETEMP("f1MotorNonDriveTemp", "F1_电机非驱动侧温度", "DB100.496"),
  283. FAN_MAIN_WL1K_ENUM_F1MOTORDRIVETEMP("f1MotorDriveTemp", "F1_电机驱动侧温度", "DB100.492"),
  284. FAN_MAIN_WL1K_ENUM_F1INVERTERCURR("f1InverterCurr", "F1_变频器电流", "DB100.424"),
  285. FAN_MAIN_WL1K_ENUM_F1FREQFEEDBACK("f1FreqFeedback", "F1_频率反馈", "DB100.420"),
  286. FAN_MAIN_WL1K_ENUM_F1FREQSETTING("f1FreqSetting", "F1_频率设定", "DB100.80"),
  287. FAN_MAIN_WL1K_ENUM_F1FIXEDFREQSETTING("f1FixedFreqSetting", "F1_固定频率设定", "DB100.76"),
  288. FAN_MAIN_WL1K_ENUM_F1FANVERTVIB("f1FanVertVib", "F1_风机垂直振动", "DB100.388"),
  289. FAN_MAIN_WL1K_ENUM_F1FANHORIZVIB("f1FanHorizVib", "F1_风机水平振动", "DB100.384"),
  290. FAN_MAIN_WL1K_ENUM_F1AIRVOLUME("f1AirVolume", "F1_风量", "DB100.812"),
  291. FAN_MAIN_WL1K_ENUM_F2UAB("f2Uab", "F2_Uab", "DB200.0"),
  292. FAN_MAIN_WL1K_ENUM_F2UBC("f2Ubc", "F2_Ubc", "DB200.4"),
  293. FAN_MAIN_WL1K_ENUM_F2UCA("f2Uca", "F2_Uca", "DB200.8"),
  294. FAN_MAIN_WL1K_ENUM_F2IA("f2Ia", "F2_Ia", "DB200.16"),
  295. FAN_MAIN_WL1K_ENUM_F2IB("f2Ib", "F2_Ib", "DB200.20"),
  296. FAN_MAIN_WL1K_ENUM_F2IC("f2Ic", "F2_Ic", "DB200.24"),
  297. FAN_MAIN_WL1K_ENUM_F2P("f2P", "F2_P", "DB200.32"),
  298. FAN_MAIN_WL1K_ENUM_F2Q("f2Q", "F2_Q", "DB200.36"),
  299. FAN_MAIN_WL1K_ENUM_F2COS("f2Cos", "F2_COS", "DB200.40"),
  300. FAN_MAIN_WL1K_ENUM_F2ENTRYPRESS("f2EntryPress", "F2_入口压力", "DB200.360"),
  301. FAN_MAIN_WL1K_ENUM_F2IMPELLERPRESS("f2ImpellerPress", "F2_叶轮压力", "DB200.364"),
  302. FAN_MAIN_WL1K_ENUM_F2OUTLETPRESS("f2OutletPress", "F2_出口压力", "DB200.368"),
  303. FAN_MAIN_WL1K_ENUM_F2HYDRAULICPRESS("f2HydraulicPress", "F2_液压站油压", "DB200.372"),
  304. FAN_MAIN_WL1K_ENUM_F2STALLDIFFPRESS("f2StallDiffPress", "F2_失速压差", "DB200.376"),
  305. FAN_MAIN_WL1K_ENUM_F2ENTRYTEMP("f2EntryTemp", "F2_入口温度", "DB200.524"),
  306. FAN_MAIN_WL1K_ENUM_F2BLADEMECHANGLE("f2BladeMechAngle", "F2_叶片机械角度", "DB200.416"),
  307. FAN_MAIN_WL1K_ENUM_F2BLADEANGLE("f2BladeAngle", "F2_叶片角度", "DB200.412"),
  308. FAN_MAIN_WL1K_ENUM_F2BLADEANGLESET("f2BladeAngleSet", "F2_叶片角度设定", "DB200.60"),
  309. FAN_MAIN_WL1K_ENUM_F2FIXEDANGLESET("f2FixedAngleSet", "F2_固定角度设定", "DB200.68"),
  310. FAN_MAIN_WL1K_ENUM_F2STALLMIN("f2StallMin", "F2_失速分", "DB200.244"),
  311. FAN_MAIN_WL1K_ENUM_F2STALLSEC("f2StallSec", "F2_失速秒", "DB200.248"),
  312. FAN_MAIN_WL1K_ENUM_F2RUNNINGDAYS("f2RunningDays", "F2_运行天", "DB200.164"),
  313. FAN_MAIN_WL1K_ENUM_F2FANRUNTIME("f2FanRunTime", "F2_风机运行时", "DB200.168"),
  314. FAN_MAIN_WL1K_ENUM_F2FANRUNMIN("f2FanRunMin", "F2_风机运行分", "DB200.172"),
  315. FAN_MAIN_WL1K_ENUM_F2FANRUNSEC("f2FanRunSec", "F2_风机运行秒", "DB200.176"),
  316. FAN_MAIN_WL1K_ENUM_F2FANRUNHOURSACC("f2FanRunHoursAcc", "F2_风机运行小时累计", "DB201.268"),
  317. FAN_MAIN_WL1K_ENUM_F2TESTDAMPEROPEN("f2TestDamperOpen", "F2_测试风门开度", "DB200.344"),
  318. FAN_MAIN_WL1K_ENUM_F2FANDAMPEROPEN("f2FanDamperOpen", "F2_风机风门开度", "DB200.348"),
  319. FAN_MAIN_WL1K_ENUM_F2LUBOILTEMP("f2LubOilTemp", "F2_润滑油温", "DB200.488"),
  320. FAN_MAIN_WL1K_ENUM_F2LUBPIPETEMP("f2LubPipeTemp", "F2_润滑管温", "DB200.484"),
  321. FAN_MAIN_WL1K_ENUM_F2HYDRAULICOILTEMP("f2HydraulicOilTemp", "F2_液压油温", "DB200.480"),
  322. FAN_MAIN_WL1K_ENUM_F2FANACBTEMP1("f2FanACBTemp1", "F2_风机角接触轴承温度1", "DB200.456"),
  323. FAN_MAIN_WL1K_ENUM_F2FANACBTEMP2("f2FanACBTemp2", "F2_风机角接触轴承温度2", "DB200.460"),
  324. FAN_MAIN_WL1K_ENUM_F2FANDGBEARINGTEMP1("f2FanDGBearingTemp1", "F2_风机深沟轴承温度1", "DB200.464"),
  325. FAN_MAIN_WL1K_ENUM_F2FANDGBEARINGTEMP2("f2FanDGBearingTemp2", "F2_风机深沟轴承温度2", "DB200.468"),
  326. FAN_MAIN_WL1K_ENUM_F2FANRBEARINGTEMP1("f2FanRBearingTemp1", "F2_风机滚柱轴承温度1", "DB200.472"),
  327. FAN_MAIN_WL1K_ENUM_F2FANRBEARINGTEMP2("f2FanRBearingTemp2", "F2_风机滚柱轴承温度2", "DB200.476"),
  328. FAN_MAIN_WL1K_ENUM_F2MOTORUTEMP("f2MotorUTemp", "F2_电机U绕组温度", "DB200.500"),
  329. FAN_MAIN_WL1K_ENUM_F2MOTORVTEMP("f2MotorVTemp", "F2_电机V绕组温度", "DB200.508"),
  330. FAN_MAIN_WL1K_ENUM_F2MOTORWTEMP("f2MotorWTemp", "F2_电机W绕组温度", "DB200.516"),
  331. FAN_MAIN_WL1K_ENUM_F2MOTORNONDRIVETEMP("f2MotorNonDriveTemp", "F2_电机非驱动侧温度", "DB200.496"),
  332. FAN_MAIN_WL1K_ENUM_F2MOTORDRIVETEMP("f2MotorDriveTemp", "F2_电机驱动侧温度", "DB200.492"),
  333. FAN_MAIN_WL1K_ENUM_F2INVERTERCURR("f2InverterCurr", "F2_变频器电流", "DB200.424"),
  334. FAN_MAIN_WL1K_ENUM_F2FREQFEEDBACK("f2FreqFeedback", "F2_频率反馈", "DB200.420"),
  335. FAN_MAIN_WL1K_ENUM_F2FREQSETTING("f2FreqSetting", "F2_频率设定", "DB200.80"),
  336. FAN_MAIN_WL1K_ENUM_F2FIXEDFREQSETTING("f2FixedFreqSetting", "F2_固定频率设定", "DB200.76"),
  337. FAN_MAIN_WL1K_ENUM_F2FANVERTVIB("f2FanVertVib", "F2_风机垂直振动", "DB200.388"),
  338. FAN_MAIN_WL1K_ENUM_F2FANHORIZVIB("f2FanHorizVib", "F2_风机水平振动", "DB200.384"),
  339. FAN_MAIN_WL1K_ENUM_F2AIRVOLUME("f2AirVolume", "F2_风量", "DB200.812"),
  340. FAN_MAIN_WL1K_ENUM_F1SCREENSTART("f1ScreenStart", "F1_画面启动", "M1008.0"),
  341. FAN_MAIN_WL1K_ENUM_F1SCREENSTOP("f1ScreenStop", "F1_画面停止", "M1008.1"),
  342. FAN_MAIN_WL1K_ENUM_F1SCREENALARMCLEAR("f1ScreenAlarmClear", "F1_画面消警", "M1008.2"),
  343. FAN_MAIN_WL1K_ENUM_F1SCREENRESET("f1ScreenReset", "F1_画面复位", "M1008.3"),
  344. FAN_MAIN_WL1K_ENUM_F2SCREENSTART("f2ScreenStart", "F2_画面启动", "M2008.0"),
  345. FAN_MAIN_WL1K_ENUM_F2SCREENSTOP("f2ScreenStop", "F2_画面停止", "M2008.1"),
  346. FAN_MAIN_WL1K_ENUM_F2SCREENALARMCLEAR("f2ScreenAlarmClear", "F2_画面消警", "M2008.2"),
  347. FAN_MAIN_WL1K_ENUM_F2SCREENRESET("f2ScreenReset", "F2_画面复位", "M2008.3");
  348. private String name; //状态位/控制位
  349. private String message; //指令描述
  350. private String point;
  351. FanMainWl1kEnum(String name, String message,String point) {
  352. this.name = name;
  353. this.message = message;
  354. this.point = point;
  355. }
  356. public String getName() {
  357. return name;
  358. }
  359. public String getMessage() {
  360. return message;
  361. }
  362. public String getPoint(){return point;}
  363. }
  364. 业务实现类=====================================================================
  365. import com.ventanaly.tool.enums.PLCDevice2Enum;
  366. import com.ventanaly.tool.froms.FanMainFrom;
  367. import com.ventanaly.tool.page.FanMainPage;
  368. import com.ventanaly.tool.utils.Constants;
  369. import com.ventanaly.tool.page.DeviceRelationPage;
  370. import com.ventanaly.tool.page.SubStationPage;
  371. import com.ventanaly.tool.utils.SensorNet;
  372. import org.slf4j.Logger;
  373. import org.slf4j.LoggerFactory;
  374. import org.springframework.stereotype.Component;
  375. import java.util.Map;
  376. //万里一矿主扇 2024-07-10
  377. @Component
  378. public class FanMainWl1kFacility {
  379. private final Logger logger = LoggerFactory.getLogger(getClass());
  380. public static final String TYPE = "fan_main_wl1k";
  381. public static final String TYPE_NAME = "万里一矿主扇";
  382. private static boolean control = true;
  383. public FanMainWl1kVo fanMainWl1kStatus(DeviceRelationPage dr, Map<String, String> tableMeta, FanMainPage page) {
  384. FanMainWl1kVo vo = new FanMainWl1kVo();
  385. vo.setDeviceType(Constants.DEVICE_TYPE_FAN_MAIN);
  386. vo.setSmallType(TYPE);
  387. vo.setDeviceId(dr.getDevice_id());
  388. vo.setId(dr.getId());
  389. SubStationPage sp = dr.getSubStationPage();
  390. if (null == sp) {
  391. return vo;
  392. }
  393. SensorNet net = sp.getSensorNet();
  394. vo.setNetStatus(net.isLinkState() ? 1 : 0);
  395. if (1 == vo.getNetStatus()) {
  396. String address;
  397. String tName;
  398. vo.setUrl(net.getIp());
  399. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1UAB.getName();
  400. address = tableMeta.get(tName);
  401. Float f1Uab = net.getSensorFloat(address);
  402. logger.debug("F1_Uab-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Uab);
  403. vo.setF1Uab(f1Uab);
  404. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1UBC.getName();
  405. address = tableMeta.get(tName);
  406. Float f1Ubc = net.getSensorFloat(address);
  407. logger.debug("F1_Ubc-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Ubc);
  408. vo.setF1Ubc(f1Ubc);
  409. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1UCA.getName();
  410. address = tableMeta.get(tName);
  411. Float f1Uca = net.getSensorFloat(address);
  412. logger.debug("F1_Uca-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Uca);
  413. vo.setF1Uca(f1Uca);
  414. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1IA.getName();
  415. address = tableMeta.get(tName);
  416. Float f1Ia = net.getSensorFloat(address);
  417. logger.debug("F1_Ia-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Ia);
  418. vo.setF1Ia(f1Ia);
  419. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1IB.getName();
  420. address = tableMeta.get(tName);
  421. Float f1Ib = net.getSensorFloat(address);
  422. logger.debug("F1_Ib-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Ib);
  423. vo.setF1Ib(f1Ib);
  424. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1IC.getName();
  425. address = tableMeta.get(tName);
  426. Float f1Ic = net.getSensorFloat(address);
  427. logger.debug("F1_Ic-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Ic);
  428. vo.setF1Ic(f1Ic);
  429. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1P.getName();
  430. address = tableMeta.get(tName);
  431. Float f1P = net.getSensorFloat(address);
  432. logger.debug("F1_P-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1P);
  433. vo.setF1P(f1P);
  434. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1Q.getName();
  435. address = tableMeta.get(tName);
  436. Float f1Q = net.getSensorFloat(address);
  437. logger.debug("F1_Q-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Q);
  438. vo.setF1Q(f1Q);
  439. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1COS.getName();
  440. address = tableMeta.get(tName);
  441. Float f1Cos = net.getSensorFloat(address);
  442. logger.debug("F1_COS-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Cos);
  443. vo.setF1Cos(f1Cos);
  444. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1ENTRYPRESS.getName();
  445. address = tableMeta.get(tName);
  446. Float f1EntryPress = net.getSensorFloat(address);
  447. logger.debug("F1_入口压力-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1EntryPress);
  448. vo.setF1EntryPress(f1EntryPress);
  449. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1IMPELLERPRESS.getName();
  450. address = tableMeta.get(tName);
  451. Float f1ImpellerPress = net.getSensorFloat(address);
  452. logger.debug("F1_叶轮压力-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1ImpellerPress);
  453. vo.setF1ImpellerPress(f1ImpellerPress);
  454. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1OUTLETPRESS.getName();
  455. address = tableMeta.get(tName);
  456. Float f1OutletPress = net.getSensorFloat(address);
  457. logger.debug("F1_出口压力-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1OutletPress);
  458. vo.setF1OutletPress(f1OutletPress);
  459. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1HYDRAULICPRESS.getName();
  460. address = tableMeta.get(tName);
  461. Float f1HydraulicPress = net.getSensorFloat(address);
  462. logger.debug("F1_液压站油压-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1HydraulicPress);
  463. vo.setF1HydraulicPress(f1HydraulicPress);
  464. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1STALLDIFFPRESS.getName();
  465. address = tableMeta.get(tName);
  466. Float f1StallDiffPress = net.getSensorFloat(address);
  467. logger.debug("F1_失速压差-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1StallDiffPress);
  468. vo.setF1StallDiffPress(f1StallDiffPress);
  469. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1ENTRYTEMP.getName();
  470. address = tableMeta.get(tName);
  471. Float f1EntryTemp = net.getSensorFloat(address);
  472. logger.debug("F1_入口温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1EntryTemp);
  473. vo.setF1EntryTemp(f1EntryTemp);
  474. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1BLADEMECHANGLE.getName();
  475. address = tableMeta.get(tName);
  476. Float f1BladeMechAngle = net.getSensorFloat(address);
  477. logger.debug("F1_叶片机械角度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1BladeMechAngle);
  478. vo.setF1BladeMechAngle(f1BladeMechAngle);
  479. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1BLADEANGLE.getName();
  480. address = tableMeta.get(tName);
  481. Float f1BladeAngle = net.getSensorFloat(address);
  482. logger.debug("F1_叶片角度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1BladeAngle);
  483. vo.setF1BladeAngle(f1BladeAngle);
  484. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1BLADEANGLESET.getName();
  485. address = tableMeta.get(tName);
  486. Float f1BladeAngleSet = net.getSensorFloat(address);
  487. logger.debug("F1_叶片角度设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1BladeAngleSet);
  488. vo.setF1BladeAngleSet(f1BladeAngleSet);
  489. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FIXEDANGLESET.getName();
  490. address = tableMeta.get(tName);
  491. Float f1FixedAngleSet = net.getSensorFloat(address);
  492. logger.debug("F1_固定角度设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FixedAngleSet);
  493. vo.setF1FixedAngleSet(f1FixedAngleSet);
  494. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1STALLMIN.getName();
  495. address = tableMeta.get(tName);
  496. Float f1StallMin = net.getSensorFloat(address);
  497. logger.debug("F1_失速分-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1StallMin);
  498. vo.setF1StallMin(f1StallMin);
  499. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1STALLSEC.getName();
  500. address = tableMeta.get(tName);
  501. Float f1StallSec = net.getSensorFloat(address);
  502. logger.debug("F1_失速秒-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1StallSec);
  503. vo.setF1StallSec(f1StallSec);
  504. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1RUNNINGDAYS.getName();
  505. address = tableMeta.get(tName);
  506. Float f1RunningDays = net.getSensorFloat(address);
  507. logger.debug("F1_运行天-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1RunningDays);
  508. vo.setF1RunningDays(f1RunningDays);
  509. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANRUNTIME.getName();
  510. address = tableMeta.get(tName);
  511. Float f1FanRunTime = net.getSensorFloat(address);
  512. logger.debug("F1_风机运行时-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanRunTime);
  513. vo.setF1FanRunTime(f1FanRunTime);
  514. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANRUNMIN.getName();
  515. address = tableMeta.get(tName);
  516. Float f1FanRunMin = net.getSensorFloat(address);
  517. logger.debug("F1_风机运行分-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanRunMin);
  518. vo.setF1FanRunMin(f1FanRunMin);
  519. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANRUNSEC.getName();
  520. address = tableMeta.get(tName);
  521. Float f1FanRunSec = net.getSensorFloat(address);
  522. logger.debug("F1_风机运行秒-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanRunSec);
  523. vo.setF1FanRunSec(f1FanRunSec);
  524. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANRUNHOURSACC.getName();
  525. address = tableMeta.get(tName);
  526. Float f1FanRunHoursAcc = net.getSensorFloat(address);
  527. logger.debug("F1_风机运行小时累计-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanRunHoursAcc);
  528. vo.setF1FanRunHoursAcc(f1FanRunHoursAcc);
  529. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1TESTDAMPEROPEN.getName();
  530. address = tableMeta.get(tName);
  531. Float f1TestDamperOpen = net.getSensorFloat(address);
  532. logger.debug("F1_测试风门开度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1TestDamperOpen);
  533. vo.setF1TestDamperOpen(f1TestDamperOpen);
  534. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANDAMPEROPEN.getName();
  535. address = tableMeta.get(tName);
  536. Float f1FanDamperOpen = net.getSensorFloat(address);
  537. logger.debug("F1_风机风门开度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanDamperOpen);
  538. vo.setF1FanDamperOpen(f1FanDamperOpen);
  539. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1LUBOILTEMP.getName();
  540. address = tableMeta.get(tName);
  541. Float f1LubOilTemp = net.getSensorFloat(address);
  542. logger.debug("F1_润滑油温-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1LubOilTemp);
  543. vo.setF1LubOilTemp(f1LubOilTemp);
  544. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1LUBPIPETEMP.getName();
  545. address = tableMeta.get(tName);
  546. Float f1LubPipeTemp = net.getSensorFloat(address);
  547. logger.debug("F1_润滑管温-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1LubPipeTemp);
  548. vo.setF1LubPipeTemp(f1LubPipeTemp);
  549. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1HYDRAULICOILTEMP.getName();
  550. address = tableMeta.get(tName);
  551. Float f1HydraulicOilTemp = net.getSensorFloat(address);
  552. logger.debug("F1_液压油温-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1HydraulicOilTemp);
  553. vo.setF1HydraulicOilTemp(f1HydraulicOilTemp);
  554. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANACBTEMP1.getName();
  555. address = tableMeta.get(tName);
  556. Float f1FanACBTemp1 = net.getSensorFloat(address);
  557. logger.debug("F1_风机角接触轴承温度1-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanACBTemp1);
  558. vo.setF1FanACBTemp1(f1FanACBTemp1);
  559. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANACBTEMP2.getName();
  560. address = tableMeta.get(tName);
  561. Float f1FanACBTemp2 = net.getSensorFloat(address);
  562. logger.debug("F1_风机角接触轴承温度2-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanACBTemp2);
  563. vo.setF1FanACBTemp2(f1FanACBTemp2);
  564. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANDGBEARINGTEMP1.getName();
  565. address = tableMeta.get(tName);
  566. Float f1FanDGBearingTemp1 = net.getSensorFloat(address);
  567. logger.debug("F1_风机深沟轴承温度1-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanDGBearingTemp1);
  568. vo.setF1FanDGBearingTemp1(f1FanDGBearingTemp1);
  569. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANDGBEARINGTEMP2.getName();
  570. address = tableMeta.get(tName);
  571. Float f1FanDGBearingTemp2 = net.getSensorFloat(address);
  572. logger.debug("F1_风机深沟轴承温度2-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanDGBearingTemp2);
  573. vo.setF1FanDGBearingTemp2(f1FanDGBearingTemp2);
  574. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANRBEARINGTEMP1.getName();
  575. address = tableMeta.get(tName);
  576. Float f1FanRBearingTemp1 = net.getSensorFloat(address);
  577. logger.debug("F1_风机滚柱轴承温度1-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanRBearingTemp1);
  578. vo.setF1FanRBearingTemp1(f1FanRBearingTemp1);
  579. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANRBEARINGTEMP2.getName();
  580. address = tableMeta.get(tName);
  581. Float f1FanRBearingTemp2 = net.getSensorFloat(address);
  582. logger.debug("F1_风机滚柱轴承温度2-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanRBearingTemp2);
  583. vo.setF1FanRBearingTemp2(f1FanRBearingTemp2);
  584. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1MOTORUTEMP.getName();
  585. address = tableMeta.get(tName);
  586. Float f1MotorUTemp = net.getSensorFloat(address);
  587. logger.debug("F1_电机U绕组温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1MotorUTemp);
  588. vo.setF1MotorUTemp(f1MotorUTemp);
  589. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1MOTORVTEMP.getName();
  590. address = tableMeta.get(tName);
  591. Float f1MotorVTemp = net.getSensorFloat(address);
  592. logger.debug("F1_电机V绕组温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1MotorVTemp);
  593. vo.setF1MotorVTemp(f1MotorVTemp);
  594. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1MOTORWTEMP.getName();
  595. address = tableMeta.get(tName);
  596. Float f1MotorWTemp = net.getSensorFloat(address);
  597. logger.debug("F1_电机W绕组温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1MotorWTemp);
  598. vo.setF1MotorWTemp(f1MotorWTemp);
  599. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1MOTORNONDRIVETEMP.getName();
  600. address = tableMeta.get(tName);
  601. Float f1MotorNonDriveTemp = net.getSensorFloat(address);
  602. logger.debug("F1_电机非驱动侧温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1MotorNonDriveTemp);
  603. vo.setF1MotorNonDriveTemp(f1MotorNonDriveTemp);
  604. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1MOTORDRIVETEMP.getName();
  605. address = tableMeta.get(tName);
  606. Float f1MotorDriveTemp = net.getSensorFloat(address);
  607. logger.debug("F1_电机驱动侧温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1MotorDriveTemp);
  608. vo.setF1MotorDriveTemp(f1MotorDriveTemp);
  609. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1INVERTERCURR.getName();
  610. address = tableMeta.get(tName);
  611. Float f1InverterCurr = net.getSensorFloat(address);
  612. logger.debug("F1_变频器电流-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1InverterCurr);
  613. vo.setF1InverterCurr(f1InverterCurr);
  614. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FREQFEEDBACK.getName();
  615. address = tableMeta.get(tName);
  616. Float f1FreqFeedback = net.getSensorFloat(address);
  617. logger.debug("F1_频率反馈-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FreqFeedback);
  618. vo.setF1FreqFeedback(f1FreqFeedback);
  619. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FREQSETTING.getName();
  620. address = tableMeta.get(tName);
  621. Float f1FreqSetting = net.getSensorFloat(address);
  622. logger.debug("F1_频率设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FreqSetting);
  623. vo.setF1FreqSetting(f1FreqSetting);
  624. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FIXEDFREQSETTING.getName();
  625. address = tableMeta.get(tName);
  626. Float f1FixedFreqSetting = net.getSensorFloat(address);
  627. logger.debug("F1_固定频率设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FixedFreqSetting);
  628. vo.setF1FixedFreqSetting(f1FixedFreqSetting);
  629. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANVERTVIB.getName();
  630. address = tableMeta.get(tName);
  631. Float f1FanVertVib = net.getSensorFloat(address);
  632. logger.debug("F1_风机垂直振动-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanVertVib);
  633. vo.setF1FanVertVib(f1FanVertVib);
  634. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANHORIZVIB.getName();
  635. address = tableMeta.get(tName);
  636. Float f1FanHorizVib = net.getSensorFloat(address);
  637. logger.debug("F1_风机水平振动-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanHorizVib);
  638. vo.setF1FanHorizVib(f1FanHorizVib);
  639. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1AIRVOLUME.getName();
  640. address = tableMeta.get(tName);
  641. Float f1AirVolume = net.getSensorFloat(address);
  642. logger.debug("F1_风量-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1AirVolume);
  643. vo.setF1AirVolume(f1AirVolume);
  644. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2UAB.getName();
  645. address = tableMeta.get(tName);
  646. Float f2Uab = net.getSensorFloat(address);
  647. logger.debug("F2_Uab-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Uab);
  648. vo.setF2Uab(f2Uab);
  649. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2UBC.getName();
  650. address = tableMeta.get(tName);
  651. Float f2Ubc = net.getSensorFloat(address);
  652. logger.debug("F2_Ubc-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Ubc);
  653. vo.setF2Ubc(f2Ubc);
  654. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2UCA.getName();
  655. address = tableMeta.get(tName);
  656. Float f2Uca = net.getSensorFloat(address);
  657. logger.debug("F2_Uca-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Uca);
  658. vo.setF2Uca(f2Uca);
  659. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2IA.getName();
  660. address = tableMeta.get(tName);
  661. Float f2Ia = net.getSensorFloat(address);
  662. logger.debug("F2_Ia-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Ia);
  663. vo.setF2Ia(f2Ia);
  664. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2IB.getName();
  665. address = tableMeta.get(tName);
  666. Float f2Ib = net.getSensorFloat(address);
  667. logger.debug("F2_Ib-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Ib);
  668. vo.setF2Ib(f2Ib);
  669. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2IC.getName();
  670. address = tableMeta.get(tName);
  671. Float f2Ic = net.getSensorFloat(address);
  672. logger.debug("F2_Ic-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Ic);
  673. vo.setF2Ic(f2Ic);
  674. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2P.getName();
  675. address = tableMeta.get(tName);
  676. Float f2P = net.getSensorFloat(address);
  677. logger.debug("F2_P-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2P);
  678. vo.setF2P(f2P);
  679. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2Q.getName();
  680. address = tableMeta.get(tName);
  681. Float f2Q = net.getSensorFloat(address);
  682. logger.debug("F2_Q-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Q);
  683. vo.setF2Q(f2Q);
  684. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2COS.getName();
  685. address = tableMeta.get(tName);
  686. Float f2Cos = net.getSensorFloat(address);
  687. logger.debug("F2_COS-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Cos);
  688. vo.setF2Cos(f2Cos);
  689. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2ENTRYPRESS.getName();
  690. address = tableMeta.get(tName);
  691. Float f2EntryPress = net.getSensorFloat(address);
  692. logger.debug("F2_入口压力-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2EntryPress);
  693. vo.setF2EntryPress(f2EntryPress);
  694. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2IMPELLERPRESS.getName();
  695. address = tableMeta.get(tName);
  696. Float f2ImpellerPress = net.getSensorFloat(address);
  697. logger.debug("F2_叶轮压力-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2ImpellerPress);
  698. vo.setF2ImpellerPress(f2ImpellerPress);
  699. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2OUTLETPRESS.getName();
  700. address = tableMeta.get(tName);
  701. Float f2OutletPress = net.getSensorFloat(address);
  702. logger.debug("F2_出口压力-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2OutletPress);
  703. vo.setF2OutletPress(f2OutletPress);
  704. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2HYDRAULICPRESS.getName();
  705. address = tableMeta.get(tName);
  706. Float f2HydraulicPress = net.getSensorFloat(address);
  707. logger.debug("F2_液压站油压-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2HydraulicPress);
  708. vo.setF2HydraulicPress(f2HydraulicPress);
  709. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2STALLDIFFPRESS.getName();
  710. address = tableMeta.get(tName);
  711. Float f2StallDiffPress = net.getSensorFloat(address);
  712. logger.debug("F2_失速压差-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2StallDiffPress);
  713. vo.setF2StallDiffPress(f2StallDiffPress);
  714. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2ENTRYTEMP.getName();
  715. address = tableMeta.get(tName);
  716. Float f2EntryTemp = net.getSensorFloat(address);
  717. logger.debug("F2_入口温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2EntryTemp);
  718. vo.setF2EntryTemp(f2EntryTemp);
  719. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2BLADEMECHANGLE.getName();
  720. address = tableMeta.get(tName);
  721. Float f2BladeMechAngle = net.getSensorFloat(address);
  722. logger.debug("F2_叶片机械角度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2BladeMechAngle);
  723. vo.setF2BladeMechAngle(f2BladeMechAngle);
  724. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2BLADEANGLE.getName();
  725. address = tableMeta.get(tName);
  726. Float f2BladeAngle = net.getSensorFloat(address);
  727. logger.debug("F2_叶片角度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2BladeAngle);
  728. vo.setF2BladeAngle(f2BladeAngle);
  729. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2BLADEANGLESET.getName();
  730. address = tableMeta.get(tName);
  731. Float f2BladeAngleSet = net.getSensorFloat(address);
  732. logger.debug("F2_叶片角度设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2BladeAngleSet);
  733. vo.setF2BladeAngleSet(f2BladeAngleSet);
  734. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FIXEDANGLESET.getName();
  735. address = tableMeta.get(tName);
  736. Float f2FixedAngleSet = net.getSensorFloat(address);
  737. logger.debug("F2_固定角度设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FixedAngleSet);
  738. vo.setF2FixedAngleSet(f2FixedAngleSet);
  739. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2STALLMIN.getName();
  740. address = tableMeta.get(tName);
  741. Float f2StallMin = net.getSensorFloat(address);
  742. logger.debug("F2_失速分-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2StallMin);
  743. vo.setF2StallMin(f2StallMin);
  744. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2STALLSEC.getName();
  745. address = tableMeta.get(tName);
  746. Float f2StallSec = net.getSensorFloat(address);
  747. logger.debug("F2_失速秒-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2StallSec);
  748. vo.setF2StallSec(f2StallSec);
  749. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2RUNNINGDAYS.getName();
  750. address = tableMeta.get(tName);
  751. Float f2RunningDays = net.getSensorFloat(address);
  752. logger.debug("F2_运行天-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2RunningDays);
  753. vo.setF2RunningDays(f2RunningDays);
  754. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANRUNTIME.getName();
  755. address = tableMeta.get(tName);
  756. Float f2FanRunTime = net.getSensorFloat(address);
  757. logger.debug("F2_风机运行时-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanRunTime);
  758. vo.setF2FanRunTime(f2FanRunTime);
  759. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANRUNMIN.getName();
  760. address = tableMeta.get(tName);
  761. Float f2FanRunMin = net.getSensorFloat(address);
  762. logger.debug("F2_风机运行分-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanRunMin);
  763. vo.setF2FanRunMin(f2FanRunMin);
  764. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANRUNSEC.getName();
  765. address = tableMeta.get(tName);
  766. Float f2FanRunSec = net.getSensorFloat(address);
  767. logger.debug("F2_风机运行秒-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanRunSec);
  768. vo.setF2FanRunSec(f2FanRunSec);
  769. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANRUNHOURSACC.getName();
  770. address = tableMeta.get(tName);
  771. Float f2FanRunHoursAcc = net.getSensorFloat(address);
  772. logger.debug("F2_风机运行小时累计-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanRunHoursAcc);
  773. vo.setF2FanRunHoursAcc(f2FanRunHoursAcc);
  774. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2TESTDAMPEROPEN.getName();
  775. address = tableMeta.get(tName);
  776. Float f2TestDamperOpen = net.getSensorFloat(address);
  777. logger.debug("F2_测试风门开度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2TestDamperOpen);
  778. vo.setF2TestDamperOpen(f2TestDamperOpen);
  779. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANDAMPEROPEN.getName();
  780. address = tableMeta.get(tName);
  781. Float f2FanDamperOpen = net.getSensorFloat(address);
  782. logger.debug("F2_风机风门开度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanDamperOpen);
  783. vo.setF2FanDamperOpen(f2FanDamperOpen);
  784. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2LUBOILTEMP.getName();
  785. address = tableMeta.get(tName);
  786. Float f2LubOilTemp = net.getSensorFloat(address);
  787. logger.debug("F2_润滑油温-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2LubOilTemp);
  788. vo.setF2LubOilTemp(f2LubOilTemp);
  789. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2LUBPIPETEMP.getName();
  790. address = tableMeta.get(tName);
  791. Float f2LubPipeTemp = net.getSensorFloat(address);
  792. logger.debug("F2_润滑管温-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2LubPipeTemp);
  793. vo.setF2LubPipeTemp(f2LubPipeTemp);
  794. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2HYDRAULICOILTEMP.getName();
  795. address = tableMeta.get(tName);
  796. Float f2HydraulicOilTemp = net.getSensorFloat(address);
  797. logger.debug("F2_液压油温-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2HydraulicOilTemp);
  798. vo.setF2HydraulicOilTemp(f2HydraulicOilTemp);
  799. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANACBTEMP1.getName();
  800. address = tableMeta.get(tName);
  801. Float f2FanACBTemp1 = net.getSensorFloat(address);
  802. logger.debug("F2_风机角接触轴承温度1-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanACBTemp1);
  803. vo.setF2FanACBTemp1(f2FanACBTemp1);
  804. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANACBTEMP2.getName();
  805. address = tableMeta.get(tName);
  806. Float f2FanACBTemp2 = net.getSensorFloat(address);
  807. logger.debug("F2_风机角接触轴承温度2-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanACBTemp2);
  808. vo.setF2FanACBTemp2(f2FanACBTemp2);
  809. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANDGBEARINGTEMP1.getName();
  810. address = tableMeta.get(tName);
  811. Float f2FanDGBearingTemp1 = net.getSensorFloat(address);
  812. logger.debug("F2_风机深沟轴承温度1-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanDGBearingTemp1);
  813. vo.setF2FanDGBearingTemp1(f2FanDGBearingTemp1);
  814. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANDGBEARINGTEMP2.getName();
  815. address = tableMeta.get(tName);
  816. Float f2FanDGBearingTemp2 = net.getSensorFloat(address);
  817. logger.debug("F2_风机深沟轴承温度2-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanDGBearingTemp2);
  818. vo.setF2FanDGBearingTemp2(f2FanDGBearingTemp2);
  819. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANRBEARINGTEMP1.getName();
  820. address = tableMeta.get(tName);
  821. Float f2FanRBearingTemp1 = net.getSensorFloat(address);
  822. logger.debug("F2_风机滚柱轴承温度1-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanRBearingTemp1);
  823. vo.setF2FanRBearingTemp1(f2FanRBearingTemp1);
  824. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANRBEARINGTEMP2.getName();
  825. address = tableMeta.get(tName);
  826. Float f2FanRBearingTemp2 = net.getSensorFloat(address);
  827. logger.debug("F2_风机滚柱轴承温度2-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanRBearingTemp2);
  828. vo.setF2FanRBearingTemp2(f2FanRBearingTemp2);
  829. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2MOTORUTEMP.getName();
  830. address = tableMeta.get(tName);
  831. Float f2MotorUTemp = net.getSensorFloat(address);
  832. logger.debug("F2_电机U绕组温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2MotorUTemp);
  833. vo.setF2MotorUTemp(f2MotorUTemp);
  834. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2MOTORVTEMP.getName();
  835. address = tableMeta.get(tName);
  836. Float f2MotorVTemp = net.getSensorFloat(address);
  837. logger.debug("F2_电机V绕组温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2MotorVTemp);
  838. vo.setF2MotorVTemp(f2MotorVTemp);
  839. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2MOTORWTEMP.getName();
  840. address = tableMeta.get(tName);
  841. Float f2MotorWTemp = net.getSensorFloat(address);
  842. logger.debug("F2_电机W绕组温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2MotorWTemp);
  843. vo.setF2MotorWTemp(f2MotorWTemp);
  844. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2MOTORNONDRIVETEMP.getName();
  845. address = tableMeta.get(tName);
  846. Float f2MotorNonDriveTemp = net.getSensorFloat(address);
  847. logger.debug("F2_电机非驱动侧温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2MotorNonDriveTemp);
  848. vo.setF2MotorNonDriveTemp(f2MotorNonDriveTemp);
  849. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2MOTORDRIVETEMP.getName();
  850. address = tableMeta.get(tName);
  851. Float f2MotorDriveTemp = net.getSensorFloat(address);
  852. logger.debug("F2_电机驱动侧温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2MotorDriveTemp);
  853. vo.setF2MotorDriveTemp(f2MotorDriveTemp);
  854. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2INVERTERCURR.getName();
  855. address = tableMeta.get(tName);
  856. Float f2InverterCurr = net.getSensorFloat(address);
  857. logger.debug("F2_变频器电流-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2InverterCurr);
  858. vo.setF2InverterCurr(f2InverterCurr);
  859. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FREQFEEDBACK.getName();
  860. address = tableMeta.get(tName);
  861. Float f2FreqFeedback = net.getSensorFloat(address);
  862. logger.debug("F2_频率反馈-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FreqFeedback);
  863. vo.setF2FreqFeedback(f2FreqFeedback);
  864. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FREQSETTING.getName();
  865. address = tableMeta.get(tName);
  866. Float f2FreqSetting = net.getSensorFloat(address);
  867. logger.debug("F2_频率设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FreqSetting);
  868. vo.setF2FreqSetting(f2FreqSetting);
  869. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FIXEDFREQSETTING.getName();
  870. address = tableMeta.get(tName);
  871. Float f2FixedFreqSetting = net.getSensorFloat(address);
  872. logger.debug("F2_固定频率设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FixedFreqSetting);
  873. vo.setF2FixedFreqSetting(f2FixedFreqSetting);
  874. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANVERTVIB.getName();
  875. address = tableMeta.get(tName);
  876. Float f2FanVertVib = net.getSensorFloat(address);
  877. logger.debug("F2_风机垂直振动-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanVertVib);
  878. vo.setF2FanVertVib(f2FanVertVib);
  879. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANHORIZVIB.getName();
  880. address = tableMeta.get(tName);
  881. Float f2FanHorizVib = net.getSensorFloat(address);
  882. logger.debug("F2_风机水平振动-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanHorizVib);
  883. vo.setF2FanHorizVib(f2FanHorizVib);
  884. tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2AIRVOLUME.getName();
  885. address = tableMeta.get(tName);
  886. Float f2AirVolume = net.getSensorFloat(address);
  887. logger.debug("F2_风量-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2AirVolume);
  888. vo.setF2AirVolume(f2AirVolume);
  889. }
  890. dr.setObjVo(vo);
  891. return vo;
  892. }
  893. //F1_叶片角度设定
  894. public boolean f1BladeAngleSet(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  895. boolean result = false;
  896. if (control) {
  897. control = false;
  898. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1BLADEANGLESET.getName();
  899. String address = tableMeta.get(tName);
  900. try {
  901. result = net.setSensor(address,from.getFanMainWl1kFrom().getF1BladeAngleSet());
  902. logger.debug("设置-F1_叶片角度设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF1BladeAngleSet());
  903. } catch (Throwable e) {
  904. e.printStackTrace();
  905. } finally {
  906. control = true;
  907. }
  908. }
  909. return result;
  910. }
  911. //F1_固定角度设定
  912. public boolean f1FixedAngleSet(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  913. boolean result = false;
  914. if (control) {
  915. control = false;
  916. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FIXEDANGLESET.getName();
  917. String address = tableMeta.get(tName);
  918. try {
  919. result = net.setSensor(address,from.getFanMainWl1kFrom().getF1FixedAngleSet());
  920. logger.debug("设置-F1_固定角度设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF1FixedAngleSet());
  921. } catch (Throwable e) {
  922. e.printStackTrace();
  923. } finally {
  924. control = true;
  925. }
  926. }
  927. return result;
  928. }
  929. //F1_频率设定
  930. public boolean f1FreqSetting(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  931. boolean result = false;
  932. if (control) {
  933. control = false;
  934. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FREQSETTING.getName();
  935. String address = tableMeta.get(tName);
  936. try {
  937. result = net.setSensor(address,from.getFanMainWl1kFrom().getF1FreqSetting());
  938. logger.debug("设置-F1_频率设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF1FreqSetting());
  939. } catch (Throwable e) {
  940. e.printStackTrace();
  941. } finally {
  942. control = true;
  943. }
  944. }
  945. return result;
  946. }
  947. //F1_固定频率设定
  948. public boolean f1FixedFreqSetting(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  949. boolean result = false;
  950. if (control) {
  951. control = false;
  952. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FIXEDFREQSETTING.getName();
  953. String address = tableMeta.get(tName);
  954. try {
  955. result = net.setSensor(address,from.getFanMainWl1kFrom().getF1FixedFreqSetting());
  956. logger.debug("设置-F1_固定频率设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF1FixedFreqSetting());
  957. } catch (Throwable e) {
  958. e.printStackTrace();
  959. } finally {
  960. control = true;
  961. }
  962. }
  963. return result;
  964. }
  965. //F2_叶片角度设定
  966. public boolean f2BladeAngleSet(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  967. boolean result = false;
  968. if (control) {
  969. control = false;
  970. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2BLADEANGLESET.getName();
  971. String address = tableMeta.get(tName);
  972. try {
  973. result = net.setSensor(address,from.getFanMainWl1kFrom().getF2BladeAngleSet());
  974. logger.debug("设置-F2_叶片角度设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF2BladeAngleSet());
  975. } catch (Throwable e) {
  976. e.printStackTrace();
  977. } finally {
  978. control = true;
  979. }
  980. }
  981. return result;
  982. }
  983. //F2_固定角度设定
  984. public boolean f2FixedAngleSet(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  985. boolean result = false;
  986. if (control) {
  987. control = false;
  988. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FIXEDANGLESET.getName();
  989. String address = tableMeta.get(tName);
  990. try {
  991. result = net.setSensor(address,from.getFanMainWl1kFrom().getF2FixedAngleSet());
  992. logger.debug("设置-F2_固定角度设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF2FixedAngleSet());
  993. } catch (Throwable e) {
  994. e.printStackTrace();
  995. } finally {
  996. control = true;
  997. }
  998. }
  999. return result;
  1000. }
  1001. //F2_频率设定
  1002. public boolean f2FreqSetting(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  1003. boolean result = false;
  1004. if (control) {
  1005. control = false;
  1006. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FREQSETTING.getName();
  1007. String address = tableMeta.get(tName);
  1008. try {
  1009. result = net.setSensor(address,from.getFanMainWl1kFrom().getF2FreqSetting());
  1010. logger.debug("设置-F2_频率设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF2FreqSetting());
  1011. } catch (Throwable e) {
  1012. e.printStackTrace();
  1013. } finally {
  1014. control = true;
  1015. }
  1016. }
  1017. return result;
  1018. }
  1019. //F2_固定频率设定
  1020. public boolean f2FixedFreqSetting(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  1021. boolean result = false;
  1022. if (control) {
  1023. control = false;
  1024. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FIXEDFREQSETTING.getName();
  1025. String address = tableMeta.get(tName);
  1026. try {
  1027. result = net.setSensor(address,from.getFanMainWl1kFrom().getF2FixedFreqSetting());
  1028. logger.debug("设置-F2_固定频率设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF2FixedFreqSetting());
  1029. } catch (Throwable e) {
  1030. e.printStackTrace();
  1031. } finally {
  1032. control = true;
  1033. }
  1034. }
  1035. return result;
  1036. }
  1037. //F1_画面启动
  1038. public boolean f1ScreenStart(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  1039. boolean result = false;
  1040. if (control) {
  1041. control = false;
  1042. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1SCREENSTART.getName();
  1043. String address = tableMeta.get(tName);
  1044. try {
  1045. result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
  1046. logger.debug("设置-F1_画面启动-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
  1047. Thread.sleep(1000);
  1048. } catch (Throwable e) {
  1049. e.printStackTrace();
  1050. } finally {
  1051. control = true;
  1052. }
  1053. }
  1054. return result;
  1055. }
  1056. //F1_画面停止
  1057. public boolean f1ScreenStop(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  1058. boolean result = false;
  1059. if (control) {
  1060. control = false;
  1061. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1SCREENSTOP.getName();
  1062. String address = tableMeta.get(tName);
  1063. try {
  1064. result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
  1065. logger.debug("设置-F1_画面停止-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
  1066. Thread.sleep(1000);
  1067. } catch (Throwable e) {
  1068. e.printStackTrace();
  1069. } finally {
  1070. control = true;
  1071. }
  1072. }
  1073. return result;
  1074. }
  1075. //F1_画面消警
  1076. public boolean f1ScreenAlarmClear(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  1077. boolean result = false;
  1078. if (control) {
  1079. control = false;
  1080. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1SCREENALARMCLEAR.getName();
  1081. String address = tableMeta.get(tName);
  1082. try {
  1083. result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
  1084. logger.debug("设置-F1_画面消警-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
  1085. Thread.sleep(1000);
  1086. } catch (Throwable e) {
  1087. e.printStackTrace();
  1088. } finally {
  1089. control = true;
  1090. }
  1091. }
  1092. return result;
  1093. }
  1094. //F1_画面复位
  1095. public boolean f1ScreenReset(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  1096. boolean result = false;
  1097. if (control) {
  1098. control = false;
  1099. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1SCREENRESET.getName();
  1100. String address = tableMeta.get(tName);
  1101. try {
  1102. result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
  1103. logger.debug("设置-F1_画面复位-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
  1104. Thread.sleep(1000);
  1105. } catch (Throwable e) {
  1106. e.printStackTrace();
  1107. } finally {
  1108. control = true;
  1109. }
  1110. }
  1111. return result;
  1112. }
  1113. //F2_画面启动
  1114. public boolean f2ScreenStart(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  1115. boolean result = false;
  1116. if (control) {
  1117. control = false;
  1118. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2SCREENSTART.getName();
  1119. String address = tableMeta.get(tName);
  1120. try {
  1121. result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
  1122. logger.debug("设置-F2_画面启动-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
  1123. Thread.sleep(1000);
  1124. } catch (Throwable e) {
  1125. e.printStackTrace();
  1126. } finally {
  1127. control = true;
  1128. }
  1129. }
  1130. return result;
  1131. }
  1132. //F2_画面停止
  1133. public boolean f2ScreenStop(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  1134. boolean result = false;
  1135. if (control) {
  1136. control = false;
  1137. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2SCREENSTOP.getName();
  1138. String address = tableMeta.get(tName);
  1139. try {
  1140. result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
  1141. logger.debug("设置-F2_画面停止-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
  1142. Thread.sleep(1000);
  1143. } catch (Throwable e) {
  1144. e.printStackTrace();
  1145. } finally {
  1146. control = true;
  1147. }
  1148. }
  1149. return result;
  1150. }
  1151. //F2_画面消警
  1152. public boolean f2ScreenAlarmClear(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  1153. boolean result = false;
  1154. if (control) {
  1155. control = false;
  1156. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2SCREENALARMCLEAR.getName();
  1157. String address = tableMeta.get(tName);
  1158. try {
  1159. result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
  1160. logger.debug("设置-F2_画面消警-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
  1161. Thread.sleep(1000);
  1162. } catch (Throwable e) {
  1163. e.printStackTrace();
  1164. } finally {
  1165. control = true;
  1166. }
  1167. }
  1168. return result;
  1169. }
  1170. //F2_画面复位
  1171. public boolean f2ScreenReset(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
  1172. boolean result = false;
  1173. if (control) {
  1174. control = false;
  1175. String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2SCREENRESET.getName();
  1176. String address = tableMeta.get(tName);
  1177. try {
  1178. result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
  1179. logger.debug("设置-F2_画面复位-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
  1180. Thread.sleep(1000);
  1181. } catch (Throwable e) {
  1182. e.printStackTrace();
  1183. } finally {
  1184. control = true;
  1185. }
  1186. }
  1187. return result;
  1188. }
  1189. }
  1190. 控制方法实现====================================================================
  1191. //万里一矿主扇 2024-07-10
  1192. public boolean controlFanMainWl1k(FanMainFrom from, Json json, FanMainPage fm, UserLogPage ulPage) {
  1193. boolean r = false;
  1194. ulPage.setDeviceType(4);
  1195. DeviceRelationPage dr = SubStationStatic.DRMap.get(from.getId());
  1196. if (null == dr) {
  1197. throw new ServiceException("不存在的分站");
  1198. }
  1199. SubStationPage page = dr.getSubStationPage();
  1200. try {
  1201. RelationVo g = (RelationVo) dr.getObjVo();
  1202. from.setStrInstallPos(g.getStrInstallPos());
  1203. } catch (Exception e) {
  1204. e.printStackTrace();
  1205. }
  1206. Map<String, String> tableMeta = SubStationStatic.tableMetas.get(dr.getPLC_table());
  1207. json.setMsg("无任何操作");
  1208. if (dr.getDevice_id() != fm.getNFanID()) {
  1209. throw new ServiceException("输入密码不正确");
  1210. }
  1211. SensorNet net = page.getSensorNet();
  1212. if (!dr.getIsFake()) {
  1213. if (!net.getState()) {
  1214. json.setMsg("无任何操作");
  1215. throw new ServiceException("无法与设备建立链接");
  1216. }
  1217. if (null != from.getFanMainWl1kFrom().getF1BladeAngleSet()) {
  1218. logger.info("F1_叶片角度设定--->" + from.getFanMainWl1kFrom().getF1BladeAngleSet());
  1219. json.setMsg("F1_叶片角度设定");
  1220. ulPage.setRecord("F1_叶片角度设定:" + from.getFanMainWl1kFrom().getF1BladeAngleSet());
  1221. r = fanMainWl1kFacility.f1BladeAngleSet(from, net, tableMeta, null);
  1222. }
  1223. if (null != from.getFanMainWl1kFrom().getF1FixedAngleSet()) {
  1224. logger.info("F1_固定角度设定--->" + from.getFanMainWl1kFrom().getF1FixedAngleSet());
  1225. json.setMsg("F1_固定角度设定");
  1226. ulPage.setRecord("F1_固定角度设定:" + from.getFanMainWl1kFrom().getF1FixedAngleSet());
  1227. r = fanMainWl1kFacility.f1FixedAngleSet(from, net, tableMeta, null);
  1228. }
  1229. if (null != from.getFanMainWl1kFrom().getF1FreqSetting()) {
  1230. logger.info("F1_频率设定--->" + from.getFanMainWl1kFrom().getF1FreqSetting());
  1231. json.setMsg("F1_频率设定");
  1232. ulPage.setRecord("F1_频率设定:" + from.getFanMainWl1kFrom().getF1FreqSetting());
  1233. r = fanMainWl1kFacility.f1FreqSetting(from, net, tableMeta, null);
  1234. }
  1235. if (null != from.getFanMainWl1kFrom().getF1FixedFreqSetting()) {
  1236. logger.info("F1_固定频率设定--->" + from.getFanMainWl1kFrom().getF1FixedFreqSetting());
  1237. json.setMsg("F1_固定频率设定");
  1238. ulPage.setRecord("F1_固定频率设定:" + from.getFanMainWl1kFrom().getF1FixedFreqSetting());
  1239. r = fanMainWl1kFacility.f1FixedFreqSetting(from, net, tableMeta, null);
  1240. }
  1241. if (null != from.getFanMainWl1kFrom().getF2BladeAngleSet()) {
  1242. logger.info("F2_叶片角度设定--->" + from.getFanMainWl1kFrom().getF2BladeAngleSet());
  1243. json.setMsg("F2_叶片角度设定");
  1244. ulPage.setRecord("F2_叶片角度设定:" + from.getFanMainWl1kFrom().getF2BladeAngleSet());
  1245. r = fanMainWl1kFacility.f2BladeAngleSet(from, net, tableMeta, null);
  1246. }
  1247. if (null != from.getFanMainWl1kFrom().getF2FixedAngleSet()) {
  1248. logger.info("F2_固定角度设定--->" + from.getFanMainWl1kFrom().getF2FixedAngleSet());
  1249. json.setMsg("F2_固定角度设定");
  1250. ulPage.setRecord("F2_固定角度设定:" + from.getFanMainWl1kFrom().getF2FixedAngleSet());
  1251. r = fanMainWl1kFacility.f2FixedAngleSet(from, net, tableMeta, null);
  1252. }
  1253. if (null != from.getFanMainWl1kFrom().getF2FreqSetting()) {
  1254. logger.info("F2_频率设定--->" + from.getFanMainWl1kFrom().getF2FreqSetting());
  1255. json.setMsg("F2_频率设定");
  1256. ulPage.setRecord("F2_频率设定:" + from.getFanMainWl1kFrom().getF2FreqSetting());
  1257. r = fanMainWl1kFacility.f2FreqSetting(from, net, tableMeta, null);
  1258. }
  1259. if (null != from.getFanMainWl1kFrom().getF2FixedFreqSetting()) {
  1260. logger.info("F2_固定频率设定--->" + from.getFanMainWl1kFrom().getF2FixedFreqSetting());
  1261. json.setMsg("F2_固定频率设定");
  1262. ulPage.setRecord("F2_固定频率设定:" + from.getFanMainWl1kFrom().getF2FixedFreqSetting());
  1263. r = fanMainWl1kFacility.f2FixedFreqSetting(from, net, tableMeta, null);
  1264. }
  1265. if (null != from.getFanMainWl1kFrom().getF1ScreenStart()) {
  1266. logger.info("F1_画面启动--->" + from.getFanMainWl1kFrom().getF1ScreenStart());
  1267. json.setMsg("F1_画面启动");
  1268. ulPage.setRecord("F1_画面启动:" + from.getFanMainWl1kFrom().getF1ScreenStart());
  1269. r = fanMainWl1kFacility.f1ScreenStart(from, net, tableMeta, null);
  1270. }
  1271. if (null != from.getFanMainWl1kFrom().getF1ScreenStop()) {
  1272. logger.info("F1_画面停止--->" + from.getFanMainWl1kFrom().getF1ScreenStop());
  1273. json.setMsg("F1_画面停止");
  1274. ulPage.setRecord("F1_画面停止:" + from.getFanMainWl1kFrom().getF1ScreenStop());
  1275. r = fanMainWl1kFacility.f1ScreenStop(from, net, tableMeta, null);
  1276. }
  1277. if (null != from.getFanMainWl1kFrom().getF1ScreenAlarmClear()) {
  1278. logger.info("F1_画面消警--->" + from.getFanMainWl1kFrom().getF1ScreenAlarmClear());
  1279. json.setMsg("F1_画面消警");
  1280. ulPage.setRecord("F1_画面消警:" + from.getFanMainWl1kFrom().getF1ScreenAlarmClear());
  1281. r = fanMainWl1kFacility.f1ScreenAlarmClear(from, net, tableMeta, null);
  1282. }
  1283. if (null != from.getFanMainWl1kFrom().getF1ScreenReset()) {
  1284. logger.info("F1_画面复位--->" + from.getFanMainWl1kFrom().getF1ScreenReset());
  1285. json.setMsg("F1_画面复位");
  1286. ulPage.setRecord("F1_画面复位:" + from.getFanMainWl1kFrom().getF1ScreenReset());
  1287. r = fanMainWl1kFacility.f1ScreenReset(from, net, tableMeta, null);
  1288. }
  1289. if (null != from.getFanMainWl1kFrom().getF2ScreenStart()) {
  1290. logger.info("F2_画面启动--->" + from.getFanMainWl1kFrom().getF2ScreenStart());
  1291. json.setMsg("F2_画面启动");
  1292. ulPage.setRecord("F2_画面启动:" + from.getFanMainWl1kFrom().getF2ScreenStart());
  1293. r = fanMainWl1kFacility.f2ScreenStart(from, net, tableMeta, null);
  1294. }
  1295. if (null != from.getFanMainWl1kFrom().getF2ScreenStop()) {
  1296. logger.info("F2_画面停止--->" + from.getFanMainWl1kFrom().getF2ScreenStop());
  1297. json.setMsg("F2_画面停止");
  1298. ulPage.setRecord("F2_画面停止:" + from.getFanMainWl1kFrom().getF2ScreenStop());
  1299. r = fanMainWl1kFacility.f2ScreenStop(from, net, tableMeta, null);
  1300. }
  1301. if (null != from.getFanMainWl1kFrom().getF2ScreenAlarmClear()) {
  1302. logger.info("F2_画面消警--->" + from.getFanMainWl1kFrom().getF2ScreenAlarmClear());
  1303. json.setMsg("F2_画面消警");
  1304. ulPage.setRecord("F2_画面消警:" + from.getFanMainWl1kFrom().getF2ScreenAlarmClear());
  1305. r = fanMainWl1kFacility.f2ScreenAlarmClear(from, net, tableMeta, null);
  1306. }
  1307. if (null != from.getFanMainWl1kFrom().getF2ScreenReset()) {
  1308. logger.info("F2_画面复位--->" + from.getFanMainWl1kFrom().getF2ScreenReset());
  1309. json.setMsg("F2_画面复位");
  1310. ulPage.setRecord("F2_画面复位:" + from.getFanMainWl1kFrom().getF2ScreenReset());
  1311. r = fanMainWl1kFacility.f2ScreenReset(from, net, tableMeta, null);
  1312. }
  1313. }
  1314. return r;
  1315. }
  1316. 监测方法片段====================================================================
  1317. //万里一矿主扇 2024-07-10
  1318. case FanMainWl1kFacility.TYPE:
  1319. vo = fanMainWl1kFacility.status(dr,tableMeta,page);
  1320. break;
  1321. 点表配置json====================================================================
  1322. {"f1Uab":"DB100.0","f1Ubc":"DB100.4","f1Uca":"DB100.8","f1Ia":"DB100.16","f1Ib":"DB100.20","f1Ic":"DB100.24","f1P":"DB100.32","f1Q":"DB100.36","f1Cos":"DB100.40","f1EntryPress":"DB100.360","f1ImpellerPress":"DB100.364","f1OutletPress":"DB100.368","f1HydraulicPress":"DB100.372","f1StallDiffPress":"DB100.376","f1EntryTemp":"DB100.524","f1BladeMechAngle":"DB100.416","f1BladeAngle":"DB100.412","f1BladeAngleSet":"DB100.60","f1FixedAngleSet":"DB100.68","f1StallMin":"DB100.244","f1StallSec":"DB100.248","f1RunningDays":"DB100.164","f1FanRunTime":"DB100.168","f1FanRunMin":"DB100.172","f1FanRunSec":"DB100.176","f1FanRunHoursAcc":"DB101.268","f1TestDamperOpen":"DB100.344","f1FanDamperOpen":"DB100.348","f1LubOilTemp":"DB100.488","f1LubPipeTemp":"DB100.484","f1HydraulicOilTemp":"DB100.480","f1FanACBTemp1":"DB100.456","f1FanACBTemp2":"DB100.460","f1FanDGBearingTemp1":"DB100.464","f1FanDGBearingTemp2":"DB100.468","f1FanRBearingTemp1":"DB100.472","f1FanRBearingTemp2":"DB100.476","f1MotorUTemp":"DB100.500","f1MotorVTemp":"DB100.508","f1MotorWTemp":"DB100.516","f1MotorNonDriveTemp":"DB100.496","f1MotorDriveTemp":"DB100.492","f1InverterCurr":"DB100.424","f1FreqFeedback":"DB100.420","f1FreqSetting":"DB100.80","f1FixedFreqSetting":"DB100.76","f1FanVertVib":"DB100.388","f1FanHorizVib":"DB100.384","f1AirVolume":"DB100.812","f2Uab":"DB200.0","f2Ubc":"DB200.4","f2Uca":"DB200.8","f2Ia":"DB200.16","f2Ib":"DB200.20","f2Ic":"DB200.24","f2P":"DB200.32","f2Q":"DB200.36","f2Cos":"DB200.40","f2EntryPress":"DB200.360","f2ImpellerPress":"DB200.364","f2OutletPress":"DB200.368","f2HydraulicPress":"DB200.372","f2StallDiffPress":"DB200.376","f2EntryTemp":"DB200.524","f2BladeMechAngle":"DB200.416","f2BladeAngle":"DB200.412","f2BladeAngleSet":"DB200.60","f2FixedAngleSet":"DB200.68","f2StallMin":"DB200.244","f2StallSec":"DB200.248","f2RunningDays":"DB200.164","f2FanRunTime":"DB200.168","f2FanRunMin":"DB200.172","f2FanRunSec":"DB200.176","f2FanRunHoursAcc":"DB201.268","f2TestDamperOpen":"DB200.344","f2FanDamperOpen":"DB200.348","f2LubOilTemp":"DB200.488","f2LubPipeTemp":"DB200.484","f2HydraulicOilTemp":"DB200.480","f2FanACBTemp1":"DB200.456","f2FanACBTemp2":"DB200.460","f2FanDGBearingTemp1":"DB200.464","f2FanDGBearingTemp2":"DB200.468","f2FanRBearingTemp1":"DB200.472","f2FanRBearingTemp2":"DB200.476","f2MotorUTemp":"DB200.500","f2MotorVTemp":"DB200.508","f2MotorWTemp":"DB200.516","f2MotorNonDriveTemp":"DB200.496","f2MotorDriveTemp":"DB200.492","f2InverterCurr":"DB200.424","f2FreqFeedback":"DB200.420","f2FreqSetting":"DB200.80","f2FixedFreqSetting":"DB200.76","f2FanVertVib":"DB200.388","f2FanHorizVib":"DB200.384","f2AirVolume":"DB200.812","f1ScreenStart":"M1008.0","f1ScreenStop":"M1008.1","f1ScreenAlarmClear":"M1008.2","f1ScreenReset":"M1008.3","f2ScreenStart":"M2008.0","f2ScreenStop":"M2008.1","f2ScreenAlarmClear":"M2008.2","f2ScreenReset":"M2008.3"}
  1323. 点位解释json====================================================================
  1324. {
  1325. "f1Uab":"F1_Uab",
  1326. "f1Ubc":"F1_Ubc",
  1327. "f1Uca":"F1_Uca",
  1328. "f1Ia":"F1_Ia",
  1329. "f1Ib":"F1_Ib",
  1330. "f1Ic":"F1_Ic",
  1331. "f1P":"F1_P",
  1332. "f1Q":"F1_Q",
  1333. "f1Cos":"F1_COS",
  1334. "f1EntryPress":"F1_入口压力",
  1335. "f1ImpellerPress":"F1_叶轮压力",
  1336. "f1OutletPress":"F1_出口压力",
  1337. "f1HydraulicPress":"F1_液压站油压",
  1338. "f1StallDiffPress":"F1_失速压差",
  1339. "f1EntryTemp":"F1_入口温度",
  1340. "f1BladeMechAngle":"F1_叶片机械角度",
  1341. "f1BladeAngle":"F1_叶片角度",
  1342. "f1BladeAngleSet":"F1_叶片角度设定",
  1343. "f1FixedAngleSet":"F1_固定角度设定",
  1344. "f1StallMin":"F1_失速分",
  1345. "f1StallSec":"F1_失速秒",
  1346. "f1RunningDays":"F1_运行天",
  1347. "f1FanRunTime":"F1_风机运行时",
  1348. "f1FanRunMin":"F1_风机运行分",
  1349. "f1FanRunSec":"F1_风机运行秒",
  1350. "f1FanRunHoursAcc":"F1_风机运行小时累计",
  1351. "f1TestDamperOpen":"F1_测试风门开度",
  1352. "f1FanDamperOpen":"F1_风机风门开度",
  1353. "f1LubOilTemp":"F1_润滑油温",
  1354. "f1LubPipeTemp":"F1_润滑管温",
  1355. "f1HydraulicOilTemp":"F1_液压油温",
  1356. "f1FanACBTemp1":"F1_风机角接触轴承温度1",
  1357. "f1FanACBTemp2":"F1_风机角接触轴承温度2",
  1358. "f1FanDGBearingTemp1":"F1_风机深沟轴承温度1",
  1359. "f1FanDGBearingTemp2":"F1_风机深沟轴承温度2",
  1360. "f1FanRBearingTemp1":"F1_风机滚柱轴承温度1",
  1361. "f1FanRBearingTemp2":"F1_风机滚柱轴承温度2",
  1362. "f1MotorUTemp":"F1_电机U绕组温度",
  1363. "f1MotorVTemp":"F1_电机V绕组温度",
  1364. "f1MotorWTemp":"F1_电机W绕组温度",
  1365. "f1MotorNonDriveTemp":"F1_电机非驱动侧温度",
  1366. "f1MotorDriveTemp":"F1_电机驱动侧温度",
  1367. "f1InverterCurr":"F1_变频器电流",
  1368. "f1FreqFeedback":"F1_频率反馈",
  1369. "f1FreqSetting":"F1_频率设定",
  1370. "f1FixedFreqSetting":"F1_固定频率设定",
  1371. "f1FanVertVib":"F1_风机垂直振动",
  1372. "f1FanHorizVib":"F1_风机水平振动",
  1373. "f1AirVolume":"F1_风量",
  1374. "f2Uab":"F2_Uab",
  1375. "f2Ubc":"F2_Ubc",
  1376. "f2Uca":"F2_Uca",
  1377. "f2Ia":"F2_Ia",
  1378. "f2Ib":"F2_Ib",
  1379. "f2Ic":"F2_Ic",
  1380. "f2P":"F2_P",
  1381. "f2Q":"F2_Q",
  1382. "f2Cos":"F2_COS",
  1383. "f2EntryPress":"F2_入口压力",
  1384. "f2ImpellerPress":"F2_叶轮压力",
  1385. "f2OutletPress":"F2_出口压力",
  1386. "f2HydraulicPress":"F2_液压站油压",
  1387. "f2StallDiffPress":"F2_失速压差",
  1388. "f2EntryTemp":"F2_入口温度",
  1389. "f2BladeMechAngle":"F2_叶片机械角度",
  1390. "f2BladeAngle":"F2_叶片角度",
  1391. "f2BladeAngleSet":"F2_叶片角度设定",
  1392. "f2FixedAngleSet":"F2_固定角度设定",
  1393. "f2StallMin":"F2_失速分",
  1394. "f2StallSec":"F2_失速秒",
  1395. "f2RunningDays":"F2_运行天",
  1396. "f2FanRunTime":"F2_风机运行时",
  1397. "f2FanRunMin":"F2_风机运行分",
  1398. "f2FanRunSec":"F2_风机运行秒",
  1399. "f2FanRunHoursAcc":"F2_风机运行小时累计",
  1400. "f2TestDamperOpen":"F2_测试风门开度",
  1401. "f2FanDamperOpen":"F2_风机风门开度",
  1402. "f2LubOilTemp":"F2_润滑油温",
  1403. "f2LubPipeTemp":"F2_润滑管温",
  1404. "f2HydraulicOilTemp":"F2_液压油温",
  1405. "f2FanACBTemp1":"F2_风机角接触轴承温度1",
  1406. "f2FanACBTemp2":"F2_风机角接触轴承温度2",
  1407. "f2FanDGBearingTemp1":"F2_风机深沟轴承温度1",
  1408. "f2FanDGBearingTemp2":"F2_风机深沟轴承温度2",
  1409. "f2FanRBearingTemp1":"F2_风机滚柱轴承温度1",
  1410. "f2FanRBearingTemp2":"F2_风机滚柱轴承温度2",
  1411. "f2MotorUTemp":"F2_电机U绕组温度",
  1412. "f2MotorVTemp":"F2_电机V绕组温度",
  1413. "f2MotorWTemp":"F2_电机W绕组温度",
  1414. "f2MotorNonDriveTemp":"F2_电机非驱动侧温度",
  1415. "f2MotorDriveTemp":"F2_电机驱动侧温度",
  1416. "f2InverterCurr":"F2_变频器电流",
  1417. "f2FreqFeedback":"F2_频率反馈",
  1418. "f2FreqSetting":"F2_频率设定",
  1419. "f2FixedFreqSetting":"F2_固定频率设定",
  1420. "f2FanVertVib":"F2_风机垂直振动",
  1421. "f2FanHorizVib":"F2_风机水平振动",
  1422. "f2AirVolume":"F2_风量",
  1423. }
  1424. 控制请求表格====================================================================
  1425. |参数名|必选|类型|说明|
  1426. |:---- |:---|:----- |----- |
  1427. |f1BladeAngleSet|否|Float|F1_叶片角度设定|
  1428. |f1FixedAngleSet|否|Float|F1_固定角度设定|
  1429. |f1FreqSetting|否|Float|F1_频率设定|
  1430. |f1FixedFreqSetting|否|Float|F1_固定频率设定|
  1431. |f2BladeAngleSet|否|Float|F2_叶片角度设定|
  1432. |f2FixedAngleSet|否|Float|F2_固定角度设定|
  1433. |f2FreqSetting|否|Float|F2_频率设定|
  1434. |f2FixedFreqSetting|否|Float|F2_固定频率设定|
  1435. |f1ScreenStart|否|Boolean|F1_画面启动|
  1436. |f1ScreenStop|否|Boolean|F1_画面停止|
  1437. |f1ScreenAlarmClear|否|Boolean|F1_画面消警|
  1438. |f1ScreenReset|否|Boolean|F1_画面复位|
  1439. |f2ScreenStart|否|Boolean|F2_画面启动|
  1440. |f2ScreenStop|否|Boolean|F2_画面停止|
  1441. |f2ScreenAlarmClear|否|Boolean|F2_画面消警|
  1442. |f2ScreenReset|否|Boolean|F2_画面复位|