use of com.vmware.flowgate.poweriqworker.model.InletReading in project flowgate by vmware.
the class SyncRealTimeDataJobTest method getInlets.
List<Inlet> getInlets() {
Inlet inlet = new Inlet();
List<Inlet> inlets = new ArrayList<Inlet>();
inlet.setId(23L);
inlet.setOrdinal(1);
inlet.setPduId(128L);
inlet.setPueIt(true);
inlet.setPueTotal(true);
inlet.setSource(true);
InletReading inletReading = new InletReading();
inletReading.setCurrent(1.2);
inletReading.setApparentPower(20.0);
inletReading.setVoltage(200.0);
inletReading.setReadingTime("2018/10/18 05:57:26 +0300");
inletReading.setActivePower(26.6);
inletReading.setUnutilizedCapacity(15.2);
inlet.setReading(inletReading);
inlets.add(inlet);
return inlets;
}
Aggregations