public Cycle() { _TimeCreated = DateTime.Now; _TimeChanged = DateTime.Now; _ChangesDone = false; CycleItems = new SycleItemList <CycleItem>(); }
public Cycle(SycleItemList <CycleItem> ListOfCycleItems) { _TimeCreated = DateTime.Now; _TimeChanged = DateTime.Now; _ChangesDone = false; CycleItems = ListOfCycleItems; }
public Cycle(SerializationInfo info, StreamingContext context) { _TimeCreated = (DateTime)info.GetValue("TimeCreated", typeof(DateTime)); _TimeChanged = (DateTime)info.GetValue("TimeChanged", typeof(DateTime)); _ChangesDone = (Boolean)info.GetValue("ChangesDone", typeof(Boolean)); CycleItems = (SycleItemList <CycleItem>)info.GetValue("CycleItems", typeof(SycleItemList <CycleItem>)); _CycleNumber = (Int16)info.GetValue("CycleNumber", typeof(Int16)); }