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