
70
Class Reference
Where:
return
– Boolean;
true
if the reader should be allowed to enter the standby mode;
false
to prevent it.
Example:
function onStandby()
{
if (comm.isConnected) return false;
else return true;
}
reader.onStandby = onStandby;
Prevents the reader from entering standby if it is connected and allows it to enter standby
otherwise.
4.3.2.7
batteryLevel
The
batteryLevel
property of the
reader
object contains a read only integer specifying
the battery charge level. Possible battery charge levels are:
reader.green
– not low.
reader.amber
– somewhat low.
reader.red
– very low.
Example:
batteryLevel = reader.batteryLevel;
4.3.2.8
red
The
red
property of the
reader
object contains a read only constant for use with
reader.batteryLevel
and
reader.setDisplayLed
.
4.3.2.9
green
The
green
property of the
reader
object contains a read only constant for use with
reader.batteryLevel
and
reader.setDisplayLed.
4.3.2.10
amber
The
amber
property of the
reader
object contains a read only constant for use with
reader.batteryLevel
and
reader.setDisplayLed.
4.3.2.11
none
The none property of the
reader
object contains a read only constant for use with
reader.batteryLevel
and
reader.setDisplayLed
.
Содержание OHV300
Страница 1: ...FACTORY AUTOMATION MANUAL JAVASCRIPT PROGRAMMING GUIDE...
Страница 88: ...88 Supported JavaScript Core delete function in instanceof new this typeof void...
Страница 93: ...93 Symbology ID Modifier Information...
Страница 94: ...TDOCT 4981_ENG 11 2015...