Customizing the Bellcore state system

In the Bellcore state dictionary, a primary state is defined as holding one of the following values:
  • Disabled/Idle
  • Enabled/Idle
  • Enabled/Active
The Bellcore dictionary also includes numerous secondary states.
JViews TGO provides a visual representation for the Bellcore primary state by changing the object base graphic representation. Bellcore secondary states are represented using secondary state icons. For information on the Bellcore state system and its graphic representation, refer to
Bellcore states explains how to customize the object representation according to the Bellcore state information. You can also customize the icons that are displayed when a given Bellcore secondary state is set in the object.

Bellcore states

Whether or not a secondary state can be applied meaningfully to a telecom object depends on whether the object is in the Out of Service, No Traffic, or Carrying Traffic condition.
The corresponding Bellcore primary states are the following:
  • OOS--Disabled/Idle
  • NT--Enabled/Idle
  • CT--Enabled/Active
You can customize the icon used to represent a secondary state by setting the image associated with the secondary state and the primary state combination, as follows:

How to customize a Bellcore secondary state icon (using the API)

Image img = 
IltSystem.GetDefaultContext().getImageRepository().getImage("blocked.png");
IltSettings.SetValue("Bellcore.SecState.Blocked.CT.Icon", img);
In this example, the graphic representation of status IltBellcore.SecState.Blocked has been replaced in the Carrying Traffic representation.
You can also set different images for different combinations by using the state name, for example, “Bellcore.SecState.Busy” or “Bellcore.SecState.Transferred”, followed by the primary state combination (OOS, NT or CT) and the property name (Icon).
IltSettings.SetValue("Bellcore.SecState.Transferred.OOS.Icon", img);

How to customize a Bellcore secondary state icon (using CSS)

You can customize a Bellcore secondary state icon using global CSS settings.
You must specify the full state name, for example " Bellcore.SecState.Busy ", when matching the " name " attribute. The CSS properties to be customized are ctIcon , ntIcon , oosIcon .
setting."ilog.tgo.model.IltState"[name="Bellcore.SecState.Blocked"] {
   ctIcon: '@|image("blocked.png")';
}
setting."ilog.tgo.model.IltState"[name="Bellcore.SecState.Diagnostic"] {
   ntIcon: '@|image("diagnostic.png")';
}
setting."ilog.tgo.model.IltState"[name="Bellcore.SecState.Transferred"] {
   oosIcon: '@|image("transferred.png")';
}
For more information on global CSS settings, see .