public new ActualStateRecord GetCopyUnsaved() { ActualStateRecord asr = (ActualStateRecord)MemberwiseClone(); asr.ItemId = -1; asr.UnSetEvents(); asr.OnLifelength = new Lifelength(OnLifelength); return(asr); }
/// <summary> /// Создает воздушное судно без дополнительной информации /// </summary> public ActualStateRecord(ActualStateRecord toCopy) : this() { if (toCopy == null) { return; } ComponentId = toCopy.ComponentId; _onLifelength = new Lifelength(toCopy.OnLifelength); ParentComponent = toCopy.ParentComponent; _recordDate = toCopy.RecordDate.Date; _remarks = toCopy.Remarks; _workRegime = toCopy.WorkRegime; _workRegimeType = toCopy.WorkRegimeType; }