thresholds: Add threshold alarm signals

Define signals on every sensor threshold interface that can be sent when
a threshold alarm value changes.  The signal contains the sensor value
that caused the alarm change.

<Threshold Name>HighAlarmAsserted:
 * Sent when the Warning/Critical/etc AlarmHigh property is asserted

<Threshold Name>HighAlarmDeasserted:
 * Sent when the Warning/Critical/etc AlarmHigh property is deasserted

<Threshold Name>LowAlarmAsserted:
 * Sent when the Warning/Critical/etc AlarmLow property is asserted

<Threshold Name>LowAlarmDeasserted:
 * Sent when the Warning/Critical/etc AlarmLow property is deasserted

The threshold name, like 'Critical', is in the property name so that the
generated C++ names are unique and a class can implement multiple
thresholds at once.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ib58fccc5fcb71a55a79ac74c0113326bd8e40219
diff --git a/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml b/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml
index bf6c4fd..4987414 100644
--- a/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml
+++ b/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml
@@ -45,3 +45,37 @@
 
           HardShutdownAlarmLow may be set to False to clear an alarm condition.
           The behavior of setting HardShutdownAlarmLow to True is undefined.
+
+signals:
+    - name: HardShutdownHighAlarmAsserted
+      description: >
+          The high threshold alarm asserted.
+      properties:
+         - name: SensorValue
+           type: double
+           description: >
+               The sensor value that triggered the alarm change.
+    - name: HardShutdownHighAlarmDeasserted
+      description: >
+          The high threshold alarm deasserted.
+      properties:
+         - name: SensorValue
+           type: double
+           description: >
+               The sensor value that triggered the alarm change.
+    - name: HardShutdownLowAlarmAsserted
+      description: >
+          The low threshold alarm asserted.
+      properties:
+         - name: SensorValue
+           type: double
+           description: >
+               The sensor value that triggered the alarm change.
+    - name: HardShutdownLowAlarmDeasserted
+      description: >
+          The low threshold alarm deasserted.
+      properties:
+         - name: SensorValue
+           type: double
+           description: >
+               The sensor value that triggered the alarm change.