aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Messages/MachineConnectionChangedMessage.cs
blob: af36f2edf614fca74590dcc8ceb42279829ced4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Integration.ExternalBridge;

namespace Tango.MachineStudio.Common.Messages
{
    public class MachineConnectionChangedMessage : IStudioMessage
    {
        public IExternalBridgeClient Machine { get; set; }
    }
}
>class ComboBoxVisibleConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if(value is RMLExtensionStatus) { RMLExtensionStatus enumerationMember = (RMLExtensionStatus)value; if (enumerationMember == RMLExtensionStatus.New) return true; } return false; } public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { throw new NotImplementedException(); } } }