/// <summary> /// Initialise IP end point, Alpaca unique ID and Status message /// </summary> /// <param name="ipEndPoint">Alpaca device IP endpoint</param> /// <param name="alpacaUniqueId">Alpaca device unique ID</param> /// <param name="statusMessage">Device status message</param> public AlpacaDevice(IPEndPoint ipEndPoint, string statusMessage) { IPEndPoint = ipEndPoint; HostName = IPEndPoint.Address.ToString(); // Initialise the host name to the IP address in case there is no DNS name resolution or in case this fails AlpacaDeviceDescription = new AlpacaDeviceDescription(); ConfiguredDevices = new List <ConfiguredDevice>(); SupportedInterfaceVersions = new int[] { }; StatusMessage = statusMessage; }
public AlpacaDescriptionResponse() { Value = new AlpacaDeviceDescription(); }
public AlpacaDescriptionResponse(uint clientTransactionID, uint transactionID, AlpacaDeviceDescription value) { base.ServerTransactionID = transactionID; base.ClientTransactionID = clientTransactionID; Value = value; }