ISafety Monitor V 4Set External Events Method
Adds a list of SafetyEvent objects to the list returned by SafetyEvents.
Definition
Namespace: SafetyMonitorExtension
Assembly: SafetyMonitoExtension (in SafetyMonitoExtension.dll) Version: 0.1+d75ea7ab874235e354c93329218ac96a84f66202
Assembly: SafetyMonitoExtension (in SafetyMonitoExtension.dll) Version: 0.1+d75ea7ab874235e354c93329218ac96a84f66202
C#
void SetExternalEvents(
IEnumerable<SafetyEvent> safetyEventList
)VB
Sub SetExternalEvents (
safetyEventList As IEnumerable(Of SafetyEvent)
)Parameters
- safetyEventList IEnumerableSafetyEvent
- An enumerable list of SafetyEvent objects to be added to the current safety event list.
Remarks
This is an optional method and can report a not implemented error.
If an event already exists in the safety monitor's external events list, based on its EventId, the stored value must be updated with the revised information. i.e. the list returned by SafetyEvents must not contain entries with duplicate Id values.
See Action Implementation Notes for information on how clients, Alpaca devices and drivers should implement this method.
Exceptions
| MethodNotImplementedException | when the device does not support management of external events. |
| NotConnectedException | When the device is not connected. |
| DriverException | An error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself. |