Exemple #1
0
 public static Section SectionByID(dsLines dsLines, int ID)
 {
     dsLines.tbLineSectionsRow rw = dsLines.tbLineSections.FindByКод(ID);
     if (rw == null)
         return null;
     if (rw.Длина < 0.001)
         return new JunctSection(dsLines, ID);
     if (Math.Abs(rw.Угол) < 0.01)
         return new LineSection(dsLines, ID);
     return new ArcSection(dsLines, ID);
 }
 public SplintComponent(dsSplints dsSplints, dsLines dsLines, int ComponentId,
     SplintContourType StartType, double Value, int Numer, int LineId)
 {
     this.dsLines = dsLines;
     this.dsSplints = dsSplints;
     this.ComponentId = ComponentId;
     starttype = StartType;
     value = Value;
     numer = Numer;
     this.LineId = LineId;
 }
Exemple #3
0
 public Enumerator(dsLines dsLines, dsSplints dsSplints)
 {
     Index = -1;
     this.dsLines = dsLines;
     this.dsSplints = dsSplints;
 }
Exemple #4
0
 public Lines(dsLines dsLines, dsSplints dsSplints)
 {
     this.dsLines = dsLines;
     this.dsSplints = dsSplints;
 }
Exemple #5
0
 public Point(dsLines dsLines, int LineId, int Numer)
 {
     this.dsLines = dsLines;
     Its_LineId = LineId;
     N = Numer;
 }
Exemple #6
0
 public Section(dsLines dsLines, int ID)
 {
     Its_ID = ID;
     this.dsLines = dsLines;
     Calc();
 }
Exemple #7
0
 public JunctSection(dsLines dsLines, int ID)
     : base(dsLines, ID)
 {
 }
Exemple #8
0
 public Side(dsLines dsLines, int ID)
 {
     this.dsLines = dsLines;
     this.Its_Id = ID;
 }
Exemple #9
0
 public ArcSection(dsLines dsLines, int ID)
     : base(dsLines, ID)
 {
 }
Exemple #10
0
 public Enumerator(dsLines dsLines, dsSplints Splints, int LineId)
 {
     this.dsLines = dsLines;
     this.LineId = LineId;
     this.dsSplints = Splints;
     Index = -1;
 }
Exemple #11
0
 public Line(dsLines dsLines, dsSplints dsSplints, int ID)
 {
     this.dsLines = dsLines;
     this.dsSplints = dsSplints;
     LineId = ID;
 }
Exemple #12
0
 public LengthSection(dsLines dsLines, int ID)
     : base(dsLines, ID)
 {
 }