public PipeNeedNotice(string key, string code, DetectionCompany company, Account creator, DateTime dateCreated) : base(key) { this.Code = code; this.Company = company; this.Creator = creator; this.DateCreated = dateCreated; }
public ReportDetails(string key, DetectionCompany company, PipeType pipeType, Account reporter, DateTime datecreated) : base(key) { this.Company = company; this.Reporter = reporter; this.DateCreated = datecreated; this.PipeType = pipeType; }
public static bool CanDelete(DetectionCompany dc) { if (dc == null) { throw new ArgumentNullException("dc"); } if (dc.IsLocked) return false; return true; }
public DeliverNotice(int key, DetectionCompany company, Account creator, PipeType pipeType, DateTime dateCreated) : base(key) { this.Company = company; this.Creator = creator; this.DateCreated = dateCreated; this.PipeType = pipeType; }
public TransferTask(string key, PipeType pipeType, DetectionCompany company, Account creator, DateTime dateCreated, bool isSysTask) : base(key) { this.PipeType = pipeType; this.Company = company; this.DateCreated = dateCreated; this.Creator = creator; this.IsSystemTask = isSysTask; }
public TransferNotice(string key, DetectionCompany company, PipeType pipeType, PipePosition position,Account creator, DateTime dateCreated) : base(key) { this.Company = company; this.Creator = creator; this.DateCreated = dateCreated; this.PipeType = pipeType; this.Position = position; this.State = TransferNoticeState.Created; }
public AccountSearch(string name, Gender gender, DetectionCompany company, DetectionGroup group, int pageindex, int pagesize) : this() { this.Name = name; this.Gender = gender; this.Company = company; this.Group = group; this.PagingInfo = new PagingInfo(pageindex, pagesize); }
public AccountSearch(string name, Gender gender, DetectionCompany company, DetectionGroup group, PagingInfo pagingInfo) : this() { this.Name = name; this.Gender = gender; this.Company = company; this.Group = group; this.PagingInfo = pagingInfo; }
public OutgoingNotice(string key, DetectionCompany company, PipeType pipeType, Digger digger, Account creator, DateTime dateCreated) : base(key) { this.Company = company; this.Digger = digger; this.Creator = creator; this.DateCreated = dateCreated; this.PipeType = pipeType; this.State = OutgoingNoticeState.Created; }
public PipePosition(int key, DetectionCompany company, bool isLocked) : base(key) { this.company = company; this.isLocked = isLocked; }
public void CacheLoaded() { if (this.Company != null) this.company = RepositoryFactory.GetRepository<IDetectionCompanyRepository, DetectionCompany>().FindBy(this.company.Key); }
public DetectionGroup(string key, DetectionCompany company, DetectionGroupCategory category) : base(key) { this.company = company; this.category = category; }
public Pipe(long key, PipeType type, PipeCategory category, DetectionCompany company, PipeOwner owner, Producer producer, Supplier supplier, DeliverNotice notice, DeliverWaggon waggon) : base(key) { this.PipeType = type; this.Category = category; this.DetectionCompany = company; this.Owner = owner; this.Producer = producer; this.Supplier = supplier; this.DeliverNotice = notice; this.DeliverWaggon = waggon; }
public NormalCheckTask(string key, string code, DetectionCompany company, PipeType pipeTye, Digger targetDigger, TransferTask transferTask, Account creator, DateTime dateCreated) : base(key) { this.Code = code; this.Company = company; this.PipeType = pipeTye; this.TargetDigger = targetDigger; this.TransferTask = transferTask; this.Creator = creator; this.DateCreated = dateCreated; this.CheckPressureType = CheckPressureType.NotGiven; this.CheckBodyCrackType = PDCPMS.Model.NormalCheck.CheckBodyCrackType.NotGiven; }