public LineRoadSurface(LineRoadDrawingModel lineRoadDrawingModel) { _lineRoadDrawingModel = lineRoadDrawingModel; _jdCount = FrameDesign.JdStrLst.Count(); _ptStart = _lineRoadDrawingModel.PtStart; _lineRoadModel = lineRoadDrawingModel.LineRoadStruc; _jdLst = lineRoadDrawingModel.LineRoadJdLst; //2560-2590 2660-2690 _lineroadwidth = lineRoadDrawingModel.LineRoadStruc.LineRoadWidth; }
public static LineRoadSurface CreateLRSurfaceInstance(LineRoadDrawingModel lineRoadDrawingModel) { if (lineRoadDrawingModel.LineRoadStruc.LineRoadStyle.Equals(LineRoadStyle.JingShenLineRoad)) { return(new JSLineRoadSurfaceBuild(lineRoadDrawingModel)); } else { return(new StandardLineRoadSurfaceBuild(lineRoadDrawingModel)); } }
public static LineRoadDrawingModel BuildLineRoadDrawingModel(LineRoadDesignClass lineRoadModel, LineRoadControlData lineRoadControlData) { LineRoadDrawingModel lineRoadDrawingModel = new LineRoadDrawingModel(); lineRoadDrawingModel.LineRoadStruc = lineRoadModel; lineRoadDrawingModel.LineRoadJdLst = lineRoadControlData.LineRoadJDStructLst; if (lineRoadControlData.LineRoadJDStructLst.Count() > 0) { if (null != lineRoadControlData.LineRoadJDStructLst && lineRoadControlData.LineRoadJDStructLst.Count() > 0) { lineRoadDrawingModel.PtStart = lineRoadControlData.LineRoadJDStructLst[0].JDPtStart; } } return(lineRoadDrawingModel); }
public StandardLineRoadBuilderImpl(LineRoadDrawingModel lineRoadDrawingModel) : base(lineRoadDrawingModel) { }
public LineRoadBuilder(LineRoadDrawingModel lineRoadDrawingModel) { this.lineRoadDrawingModel = lineRoadDrawingModel; }
public JingShenLineRoadBuilderImpl(LineRoadDrawingModel lineRoadDrawingModel) : base(lineRoadDrawingModel) { }
public JSLineRoadSurfaceBuild(LineRoadDrawingModel lineRoadDrawingModel) : base(lineRoadDrawingModel) { }
public static LineRoadBuilder CreateLineRoadInstance(LineRoadStyle lineRoadStyle, LineRoadDrawingModel lineRoadDrawingModel) { //画线道在这里,包括画井深,普通的,还有刻度 if (lineRoadStyle.Equals(LineRoadStyle.StandardLineRoad)) { return(new StandardLineRoadBuilderImpl(lineRoadDrawingModel)); } else if (lineRoadStyle.Equals(LineRoadStyle.JingShenLineRoad)) { return(new JingShenLineRoadBuilderImpl(lineRoadDrawingModel)); } else { return(new StandardLineRoadBuilderImpl(lineRoadDrawingModel)); } }
public StandardLineRoadSurfaceBuild(LineRoadDrawingModel lineRoadDrawingModel) : base(lineRoadDrawingModel) { }