Styling > Customizing Object States > Passive Devices

Passive devices are business objects without an object state. The passive information is graphically represented with an icon as illustrated in following image:

images/passive.gif

The passive representation can be customized using the following CSS properties:

Table 12.1 CSS Properties for Passive Devices
Property Name 
Type 
Default Value 
Description 
passiveIcon 
Image 
ilog/tgo/ilt_passive.png 
Denotes the icon that is used in the passive representation. 
passiveIconVisible 
boolean 
false 
Denotes whether the passive icon is displayed or not. 

How to Show the Passive Devices Representation

Predefined business objects can have states and alarms. When these objects do not have an object state set, they are considered as passive devices. This information can be graphically represented by the passive icon. The following CSS extract shows how you can customize the predefined business objects to show this icon when the object does not have an object state:

object."ilog.tgo.model.IltObject" {
  passiveIconVisible: true;
}
 
object."ilog.tgo.model.IltObject"[objectState] {
  passiveIconVisible: false;
}