Exemple #1
0
 public Pipe(String name, String info, IConcreteShape start, IConcreteShape end)
 {
     this.Name = name;
     this.Info = info;
     this.Start = start;
     this.End = end;
 }
Exemple #2
0
 public Pipe(IConcreteShape start, IConcreteShape end)
 {
     this.Name = "管道" + NUM++;
     this.Info = "无";
     this.Start = start;
     this.End = end;
 }
Exemple #3
0
 public Pipe(String name, String info, IConcreteShape start, IConcreteShape end)
 {
     this.Name  = name;
     this.Info  = info;
     this.Start = start;
     this.End   = end;
 }
Exemple #4
0
 public Pipe(IConcreteShape start, IConcreteShape end)
 {
     this.Name  = "管道" + NUM++;
     this.Info  = "无";
     this.Start = start;
     this.End   = end;
 }
Exemple #5
0
 public RainPipe(String name, String info, IConcreteShape start, IConcreteShape end)
     : base(name, info, start, end)
 {
     if (pipeInfo == null)
     {
         pipeInfo = new CPipeInfo();
         pipeInfo.Pipe_Category = (int)PIPETYPE.PIPE_RAIN;
     }
 }
Exemple #6
0
 public WastePipe(String name, String info, IConcreteShape start, IConcreteShape end)
     : base(name, info, start, end)
 {
     if (pipeInfo == null)
     {
         pipeInfo = new CPipeInfo();
         pipeInfo.Pipe_Category = (int)PIPETYPE.PIPE_WASTE;
     }
 }
Exemple #7
0
 public RainPipe(IConcreteShape start, IConcreteShape end)
     : base(start, end)
 {
     if (pipeInfo == null)
     {
         pipeInfo = new CPipeInfo();
         pipeInfo.Pipe_Category = (int)PIPETYPE.PIPE_RAIN;
     }
 }
Exemple #8
0
 public WastePipe(IConcreteShape start, IConcreteShape end)
     : base(start, end)
 {
     if (pipeInfo == null)
     {
         pipeInfo = new CPipeInfo();
         pipeInfo.Pipe_Category = (int)PIPETYPE.PIPE_WASTE;
     }
 }