This class contains meta-data about the utility network dataset
retrieved from the webmap. To access the full properties, users need
load(). Certain properties are available without calling load
such as id and title. In 4.20, this object can only be retrieved from
a webmap which has a utility network layer.
The layer id of the service territory class used to define the extent of the utility network.
This property returns the list of trace configurations shared on the webmap.
Returns all the terminal configurations on the utility network.
The type of the dataset.
The layer id of the service territory class used to define the extent of the utility network. Value is
nullwhen a service territory layer is not published to the feature service.
This property returns the list of trace configurations shared on the webmap. It is empty when no trace configurations are shared on the webmap. This property can be used without fully loading the utility network, but only the
titlewill be available.
Returns all the terminal configurations on the utility network. Terminal configurations defines how many terminals a device has and how those terminals are setup. Must load the utility network to access this.
- See also:
The type of the dataset. Returns "utility" if the object represents a utility network.
For UtilityNetwork the type is always "utility".
- Default Value:"utility"
All devices features have terminal configurations (default single terminal).
Triggers the loading of the UtilityNetwork instance.
All devices features have terminal configurations (default single terminal). Users can use this method to retrieve the assigned terminal configuration of a given feature. This method takes a graphic/feature, uses the
ASSETTYPEfields along side the network source to find out the assigned terminal configuration. If either
layerare not populated a
nullis returned. Returns
nullif terminal configuration object couldn't be found.Parameter:feature Graphic
The graphic feature to get the terminal configuration from. Must belong to a device layer, and have
Type Description TerminalConfiguration
- The terminal configuration object. Most devices have single terminal configuration unless configured otherwise.