1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567 |
- 监测实体类====================================================================
- //万里一矿主扇 2024-07-10
- @Data
- public class FanMainWl1kVo extends RelationVo {
- @JsonProperty(value = "f1Uab")
- private Float f1Uab; //F1_Uab
- @JsonProperty(value = "f1Ubc")
- private Float f1Ubc; //F1_Ubc
- @JsonProperty(value = "f1Uca")
- private Float f1Uca; //F1_Uca
- @JsonProperty(value = "f1Ia")
- private Float f1Ia; //F1_Ia
- @JsonProperty(value = "f1Ib")
- private Float f1Ib; //F1_Ib
- @JsonProperty(value = "f1Ic")
- private Float f1Ic; //F1_Ic
- @JsonProperty(value = "f1P")
- private Float f1P; //F1_P
- @JsonProperty(value = "f1Q")
- private Float f1Q; //F1_Q
- @JsonProperty(value = "f1Cos")
- private Float f1Cos; //F1_COS
- @JsonProperty(value = "f1EntryPress")
- private Float f1EntryPress; //F1_入口压力
- @JsonProperty(value = "f1ImpellerPress")
- private Float f1ImpellerPress; //F1_叶轮压力
- @JsonProperty(value = "f1OutletPress")
- private Float f1OutletPress; //F1_出口压力
- @JsonProperty(value = "f1HydraulicPress")
- private Float f1HydraulicPress; //F1_液压站油压
- @JsonProperty(value = "f1StallDiffPress")
- private Float f1StallDiffPress; //F1_失速压差
- @JsonProperty(value = "f1EntryTemp")
- private Float f1EntryTemp; //F1_入口温度
- @JsonProperty(value = "f1BladeMechAngle")
- private Float f1BladeMechAngle; //F1_叶片机械角度
- @JsonProperty(value = "f1BladeAngle")
- private Float f1BladeAngle; //F1_叶片角度
- @JsonProperty(value = "f1BladeAngleSet")
- private Float f1BladeAngleSet; //F1_叶片角度设定
- @JsonProperty(value = "f1FixedAngleSet")
- private Float f1FixedAngleSet; //F1_固定角度设定
- @JsonProperty(value = "f1StallMin")
- private Float f1StallMin; //F1_失速分
- @JsonProperty(value = "f1StallSec")
- private Float f1StallSec; //F1_失速秒
- @JsonProperty(value = "f1RunningDays")
- private Float f1RunningDays; //F1_运行天
- @JsonProperty(value = "f1FanRunTime")
- private Float f1FanRunTime; //F1_风机运行时
- @JsonProperty(value = "f1FanRunMin")
- private Float f1FanRunMin; //F1_风机运行分
- @JsonProperty(value = "f1FanRunSec")
- private Float f1FanRunSec; //F1_风机运行秒
- @JsonProperty(value = "f1FanRunHoursAcc")
- private Float f1FanRunHoursAcc; //F1_风机运行小时累计
- @JsonProperty(value = "f1TestDamperOpen")
- private Float f1TestDamperOpen; //F1_测试风门开度
- @JsonProperty(value = "f1FanDamperOpen")
- private Float f1FanDamperOpen; //F1_风机风门开度
- @JsonProperty(value = "f1LubOilTemp")
- private Float f1LubOilTemp; //F1_润滑油温
- @JsonProperty(value = "f1LubPipeTemp")
- private Float f1LubPipeTemp; //F1_润滑管温
- @JsonProperty(value = "f1HydraulicOilTemp")
- private Float f1HydraulicOilTemp; //F1_液压油温
- @JsonProperty(value = "f1FanACBTemp1")
- private Float f1FanACBTemp1; //F1_风机角接触轴承温度1
- @JsonProperty(value = "f1FanACBTemp2")
- private Float f1FanACBTemp2; //F1_风机角接触轴承温度2
- @JsonProperty(value = "f1FanDGBearingTemp1")
- private Float f1FanDGBearingTemp1; //F1_风机深沟轴承温度1
- @JsonProperty(value = "f1FanDGBearingTemp2")
- private Float f1FanDGBearingTemp2; //F1_风机深沟轴承温度2
- @JsonProperty(value = "f1FanRBearingTemp1")
- private Float f1FanRBearingTemp1; //F1_风机滚柱轴承温度1
- @JsonProperty(value = "f1FanRBearingTemp2")
- private Float f1FanRBearingTemp2; //F1_风机滚柱轴承温度2
- @JsonProperty(value = "f1MotorUTemp")
- private Float f1MotorUTemp; //F1_电机U绕组温度
- @JsonProperty(value = "f1MotorVTemp")
- private Float f1MotorVTemp; //F1_电机V绕组温度
- @JsonProperty(value = "f1MotorWTemp")
- private Float f1MotorWTemp; //F1_电机W绕组温度
- @JsonProperty(value = "f1MotorNonDriveTemp")
- private Float f1MotorNonDriveTemp; //F1_电机非驱动侧温度
- @JsonProperty(value = "f1MotorDriveTemp")
- private Float f1MotorDriveTemp; //F1_电机驱动侧温度
- @JsonProperty(value = "f1InverterCurr")
- private Float f1InverterCurr; //F1_变频器电流
- @JsonProperty(value = "f1FreqFeedback")
- private Float f1FreqFeedback; //F1_频率反馈
- @JsonProperty(value = "f1FreqSetting")
- private Float f1FreqSetting; //F1_频率设定
- @JsonProperty(value = "f1FixedFreqSetting")
- private Float f1FixedFreqSetting; //F1_固定频率设定
- @JsonProperty(value = "f1FanVertVib")
- private Float f1FanVertVib; //F1_风机垂直振动
- @JsonProperty(value = "f1FanHorizVib")
- private Float f1FanHorizVib; //F1_风机水平振动
- @JsonProperty(value = "f1AirVolume")
- private Float f1AirVolume; //F1_风量
- @JsonProperty(value = "f2Uab")
- private Float f2Uab; //F2_Uab
- @JsonProperty(value = "f2Ubc")
- private Float f2Ubc; //F2_Ubc
- @JsonProperty(value = "f2Uca")
- private Float f2Uca; //F2_Uca
- @JsonProperty(value = "f2Ia")
- private Float f2Ia; //F2_Ia
- @JsonProperty(value = "f2Ib")
- private Float f2Ib; //F2_Ib
- @JsonProperty(value = "f2Ic")
- private Float f2Ic; //F2_Ic
- @JsonProperty(value = "f2P")
- private Float f2P; //F2_P
- @JsonProperty(value = "f2Q")
- private Float f2Q; //F2_Q
- @JsonProperty(value = "f2Cos")
- private Float f2Cos; //F2_COS
- @JsonProperty(value = "f2EntryPress")
- private Float f2EntryPress; //F2_入口压力
- @JsonProperty(value = "f2ImpellerPress")
- private Float f2ImpellerPress; //F2_叶轮压力
- @JsonProperty(value = "f2OutletPress")
- private Float f2OutletPress; //F2_出口压力
- @JsonProperty(value = "f2HydraulicPress")
- private Float f2HydraulicPress; //F2_液压站油压
- @JsonProperty(value = "f2StallDiffPress")
- private Float f2StallDiffPress; //F2_失速压差
- @JsonProperty(value = "f2EntryTemp")
- private Float f2EntryTemp; //F2_入口温度
- @JsonProperty(value = "f2BladeMechAngle")
- private Float f2BladeMechAngle; //F2_叶片机械角度
- @JsonProperty(value = "f2BladeAngle")
- private Float f2BladeAngle; //F2_叶片角度
- @JsonProperty(value = "f2BladeAngleSet")
- private Float f2BladeAngleSet; //F2_叶片角度设定
- @JsonProperty(value = "f2FixedAngleSet")
- private Float f2FixedAngleSet; //F2_固定角度设定
- @JsonProperty(value = "f2StallMin")
- private Float f2StallMin; //F2_失速分
- @JsonProperty(value = "f2StallSec")
- private Float f2StallSec; //F2_失速秒
- @JsonProperty(value = "f2RunningDays")
- private Float f2RunningDays; //F2_运行天
- @JsonProperty(value = "f2FanRunTime")
- private Float f2FanRunTime; //F2_风机运行时
- @JsonProperty(value = "f2FanRunMin")
- private Float f2FanRunMin; //F2_风机运行分
- @JsonProperty(value = "f2FanRunSec")
- private Float f2FanRunSec; //F2_风机运行秒
- @JsonProperty(value = "f2FanRunHoursAcc")
- private Float f2FanRunHoursAcc; //F2_风机运行小时累计
- @JsonProperty(value = "f2TestDamperOpen")
- private Float f2TestDamperOpen; //F2_测试风门开度
- @JsonProperty(value = "f2FanDamperOpen")
- private Float f2FanDamperOpen; //F2_风机风门开度
- @JsonProperty(value = "f2LubOilTemp")
- private Float f2LubOilTemp; //F2_润滑油温
- @JsonProperty(value = "f2LubPipeTemp")
- private Float f2LubPipeTemp; //F2_润滑管温
- @JsonProperty(value = "f2HydraulicOilTemp")
- private Float f2HydraulicOilTemp; //F2_液压油温
- @JsonProperty(value = "f2FanACBTemp1")
- private Float f2FanACBTemp1; //F2_风机角接触轴承温度1
- @JsonProperty(value = "f2FanACBTemp2")
- private Float f2FanACBTemp2; //F2_风机角接触轴承温度2
- @JsonProperty(value = "f2FanDGBearingTemp1")
- private Float f2FanDGBearingTemp1; //F2_风机深沟轴承温度1
- @JsonProperty(value = "f2FanDGBearingTemp2")
- private Float f2FanDGBearingTemp2; //F2_风机深沟轴承温度2
- @JsonProperty(value = "f2FanRBearingTemp1")
- private Float f2FanRBearingTemp1; //F2_风机滚柱轴承温度1
- @JsonProperty(value = "f2FanRBearingTemp2")
- private Float f2FanRBearingTemp2; //F2_风机滚柱轴承温度2
- @JsonProperty(value = "f2MotorUTemp")
- private Float f2MotorUTemp; //F2_电机U绕组温度
- @JsonProperty(value = "f2MotorVTemp")
- private Float f2MotorVTemp; //F2_电机V绕组温度
- @JsonProperty(value = "f2MotorWTemp")
- private Float f2MotorWTemp; //F2_电机W绕组温度
- @JsonProperty(value = "f2MotorNonDriveTemp")
- private Float f2MotorNonDriveTemp; //F2_电机非驱动侧温度
- @JsonProperty(value = "f2MotorDriveTemp")
- private Float f2MotorDriveTemp; //F2_电机驱动侧温度
- @JsonProperty(value = "f2InverterCurr")
- private Float f2InverterCurr; //F2_变频器电流
- @JsonProperty(value = "f2FreqFeedback")
- private Float f2FreqFeedback; //F2_频率反馈
- @JsonProperty(value = "f2FreqSetting")
- private Float f2FreqSetting; //F2_频率设定
- @JsonProperty(value = "f2FixedFreqSetting")
- private Float f2FixedFreqSetting; //F2_固定频率设定
- @JsonProperty(value = "f2FanVertVib")
- private Float f2FanVertVib; //F2_风机垂直振动
- @JsonProperty(value = "f2FanHorizVib")
- private Float f2FanHorizVib; //F2_风机水平振动
- @JsonProperty(value = "f2AirVolume")
- private Float f2AirVolume; //F2_风量
- }
- 控制实体类====================================================================
- //万里一矿主扇 2024-07-10
- @Data
- public class FanMainWl1kFrom{
- @JsonProperty(value = "f1BladeAngleSet")
- private Float f1BladeAngleSet; //F1_叶片角度设定
- @JsonProperty(value = "f1FixedAngleSet")
- private Float f1FixedAngleSet; //F1_固定角度设定
- @JsonProperty(value = "f1FreqSetting")
- private Float f1FreqSetting; //F1_频率设定
- @JsonProperty(value = "f1FixedFreqSetting")
- private Float f1FixedFreqSetting; //F1_固定频率设定
- @JsonProperty(value = "f2BladeAngleSet")
- private Float f2BladeAngleSet; //F2_叶片角度设定
- @JsonProperty(value = "f2FixedAngleSet")
- private Float f2FixedAngleSet; //F2_固定角度设定
- @JsonProperty(value = "f2FreqSetting")
- private Float f2FreqSetting; //F2_频率设定
- @JsonProperty(value = "f2FixedFreqSetting")
- private Float f2FixedFreqSetting; //F2_固定频率设定
- @JsonProperty(value = "f1ScreenStart")
- private Boolean f1ScreenStart; //F1_画面启动
- @JsonProperty(value = "f1ScreenStop")
- private Boolean f1ScreenStop; //F1_画面停止
- @JsonProperty(value = "f1ScreenAlarmClear")
- private Boolean f1ScreenAlarmClear; //F1_画面消警
- @JsonProperty(value = "f1ScreenReset")
- private Boolean f1ScreenReset; //F1_画面复位
- @JsonProperty(value = "f2ScreenStart")
- private Boolean f2ScreenStart; //F2_画面启动
- @JsonProperty(value = "f2ScreenStop")
- private Boolean f2ScreenStop; //F2_画面停止
- @JsonProperty(value = "f2ScreenAlarmClear")
- private Boolean f2ScreenAlarmClear; //F2_画面消警
- @JsonProperty(value = "f2ScreenReset")
- private Boolean f2ScreenReset; //F2_画面复位
- }
- 枚举=========================================================================
- //万里一矿主扇 2024-07-10
- public enum FanMainWl1kEnum {
- FAN_MAIN_WL1K_ENUM_F1UAB("f1Uab", "F1_Uab", "DB100.0"),
- FAN_MAIN_WL1K_ENUM_F1UBC("f1Ubc", "F1_Ubc", "DB100.4"),
- FAN_MAIN_WL1K_ENUM_F1UCA("f1Uca", "F1_Uca", "DB100.8"),
- FAN_MAIN_WL1K_ENUM_F1IA("f1Ia", "F1_Ia", "DB100.16"),
- FAN_MAIN_WL1K_ENUM_F1IB("f1Ib", "F1_Ib", "DB100.20"),
- FAN_MAIN_WL1K_ENUM_F1IC("f1Ic", "F1_Ic", "DB100.24"),
- FAN_MAIN_WL1K_ENUM_F1P("f1P", "F1_P", "DB100.32"),
- FAN_MAIN_WL1K_ENUM_F1Q("f1Q", "F1_Q", "DB100.36"),
- FAN_MAIN_WL1K_ENUM_F1COS("f1Cos", "F1_COS", "DB100.40"),
- FAN_MAIN_WL1K_ENUM_F1ENTRYPRESS("f1EntryPress", "F1_入口压力", "DB100.360"),
- FAN_MAIN_WL1K_ENUM_F1IMPELLERPRESS("f1ImpellerPress", "F1_叶轮压力", "DB100.364"),
- FAN_MAIN_WL1K_ENUM_F1OUTLETPRESS("f1OutletPress", "F1_出口压力", "DB100.368"),
- FAN_MAIN_WL1K_ENUM_F1HYDRAULICPRESS("f1HydraulicPress", "F1_液压站油压", "DB100.372"),
- FAN_MAIN_WL1K_ENUM_F1STALLDIFFPRESS("f1StallDiffPress", "F1_失速压差", "DB100.376"),
- FAN_MAIN_WL1K_ENUM_F1ENTRYTEMP("f1EntryTemp", "F1_入口温度", "DB100.524"),
- FAN_MAIN_WL1K_ENUM_F1BLADEMECHANGLE("f1BladeMechAngle", "F1_叶片机械角度", "DB100.416"),
- FAN_MAIN_WL1K_ENUM_F1BLADEANGLE("f1BladeAngle", "F1_叶片角度", "DB100.412"),
- FAN_MAIN_WL1K_ENUM_F1BLADEANGLESET("f1BladeAngleSet", "F1_叶片角度设定", "DB100.60"),
- FAN_MAIN_WL1K_ENUM_F1FIXEDANGLESET("f1FixedAngleSet", "F1_固定角度设定", "DB100.68"),
- FAN_MAIN_WL1K_ENUM_F1STALLMIN("f1StallMin", "F1_失速分", "DB100.244"),
- FAN_MAIN_WL1K_ENUM_F1STALLSEC("f1StallSec", "F1_失速秒", "DB100.248"),
- FAN_MAIN_WL1K_ENUM_F1RUNNINGDAYS("f1RunningDays", "F1_运行天", "DB100.164"),
- FAN_MAIN_WL1K_ENUM_F1FANRUNTIME("f1FanRunTime", "F1_风机运行时", "DB100.168"),
- FAN_MAIN_WL1K_ENUM_F1FANRUNMIN("f1FanRunMin", "F1_风机运行分", "DB100.172"),
- FAN_MAIN_WL1K_ENUM_F1FANRUNSEC("f1FanRunSec", "F1_风机运行秒", "DB100.176"),
- FAN_MAIN_WL1K_ENUM_F1FANRUNHOURSACC("f1FanRunHoursAcc", "F1_风机运行小时累计", "DB101.268"),
- FAN_MAIN_WL1K_ENUM_F1TESTDAMPEROPEN("f1TestDamperOpen", "F1_测试风门开度", "DB100.344"),
- FAN_MAIN_WL1K_ENUM_F1FANDAMPEROPEN("f1FanDamperOpen", "F1_风机风门开度", "DB100.348"),
- FAN_MAIN_WL1K_ENUM_F1LUBOILTEMP("f1LubOilTemp", "F1_润滑油温", "DB100.488"),
- FAN_MAIN_WL1K_ENUM_F1LUBPIPETEMP("f1LubPipeTemp", "F1_润滑管温", "DB100.484"),
- FAN_MAIN_WL1K_ENUM_F1HYDRAULICOILTEMP("f1HydraulicOilTemp", "F1_液压油温", "DB100.480"),
- FAN_MAIN_WL1K_ENUM_F1FANACBTEMP1("f1FanACBTemp1", "F1_风机角接触轴承温度1", "DB100.456"),
- FAN_MAIN_WL1K_ENUM_F1FANACBTEMP2("f1FanACBTemp2", "F1_风机角接触轴承温度2", "DB100.460"),
- FAN_MAIN_WL1K_ENUM_F1FANDGBEARINGTEMP1("f1FanDGBearingTemp1", "F1_风机深沟轴承温度1", "DB100.464"),
- FAN_MAIN_WL1K_ENUM_F1FANDGBEARINGTEMP2("f1FanDGBearingTemp2", "F1_风机深沟轴承温度2", "DB100.468"),
- FAN_MAIN_WL1K_ENUM_F1FANRBEARINGTEMP1("f1FanRBearingTemp1", "F1_风机滚柱轴承温度1", "DB100.472"),
- FAN_MAIN_WL1K_ENUM_F1FANRBEARINGTEMP2("f1FanRBearingTemp2", "F1_风机滚柱轴承温度2", "DB100.476"),
- FAN_MAIN_WL1K_ENUM_F1MOTORUTEMP("f1MotorUTemp", "F1_电机U绕组温度", "DB100.500"),
- FAN_MAIN_WL1K_ENUM_F1MOTORVTEMP("f1MotorVTemp", "F1_电机V绕组温度", "DB100.508"),
- FAN_MAIN_WL1K_ENUM_F1MOTORWTEMP("f1MotorWTemp", "F1_电机W绕组温度", "DB100.516"),
- FAN_MAIN_WL1K_ENUM_F1MOTORNONDRIVETEMP("f1MotorNonDriveTemp", "F1_电机非驱动侧温度", "DB100.496"),
- FAN_MAIN_WL1K_ENUM_F1MOTORDRIVETEMP("f1MotorDriveTemp", "F1_电机驱动侧温度", "DB100.492"),
- FAN_MAIN_WL1K_ENUM_F1INVERTERCURR("f1InverterCurr", "F1_变频器电流", "DB100.424"),
- FAN_MAIN_WL1K_ENUM_F1FREQFEEDBACK("f1FreqFeedback", "F1_频率反馈", "DB100.420"),
- FAN_MAIN_WL1K_ENUM_F1FREQSETTING("f1FreqSetting", "F1_频率设定", "DB100.80"),
- FAN_MAIN_WL1K_ENUM_F1FIXEDFREQSETTING("f1FixedFreqSetting", "F1_固定频率设定", "DB100.76"),
- FAN_MAIN_WL1K_ENUM_F1FANVERTVIB("f1FanVertVib", "F1_风机垂直振动", "DB100.388"),
- FAN_MAIN_WL1K_ENUM_F1FANHORIZVIB("f1FanHorizVib", "F1_风机水平振动", "DB100.384"),
- FAN_MAIN_WL1K_ENUM_F1AIRVOLUME("f1AirVolume", "F1_风量", "DB100.812"),
- FAN_MAIN_WL1K_ENUM_F2UAB("f2Uab", "F2_Uab", "DB200.0"),
- FAN_MAIN_WL1K_ENUM_F2UBC("f2Ubc", "F2_Ubc", "DB200.4"),
- FAN_MAIN_WL1K_ENUM_F2UCA("f2Uca", "F2_Uca", "DB200.8"),
- FAN_MAIN_WL1K_ENUM_F2IA("f2Ia", "F2_Ia", "DB200.16"),
- FAN_MAIN_WL1K_ENUM_F2IB("f2Ib", "F2_Ib", "DB200.20"),
- FAN_MAIN_WL1K_ENUM_F2IC("f2Ic", "F2_Ic", "DB200.24"),
- FAN_MAIN_WL1K_ENUM_F2P("f2P", "F2_P", "DB200.32"),
- FAN_MAIN_WL1K_ENUM_F2Q("f2Q", "F2_Q", "DB200.36"),
- FAN_MAIN_WL1K_ENUM_F2COS("f2Cos", "F2_COS", "DB200.40"),
- FAN_MAIN_WL1K_ENUM_F2ENTRYPRESS("f2EntryPress", "F2_入口压力", "DB200.360"),
- FAN_MAIN_WL1K_ENUM_F2IMPELLERPRESS("f2ImpellerPress", "F2_叶轮压力", "DB200.364"),
- FAN_MAIN_WL1K_ENUM_F2OUTLETPRESS("f2OutletPress", "F2_出口压力", "DB200.368"),
- FAN_MAIN_WL1K_ENUM_F2HYDRAULICPRESS("f2HydraulicPress", "F2_液压站油压", "DB200.372"),
- FAN_MAIN_WL1K_ENUM_F2STALLDIFFPRESS("f2StallDiffPress", "F2_失速压差", "DB200.376"),
- FAN_MAIN_WL1K_ENUM_F2ENTRYTEMP("f2EntryTemp", "F2_入口温度", "DB200.524"),
- FAN_MAIN_WL1K_ENUM_F2BLADEMECHANGLE("f2BladeMechAngle", "F2_叶片机械角度", "DB200.416"),
- FAN_MAIN_WL1K_ENUM_F2BLADEANGLE("f2BladeAngle", "F2_叶片角度", "DB200.412"),
- FAN_MAIN_WL1K_ENUM_F2BLADEANGLESET("f2BladeAngleSet", "F2_叶片角度设定", "DB200.60"),
- FAN_MAIN_WL1K_ENUM_F2FIXEDANGLESET("f2FixedAngleSet", "F2_固定角度设定", "DB200.68"),
- FAN_MAIN_WL1K_ENUM_F2STALLMIN("f2StallMin", "F2_失速分", "DB200.244"),
- FAN_MAIN_WL1K_ENUM_F2STALLSEC("f2StallSec", "F2_失速秒", "DB200.248"),
- FAN_MAIN_WL1K_ENUM_F2RUNNINGDAYS("f2RunningDays", "F2_运行天", "DB200.164"),
- FAN_MAIN_WL1K_ENUM_F2FANRUNTIME("f2FanRunTime", "F2_风机运行时", "DB200.168"),
- FAN_MAIN_WL1K_ENUM_F2FANRUNMIN("f2FanRunMin", "F2_风机运行分", "DB200.172"),
- FAN_MAIN_WL1K_ENUM_F2FANRUNSEC("f2FanRunSec", "F2_风机运行秒", "DB200.176"),
- FAN_MAIN_WL1K_ENUM_F2FANRUNHOURSACC("f2FanRunHoursAcc", "F2_风机运行小时累计", "DB201.268"),
- FAN_MAIN_WL1K_ENUM_F2TESTDAMPEROPEN("f2TestDamperOpen", "F2_测试风门开度", "DB200.344"),
- FAN_MAIN_WL1K_ENUM_F2FANDAMPEROPEN("f2FanDamperOpen", "F2_风机风门开度", "DB200.348"),
- FAN_MAIN_WL1K_ENUM_F2LUBOILTEMP("f2LubOilTemp", "F2_润滑油温", "DB200.488"),
- FAN_MAIN_WL1K_ENUM_F2LUBPIPETEMP("f2LubPipeTemp", "F2_润滑管温", "DB200.484"),
- FAN_MAIN_WL1K_ENUM_F2HYDRAULICOILTEMP("f2HydraulicOilTemp", "F2_液压油温", "DB200.480"),
- FAN_MAIN_WL1K_ENUM_F2FANACBTEMP1("f2FanACBTemp1", "F2_风机角接触轴承温度1", "DB200.456"),
- FAN_MAIN_WL1K_ENUM_F2FANACBTEMP2("f2FanACBTemp2", "F2_风机角接触轴承温度2", "DB200.460"),
- FAN_MAIN_WL1K_ENUM_F2FANDGBEARINGTEMP1("f2FanDGBearingTemp1", "F2_风机深沟轴承温度1", "DB200.464"),
- FAN_MAIN_WL1K_ENUM_F2FANDGBEARINGTEMP2("f2FanDGBearingTemp2", "F2_风机深沟轴承温度2", "DB200.468"),
- FAN_MAIN_WL1K_ENUM_F2FANRBEARINGTEMP1("f2FanRBearingTemp1", "F2_风机滚柱轴承温度1", "DB200.472"),
- FAN_MAIN_WL1K_ENUM_F2FANRBEARINGTEMP2("f2FanRBearingTemp2", "F2_风机滚柱轴承温度2", "DB200.476"),
- FAN_MAIN_WL1K_ENUM_F2MOTORUTEMP("f2MotorUTemp", "F2_电机U绕组温度", "DB200.500"),
- FAN_MAIN_WL1K_ENUM_F2MOTORVTEMP("f2MotorVTemp", "F2_电机V绕组温度", "DB200.508"),
- FAN_MAIN_WL1K_ENUM_F2MOTORWTEMP("f2MotorWTemp", "F2_电机W绕组温度", "DB200.516"),
- FAN_MAIN_WL1K_ENUM_F2MOTORNONDRIVETEMP("f2MotorNonDriveTemp", "F2_电机非驱动侧温度", "DB200.496"),
- FAN_MAIN_WL1K_ENUM_F2MOTORDRIVETEMP("f2MotorDriveTemp", "F2_电机驱动侧温度", "DB200.492"),
- FAN_MAIN_WL1K_ENUM_F2INVERTERCURR("f2InverterCurr", "F2_变频器电流", "DB200.424"),
- FAN_MAIN_WL1K_ENUM_F2FREQFEEDBACK("f2FreqFeedback", "F2_频率反馈", "DB200.420"),
- FAN_MAIN_WL1K_ENUM_F2FREQSETTING("f2FreqSetting", "F2_频率设定", "DB200.80"),
- FAN_MAIN_WL1K_ENUM_F2FIXEDFREQSETTING("f2FixedFreqSetting", "F2_固定频率设定", "DB200.76"),
- FAN_MAIN_WL1K_ENUM_F2FANVERTVIB("f2FanVertVib", "F2_风机垂直振动", "DB200.388"),
- FAN_MAIN_WL1K_ENUM_F2FANHORIZVIB("f2FanHorizVib", "F2_风机水平振动", "DB200.384"),
- FAN_MAIN_WL1K_ENUM_F2AIRVOLUME("f2AirVolume", "F2_风量", "DB200.812"),
- FAN_MAIN_WL1K_ENUM_F1SCREENSTART("f1ScreenStart", "F1_画面启动", "M1008.0"),
- FAN_MAIN_WL1K_ENUM_F1SCREENSTOP("f1ScreenStop", "F1_画面停止", "M1008.1"),
- FAN_MAIN_WL1K_ENUM_F1SCREENALARMCLEAR("f1ScreenAlarmClear", "F1_画面消警", "M1008.2"),
- FAN_MAIN_WL1K_ENUM_F1SCREENRESET("f1ScreenReset", "F1_画面复位", "M1008.3"),
- FAN_MAIN_WL1K_ENUM_F2SCREENSTART("f2ScreenStart", "F2_画面启动", "M2008.0"),
- FAN_MAIN_WL1K_ENUM_F2SCREENSTOP("f2ScreenStop", "F2_画面停止", "M2008.1"),
- FAN_MAIN_WL1K_ENUM_F2SCREENALARMCLEAR("f2ScreenAlarmClear", "F2_画面消警", "M2008.2"),
- FAN_MAIN_WL1K_ENUM_F2SCREENRESET("f2ScreenReset", "F2_画面复位", "M2008.3");
- private String name; //状态位/控制位
- private String message; //指令描述
- private String point;
- FanMainWl1kEnum(String name, String message,String point) {
- this.name = name;
- this.message = message;
- this.point = point;
- }
- public String getName() {
- return name;
- }
- public String getMessage() {
- return message;
- }
- public String getPoint(){return point;}
- }
- 业务实现类=====================================================================
- import com.ventanaly.tool.enums.PLCDevice2Enum;
- import com.ventanaly.tool.froms.FanMainFrom;
- import com.ventanaly.tool.page.FanMainPage;
- import com.ventanaly.tool.utils.Constants;
- import com.ventanaly.tool.page.DeviceRelationPage;
- import com.ventanaly.tool.page.SubStationPage;
- import com.ventanaly.tool.utils.SensorNet;
- import org.slf4j.Logger;
- import org.slf4j.LoggerFactory;
- import org.springframework.stereotype.Component;
- import java.util.Map;
- //万里一矿主扇 2024-07-10
- @Component
- public class FanMainWl1kFacility {
- private final Logger logger = LoggerFactory.getLogger(getClass());
- public static final String TYPE = "fan_main_wl1k";
- public static final String TYPE_NAME = "万里一矿主扇";
- private static boolean control = true;
- public FanMainWl1kVo fanMainWl1kStatus(DeviceRelationPage dr, Map<String, String> tableMeta, FanMainPage page) {
- FanMainWl1kVo vo = new FanMainWl1kVo();
- vo.setDeviceType(Constants.DEVICE_TYPE_FAN_MAIN);
- vo.setSmallType(TYPE);
- vo.setDeviceId(dr.getDevice_id());
- vo.setId(dr.getId());
- SubStationPage sp = dr.getSubStationPage();
- if (null == sp) {
- return vo;
- }
- SensorNet net = sp.getSensorNet();
- vo.setNetStatus(net.isLinkState() ? 1 : 0);
- if (1 == vo.getNetStatus()) {
- String address;
- String tName;
- vo.setUrl(net.getIp());
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1UAB.getName();
- address = tableMeta.get(tName);
- Float f1Uab = net.getSensorFloat(address);
- logger.debug("F1_Uab-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Uab);
- vo.setF1Uab(f1Uab);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1UBC.getName();
- address = tableMeta.get(tName);
- Float f1Ubc = net.getSensorFloat(address);
- logger.debug("F1_Ubc-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Ubc);
- vo.setF1Ubc(f1Ubc);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1UCA.getName();
- address = tableMeta.get(tName);
- Float f1Uca = net.getSensorFloat(address);
- logger.debug("F1_Uca-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Uca);
- vo.setF1Uca(f1Uca);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1IA.getName();
- address = tableMeta.get(tName);
- Float f1Ia = net.getSensorFloat(address);
- logger.debug("F1_Ia-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Ia);
- vo.setF1Ia(f1Ia);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1IB.getName();
- address = tableMeta.get(tName);
- Float f1Ib = net.getSensorFloat(address);
- logger.debug("F1_Ib-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Ib);
- vo.setF1Ib(f1Ib);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1IC.getName();
- address = tableMeta.get(tName);
- Float f1Ic = net.getSensorFloat(address);
- logger.debug("F1_Ic-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Ic);
- vo.setF1Ic(f1Ic);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1P.getName();
- address = tableMeta.get(tName);
- Float f1P = net.getSensorFloat(address);
- logger.debug("F1_P-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1P);
- vo.setF1P(f1P);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1Q.getName();
- address = tableMeta.get(tName);
- Float f1Q = net.getSensorFloat(address);
- logger.debug("F1_Q-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Q);
- vo.setF1Q(f1Q);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1COS.getName();
- address = tableMeta.get(tName);
- Float f1Cos = net.getSensorFloat(address);
- logger.debug("F1_COS-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1Cos);
- vo.setF1Cos(f1Cos);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1ENTRYPRESS.getName();
- address = tableMeta.get(tName);
- Float f1EntryPress = net.getSensorFloat(address);
- logger.debug("F1_入口压力-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1EntryPress);
- vo.setF1EntryPress(f1EntryPress);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1IMPELLERPRESS.getName();
- address = tableMeta.get(tName);
- Float f1ImpellerPress = net.getSensorFloat(address);
- logger.debug("F1_叶轮压力-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1ImpellerPress);
- vo.setF1ImpellerPress(f1ImpellerPress);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1OUTLETPRESS.getName();
- address = tableMeta.get(tName);
- Float f1OutletPress = net.getSensorFloat(address);
- logger.debug("F1_出口压力-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1OutletPress);
- vo.setF1OutletPress(f1OutletPress);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1HYDRAULICPRESS.getName();
- address = tableMeta.get(tName);
- Float f1HydraulicPress = net.getSensorFloat(address);
- logger.debug("F1_液压站油压-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1HydraulicPress);
- vo.setF1HydraulicPress(f1HydraulicPress);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1STALLDIFFPRESS.getName();
- address = tableMeta.get(tName);
- Float f1StallDiffPress = net.getSensorFloat(address);
- logger.debug("F1_失速压差-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1StallDiffPress);
- vo.setF1StallDiffPress(f1StallDiffPress);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1ENTRYTEMP.getName();
- address = tableMeta.get(tName);
- Float f1EntryTemp = net.getSensorFloat(address);
- logger.debug("F1_入口温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1EntryTemp);
- vo.setF1EntryTemp(f1EntryTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1BLADEMECHANGLE.getName();
- address = tableMeta.get(tName);
- Float f1BladeMechAngle = net.getSensorFloat(address);
- logger.debug("F1_叶片机械角度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1BladeMechAngle);
- vo.setF1BladeMechAngle(f1BladeMechAngle);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1BLADEANGLE.getName();
- address = tableMeta.get(tName);
- Float f1BladeAngle = net.getSensorFloat(address);
- logger.debug("F1_叶片角度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1BladeAngle);
- vo.setF1BladeAngle(f1BladeAngle);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1BLADEANGLESET.getName();
- address = tableMeta.get(tName);
- Float f1BladeAngleSet = net.getSensorFloat(address);
- logger.debug("F1_叶片角度设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1BladeAngleSet);
- vo.setF1BladeAngleSet(f1BladeAngleSet);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FIXEDANGLESET.getName();
- address = tableMeta.get(tName);
- Float f1FixedAngleSet = net.getSensorFloat(address);
- logger.debug("F1_固定角度设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FixedAngleSet);
- vo.setF1FixedAngleSet(f1FixedAngleSet);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1STALLMIN.getName();
- address = tableMeta.get(tName);
- Float f1StallMin = net.getSensorFloat(address);
- logger.debug("F1_失速分-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1StallMin);
- vo.setF1StallMin(f1StallMin);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1STALLSEC.getName();
- address = tableMeta.get(tName);
- Float f1StallSec = net.getSensorFloat(address);
- logger.debug("F1_失速秒-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1StallSec);
- vo.setF1StallSec(f1StallSec);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1RUNNINGDAYS.getName();
- address = tableMeta.get(tName);
- Float f1RunningDays = net.getSensorFloat(address);
- logger.debug("F1_运行天-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1RunningDays);
- vo.setF1RunningDays(f1RunningDays);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANRUNTIME.getName();
- address = tableMeta.get(tName);
- Float f1FanRunTime = net.getSensorFloat(address);
- logger.debug("F1_风机运行时-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanRunTime);
- vo.setF1FanRunTime(f1FanRunTime);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANRUNMIN.getName();
- address = tableMeta.get(tName);
- Float f1FanRunMin = net.getSensorFloat(address);
- logger.debug("F1_风机运行分-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanRunMin);
- vo.setF1FanRunMin(f1FanRunMin);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANRUNSEC.getName();
- address = tableMeta.get(tName);
- Float f1FanRunSec = net.getSensorFloat(address);
- logger.debug("F1_风机运行秒-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanRunSec);
- vo.setF1FanRunSec(f1FanRunSec);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANRUNHOURSACC.getName();
- address = tableMeta.get(tName);
- Float f1FanRunHoursAcc = net.getSensorFloat(address);
- logger.debug("F1_风机运行小时累计-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanRunHoursAcc);
- vo.setF1FanRunHoursAcc(f1FanRunHoursAcc);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1TESTDAMPEROPEN.getName();
- address = tableMeta.get(tName);
- Float f1TestDamperOpen = net.getSensorFloat(address);
- logger.debug("F1_测试风门开度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1TestDamperOpen);
- vo.setF1TestDamperOpen(f1TestDamperOpen);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANDAMPEROPEN.getName();
- address = tableMeta.get(tName);
- Float f1FanDamperOpen = net.getSensorFloat(address);
- logger.debug("F1_风机风门开度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanDamperOpen);
- vo.setF1FanDamperOpen(f1FanDamperOpen);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1LUBOILTEMP.getName();
- address = tableMeta.get(tName);
- Float f1LubOilTemp = net.getSensorFloat(address);
- logger.debug("F1_润滑油温-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1LubOilTemp);
- vo.setF1LubOilTemp(f1LubOilTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1LUBPIPETEMP.getName();
- address = tableMeta.get(tName);
- Float f1LubPipeTemp = net.getSensorFloat(address);
- logger.debug("F1_润滑管温-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1LubPipeTemp);
- vo.setF1LubPipeTemp(f1LubPipeTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1HYDRAULICOILTEMP.getName();
- address = tableMeta.get(tName);
- Float f1HydraulicOilTemp = net.getSensorFloat(address);
- logger.debug("F1_液压油温-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1HydraulicOilTemp);
- vo.setF1HydraulicOilTemp(f1HydraulicOilTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANACBTEMP1.getName();
- address = tableMeta.get(tName);
- Float f1FanACBTemp1 = net.getSensorFloat(address);
- logger.debug("F1_风机角接触轴承温度1-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanACBTemp1);
- vo.setF1FanACBTemp1(f1FanACBTemp1);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANACBTEMP2.getName();
- address = tableMeta.get(tName);
- Float f1FanACBTemp2 = net.getSensorFloat(address);
- logger.debug("F1_风机角接触轴承温度2-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanACBTemp2);
- vo.setF1FanACBTemp2(f1FanACBTemp2);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANDGBEARINGTEMP1.getName();
- address = tableMeta.get(tName);
- Float f1FanDGBearingTemp1 = net.getSensorFloat(address);
- logger.debug("F1_风机深沟轴承温度1-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanDGBearingTemp1);
- vo.setF1FanDGBearingTemp1(f1FanDGBearingTemp1);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANDGBEARINGTEMP2.getName();
- address = tableMeta.get(tName);
- Float f1FanDGBearingTemp2 = net.getSensorFloat(address);
- logger.debug("F1_风机深沟轴承温度2-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanDGBearingTemp2);
- vo.setF1FanDGBearingTemp2(f1FanDGBearingTemp2);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANRBEARINGTEMP1.getName();
- address = tableMeta.get(tName);
- Float f1FanRBearingTemp1 = net.getSensorFloat(address);
- logger.debug("F1_风机滚柱轴承温度1-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanRBearingTemp1);
- vo.setF1FanRBearingTemp1(f1FanRBearingTemp1);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANRBEARINGTEMP2.getName();
- address = tableMeta.get(tName);
- Float f1FanRBearingTemp2 = net.getSensorFloat(address);
- logger.debug("F1_风机滚柱轴承温度2-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanRBearingTemp2);
- vo.setF1FanRBearingTemp2(f1FanRBearingTemp2);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1MOTORUTEMP.getName();
- address = tableMeta.get(tName);
- Float f1MotorUTemp = net.getSensorFloat(address);
- logger.debug("F1_电机U绕组温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1MotorUTemp);
- vo.setF1MotorUTemp(f1MotorUTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1MOTORVTEMP.getName();
- address = tableMeta.get(tName);
- Float f1MotorVTemp = net.getSensorFloat(address);
- logger.debug("F1_电机V绕组温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1MotorVTemp);
- vo.setF1MotorVTemp(f1MotorVTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1MOTORWTEMP.getName();
- address = tableMeta.get(tName);
- Float f1MotorWTemp = net.getSensorFloat(address);
- logger.debug("F1_电机W绕组温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1MotorWTemp);
- vo.setF1MotorWTemp(f1MotorWTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1MOTORNONDRIVETEMP.getName();
- address = tableMeta.get(tName);
- Float f1MotorNonDriveTemp = net.getSensorFloat(address);
- logger.debug("F1_电机非驱动侧温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1MotorNonDriveTemp);
- vo.setF1MotorNonDriveTemp(f1MotorNonDriveTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1MOTORDRIVETEMP.getName();
- address = tableMeta.get(tName);
- Float f1MotorDriveTemp = net.getSensorFloat(address);
- logger.debug("F1_电机驱动侧温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1MotorDriveTemp);
- vo.setF1MotorDriveTemp(f1MotorDriveTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1INVERTERCURR.getName();
- address = tableMeta.get(tName);
- Float f1InverterCurr = net.getSensorFloat(address);
- logger.debug("F1_变频器电流-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1InverterCurr);
- vo.setF1InverterCurr(f1InverterCurr);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FREQFEEDBACK.getName();
- address = tableMeta.get(tName);
- Float f1FreqFeedback = net.getSensorFloat(address);
- logger.debug("F1_频率反馈-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FreqFeedback);
- vo.setF1FreqFeedback(f1FreqFeedback);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FREQSETTING.getName();
- address = tableMeta.get(tName);
- Float f1FreqSetting = net.getSensorFloat(address);
- logger.debug("F1_频率设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FreqSetting);
- vo.setF1FreqSetting(f1FreqSetting);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FIXEDFREQSETTING.getName();
- address = tableMeta.get(tName);
- Float f1FixedFreqSetting = net.getSensorFloat(address);
- logger.debug("F1_固定频率设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FixedFreqSetting);
- vo.setF1FixedFreqSetting(f1FixedFreqSetting);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANVERTVIB.getName();
- address = tableMeta.get(tName);
- Float f1FanVertVib = net.getSensorFloat(address);
- logger.debug("F1_风机垂直振动-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanVertVib);
- vo.setF1FanVertVib(f1FanVertVib);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FANHORIZVIB.getName();
- address = tableMeta.get(tName);
- Float f1FanHorizVib = net.getSensorFloat(address);
- logger.debug("F1_风机水平振动-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1FanHorizVib);
- vo.setF1FanHorizVib(f1FanHorizVib);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1AIRVOLUME.getName();
- address = tableMeta.get(tName);
- Float f1AirVolume = net.getSensorFloat(address);
- logger.debug("F1_风量-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f1AirVolume);
- vo.setF1AirVolume(f1AirVolume);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2UAB.getName();
- address = tableMeta.get(tName);
- Float f2Uab = net.getSensorFloat(address);
- logger.debug("F2_Uab-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Uab);
- vo.setF2Uab(f2Uab);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2UBC.getName();
- address = tableMeta.get(tName);
- Float f2Ubc = net.getSensorFloat(address);
- logger.debug("F2_Ubc-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Ubc);
- vo.setF2Ubc(f2Ubc);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2UCA.getName();
- address = tableMeta.get(tName);
- Float f2Uca = net.getSensorFloat(address);
- logger.debug("F2_Uca-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Uca);
- vo.setF2Uca(f2Uca);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2IA.getName();
- address = tableMeta.get(tName);
- Float f2Ia = net.getSensorFloat(address);
- logger.debug("F2_Ia-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Ia);
- vo.setF2Ia(f2Ia);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2IB.getName();
- address = tableMeta.get(tName);
- Float f2Ib = net.getSensorFloat(address);
- logger.debug("F2_Ib-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Ib);
- vo.setF2Ib(f2Ib);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2IC.getName();
- address = tableMeta.get(tName);
- Float f2Ic = net.getSensorFloat(address);
- logger.debug("F2_Ic-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Ic);
- vo.setF2Ic(f2Ic);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2P.getName();
- address = tableMeta.get(tName);
- Float f2P = net.getSensorFloat(address);
- logger.debug("F2_P-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2P);
- vo.setF2P(f2P);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2Q.getName();
- address = tableMeta.get(tName);
- Float f2Q = net.getSensorFloat(address);
- logger.debug("F2_Q-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Q);
- vo.setF2Q(f2Q);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2COS.getName();
- address = tableMeta.get(tName);
- Float f2Cos = net.getSensorFloat(address);
- logger.debug("F2_COS-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2Cos);
- vo.setF2Cos(f2Cos);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2ENTRYPRESS.getName();
- address = tableMeta.get(tName);
- Float f2EntryPress = net.getSensorFloat(address);
- logger.debug("F2_入口压力-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2EntryPress);
- vo.setF2EntryPress(f2EntryPress);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2IMPELLERPRESS.getName();
- address = tableMeta.get(tName);
- Float f2ImpellerPress = net.getSensorFloat(address);
- logger.debug("F2_叶轮压力-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2ImpellerPress);
- vo.setF2ImpellerPress(f2ImpellerPress);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2OUTLETPRESS.getName();
- address = tableMeta.get(tName);
- Float f2OutletPress = net.getSensorFloat(address);
- logger.debug("F2_出口压力-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2OutletPress);
- vo.setF2OutletPress(f2OutletPress);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2HYDRAULICPRESS.getName();
- address = tableMeta.get(tName);
- Float f2HydraulicPress = net.getSensorFloat(address);
- logger.debug("F2_液压站油压-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2HydraulicPress);
- vo.setF2HydraulicPress(f2HydraulicPress);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2STALLDIFFPRESS.getName();
- address = tableMeta.get(tName);
- Float f2StallDiffPress = net.getSensorFloat(address);
- logger.debug("F2_失速压差-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2StallDiffPress);
- vo.setF2StallDiffPress(f2StallDiffPress);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2ENTRYTEMP.getName();
- address = tableMeta.get(tName);
- Float f2EntryTemp = net.getSensorFloat(address);
- logger.debug("F2_入口温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2EntryTemp);
- vo.setF2EntryTemp(f2EntryTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2BLADEMECHANGLE.getName();
- address = tableMeta.get(tName);
- Float f2BladeMechAngle = net.getSensorFloat(address);
- logger.debug("F2_叶片机械角度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2BladeMechAngle);
- vo.setF2BladeMechAngle(f2BladeMechAngle);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2BLADEANGLE.getName();
- address = tableMeta.get(tName);
- Float f2BladeAngle = net.getSensorFloat(address);
- logger.debug("F2_叶片角度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2BladeAngle);
- vo.setF2BladeAngle(f2BladeAngle);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2BLADEANGLESET.getName();
- address = tableMeta.get(tName);
- Float f2BladeAngleSet = net.getSensorFloat(address);
- logger.debug("F2_叶片角度设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2BladeAngleSet);
- vo.setF2BladeAngleSet(f2BladeAngleSet);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FIXEDANGLESET.getName();
- address = tableMeta.get(tName);
- Float f2FixedAngleSet = net.getSensorFloat(address);
- logger.debug("F2_固定角度设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FixedAngleSet);
- vo.setF2FixedAngleSet(f2FixedAngleSet);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2STALLMIN.getName();
- address = tableMeta.get(tName);
- Float f2StallMin = net.getSensorFloat(address);
- logger.debug("F2_失速分-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2StallMin);
- vo.setF2StallMin(f2StallMin);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2STALLSEC.getName();
- address = tableMeta.get(tName);
- Float f2StallSec = net.getSensorFloat(address);
- logger.debug("F2_失速秒-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2StallSec);
- vo.setF2StallSec(f2StallSec);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2RUNNINGDAYS.getName();
- address = tableMeta.get(tName);
- Float f2RunningDays = net.getSensorFloat(address);
- logger.debug("F2_运行天-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2RunningDays);
- vo.setF2RunningDays(f2RunningDays);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANRUNTIME.getName();
- address = tableMeta.get(tName);
- Float f2FanRunTime = net.getSensorFloat(address);
- logger.debug("F2_风机运行时-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanRunTime);
- vo.setF2FanRunTime(f2FanRunTime);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANRUNMIN.getName();
- address = tableMeta.get(tName);
- Float f2FanRunMin = net.getSensorFloat(address);
- logger.debug("F2_风机运行分-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanRunMin);
- vo.setF2FanRunMin(f2FanRunMin);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANRUNSEC.getName();
- address = tableMeta.get(tName);
- Float f2FanRunSec = net.getSensorFloat(address);
- logger.debug("F2_风机运行秒-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanRunSec);
- vo.setF2FanRunSec(f2FanRunSec);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANRUNHOURSACC.getName();
- address = tableMeta.get(tName);
- Float f2FanRunHoursAcc = net.getSensorFloat(address);
- logger.debug("F2_风机运行小时累计-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanRunHoursAcc);
- vo.setF2FanRunHoursAcc(f2FanRunHoursAcc);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2TESTDAMPEROPEN.getName();
- address = tableMeta.get(tName);
- Float f2TestDamperOpen = net.getSensorFloat(address);
- logger.debug("F2_测试风门开度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2TestDamperOpen);
- vo.setF2TestDamperOpen(f2TestDamperOpen);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANDAMPEROPEN.getName();
- address = tableMeta.get(tName);
- Float f2FanDamperOpen = net.getSensorFloat(address);
- logger.debug("F2_风机风门开度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanDamperOpen);
- vo.setF2FanDamperOpen(f2FanDamperOpen);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2LUBOILTEMP.getName();
- address = tableMeta.get(tName);
- Float f2LubOilTemp = net.getSensorFloat(address);
- logger.debug("F2_润滑油温-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2LubOilTemp);
- vo.setF2LubOilTemp(f2LubOilTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2LUBPIPETEMP.getName();
- address = tableMeta.get(tName);
- Float f2LubPipeTemp = net.getSensorFloat(address);
- logger.debug("F2_润滑管温-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2LubPipeTemp);
- vo.setF2LubPipeTemp(f2LubPipeTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2HYDRAULICOILTEMP.getName();
- address = tableMeta.get(tName);
- Float f2HydraulicOilTemp = net.getSensorFloat(address);
- logger.debug("F2_液压油温-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2HydraulicOilTemp);
- vo.setF2HydraulicOilTemp(f2HydraulicOilTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANACBTEMP1.getName();
- address = tableMeta.get(tName);
- Float f2FanACBTemp1 = net.getSensorFloat(address);
- logger.debug("F2_风机角接触轴承温度1-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanACBTemp1);
- vo.setF2FanACBTemp1(f2FanACBTemp1);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANACBTEMP2.getName();
- address = tableMeta.get(tName);
- Float f2FanACBTemp2 = net.getSensorFloat(address);
- logger.debug("F2_风机角接触轴承温度2-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanACBTemp2);
- vo.setF2FanACBTemp2(f2FanACBTemp2);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANDGBEARINGTEMP1.getName();
- address = tableMeta.get(tName);
- Float f2FanDGBearingTemp1 = net.getSensorFloat(address);
- logger.debug("F2_风机深沟轴承温度1-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanDGBearingTemp1);
- vo.setF2FanDGBearingTemp1(f2FanDGBearingTemp1);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANDGBEARINGTEMP2.getName();
- address = tableMeta.get(tName);
- Float f2FanDGBearingTemp2 = net.getSensorFloat(address);
- logger.debug("F2_风机深沟轴承温度2-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanDGBearingTemp2);
- vo.setF2FanDGBearingTemp2(f2FanDGBearingTemp2);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANRBEARINGTEMP1.getName();
- address = tableMeta.get(tName);
- Float f2FanRBearingTemp1 = net.getSensorFloat(address);
- logger.debug("F2_风机滚柱轴承温度1-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanRBearingTemp1);
- vo.setF2FanRBearingTemp1(f2FanRBearingTemp1);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANRBEARINGTEMP2.getName();
- address = tableMeta.get(tName);
- Float f2FanRBearingTemp2 = net.getSensorFloat(address);
- logger.debug("F2_风机滚柱轴承温度2-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanRBearingTemp2);
- vo.setF2FanRBearingTemp2(f2FanRBearingTemp2);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2MOTORUTEMP.getName();
- address = tableMeta.get(tName);
- Float f2MotorUTemp = net.getSensorFloat(address);
- logger.debug("F2_电机U绕组温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2MotorUTemp);
- vo.setF2MotorUTemp(f2MotorUTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2MOTORVTEMP.getName();
- address = tableMeta.get(tName);
- Float f2MotorVTemp = net.getSensorFloat(address);
- logger.debug("F2_电机V绕组温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2MotorVTemp);
- vo.setF2MotorVTemp(f2MotorVTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2MOTORWTEMP.getName();
- address = tableMeta.get(tName);
- Float f2MotorWTemp = net.getSensorFloat(address);
- logger.debug("F2_电机W绕组温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2MotorWTemp);
- vo.setF2MotorWTemp(f2MotorWTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2MOTORNONDRIVETEMP.getName();
- address = tableMeta.get(tName);
- Float f2MotorNonDriveTemp = net.getSensorFloat(address);
- logger.debug("F2_电机非驱动侧温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2MotorNonDriveTemp);
- vo.setF2MotorNonDriveTemp(f2MotorNonDriveTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2MOTORDRIVETEMP.getName();
- address = tableMeta.get(tName);
- Float f2MotorDriveTemp = net.getSensorFloat(address);
- logger.debug("F2_电机驱动侧温度-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2MotorDriveTemp);
- vo.setF2MotorDriveTemp(f2MotorDriveTemp);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2INVERTERCURR.getName();
- address = tableMeta.get(tName);
- Float f2InverterCurr = net.getSensorFloat(address);
- logger.debug("F2_变频器电流-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2InverterCurr);
- vo.setF2InverterCurr(f2InverterCurr);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FREQFEEDBACK.getName();
- address = tableMeta.get(tName);
- Float f2FreqFeedback = net.getSensorFloat(address);
- logger.debug("F2_频率反馈-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FreqFeedback);
- vo.setF2FreqFeedback(f2FreqFeedback);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FREQSETTING.getName();
- address = tableMeta.get(tName);
- Float f2FreqSetting = net.getSensorFloat(address);
- logger.debug("F2_频率设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FreqSetting);
- vo.setF2FreqSetting(f2FreqSetting);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FIXEDFREQSETTING.getName();
- address = tableMeta.get(tName);
- Float f2FixedFreqSetting = net.getSensorFloat(address);
- logger.debug("F2_固定频率设定-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FixedFreqSetting);
- vo.setF2FixedFreqSetting(f2FixedFreqSetting);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANVERTVIB.getName();
- address = tableMeta.get(tName);
- Float f2FanVertVib = net.getSensorFloat(address);
- logger.debug("F2_风机垂直振动-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanVertVib);
- vo.setF2FanVertVib(f2FanVertVib);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FANHORIZVIB.getName();
- address = tableMeta.get(tName);
- Float f2FanHorizVib = net.getSensorFloat(address);
- logger.debug("F2_风机水平振动-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2FanHorizVib);
- vo.setF2FanHorizVib(f2FanHorizVib);
- tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2AIRVOLUME.getName();
- address = tableMeta.get(tName);
- Float f2AirVolume = net.getSensorFloat(address);
- logger.debug("F2_风量-ID:{}-点位名称:{},address:{},Val:{}", dr.getId(), tName, address, f2AirVolume);
- vo.setF2AirVolume(f2AirVolume);
- }
- dr.setObjVo(vo);
- return vo;
- }
- //F1_叶片角度设定
- public boolean f1BladeAngleSet(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1BLADEANGLESET.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,from.getFanMainWl1kFrom().getF1BladeAngleSet());
- logger.debug("设置-F1_叶片角度设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF1BladeAngleSet());
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F1_固定角度设定
- public boolean f1FixedAngleSet(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FIXEDANGLESET.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,from.getFanMainWl1kFrom().getF1FixedAngleSet());
- logger.debug("设置-F1_固定角度设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF1FixedAngleSet());
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F1_频率设定
- public boolean f1FreqSetting(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FREQSETTING.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,from.getFanMainWl1kFrom().getF1FreqSetting());
- logger.debug("设置-F1_频率设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF1FreqSetting());
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F1_固定频率设定
- public boolean f1FixedFreqSetting(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1FIXEDFREQSETTING.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,from.getFanMainWl1kFrom().getF1FixedFreqSetting());
- logger.debug("设置-F1_固定频率设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF1FixedFreqSetting());
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F2_叶片角度设定
- public boolean f2BladeAngleSet(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2BLADEANGLESET.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,from.getFanMainWl1kFrom().getF2BladeAngleSet());
- logger.debug("设置-F2_叶片角度设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF2BladeAngleSet());
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F2_固定角度设定
- public boolean f2FixedAngleSet(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FIXEDANGLESET.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,from.getFanMainWl1kFrom().getF2FixedAngleSet());
- logger.debug("设置-F2_固定角度设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF2FixedAngleSet());
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F2_频率设定
- public boolean f2FreqSetting(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FREQSETTING.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,from.getFanMainWl1kFrom().getF2FreqSetting());
- logger.debug("设置-F2_频率设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF2FreqSetting());
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F2_固定频率设定
- public boolean f2FixedFreqSetting(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2FIXEDFREQSETTING.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,from.getFanMainWl1kFrom().getF2FixedFreqSetting());
- logger.debug("设置-F2_固定频率设定-点位名称:{},address:{},Val:{}", tName, address, from.getFanMainWl1kFrom().getF2FixedFreqSetting());
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F1_画面启动
- public boolean f1ScreenStart(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1SCREENSTART.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
- logger.debug("设置-F1_画面启动-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
- Thread.sleep(1000);
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F1_画面停止
- public boolean f1ScreenStop(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1SCREENSTOP.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
- logger.debug("设置-F1_画面停止-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
- Thread.sleep(1000);
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F1_画面消警
- public boolean f1ScreenAlarmClear(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1SCREENALARMCLEAR.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
- logger.debug("设置-F1_画面消警-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
- Thread.sleep(1000);
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F1_画面复位
- public boolean f1ScreenReset(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F1SCREENRESET.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
- logger.debug("设置-F1_画面复位-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
- Thread.sleep(1000);
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F2_画面启动
- public boolean f2ScreenStart(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2SCREENSTART.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
- logger.debug("设置-F2_画面启动-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
- Thread.sleep(1000);
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F2_画面停止
- public boolean f2ScreenStop(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2SCREENSTOP.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
- logger.debug("设置-F2_画面停止-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
- Thread.sleep(1000);
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F2_画面消警
- public boolean f2ScreenAlarmClear(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2SCREENALARMCLEAR.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
- logger.debug("设置-F2_画面消警-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
- Thread.sleep(1000);
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- //F2_画面复位
- public boolean f2ScreenReset(FanMainFrom from, SensorNet net, Map<String, String> tableMeta, Long timeout) {
- boolean result = false;
- if (control) {
- control = false;
- String tName = PLCDevice2Enum.FanMainWl1kEnum.FAN_MAIN_WL1K_ENUM_F2SCREENRESET.getName();
- String address = tableMeta.get(tName);
- try {
- result = net.setSensor(address,Constants.PLC_BOOLEAN_TRUE);
- logger.debug("设置-F2_画面复位-点位名称:{},address:{},Val:{}", tName, address, Constants.PLC_BOOLEAN_TRUE);
- Thread.sleep(1000);
- } catch (Throwable e) {
- e.printStackTrace();
- } finally {
- control = true;
- }
- }
- return result;
- }
- }
- 控制方法实现====================================================================
- //万里一矿主扇 2024-07-10
- public boolean controlFanMainWl1k(FanMainFrom from, Json json, FanMainPage fm, UserLogPage ulPage) {
- boolean r = false;
- ulPage.setDeviceType(4);
- DeviceRelationPage dr = SubStationStatic.DRMap.get(from.getId());
- if (null == dr) {
- throw new ServiceException("不存在的分站");
- }
- SubStationPage page = dr.getSubStationPage();
- try {
- RelationVo g = (RelationVo) dr.getObjVo();
- from.setStrInstallPos(g.getStrInstallPos());
- } catch (Exception e) {
- e.printStackTrace();
- }
- Map<String, String> tableMeta = SubStationStatic.tableMetas.get(dr.getPLC_table());
- json.setMsg("无任何操作");
- if (dr.getDevice_id() != fm.getNFanID()) {
- throw new ServiceException("输入密码不正确");
- }
- SensorNet net = page.getSensorNet();
- if (!dr.getIsFake()) {
- if (!net.getState()) {
- json.setMsg("无任何操作");
- throw new ServiceException("无法与设备建立链接");
- }
- if (null != from.getFanMainWl1kFrom().getF1BladeAngleSet()) {
- logger.info("F1_叶片角度设定--->" + from.getFanMainWl1kFrom().getF1BladeAngleSet());
- json.setMsg("F1_叶片角度设定");
- ulPage.setRecord("F1_叶片角度设定:" + from.getFanMainWl1kFrom().getF1BladeAngleSet());
- r = fanMainWl1kFacility.f1BladeAngleSet(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF1FixedAngleSet()) {
- logger.info("F1_固定角度设定--->" + from.getFanMainWl1kFrom().getF1FixedAngleSet());
- json.setMsg("F1_固定角度设定");
- ulPage.setRecord("F1_固定角度设定:" + from.getFanMainWl1kFrom().getF1FixedAngleSet());
- r = fanMainWl1kFacility.f1FixedAngleSet(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF1FreqSetting()) {
- logger.info("F1_频率设定--->" + from.getFanMainWl1kFrom().getF1FreqSetting());
- json.setMsg("F1_频率设定");
- ulPage.setRecord("F1_频率设定:" + from.getFanMainWl1kFrom().getF1FreqSetting());
- r = fanMainWl1kFacility.f1FreqSetting(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF1FixedFreqSetting()) {
- logger.info("F1_固定频率设定--->" + from.getFanMainWl1kFrom().getF1FixedFreqSetting());
- json.setMsg("F1_固定频率设定");
- ulPage.setRecord("F1_固定频率设定:" + from.getFanMainWl1kFrom().getF1FixedFreqSetting());
- r = fanMainWl1kFacility.f1FixedFreqSetting(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF2BladeAngleSet()) {
- logger.info("F2_叶片角度设定--->" + from.getFanMainWl1kFrom().getF2BladeAngleSet());
- json.setMsg("F2_叶片角度设定");
- ulPage.setRecord("F2_叶片角度设定:" + from.getFanMainWl1kFrom().getF2BladeAngleSet());
- r = fanMainWl1kFacility.f2BladeAngleSet(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF2FixedAngleSet()) {
- logger.info("F2_固定角度设定--->" + from.getFanMainWl1kFrom().getF2FixedAngleSet());
- json.setMsg("F2_固定角度设定");
- ulPage.setRecord("F2_固定角度设定:" + from.getFanMainWl1kFrom().getF2FixedAngleSet());
- r = fanMainWl1kFacility.f2FixedAngleSet(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF2FreqSetting()) {
- logger.info("F2_频率设定--->" + from.getFanMainWl1kFrom().getF2FreqSetting());
- json.setMsg("F2_频率设定");
- ulPage.setRecord("F2_频率设定:" + from.getFanMainWl1kFrom().getF2FreqSetting());
- r = fanMainWl1kFacility.f2FreqSetting(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF2FixedFreqSetting()) {
- logger.info("F2_固定频率设定--->" + from.getFanMainWl1kFrom().getF2FixedFreqSetting());
- json.setMsg("F2_固定频率设定");
- ulPage.setRecord("F2_固定频率设定:" + from.getFanMainWl1kFrom().getF2FixedFreqSetting());
- r = fanMainWl1kFacility.f2FixedFreqSetting(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF1ScreenStart()) {
- logger.info("F1_画面启动--->" + from.getFanMainWl1kFrom().getF1ScreenStart());
- json.setMsg("F1_画面启动");
- ulPage.setRecord("F1_画面启动:" + from.getFanMainWl1kFrom().getF1ScreenStart());
- r = fanMainWl1kFacility.f1ScreenStart(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF1ScreenStop()) {
- logger.info("F1_画面停止--->" + from.getFanMainWl1kFrom().getF1ScreenStop());
- json.setMsg("F1_画面停止");
- ulPage.setRecord("F1_画面停止:" + from.getFanMainWl1kFrom().getF1ScreenStop());
- r = fanMainWl1kFacility.f1ScreenStop(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF1ScreenAlarmClear()) {
- logger.info("F1_画面消警--->" + from.getFanMainWl1kFrom().getF1ScreenAlarmClear());
- json.setMsg("F1_画面消警");
- ulPage.setRecord("F1_画面消警:" + from.getFanMainWl1kFrom().getF1ScreenAlarmClear());
- r = fanMainWl1kFacility.f1ScreenAlarmClear(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF1ScreenReset()) {
- logger.info("F1_画面复位--->" + from.getFanMainWl1kFrom().getF1ScreenReset());
- json.setMsg("F1_画面复位");
- ulPage.setRecord("F1_画面复位:" + from.getFanMainWl1kFrom().getF1ScreenReset());
- r = fanMainWl1kFacility.f1ScreenReset(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF2ScreenStart()) {
- logger.info("F2_画面启动--->" + from.getFanMainWl1kFrom().getF2ScreenStart());
- json.setMsg("F2_画面启动");
- ulPage.setRecord("F2_画面启动:" + from.getFanMainWl1kFrom().getF2ScreenStart());
- r = fanMainWl1kFacility.f2ScreenStart(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF2ScreenStop()) {
- logger.info("F2_画面停止--->" + from.getFanMainWl1kFrom().getF2ScreenStop());
- json.setMsg("F2_画面停止");
- ulPage.setRecord("F2_画面停止:" + from.getFanMainWl1kFrom().getF2ScreenStop());
- r = fanMainWl1kFacility.f2ScreenStop(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF2ScreenAlarmClear()) {
- logger.info("F2_画面消警--->" + from.getFanMainWl1kFrom().getF2ScreenAlarmClear());
- json.setMsg("F2_画面消警");
- ulPage.setRecord("F2_画面消警:" + from.getFanMainWl1kFrom().getF2ScreenAlarmClear());
- r = fanMainWl1kFacility.f2ScreenAlarmClear(from, net, tableMeta, null);
- }
- if (null != from.getFanMainWl1kFrom().getF2ScreenReset()) {
- logger.info("F2_画面复位--->" + from.getFanMainWl1kFrom().getF2ScreenReset());
- json.setMsg("F2_画面复位");
- ulPage.setRecord("F2_画面复位:" + from.getFanMainWl1kFrom().getF2ScreenReset());
- r = fanMainWl1kFacility.f2ScreenReset(from, net, tableMeta, null);
- }
- }
- return r;
- }
- 监测方法片段====================================================================
- //万里一矿主扇 2024-07-10
- case FanMainWl1kFacility.TYPE:
- vo = fanMainWl1kFacility.status(dr,tableMeta,page);
- break;
- 点表配置json====================================================================
- {"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"}
- 点位解释json====================================================================
- {
- "f1Uab":"F1_Uab",
- "f1Ubc":"F1_Ubc",
- "f1Uca":"F1_Uca",
- "f1Ia":"F1_Ia",
- "f1Ib":"F1_Ib",
- "f1Ic":"F1_Ic",
- "f1P":"F1_P",
- "f1Q":"F1_Q",
- "f1Cos":"F1_COS",
- "f1EntryPress":"F1_入口压力",
- "f1ImpellerPress":"F1_叶轮压力",
- "f1OutletPress":"F1_出口压力",
- "f1HydraulicPress":"F1_液压站油压",
- "f1StallDiffPress":"F1_失速压差",
- "f1EntryTemp":"F1_入口温度",
- "f1BladeMechAngle":"F1_叶片机械角度",
- "f1BladeAngle":"F1_叶片角度",
- "f1BladeAngleSet":"F1_叶片角度设定",
- "f1FixedAngleSet":"F1_固定角度设定",
- "f1StallMin":"F1_失速分",
- "f1StallSec":"F1_失速秒",
- "f1RunningDays":"F1_运行天",
- "f1FanRunTime":"F1_风机运行时",
- "f1FanRunMin":"F1_风机运行分",
- "f1FanRunSec":"F1_风机运行秒",
- "f1FanRunHoursAcc":"F1_风机运行小时累计",
- "f1TestDamperOpen":"F1_测试风门开度",
- "f1FanDamperOpen":"F1_风机风门开度",
- "f1LubOilTemp":"F1_润滑油温",
- "f1LubPipeTemp":"F1_润滑管温",
- "f1HydraulicOilTemp":"F1_液压油温",
- "f1FanACBTemp1":"F1_风机角接触轴承温度1",
- "f1FanACBTemp2":"F1_风机角接触轴承温度2",
- "f1FanDGBearingTemp1":"F1_风机深沟轴承温度1",
- "f1FanDGBearingTemp2":"F1_风机深沟轴承温度2",
- "f1FanRBearingTemp1":"F1_风机滚柱轴承温度1",
- "f1FanRBearingTemp2":"F1_风机滚柱轴承温度2",
- "f1MotorUTemp":"F1_电机U绕组温度",
- "f1MotorVTemp":"F1_电机V绕组温度",
- "f1MotorWTemp":"F1_电机W绕组温度",
- "f1MotorNonDriveTemp":"F1_电机非驱动侧温度",
- "f1MotorDriveTemp":"F1_电机驱动侧温度",
- "f1InverterCurr":"F1_变频器电流",
- "f1FreqFeedback":"F1_频率反馈",
- "f1FreqSetting":"F1_频率设定",
- "f1FixedFreqSetting":"F1_固定频率设定",
- "f1FanVertVib":"F1_风机垂直振动",
- "f1FanHorizVib":"F1_风机水平振动",
- "f1AirVolume":"F1_风量",
- "f2Uab":"F2_Uab",
- "f2Ubc":"F2_Ubc",
- "f2Uca":"F2_Uca",
- "f2Ia":"F2_Ia",
- "f2Ib":"F2_Ib",
- "f2Ic":"F2_Ic",
- "f2P":"F2_P",
- "f2Q":"F2_Q",
- "f2Cos":"F2_COS",
- "f2EntryPress":"F2_入口压力",
- "f2ImpellerPress":"F2_叶轮压力",
- "f2OutletPress":"F2_出口压力",
- "f2HydraulicPress":"F2_液压站油压",
- "f2StallDiffPress":"F2_失速压差",
- "f2EntryTemp":"F2_入口温度",
- "f2BladeMechAngle":"F2_叶片机械角度",
- "f2BladeAngle":"F2_叶片角度",
- "f2BladeAngleSet":"F2_叶片角度设定",
- "f2FixedAngleSet":"F2_固定角度设定",
- "f2StallMin":"F2_失速分",
- "f2StallSec":"F2_失速秒",
- "f2RunningDays":"F2_运行天",
- "f2FanRunTime":"F2_风机运行时",
- "f2FanRunMin":"F2_风机运行分",
- "f2FanRunSec":"F2_风机运行秒",
- "f2FanRunHoursAcc":"F2_风机运行小时累计",
- "f2TestDamperOpen":"F2_测试风门开度",
- "f2FanDamperOpen":"F2_风机风门开度",
- "f2LubOilTemp":"F2_润滑油温",
- "f2LubPipeTemp":"F2_润滑管温",
- "f2HydraulicOilTemp":"F2_液压油温",
- "f2FanACBTemp1":"F2_风机角接触轴承温度1",
- "f2FanACBTemp2":"F2_风机角接触轴承温度2",
- "f2FanDGBearingTemp1":"F2_风机深沟轴承温度1",
- "f2FanDGBearingTemp2":"F2_风机深沟轴承温度2",
- "f2FanRBearingTemp1":"F2_风机滚柱轴承温度1",
- "f2FanRBearingTemp2":"F2_风机滚柱轴承温度2",
- "f2MotorUTemp":"F2_电机U绕组温度",
- "f2MotorVTemp":"F2_电机V绕组温度",
- "f2MotorWTemp":"F2_电机W绕组温度",
- "f2MotorNonDriveTemp":"F2_电机非驱动侧温度",
- "f2MotorDriveTemp":"F2_电机驱动侧温度",
- "f2InverterCurr":"F2_变频器电流",
- "f2FreqFeedback":"F2_频率反馈",
- "f2FreqSetting":"F2_频率设定",
- "f2FixedFreqSetting":"F2_固定频率设定",
- "f2FanVertVib":"F2_风机垂直振动",
- "f2FanHorizVib":"F2_风机水平振动",
- "f2AirVolume":"F2_风量",
- }
- 控制请求表格====================================================================
- |参数名|必选|类型|说明|
- |:---- |:---|:----- |----- |
- |f1BladeAngleSet|否|Float|F1_叶片角度设定|
- |f1FixedAngleSet|否|Float|F1_固定角度设定|
- |f1FreqSetting|否|Float|F1_频率设定|
- |f1FixedFreqSetting|否|Float|F1_固定频率设定|
- |f2BladeAngleSet|否|Float|F2_叶片角度设定|
- |f2FixedAngleSet|否|Float|F2_固定角度设定|
- |f2FreqSetting|否|Float|F2_频率设定|
- |f2FixedFreqSetting|否|Float|F2_固定频率设定|
- |f1ScreenStart|否|Boolean|F1_画面启动|
- |f1ScreenStop|否|Boolean|F1_画面停止|
- |f1ScreenAlarmClear|否|Boolean|F1_画面消警|
- |f1ScreenReset|否|Boolean|F1_画面复位|
- |f2ScreenStart|否|Boolean|F2_画面启动|
- |f2ScreenStop|否|Boolean|F2_画面停止|
- |f2ScreenAlarmClear|否|Boolean|F2_画面消警|
- |f2ScreenReset|否|Boolean|F2_画面复位|
|