ObservingConditionsState(IStateValueCollection, Object) Constructor |
Create a new ObservingConditionsState instance from the device's DeviceState response.
Namespace: ASCOM.DriverAccessAssembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 7.0.0-rc.0+0
Syntaxpublic ObservingConditionsState(
IStateValueCollection deviceStateArrayList,
Object TL
)
Public Sub New (
deviceStateArrayList As IStateValueCollection,
TL As Object
)
public:
ObservingConditionsState(
IStateValueCollection^ deviceStateArrayList,
Object^ TL
)
Parameters
- deviceStateArrayList IStateValueCollection
- The device's DeviceState response.
- TL Object
- Debug TraceLogger instance. The type of this parameter is Object - see remarks.
RemarksThis class supports .NET Framework 3.5, 4.x and .NET Standard 2.0. In order to avoid use of dynamic and inclusion of projects or packages that define the TraceLogger
component, the TL parameter is typed as an object and a reflection method is used to call the LogMessage member.
See Also