using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.MachineStudio.HardwareDesigner.Comparison { /// /// class HardwareComponentPropertyResult contains 2 values of a property for the comparison hardware versions /// /// public class HardwareComponentPropertyResult: IHasDifference { /// /// Gets or sets the name of the property. /// /// /// The name of the property. /// public String PropertyName { get; set; } /// /// Gets or sets the value1 of one ( left panel) hardware version /// /// /// The value1. /// public String Value1 { get; set; } /// /// Gets or sets the value2 of the second ( right panel) hardware version /// /// /// The value2. /// public String Value2 { get; set; } public bool HasDifferences { get { return Value1 != Value2; } } } }