aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.IDE.UI/MainWindowVM.cs
blob: 2ced386b339999a5f8e8e2aef5088648a9c7bddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.SharedUI;

namespace Tango.Scripting.IDE.UI
{
    public class MainWindowVM : ViewModel
    {
        public ScriptIDEViewVM IdeVM { get; set; }

        public MainWindowVM()
        {
            IdeVM = new ScriptIDEViewVM();
        }
    }
}
n class="p">; using System.Text; using System.Threading.Tasks; using Tango.Core; using Tango.PMR.ColorLab; using Tango.SharedUI; namespace Tango.MachineStudio.RML.ViewModels { public class CalibrationDataPointVM : ExtendedObject { private double _x; public double X { get { return _x; } set { _x = value; RaisePropertyChangedAuto(); } } private double _y; public double Y { get { return _y; } set { _y = value; RaisePropertyChangedAuto(); } } private int _index; public int Index { get { return _index; } set { _index = value; RaisePropertyChangedAuto(); } } public CalibrationDataPointVM() { } public CalibrationDataPointVM(double x, double y) { X = x; Y = y; } public CalibrationDataPointVM(CalibrationPoint calibrationPoint) : this(calibrationPoint.X, calibrationPoint.Y) { } public CalibrationPoint ToPMR() { return new CalibrationPoint() { X = X, Y = Y, }; } } }