tx
2025-04-22 e0b138b3e057de6f57021e6c8963868f5c5acc5a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
using WW.Cad.Model.Entities;
using WW.Math;
 
namespace TProduct.PumpGraph.Dxf
{
    public partial class LxpFeatChart : FeatChart
    {
        // 额定点(倒三角形式)
        protected void DrawRatedPoint()
        {
            if (_ratedParas == null)
                return;
 
            if (!_isDrawRatedParasCurve)
                return;
 
            Point2D centerPt = new Point2D();
            centerPt.X = MapRealToPictQ(_ratedParas.Q);
            centerPt.Y = MapRealToPictH(_ratedParas.H);
 
 
            DxfLine lineH = new DxfLine(new Point2D(centerPt.X, centerPt.Y),
                   new Point2D(centerPt.X - 25, centerPt.Y));
            lineH.LineWeight = 35;
            lineH.Color = _designPointColor;
            _dxfFileModel.Entities.Add(lineH);
 
 
            DxfLine lineV = new DxfLine(new Point2D(centerPt.X, centerPt.Y),
                new Point2D(centerPt.X, centerPt.Y - 16));
            lineV.LineWeight = 35;
            lineV.Color = _designPointColor;
            _dxfFileModel.Entities.Add(lineV);
 
 
            DxfLine lineX1 = new DxfLine(new Point2D(centerPt.X, centerPt.Y - 16),
    new Point2D(centerPt.X - 25, centerPt.Y));
            lineX1.LineWeight = 35;
            lineX1.Color = _designPointColor;
            _dxfFileModel.Entities.Add(lineX1);
 
            DxfLine lineX2 = new DxfLine(new Point2D(centerPt.X, centerPt.Y - 11.26),
new Point2D(centerPt.X - 17.45, centerPt.Y));
            lineX2.LineWeight = 35;
            lineX2.Color = _designPointColor;
            _dxfFileModel.Entities.Add(lineX2);
 
 
            DxfLine lineX3 = new DxfLine(new Point2D(centerPt.X, centerPt.Y - 6.52),
new Point2D(centerPt.X - 10.1, centerPt.Y));
            lineX3.LineWeight = 35;
            lineX3.Color = _designPointColor;
            _dxfFileModel.Entities.Add(lineX3);
        }
 
    }
}