예제 #1
0
 static {
   gsztZb.add(GSZB.LRZE1.getValue());
   gsztZb.add(GSZB.XSSR6.getValue());
   gsztZb.add(GSZB.JYXJXJL29.getValue());
   gsztZb.add(GSZB.YSZK32.getValue());
   gsztZb.add(GSZB.CH35.getValue());
   gsztZb.add(GSZB.ZCZE179.getValue());
   gsztZb.add(GSZB.GDZC180.getValue());
   gsztZb.add(GSZB.JZC_QMS_181.getValue());
   gsztZb.add(GSZB.JZC_QCS_182.getValue());
   gsztZb.add(GSZB.JLR183.getValue());
   gsztZb.add(GSZB.FZZEQMS184.getValue());
   gsztZb.add(GSZB.FZL185.getValue());
   gsztZb.add(GSZB.SXFY64.getValue());
   gsztZb.add(GSZB.SXFYL_65.getValue());
   gsztZb.add(GSZB.JZCSYL_66.getValue());
 }
예제 #2
0
  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);
    }
  }