aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentPropertyResult.cs
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2019-10-10 13:57:49 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2019-10-10 13:57:49 +0300
commitf3feeac903885d92ea5828d68fc91654db62bea9 (patch)
tree9d7bedb8eb10e2fca3d95548fd704452a4c560e1 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentPropertyResult.cs
parent07280066f97510892838c451bee6c066a7591131 (diff)
downloadTango-f3feeac903885d92ea5828d68fc91654db62bea9.tar.gz
Tango-f3feeac903885d92ea5828d68fc91654db62bea9.zip
Added comments to hardware comparison code.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentPropertyResult.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentPropertyResult.cs28
1 files changed, 26 insertions, 2 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentPropertyResult.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentPropertyResult.cs
index d57413af1..f2e006270 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentPropertyResult.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentPropertyResult.cs
@@ -6,13 +6,37 @@ using System.Threading.Tasks;
namespace Tango.MachineStudio.HardwareDesigner.Comparison
{
- public class HardwareComponentPropertyResult
+ /// <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 IsDifferent
+ public bool HasDifferences
{
get { return Value1 != Value2; }
}