aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModels/LinearMassDensityUnitsViewVM.cs
blob: 7488eb3277725538dad2d3a4e14adb8e6d477f81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;
using Tango.MachineStudio.Common.Notifications;

namespace Tango.MachineStudio.DB.ViewModels
{
    public class LinearMassDensityUnitsViewVM : DbTableViewModel<LinearMassDensityUnit>
    {
        public LinearMassDensityUnitsViewVM(INotificationProvider notification) : base(notification)
        {
        }
    }
}
t;Tango.SharedUI.ViewModel" /> public class MenuViewVM : ViewModel { private SyncNavigationManager _navigation; /// <summary> /// Initializes a new instance of the <see cref="MenuViewVM"/> class. /// </summary> /// <param name="navigation">The navigation.</param> public MenuViewVM(SyncNavigationManager navigation) { _navigation = navigation; StartLocalSyncCommand = new RelayCommand(() => { _navigation.NavigateTo(NavigationView.LocalSynchronizationView); }); StartRemoteSyncCommand = new RelayCommand(() => { _navigation.NavigateTo(NavigationView.RemoteSynchronizationView); }); StartDirectRemoteSyncCommand = new RelayCommand(() => { _navigation.NavigateTo(NavigationView.DirectSynchronizationView); }); } /// <summary> /// Gets or sets the start local synchronize command. /// </summary> public RelayCommand StartLocalSyncCommand { get; set; } /// <summary> /// Gets or sets the start remote synchronize command. /// </summary> public RelayCommand StartRemoteSyncCommand { get; set; } /// <summary> /// Gets or sets the start direct remote synchronize command. /// </summary> public RelayCommand StartDirectRemoteSyncCommand { get; set; } } }