AlpacaRotator(ServiceType, String, Int32, Int32, Boolean, ILogger) Constructor
Create a client for an Alpaca Rotator device specifying the minimum number of parameters
Namespace: ASCOM.Alpaca.ClientsAssembly: ASCOM.Alpaca (in ASCOM.Alpaca.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
public AlpacaRotator(
ServiceType serviceType,
string ipAddressString,
int portNumber,
int remoteDeviceNumber,
bool strictCasing,
ILogger logger
)
Public Sub New (
serviceType As ServiceType,
ipAddressString As String,
portNumber As Integer,
remoteDeviceNumber As Integer,
strictCasing As Boolean,
logger As ILogger
)
- serviceType ServiceType
- HTTP or HTTPS
- ipAddressString String
- Alpaca device's IP Address
- portNumber Int32
- Alpaca device's IP Port number
- remoteDeviceNumber Int32
- Alpaca device's device number e.g. Telescope/0
- strictCasing Boolean
- Tolerate or throw exceptions if the Alpaca device does not use strictly correct casing for JSON object element names.
- logger ILogger
- Optional ILogger instance that can be sued to record operational information during execution
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10