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