aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModels/FiberSynthsViewVM.cs
blob: 861ca0f3f63b81d95dd838a77d250d3e3769bdb6 (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 FiberSynthsViewVM : DbTableViewModel<FiberSynth>
    {
        public FiberSynthsViewVM(INotificationProvider notification) : base(notification)
        {
        }
    }
}
lt contains collection of HardwareComponentPropertyResult /// </summary> /// <seealso cref="Tango.MachineStudio.HardwareDesigner.Comparison.IHasDifference" /> public class HardwareComponentCompareResult: IHasDifference { public String ComponentName { get; set; } /// <summary> /// Gets or sets a value indicating whether this instance has component1 of a hardware version ( from left panel). /// </summary> /// <value> /// <c>true</c> if this instance has component1; otherwise, <c>false</c>. /// </value> public bool HasComponent1 { get; set; } /// <summary> /// Gets or sets a value indicating whether this instance has component2 of a hardware version ( from right panel). /// </summary> /// <value> /// <c>true</c> if this instance has component2; otherwise, <c>false</c>. /// </value> public bool HasComponent2 { get; set; } public SynchronizedObservableCollection<HardwareComponentPropertyResult> Properties { get; set; } public bool HasDifferences { get { return Properties.Any(item => item.HasDifferences); } } public HardwareComponentCompareResult() { Properties = new SynchronizedObservableCollection<HardwareComponentPropertyResult>(); } } }