コード例 #1
0
ファイル: LineSections.cs プロジェクト: PeletonSoft/Orders
 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);
 }
コード例 #2
0
ファイル: SplintComponent.cs プロジェクト: PeletonSoft/Orders
 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;
 }
コード例 #3
0
ファイル: Lines.cs プロジェクト: PeletonSoft/Orders
 public Enumerator(dsLines dsLines, dsSplints dsSplints)
 {
     Index = -1;
     this.dsLines = dsLines;
     this.dsSplints = dsSplints;
 }
コード例 #4
0
ファイル: Lines.cs プロジェクト: PeletonSoft/Orders
 public Lines(dsLines dsLines, dsSplints dsSplints)
 {
     this.dsLines = dsLines;
     this.dsSplints = dsSplints;
 }
コード例 #5
0
ファイル: Point.cs プロジェクト: PeletonSoft/Orders
 public Point(dsLines dsLines, int LineId, int Numer)
 {
     this.dsLines = dsLines;
     Its_LineId = LineId;
     N = Numer;
 }
コード例 #6
0
ファイル: Section.cs プロジェクト: PeletonSoft/Orders
 public Section(dsLines dsLines, int ID)
 {
     Its_ID = ID;
     this.dsLines = dsLines;
     Calc();
 }
コード例 #7
0
ファイル: JunctSection.cs プロジェクト: PeletonSoft/Orders
 public JunctSection(dsLines dsLines, int ID)
     : base(dsLines, ID)
 {
 }
コード例 #8
0
ファイル: Side.cs プロジェクト: PeletonSoft/Orders
 public Side(dsLines dsLines, int ID)
 {
     this.dsLines = dsLines;
     this.Its_Id = ID;
 }
コード例 #9
0
ファイル: ArcSection.cs プロジェクト: PeletonSoft/Orders
 public ArcSection(dsLines dsLines, int ID)
     : base(dsLines, ID)
 {
 }
コード例 #10
0
ファイル: Line.cs プロジェクト: PeletonSoft/Orders
 public Enumerator(dsLines dsLines, dsSplints Splints, int LineId)
 {
     this.dsLines = dsLines;
     this.LineId = LineId;
     this.dsSplints = Splints;
     Index = -1;
 }
コード例 #11
0
ファイル: Line.cs プロジェクト: PeletonSoft/Orders
 public Line(dsLines dsLines, dsSplints dsSplints, int ID)
 {
     this.dsLines = dsLines;
     this.dsSplints = dsSplints;
     LineId = ID;
 }
コード例 #12
0
ファイル: LengthSection.cs プロジェクト: PeletonSoft/Orders
 public LengthSection(dsLines dsLines, int ID)
     : base(dsLines, ID)
 {
 }