aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/IOVM.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-02-07 19:50:40 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-02-07 19:50:40 +0200
commit84a74bd9ea68a3f913e733a470ec64d1f8f50424 (patch)
treed49e0c3d705f592cb81087f46aa0e4c8dffa2ed7 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/IOVM.cs
parentb84ea5c89946d6e21ffa72f913cab3bec5f1d5c6 (diff)
downloadTango-84a74bd9ea68a3f913e733a470ec64d1f8f50424.tar.gz
Tango-84a74bd9ea68a3f913e733a470ec64d1f8f50424.zip
Started working on monitoring view..
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/IOVM.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/IOVM.cs47
1 files changed, 47 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/IOVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/IOVM.cs
new file mode 100644
index 000000000..83eee1333
--- /dev/null
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/IOVM.cs
@@ -0,0 +1,47 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Tango.Core;
+using Tango.Integration.Observables;
+
+namespace Tango.MachineStudio.Developer.ViewModels
+{
+ public class IOVM : ExtendedObject
+ {
+ private Io _io;
+ public Io IO
+ {
+ get { return _io; }
+ set { _io = value; RaisePropertyChangedAuto(); }
+ }
+
+ private String _name;
+ public String Name
+ {
+ get { return _name; }
+ set { _name = value; }
+ }
+
+ private bool _index;
+ public bool Index
+ {
+ get { return _index; }
+ set { _index = value; }
+ }
+
+ private double _value;
+ public double Value
+ {
+ get { return _value; }
+ set { _value = value; RaisePropertyChanged(nameof(Value)); }
+ }
+
+ public IOVM(Io io, String name)
+ {
+ IO = io;
+ Name = name;
+ }
+ }
+}