aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/ViewModels
diff options
context:
space:
mode:
authorRoy <roy.mail.net@gmail.com>2018-01-20 21:30:53 +0200
committerRoy <roy.mail.net@gmail.com>2018-01-20 21:30:53 +0200
commitbc2d3eb5ec8c7176627dcb8f5c02cc085b2db584 (patch)
treee2d690486b4546fc73e81cfbe15526a36b86e232 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/ViewModels
parent215127ecf2b971a7164ab303f09de74e56c970f4 (diff)
downloadTango-bc2d3eb5ec8c7176627dcb8f5c02cc085b2db584.tar.gz
Tango-bc2d3eb5ec8c7176627dcb8f5c02cc085b2db584.zip
Implemented new CATS.
Implemented Process Parameters View on DB Module. Implemented RML Process Parameters View on DB Module. Modified DB Module table initials letter casing. Moved observables generator to CLI.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/ViewModels')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/ViewModels/MachineVersionDialogVM.cs10
1 files changed, 2 insertions, 8 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/ViewModels/MachineVersionDialogVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/ViewModels/MachineVersionDialogVM.cs
index 6854472f1..3776a5e91 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/ViewModels/MachineVersionDialogVM.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/ViewModels/MachineVersionDialogVM.cs
@@ -12,7 +12,7 @@ namespace Tango.MachineStudio.MachineDesigner.ViewModels
{
public class MachineVersionDialogVM : DialogViewVM
{
- public MachineVersionsProvider VersionsProvider { get; set; }
+ public ObservablesEntitiesAdapter Adapter { get; set; }
public double Version { get; set; }
@@ -44,16 +44,10 @@ namespace Tango.MachineStudio.MachineDesigner.ViewModels
public MachineVersionDialogVM()
{
- VersionsProvider = new MachineVersionsProvider();
+ Adapter = ObservablesEntitiesAdapter.Instance;
AcceptCommand = new RelayCommand(() =>
{
- if (SelectedVersion == null)
- {
- Version = double.Parse(VersionsProvider.Text);
- }
-
Accept();
-
});
CancelCommand = new RelayCommand(Cancel);
}