aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-11-06 12:37:53 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-11-06 12:37:53 +0200
commit2cb8d17ae242f2570bf599147c4ae51cdb6a5131 (patch)
treea68ac3993e3ce3233bf1118a018f3415b2208a29 /Software/Visual_Studio/Utilities
parente62a6eef152e02ce5aff62238401280d2cd3c995 (diff)
downloadTango-2cb8d17ae242f2570bf599147c4ae51cdb6a5131.tar.gz
Tango-2cb8d17ae242f2570bf599147c4ae51cdb6a5131.zip
removing two columns from the alarm table and alarm generator
Diffstat (limited to 'Software/Visual_Studio/Utilities')
-rw-r--r--Software/Visual_Studio/Utilities/Tango.AlarmParametersGenerator/Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.AlarmParametersGenerator/Program.cs b/Software/Visual_Studio/Utilities/Tango.AlarmParametersGenerator/Program.cs
index a18befe34..2972b4892 100644
--- a/Software/Visual_Studio/Utilities/Tango.AlarmParametersGenerator/Program.cs
+++ b/Software/Visual_Studio/Utilities/Tango.AlarmParametersGenerator/Program.cs
@@ -94,13 +94,13 @@ namespace Tango.AlarmParametersGenerator
AlarmHandlingItem alarm = new AlarmHandlingItem();
alarm.AlarmSource = item.Source.ToEnum<AlarmSourceType>();
- alarm.Frequency = item.Frequency.ToUint();
+ //alarm.Frequency = item.Frequency.ToUint();
alarm.DeviceId = item.DeviceId.ToUint();
alarm.ModuleDeviceId = item.ApplicationDeviceID.ToUint();
alarm.AlarmValue = item.Criteria.ToUint();
alarm.AlarmDirection = item.Direction.ToBoolean();
alarm.Severity = item.Severity.ToEnum<DebugLogCategory>();
- alarm.Predecessor = item.Predeccesor.ToUint();
+ //alarm.Predecessor = item.Predeccesor.ToUint();
alarm.DebounceValue = item.DebounceValue.ToUint();
alarm.EventType = (EventType)item.Code.ToUint();
alarm.IsPersistent = item.Persistent.ToBooleanYesNo();