taxisignservice script¶
taxisignservice¶
-
class
taxisignservice.CommandlineDummyTaxisign[source]¶ Bases:
objectTaxi sign simulator for command line.
Prints out whether the taxi sign is on or off.
-
* state bool
Set to True to turn on the taxi sign.
-
broker_connectionstatus¶
-
state¶
-
-
class
taxisignservice.GraphicalDummyTaxisign[source]¶ Bases:
taxisignservice.CommandlineDummyTaxisignGraphical taxi sign simulator.
Shows a dark or bright taxi sign image in the GUI.
-
* state bool
Set to True to turn on the taxi sign.
-
BROKERTEXT_TEMPLATE= 'Broker: {:<7s}'¶
-
DISPLAY_TITLE= 'Taxi sign simulator'¶
-
FILENAME_TAXISIGN_OFF= '/home/docs/checkouts/readthedocs.org/user_builds/sgframework/checkouts/latest/examples/taxisignservice/images/taxi_sign_off_small.gif'¶
-
FILENAME_TAXISIGN_ON= '/home/docs/checkouts/readthedocs.org/user_builds/sgframework/checkouts/latest/examples/taxisignservice/images/taxi_sign_on_small.gif'¶
-