Example #1
0
 /// <summary>
 /// Sets the downstream and pokes the next one along
 /// </summary>
 public virtual void DirectionOutput(ElectricalOIinheritance SourceInstance)
 {
     if (Present != null)
     {
         Present.DirectionOutput(SourceInstance);
     }
     else
     {
         InputOutputFunctions.DirectionOutput(SourceInstance, this);
     }
 }
Example #2
0
        public void CircuitSearchLoop(ElectricalOIinheritance wire)
        {
            InputOutputFunctions.DirectionOutput(wire, wire.InData);
            while (true)
            {
                UesAlternativeDirectionWorkOnNextList = false;
                CircuitSearch(wire, _DirectionWorkOnNextList, _DirectionWorkOnNextListWait);

                UesAlternativeDirectionWorkOnNextList = true;
                CircuitSearch(wire, DirectionWorkOnNextList, DirectionWorkOnNextListWait);

                if (DirectionWorkOnNextList.Count <= 0 & DirectionWorkOnNextListWait.Count <= 0 &
                    _DirectionWorkOnNextList.Count <= 0 & _DirectionWorkOnNextListWait.Count <= 0)
                {
                    break;
                }
            }
        }
Example #3
0
 /// <summary>
 /// Sets the downstream and pokes the next one along
 /// </summary>
 public virtual void DirectionOutput(ElectricalOIinheritance SourceInstance)
 {
     InputOutputFunctions.DirectionOutput(SourceInstance, InData);
 }