RemoteNetworkEntity#
- class wattson.cosimulation.simulators.network.components.remote.remote_network_entity.RemoteNetworkEntity(entity_id: str, wattson_client: WattsonClient, auto_sync: bool = True)#
Bases:
WattsonRemoteObject
,NetworkEntity
A remote representation of a WattsonNetworkEntity
Methods
Start the WattsonNetworkEntity
Stop the WattsonNetworkEntity
Synchronize this object with its instance in the simulation
update_from_remote_representation
Attributes
display_name
entity_id
id
is_started
state
system_id
wattson_client
- __init__(entity_id: str, wattson_client: WattsonClient, auto_sync: bool = True)#
- start()#
Start the WattsonNetworkEntity
- stop()#
Stop the WattsonNetworkEntity
- synchronize(force: bool = False, block: bool = True)#
Synchronize this object with its instance in the simulation
- Parameters:
force (bool, optional) – Whether to force an update (Default value = False)
block (bool, optional) – Whether to block during the update (Default value = True)