Power outage analysis, as the name suggests, is the logical analysis of the drawings for power outages. In the electrified line, a line is from a power supply, connecting a lot of equipment, power outage analysis, there are two important roles: first, see whether the shape on the drawings are connected to the normal, and the second is to see which equipment has no electricity. By giving an electrically-powered device a color (such as green), a device that has no electricity, a color (such as red), you can clearly see the different power changes.
How do we perform a power outage analysis of an electrical wiring diagram drawn by Visio? Let's take a look at the related sequence logic first.
In the above sequence diagram, the main realization of this idea:
Power outage analysis is done by saving device-related connection information to the database, to the power supply (flying up) as the starting point, the equipment information for the topology analysis of the circuit, the analysis to save the database, and then obtain the topology model of the equipment, the color of the equipment to update the drawings (with electricity for green, no electricity for red), if the collision, The color of the selected switch is restored.