using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; namespace IStation.Model { /// /// /// public class InspectRecordDetailBase : ICloneable { /// /// /// public InspectRecordDetailBase() { } /// /// /// /// public InspectRecordDetailBase(InspectRecordDetail rhs) { this.ID = rhs.ID; this.Value = rhs.Value; this.Status = rhs.Status; } /// /// /// /// public InspectRecordDetailBase(InspectRecordDetailBase rhs) { this.ID = rhs.ID; this.Value = rhs.Value; this.Status = rhs.Status; } #region Model /// /// ID /// public long ID { get { return _id; } set { _id = value; } } private long _id; /// /// Value /// public string Value { get { return _value; } set { _value = value; } } private string _value; /// /// Status /// public int Status { get { return _status; } set { _status = value; } } private int _status; #endregion Model #region Clone /// /// /// /// public InspectRecordDetailBase Clone() { return new InspectRecordDetailBase(this); } /// /// /// /// object ICloneable.Clone() { return this.Clone(); } #endregion Clone } }