 |
This application shows how to subclass the NetEditorFrame and the NetEditor
classes to build a specific interlock network editor. For this application, We need 5 types of bubbles: The VCC
object which is the startpoint for logic evaluation (see the viewer) , The Interlock object
which represents a physical interlock (a switch), The Sensor object which represents the
state of the line , The ground object (endpoint) and the Join object which provides
the possibilty to create intersection. For the need of the sensor evaluation algorithm
we have to ensure that there is only one startpoint and the link must be oriented as
the current (from VCC to Ground). The editor also add 2 extended parameters "Type" and
"Address" to Interlock object.
|