C# Mine
ContentsIndexHome
PreviousUpNext
MineServer.RegisterSensor Method

Adds the sensor to the servers list of valid objects

Syntax
C#
public void RegisterSensor(UInt32 gatewayID, Sensor sensor);
Parameters 
Description 
Sensor sensor 
Sensor object 
Exceptions 
Description 
ArgumentNullException 
Parameter "sensor" is null 
ArgumentException 
There is already a sensor registered with the same sensorID, or sensorID property of sensor is not valid (Zero is not a valid sensorID)  
Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!