aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentCollectionCompareResult.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-09-02 14:44:32 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-09-02 14:44:32 +0300
commit401103a9f735c0179d53144b7cee3c88e3445240 (patch)
treeff08b899c82640285215fb1d5418c7f9d4578a57 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentCollectionCompareResult.cs
parentc45e816908048bb7b621759c0b0f1391d7d85b0b (diff)
parentd07b62cf2e014da6f7c7226ce7ff017542161708 (diff)
downloadTango-401103a9f735c0179d53144b7cee3c88e3445240.tar.gz
Tango-401103a9f735c0179d53144b7cee3c88e3445240.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentCollectionCompareResult.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentCollectionCompareResult.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentCollectionCompareResult.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentCollectionCompareResult.cs
new file mode 100644
index 000000000..c3c370f7a
--- /dev/null
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Comparison/HardwareComponentCollectionCompareResult.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Tango.Core;
+
+namespace Tango.MachineStudio.HardwareDesigner.Comparison
+{
+ public class HardwareComponentCollectionCompareResult
+ {
+ public String CollectionName { get; set; }
+
+ public SynchronizedObservableCollection<HardwareComponentCompareResult> Components { get; set; }
+
+ public bool HasDifferences
+ {
+ get
+ {
+ return Components.Any(item => item.HasDifferences);
+ }
+ }
+
+ public HardwareComponentCollectionCompareResult()
+ {
+ Components = new SynchronizedObservableCollection<HardwareComponentCompareResult>();
+ }
+ }
+}