public void CopyTo(BasEquipment obj) { obj.CODE = this.CODE; obj.COMPANY = this.COMPANY; obj.MachineName = this.MachineName; obj.MachineType = this.MachineType; obj.AxisNumber = this.AxisNumber; obj.MODEL = this.MODEL; obj.POWER = this.POWER; obj.LOCATION = this.LOCATION; obj.STATUS = this.STATUS; obj.OutCode = this.OutCode; obj.UseDate = this.UseDate; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; }
public Object Clone() { BasEquipment obj = new BasEquipment(); obj.CODE = this.CODE; obj.COMPANY = this.COMPANY; obj.MachineName = this.MachineName; obj.MachineType = this.MachineType; obj.AxisNumber = this.AxisNumber; obj.MODEL = this.MODEL; obj.POWER = this.POWER; obj.LOCATION = this.LOCATION; obj.STATUS = this.STATUS; obj.OutCode = this.OutCode; obj.UseDate = this.UseDate; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; return(obj); }