aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/packages.config
blob: 003892dd359791a421bdbcc097001e1832e0402c (plain)
1
2
3
4
5
6
7
8
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.MachineStudio.HardwareDesigner.Comparison
{
    /// <summary>
    /// class HardwareComponentPropertyResult contains 2 values of a property for the comparison hardware versions 
    /// </summary>
    /// <seealso cref="Tango.MachineStudio.HardwareDesigner.Comparison.IHasDifference" />
    public class HardwareComponentPropertyResult: IHasDifference
    {
        /// <summary>
        /// Gets or sets the name of the property.
        /// </summary>
        /// <value>
        /// The name of the property.
        /// </value>
        public String PropertyName { get; set; }

        /// <summary>
        /// Gets or sets the value1 of one ( left panel) hardware version
        /// </summary>
        /// <value>
        /// The value1.
        /// </value>
        public String Value1 { get; set; }

        /// <summary>
        /// Gets or sets the value2 of the second ( right panel) hardware version
        /// </summary>
        /// <value>
        /// The value2.
        /// </value>
        public String Value2 { get; set; }

        public bool HasDifferences
        {
            get { return Value1 != Value2; }
        }
    }
}