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