public Object Clone() { RealtimeStatistics obj = new RealtimeStatistics(); obj.ID = this.ID; obj.PSN = this.PSN; obj.MSN = this.MSN; obj.WorkOrder = this.WorkOrder; obj.StationName = this.StationName; obj.MachineType = this.MachineType; obj.MachineName = this.MachineName; obj.STATUS = this.STATUS; obj.QUANTITY = this.QUANTITY; obj.OPERATOR = this.OPERATOR; obj.OrderNumber = this.OrderNumber; obj.ProductCode = this.ProductCode; obj.ProductName = this.ProductName; obj.CustName = this.CustName; obj.PartsdrawingCode = this.PartsdrawingCode; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; return(obj); }
public void CopyTo(RealtimeStatistics obj) { obj.ID = this.ID; obj.PSN = this.PSN; obj.MSN = this.MSN; obj.WorkOrder = this.WorkOrder; obj.StationName = this.StationName; obj.MachineType = this.MachineType; obj.MachineName = this.MachineName; obj.STATUS = this.STATUS; obj.QUANTITY = this.QUANTITY; obj.OPERATOR = this.OPERATOR; obj.OrderNumber = this.OrderNumber; obj.ProductCode = this.ProductCode; obj.ProductName = this.ProductName; obj.CustName = this.CustName; obj.PartsdrawingCode = this.PartsdrawingCode; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; }