Example #1
0
        public virtual void OnCurrentProbe()
        {
            ProbeState p = (ProbeState)VisualGrid.availableStates[typeof(ProbeState)];

            p.ptype = ProbeType.current;
            VisualGrid.ChangeState(typeof(ProbeState));
        }
Example #2
0
        public virtual void OnVoltageProbe()
        {
            ProbeState p = (ProbeState)VisualGrid.availableStates[typeof(ProbeState)];

            p.ptype = ProbeType.voltage;
            VisualGrid.ChangeState(typeof(ProbeState));
        }