aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Helpers/TimelineHelper.cs
blob: 6cfe51ba46adf9503e479dc41e32f6dd51f4a8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;

namespace Tango.MachineStudio.HardwareDesigner.Comparison
{
    /// <summary>
    /// class HardwareComponentCompareResult contains collection of HardwareC
pan>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>(); } } }