public void CopyShadowToPlain(Plc.stBools source) { BoolOne = source.BoolOne.Shadow; BoolTwo = source.BoolTwo.Shadow; BoolThree = source.BoolThree.Shadow; BoolFive = source.BoolFive.Shadow; }
public void CopyPlainToShadow(Plc.stBools target) { target.BoolOne.Shadow = BoolOne; target.BoolTwo.Shadow = BoolTwo; target.BoolThree.Shadow = BoolThree; target.BoolFive.Shadow = BoolFive; }
public void CopyCyclicToPlain(Plc.stBools source) { BoolOne = source.BoolOne.LastValue; BoolTwo = source.BoolTwo.LastValue; BoolThree = source.BoolThree.LastValue; BoolFive = source.BoolFive.LastValue; }
public void CopyPlainToCyclic(Plc.stBools target) { target.BoolOne.Cyclic = BoolOne; target.BoolTwo.Cyclic = BoolTwo; target.BoolThree.Cyclic = BoolThree; target.BoolFive.Cyclic = BoolFive; }