Пример #1
0
 public void CopyTo(UnitStatistics obj)
 {
     obj.ID             = this.ID;
     obj.StatisticsItem = this.StatisticsItem;
     obj.StatisticsType = this.StatisticsType;
     obj.StationName    = this.StationName;
     obj.ProductName    = this.ProductName;
     obj.CustName       = this.CustName;
     obj.PassQuantity   = this.PassQuantity;
     obj.FailQuantity   = this.FailQuantity;
     obj.BYDAY          = this.BYDAY;
     obj.BYWEEK         = this.BYWEEK;
     obj.BYMONTH        = this.BYMONTH;
     obj.BYYEAR         = this.BYYEAR;
     obj.MEMO           = this.MEMO;
     obj.CreatedDate    = this.CreatedDate;
     obj.UpdatedDate    = this.UpdatedDate;
     obj.UpdatedBy      = this.UpdatedBy;
 }
Пример #2
0
        public Object Clone()
        {
            UnitStatistics obj = new UnitStatistics();

            obj.ID = this.ID;

            obj.StatisticsItem = this.StatisticsItem;
            obj.StatisticsType = this.StatisticsType;
            obj.StationName    = this.StationName;
            obj.ProductName    = this.ProductName;
            obj.CustName       = this.CustName;
            obj.PassQuantity   = this.PassQuantity;
            obj.FailQuantity   = this.FailQuantity;
            obj.BYDAY          = this.BYDAY;
            obj.BYWEEK         = this.BYWEEK;
            obj.BYMONTH        = this.BYMONTH;
            obj.BYYEAR         = this.BYYEAR;
            obj.MEMO           = this.MEMO;
            obj.CreatedDate    = this.CreatedDate;
            obj.UpdatedDate    = this.UpdatedDate;
            obj.UpdatedBy      = this.UpdatedBy;

            return(obj);
        }