protected void setXslrl(Calendar cal, Company comp, ZBStatus status) { if (null != lrze && null != xssr && Util.isPositive(xssr) && Util.isPositive(lrze)) { injector.inject(GSZB.XSLRL_28.getValue(), lrze / xssr, cal, comp, status); } else { injector.remove(GSZB.XSLRL_28.getValue(), cal, comp); } }
public void compute(Integer zbId, Double val, Calendar cal, Company comp, ZBStatus status) { if (GSZB.XSSR6.getValue() == zbId) { xssr = val; } else if (GSZB.RS61.getValue() == zbId) { rs = val; } else if (GSZB.LRZE1.getValue() == zbId) { lrze = val; } else if (GSZB.SXFY64.getValue() == zbId) { sxfy = val; } if (GSZB.RJSR63.getValue() == zbId) { setRjsr(cal, comp, status); } else if (GSZB.RJLR62.getValue() == zbId) { setRjlr(cal, comp, status); } else if (GSZB.SXFYL_65.getValue() == zbId) { setSxfyl(cal, comp, status); } else if (GSZB.XSLRL_28.getValue() == zbId) { setXslrl(cal, comp, status); } else { onHandling(zbId, val, cal, comp, status); } }