aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/Entities/HardwareSpeedSensorBase.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-03-04 15:49:59 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-03-04 15:49:59 +0200
commit1746d2c7f601f44c23399aa6d19661fb7ff937ec (patch)
tree829c2a33a7b5c67696c683df5a11780fae620fae /Software/Visual_Studio/Tango.BL/Entities/HardwareSpeedSensorBase.cs
parent56b984bf7c4785cd0bcfd45a174ea802c6d0d471 (diff)
downloadTango-1746d2c7f601f44c23399aa6d19661fb7ff937ec.tar.gz
Tango-1746d2c7f601f44c23399aa6d19661fb7ff937ec.zip
Fixed several issues with PPC.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities/HardwareSpeedSensorBase.cs')
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/HardwareSpeedSensorBase.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/HardwareSpeedSensorBase.cs b/Software/Visual_Studio/Tango.BL/Entities/HardwareSpeedSensorBase.cs
index 36a74c15b..4399c8557 100644
--- a/Software/Visual_Studio/Tango.BL/Entities/HardwareSpeedSensorBase.cs
+++ b/Software/Visual_Studio/Tango.BL/Entities/HardwareSpeedSensorBase.cs
@@ -56,6 +56,7 @@ namespace Tango.BL.Entities
if (_hardwarespeedsensortypeguid != value)
{
_hardwarespeedsensortypeguid = value;
+
}
}
}
@@ -81,6 +82,7 @@ namespace Tango.BL.Entities
if (_hardwareversionguid != value)
{
_hardwareversionguid = value;
+
}
}
}
@@ -187,6 +189,11 @@ namespace Tango.BL.Entities
{
_hardwarespeedsensortype = value;
+ if (HardwareSpeedSensorType != null)
+ {
+ HardwareSpeedSensorTypeGuid = HardwareSpeedSensorType.Guid;
+ }
+
OnHardwareSpeedSensorTypeChanged(value);
}
@@ -214,6 +221,11 @@ namespace Tango.BL.Entities
{
_hardwareversion = value;
+ if (HardwareVersion != null)
+ {
+ HardwareVersionGuid = HardwareVersion.Guid;
+ }
+
OnHardwareVersionChanged(value);
}