public void AddToSnRegs(SnRegDTO snRegDTO) { base.AddObject("SnRegs", snRegDTO); }
public static SnRegDTO CreateSnRegDTO(int ID, global::System.DateTime installDate, bool isStop, int status, bool isLife, bool isLifeCst, decimal timeRate, decimal cycleRate, int pnRegId, global::System.Collections.ObjectModel.ObservableCollection<LifeMonitorDTO> liftMonitors) { SnRegDTO snRegDTO = new SnRegDTO(); snRegDTO.Id = ID; snRegDTO.InstallDate = installDate; snRegDTO.IsStop = isStop; snRegDTO.Status = status; snRegDTO.IsLife = isLife; snRegDTO.IsLifeCst = isLifeCst; snRegDTO.TimeRate = timeRate; snRegDTO.CycleRate = cycleRate; snRegDTO.PnRegId = pnRegId; if ((liftMonitors == null)) { throw new global::System.ArgumentNullException("liftMonitors"); } snRegDTO.LiftMonitors = liftMonitors; return snRegDTO; }