6. Briefly describe what the following HVAC-related code is doing. double tmpsum = 0; String parentFolder - "station: Is
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
6. Briefly describe what the following HVAC-related code is doing. double tmpsum = 0; String parentFolder - "station: Is
6. Briefly describe what the following HVAC-related code is doing. double tmpsum = 0; String parentFolder - "station: Islot: /Drivers/BacnetNetwork/Floor23": Bord parentFolderord - Bord.make (parentFolder + "/VAVS"): BComponent parentFolderComp - (BComponent parentFolderord.get(); BComponent 1 children - parentFolderComp.getChildComponents(): for (int i 0; i < children.length: 1++){ String childFolderName - children (1).getName(); Bord minpord - Bord.make (parentFolder + "/", childFolderName + "/points/Rm Imp"); BNumericiritable emimp Comp - BlamerichritablermImpord.get(); double mimp - ImTmp Comp.getOut().getValue(); tmpSum + rimp: double avgimp- tmpsum / children.length: Bord avgImpord - Bord.make (parentFolder + "/avg Imp"); Numericwritable avg ImpComp - BNumericiritable) avgTmpord.get(): avg ImpComp.getOut().setValue (avgimp);
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!