ICoverCalibratorV2 Interface

CoverCalibrtator interface version 2, which incorporates the new members in IAscomDeviceV2, the members present in ICameraV3 plus new CalibratorRead and CoverMoving properties

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public interface ICoverCalibratorV2 : IAscomDeviceV2, 
	IAscomDevice, ICoverCalibratorV1
Implements
IAscomDevice, IAscomDeviceV2, ICoverCalibratorV1

Properties

Brightness Returns the current calibrator brightness in the range 0 (completely off) to MaxBrightness (fully on)
(Inherited from ICoverCalibratorV1)
CalibratorChanging True while the calibrator brightness is not stable.
CalibratorState Returns the state of the calibration device, if present, otherwise returns "NotPresent"
(Inherited from ICoverCalibratorV1)
Connected Set True to enable the link. Set False to disable the link. You can also read the property to check whether it is connected.
(Inherited from IAscomDevice)
Connecting Completion variable for asynchronous connect and disconnect operations
(Inherited from IAscomDeviceV2)
CoverMoving True while the cover is in motion.
CoverState Returns the state of the device cover, if present, otherwise returns "NotPresent"
(Inherited from ICoverCalibratorV1)
Description Returns a description of the driver, such as manufacturer and model number.
(Inherited from IAscomDevice)
DeviceState Returns the device's operational state in a single call
(Inherited from IAscomDeviceV2)
DriverInfo Descriptive and version information about this ASCOM driver.
(Inherited from IAscomDevice)
DriverVersion A string in the form "n.n" containing only the major and minor version of the driver.
(Inherited from IAscomDevice)
InterfaceVersion The interface version number that this device implements.
(Inherited from IAscomDevice)
MaxBrightness The Brightness value that makes the calibrator deliver its maximum illumination.
(Inherited from ICoverCalibratorV1)
Name The short name of the driver, for display purposes
(Inherited from IAscomDevice)
SupportedActions Returns the list of action names supported by this driver.
(Inherited from IAscomDevice)

Methods

Action Invokes the specified device-specific action.
(Inherited from IAscomDevice)
CalibratorOff Turns the calibrator off if the device has calibration capability
(Inherited from ICoverCalibratorV1)
CalibratorOn Turns the calibrator on at the specified brightness if the device has calibration capability
(Inherited from ICoverCalibratorV1)
CloseCover Initiates cover closing if a cover is present
(Inherited from ICoverCalibratorV1)
CommandBlind Transmits an arbitrary string to the device and does not wait for a response. Optionally, protocol framing characters may be added to the string before transmission.
(Inherited from IAscomDevice)
CommandBool Transmits an arbitrary string to the device and waits for a boolean response. Optionally, protocol framing characters may be added to the string before transmission.
(Inherited from IAscomDevice)
CommandString Transmits an arbitrary string to the device and waits for a string response. Optionally, protocol framing characters may be added to the string before transmission.
(Inherited from IAscomDevice)
Connect Connect to device asynchronously
(Inherited from IAscomDeviceV2)
Disconnect Disconnect from device asynchronously
(Inherited from IAscomDeviceV2)
Dispose This method is a "clean-up" method that is primarily of use to drivers that are written in languages such as C# and VB.NET where resource clean-up is initially managed by the language's runtime garbage collection mechanic. Driver authors should take care to ensure that a client or runtime calling Dispose() does not adversely affect other connected clients. Applications should not call this method.
(Inherited from IAscomDevice)
HaltCover Stops any cover movement that may be in progress if a cover is present and cover movement can be interrupted.
(Inherited from ICoverCalibratorV1)
OpenCover Initiates cover opening if a cover is present
(Inherited from ICoverCalibratorV1)

Extension Methods

CalibratorOffAsync Returns an awaitable, running, Task that turns the calibrator off
(Defined by ClientExtensions)
CalibratorOnAsync Returns an awaitable, running, Task that turns the calibrator on
(Defined by ClientExtensions)
CloseCoverAsync Returns an awaitable, running, Task that closes the cover
(Defined by ClientExtensions)
ConnectAsync Returns an awaitable, running, Task that connects to the device. (Polls IAscomDeviceV2.Connecting)
(Defined by ClientExtensions)
DisconnectAsync Returns an awaitable, running, Task that disconnects from the device. (Polls IAscomDeviceV2.Connecting)
(Defined by ClientExtensions)
HaltCoverAsync Returns an awaitable, running, Task that halts cover movement
(Defined by ClientExtensions)
OpenCoverAsync Returns an awaitable, running, Task that opens the cover
(Defined by ClientExtensions)

Version Information

.NET Standard

Supported in: 2.0

See Also