public PipeNeedNoticeItem(string key, PipeNeedNotice needNotice, Digger digger, PipeType pipeType) : base(key) { this.PipeNeedNotice = needNotice; this.Digger = digger; this.PipeType = pipeType; }
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 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 void CacheLoaded() { if (this.PipeNeedNotice != null) this.PipeNeedNotice = RepositoryFactory.GetRepository<IPipeNeedNoticeRepository, PipeNeedNotice>().FindBy(this.PipeNeedNotice.Key); if (this.Digger != null) this.Digger = RepositoryFactory.GetRepository<IDiggerRepository, Digger>().FindBy(this.Digger.Key); if (this.PipeType != null) this.PipeType = RepositoryFactory.GetRepository<IPipeTypeRepository, PipeType>().FindBy(this.PipeType.Key); }
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 static bool Exist(PipeType model) { return RepositoryFactory.GetRepository<IPipeTypeRepository, PipeType>().FindBy(model.Code) != null; }
public static bool CanDelte(PipeType pipeType) { return false; }
public void CopyTo(PipeType pt) { if (pt == null) { throw new ArgumentNullException("pt"); } pt.Name = this.Name; pt.ExternalDiameter = this.ExternalDiameter; pt.Thickness = this.Thickness; pt.SteelLevel = this.SteelLevel; pt.Screw = this.Screw; pt.AvgWeiht = this.AvgWeiht; pt.ConnectorLength = this.ConnectorLength; pt.IsCheckThickness = this.IsCheckThickness; pt.ThicknessUnit = this.ThicknessUnit; pt.ThincknessStandard = this.ThincknessStandard; pt.IsCheckAppearance = this.IsCheckAppearance; pt.StraightStandard = this.StraightStandard; pt.IsCheckUnBlock = this.IsCheckUnBlock; pt.UnBlockUnit = this.UnBlockUnit; pt.UnBlockStandard = this.UnBlockStandard; pt.IsCheckPressure = this.IsCheckPressure; pt.PressureDetectUnit = this.PressureDetectUnit; pt.PressureDetectStandard = this.PressureDetectStandard; pt.PressureHoldUnit = this.PressureHoldUnit; pt.PressureHoldStandard = this.PressureHoldStandard; pt.IsCheckCloseness = this.IsCheckCloseness; pt.MalePStandard = this.MalePStandard; pt.FemaleAStandard = this.FemaleAStandard; pt.IsCheckCrack = this.IsCheckCrack; pt.IsNeedMark = this.IsNeedMark; pt.OtherCheckItems = this.OtherCheckItems; pt.TotalLength = this.TotalLength; pt.TotalWeight = this.TotalWeight; pt.TotalCount = this.TotalCount; pt.ERPCode = this.ERPCode; }
public PipeTypeCount(PipeType pipeType, long count) { this.PipeType = pipeType; this.Count = count; }
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; }