public PipeNeedNoticeItem(string key, PipeNeedNotice needNotice, Digger digger, PipeType pipeType)
     : base(key)
 {
     this.PipeNeedNotice = needNotice;
     this.Digger = digger;
     this.PipeType = pipeType;
 }
Beispiel #2
0
        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 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;
        }