Метод | Описание | |
---|---|---|
GetSensorName ( ) : string | ||
NXTLightSensor ( BrickPortSensor port ) : System |
Initialize a NXT Light Sensor
|
|
NXTLightSensor ( BrickPortSensor port, LightMode mode ) : System |
Initialize a NXT Light Sensor
|
|
NXTLightSensor ( BrickPortSensor port, LightMode mode, int timeout ) : System |
Initialize a NXT Light Sensor
|
|
NumberOfModes ( ) : int | ||
ReadAsString ( ) : string | ||
ReadRaw ( ) : int | ||
SelectNextMode ( ) : void | ||
SelectPreviousMode ( ) : void | ||
SelectedMode ( ) : string | ||
UpdateSensor ( object state ) : void |
Update the sensor and this will raised an event on the interface
|
Метод | Описание | |
---|---|---|
OnPropertyChanged ( string name ) : void | ||
StopTimerInternal ( ) : void |
public NXTLightSensor ( BrickPortSensor port ) : System | ||
port | BrickPortSensor | Sensor port |
Результат | System |
public NXTLightSensor ( BrickPortSensor port, LightMode mode ) : System | ||
port | BrickPortSensor | Sensor port |
mode | LightMode | Light mode |
Результат | System |
public NXTLightSensor ( BrickPortSensor port, LightMode mode, int timeout ) : System | ||
port | BrickPortSensor | Sensor port |
mode | LightMode | Light mode |
timeout | int | Period in millisecond to check sensor value changes |
Результат | System |
public UpdateSensor ( object state ) : void | ||
state | object | |
Результат | void |