ISafetyMonitorV4SetExternalEvents 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
C#
void SetExternalEvents(
	IEnumerable<SafetyEvent> safetyEventList
)

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

MethodNotImplementedExceptionwhen the device does not support management of external events.
NotConnectedExceptionWhen the device is not connected.
DriverExceptionAn 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.

See Also