コード例 #1
0
        public void Init()
        {
            this.CScanModel = new PlotModel
            {
                Title         = "Карта с положением приемных установок",
                TitleFontSize = 15
            };
            this.DScanModel = new PlotModel
            {
                Title         = "Диаграмма",
                TitleFontSize = 15
            };
            this.DataCursor = new CircleCursor(this.CScanModel);

            this.GateCursor1 = new GateCursor(this.DScanModel);
            this.GateCursor2 = new GateCursor(this.DScanModel);

            this.DataCursor.CircleCursorParameterChanged += new EventHandler(UpdateDataCursorParameters);

            this.GateCursor1.GateCursorParameterChanged += new EventHandler(UpdateGateCursorParameters);
            this.GateCursor2.GateCursorParameterChanged += new EventHandler(UpdateGateCursorParameters);

            this.WearSurfaces = new List <WearSurfaceLine>();
        }
コード例 #2
0
        public void Init()
        {
            this.CScanModel = new PlotModel
            {
                Title         = "C-Scan",
                TitleFontSize = 30
            };
            this.DScanModel = new PlotModel
            {
                Title         = "D-Scan",
                TitleFontSize = 30
            };
            this.DataCursor = new CircleCursor(this.CScanModel);

            this.GateCursor1 = new GateCursor(this.DScanModel);
            this.GateCursor2 = new GateCursor(this.DScanModel);

            this.DataCursor.CircleCursorParameterChanged += new EventHandler(UpdateDataCursorParameters);

            this.GateCursor1.GateCursorParameterChanged += new EventHandler(UpdateGateCursorParameters);
            this.GateCursor2.GateCursorParameterChanged += new EventHandler(UpdateGateCursorParameters);

            this.WearSurfaces = new List <WearSurfaceLine>();
        }