|
@@ -0,0 +1,524 @@
|
|
|
|
+package com.gyee.generation.service;
|
|
|
|
+
|
|
|
|
+import com.gyee.common.contant.ContantXk;
|
|
|
|
+import com.gyee.common.model.PointData;
|
|
|
|
+import com.gyee.common.model.StringUtils;
|
|
|
|
+import com.gyee.generation.init.CacheContext;
|
|
|
|
+import com.gyee.generation.model.auto.ProBasicEquipmentPoint;
|
|
|
|
+import com.gyee.generation.model.auto.ProBasicWindturbine;
|
|
|
|
+import com.gyee.generation.model.auto.ProEconEquipmentInfo15minute;
|
|
|
|
+import com.gyee.generation.service.auto.IProEconEquipmentInfo15minuteService;
|
|
|
|
+import com.gyee.generation.util.DateUtils;
|
|
|
|
+import com.gyee.generation.util.realtimesource.IEdosUtil;
|
|
|
|
+import com.gyee.generation.util.statisticcs.Initial;
|
|
|
|
+import org.slf4j.Logger;
|
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
|
+
|
|
|
|
+import javax.annotation.Resource;
|
|
|
|
+import java.math.BigDecimal;
|
|
|
|
+import java.math.RoundingMode;
|
|
|
|
+import java.util.*;
|
|
|
|
+import java.util.stream.Collectors;
|
|
|
|
+
|
|
|
|
+@Service
|
|
|
|
+public class EquipmentInfo15minuteService {
|
|
|
|
+
|
|
|
|
+ private static final Logger logger = LoggerFactory.getLogger(EquipmentInfo15minuteService.class);
|
|
|
|
+ @Resource
|
|
|
|
+ private IEdosUtil edosUtil;
|
|
|
|
+
|
|
|
|
+ @Resource
|
|
|
|
+ private IProEconEquipmentInfo15minuteService proEconEquipmentInfo15minuteService;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ * 计算设备15分钟信息
|
|
|
|
+ * @param recordDate
|
|
|
|
+ * @throws Exception
|
|
|
|
+ */
|
|
|
|
+ public void calLineInfoMinute15(Date recordDate) throws Exception {
|
|
|
|
+ Calendar c=Calendar.getInstance();
|
|
|
|
+ c.setTime(recordDate);
|
|
|
|
+
|
|
|
|
+ Date end=c.getTime();
|
|
|
|
+ c.add(Calendar.MINUTE,-15);
|
|
|
|
+ Date begin= DateUtils.truncDay(c.getTime());
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ List<String> idls = proEconEquipmentInfo15minuteService.list().stream()
|
|
|
|
+ .filter(i -> i.getRecordDate().compareTo(DateUtils.truncDay(recordDate))==0
|
|
|
|
+ && CacheContext.wtmap.containsKey(i.getWindturbineId())
|
|
|
|
+ ).map(ProEconEquipmentInfo15minute::getId)
|
|
|
|
+ .collect(Collectors.toList());
|
|
|
|
+
|
|
|
|
+ if (idls != null && idls.size() > 0) {
|
|
|
|
+
|
|
|
|
+ proEconEquipmentInfo15minuteService.removeByIds(idls);
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ for(ProBasicWindturbine wt:CacheContext.wtls)
|
|
|
|
+ {
|
|
|
|
+ if(CacheContext.wppointmap.containsKey(wt.getId()))
|
|
|
|
+ {
|
|
|
|
+ Map<String, ProBasicEquipmentPoint> pointmap=CacheContext.wtpAimap.get(wt.getId());
|
|
|
|
+
|
|
|
|
+ ProEconEquipmentInfo15minute pewp=new ProEconEquipmentInfo15minute();
|
|
|
|
+ Initial.initial(pewp);
|
|
|
|
+ pewp.setCompanyId(wt.getCompanyId());
|
|
|
|
+ pewp.setWindpowerstationId(wt.getWindpowerstationId());
|
|
|
|
+ pewp.setLineId(wt.getLineId());
|
|
|
|
+ pewp.setProjectId(wt.getProjectId());
|
|
|
|
+ pewp.setRegionId(wt.getRegionId());
|
|
|
|
+ pewp.setRecordDate(DateUtils.truncDay(recordDate));
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ if(pointmap.containsKey(ContantXk.SSPJFS))
|
|
|
|
+ {
|
|
|
|
+ ProBasicEquipmentPoint point= pointmap.get(ContantXk.SSPJFS);
|
|
|
|
+ List<PointData> pointls=edosUtil.getHistoryDatasSnap(point.getNemCode(), begin.getTime()/1000, end.getTime()/1000);
|
|
|
|
+ if(!pointls.isEmpty())
|
|
|
|
+ {
|
|
|
|
+ DoubleSummaryStatistics summaryStatistics=pointls.stream().mapToDouble(n -> n.getPointValueInDouble()).summaryStatistics();
|
|
|
|
+
|
|
|
|
+ pewp.setFpjfs(summaryStatistics.getAverage());
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if(pointmap.containsKey(ContantXk.SSZGL))
|
|
|
|
+ {
|
|
|
|
+ ProBasicEquipmentPoint point= pointmap.get(ContantXk.SSZGL);
|
|
|
|
+ List<PointData> pointls=edosUtil.getHistoryDatasSnap(point.getNemCode(), begin.getTime()/1000, end.getTime()/1000);
|
|
|
|
+ if(!pointls.isEmpty())
|
|
|
|
+ {
|
|
|
|
+ DoubleSummaryStatistics summaryStatistics=pointls.stream().mapToDouble(n -> n.getPointValueInDouble()).summaryStatistics();
|
|
|
|
+
|
|
|
|
+ pewp.setFpjgl(summaryStatistics.getAverage());
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ if(pointmap.containsKey(ContantXk.RFDL))
|
|
|
|
+ {
|
|
|
|
+ ProBasicEquipmentPoint point= pointmap.get(ContantXk.RFDL);
|
|
|
|
+
|
|
|
|
+ PointData beginValue=edosUtil.getHistMatrix(point.getNemCode(), begin.getTime()/1000);
|
|
|
|
+ PointData endValue=edosUtil.getHistMatrix(point.getNemCode(), end.getTime()/1000);
|
|
|
|
+ if(StringUtils.notEmp(beginValue) && StringUtils.notEmp(endValue))
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ pewp.setFfdl(StringUtils.round(endValue.getPointValueInDouble()-beginValue.getPointValueInDouble(),2));
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ calDetiall( pewp, end, begin, wt);
|
|
|
|
+ calSimple( pewp, end, begin, wt);
|
|
|
|
+ proEconEquipmentInfo15minuteService.save(pewp);
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ private void calDetiall(ProEconEquipmentInfo15minute pewp,Date end, Date begin,ProBasicWindturbine wt) throws Exception {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ double lastState=-1;
|
|
|
|
+
|
|
|
|
+ double djsc=0;
|
|
|
|
+ double sdtjsc=0;
|
|
|
|
+ double zcfdsc=0;
|
|
|
|
+ double fdjclsc=0;
|
|
|
|
+ double gzsc=0;
|
|
|
|
+ double gzslsc=0;
|
|
|
|
+ double jxsc=0;
|
|
|
|
+ double jxslsc=0;
|
|
|
|
+ double xdjclsc=0;
|
|
|
|
+ double xdtjsc=0;
|
|
|
|
+ double dwslsc=0;
|
|
|
|
+ double hjslsc=0;
|
|
|
|
+ double txzdsc=0;
|
|
|
|
+ double sblxsc=0;
|
|
|
|
+
|
|
|
|
+ Map<String, Map<String, ProBasicEquipmentPoint>> wtpAimap = CacheContext.wtpAimap;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ lastState=-1;
|
|
|
|
+ Map<String, ProBasicEquipmentPoint> aimap=wtpAimap.get(wt.getNemCode());
|
|
|
|
+ if(wtpAimap.containsKey(ContantXk.MXZT));
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ ProBasicEquipmentPoint point=aimap.get(ContantXk.MXZT);
|
|
|
|
+
|
|
|
|
+ List<PointData> pointls=edosUtil.getHistoryDatasSnap(point.getNemCode(), begin.getTime()/1000, end.getTime()/1000);
|
|
|
|
+ if(!pointls.isEmpty())
|
|
|
|
+ {
|
|
|
|
+ for(PointData po :pointls)
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ if(po.getPointValueInDouble()==0)
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ djsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==1)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ sdtjsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==2)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ zcfdsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==3)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ fdjclsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==4)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ gzsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==5)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ gzslsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==6)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ jxsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==7)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ jxslsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==8)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ xdjclsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==9)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ xdtjsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==10)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ dwslsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==11)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ hjslsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==12)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ txzdsc++;
|
|
|
|
+ }else if(po.getPointValueInDouble()==13)
|
|
|
|
+ {
|
|
|
|
+ if(lastState!=po.getPointValueInDouble())
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ lastState=po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ sblxsc++;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ pewp.setFgzxsmx(new BigDecimal(gzsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFcnslgzxsmx(new BigDecimal(gzslsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFjxxsmx(new BigDecimal(jxsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFcnsljxxsmx(new BigDecimal(jxslsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFdjxsmx(new BigDecimal(djsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFqxjclxsmx(new BigDecimal(fdjclsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFsdtjxsmx(new BigDecimal(sdtjsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFbwxsmx(new BigDecimal(zcfdsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFxdtjxsmx(new BigDecimal(xdtjsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFxdjclxsmx(new BigDecimal(xdjclsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFcwsldwxsmx(new BigDecimal(dwslsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFcwsltqxsmx(new BigDecimal(hjslsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFtxzdxsmx(new BigDecimal(txzdsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFlxxsmx(new BigDecimal(sblxsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ private void calSimple(ProEconEquipmentInfo15minute pewp,Date end, Date begin,ProBasicWindturbine wt) throws Exception {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ double lastState = -1;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ double djsc = 0;
|
|
|
|
+ double zcfdsc = 0;
|
|
|
|
+ double gzsc = 0;
|
|
|
|
+ double jxsc = 0;
|
|
|
|
+ double xdtjsc = 0;
|
|
|
|
+ double slsc = 0;
|
|
|
|
+ double txzdsc = 0;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ Map<String, Map<String, ProBasicEquipmentPoint>> wtpAimap = CacheContext.wtpAimap;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ Map<String, ProBasicEquipmentPoint> aimap = wtpAimap.get(wt.getNemCode());
|
|
|
|
+ if (wtpAimap.containsKey(ContantXk.SBZT)) ;
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ ProBasicEquipmentPoint point = aimap.get(ContantXk.SBZT);
|
|
|
|
+
|
|
|
|
+ List<PointData> pointls = edosUtil.getHistoryDatasSnap(point.getNemCode(), begin.getTime() / 1000, end.getTime() / 1000);
|
|
|
|
+ if (!pointls.isEmpty()) {
|
|
|
|
+ for (PointData po : pointls) {
|
|
|
|
+
|
|
|
|
+ if (po.getPointValueInDouble() == 0) {
|
|
|
|
+ if (lastState != po.getPointValueInDouble()) {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ lastState = po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ djsc++;
|
|
|
|
+ } else if (po.getPointValueInDouble() == 1) {
|
|
|
|
+ if (lastState != po.getPointValueInDouble()) {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ lastState = po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ zcfdsc++;
|
|
|
|
+ } else if (po.getPointValueInDouble() == 2) {
|
|
|
|
+ if (lastState != po.getPointValueInDouble()) {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ lastState = po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ gzsc++;
|
|
|
|
+ } else if (po.getPointValueInDouble() == 3) {
|
|
|
|
+ if (lastState != po.getPointValueInDouble()) {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ lastState = po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ jxsc++;
|
|
|
|
+
|
|
|
|
+ } else if (po.getPointValueInDouble() == 4) {
|
|
|
|
+ if (lastState != po.getPointValueInDouble()) {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ lastState = po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ xdtjsc++;
|
|
|
|
+ } else if (po.getPointValueInDouble() == 5) {
|
|
|
|
+ if (lastState != po.getPointValueInDouble()) {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ lastState = po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ slsc++;
|
|
|
|
+
|
|
|
|
+ } else if (po.getPointValueInDouble() == 6) {
|
|
|
|
+ if (lastState != po.getPointValueInDouble()) {
|
|
|
|
+
|
|
|
|
+ lastState = po.getPointValueInDouble();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ txzdsc++;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ pewp.setFdjxs(new BigDecimal(gzsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFjxtjxs(new BigDecimal(jxsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFdjxs(new BigDecimal(djsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFyxxs(new BigDecimal(zcfdsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFxdxs(new BigDecimal(xdtjsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFtxzdxs(new BigDecimal(txzdsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+ pewp.setFslxs(new BigDecimal(slsc).divide(new BigDecimal(60), 2, RoundingMode.HALF_EVEN).doubleValue());
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|