ICoverCalibratorV1CloseCover Method

Initiates cover closing if a cover is present

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 2.2.1+77356f79b05b579f6d860a4edd5934fda9fe29e4
C#
void CloseCover()

Remarks

While the cover is closing CoverState must return Moving.

When the cover is closed CoverState must return Closed.

If an error condition arises while moving between states, CoverState must be set to Error rather than Unknown.

Exceptions

NotImplementedExceptionWhen CoverState returns NotPresent.
NotConnectedExceptionWhen Connected is False.
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.

Version Information

.NET Standard

Supported in: 2.0

See Also