package com.zzsmart.qomo.kn.cost.manage.vo;

//mandt, werks, aufnr, projn, erdat, gstrp, gltri, plnbez, auart, txt, vornr, aufpl, rueck, ltxa1, kostl, budat, ism01, ism02, ism03, ism04, ism05, ism06, isdd, isdz, iedd, iedz, lmnga, rmnga, xmnga
public class HiveSapAfru {
    public String mandt;
    public String werks;
    public String aufnr;
    public String projn;
    public String erdat;
    public String gstrp;
    public String gltri;
    public String plnbez;
    public String auart;
    public String txt;
    public String vornr;
    public String aufpl;
    public String rueck="";
    public String ltxa1="";
    public String kostl="";
    public String budat="";//报工日期
    public double ism01;//人工前置（准备）时间
    public double ism02;//实际机器生产时间
    public double ism03;//实际人工工时（分）
    public double ism04;//实际燃动时间
    public double ism05;//实际辅助时间
    public double ism06;//实际其他时间
    public String isdd;
    public String isdz;
    public String iedd;
    public String iedz;
    public double lmnga;
    public String rmnga;
    public String xmnga;
    public UnitCost unitCost=new UnitCost();//实际工费
    public UnitCost standardCost=new UnitCost();//标准工费

    public void AddArfu(HiveSapAfru hiveSapAfru){
        ism01+=hiveSapAfru.ism01;
        ism02+=hiveSapAfru.ism02;
        ism03+=hiveSapAfru.ism03;
        ism04+=hiveSapAfru.ism04;
        ism05+=hiveSapAfru.ism05;
        ism06+=hiveSapAfru.ism06;
        lmnga+=hiveSapAfru.lmnga;
    }

    public void SetUnitCost(UnitCost uc){
        unitCost.rgfv=uc.rgfv;
        unitCost.qtfv=uc.qtfv;
        unitCost.rdfv=uc.rdfv;
        unitCost.flfv=uc.flfv;
        unitCost.sbfv=uc.sbfv;
    }
}
