Example #1
0
 public void CopyShadowToPlain(Plc.stBools source)
 {
     BoolOne   = source.BoolOne.Shadow;
     BoolTwo   = source.BoolTwo.Shadow;
     BoolThree = source.BoolThree.Shadow;
     BoolFive  = source.BoolFive.Shadow;
 }
Example #2
0
 public void CopyPlainToShadow(Plc.stBools target)
 {
     target.BoolOne.Shadow   = BoolOne;
     target.BoolTwo.Shadow   = BoolTwo;
     target.BoolThree.Shadow = BoolThree;
     target.BoolFive.Shadow  = BoolFive;
 }
Example #3
0
 public void CopyCyclicToPlain(Plc.stBools source)
 {
     BoolOne   = source.BoolOne.LastValue;
     BoolTwo   = source.BoolTwo.LastValue;
     BoolThree = source.BoolThree.LastValue;
     BoolFive  = source.BoolFive.LastValue;
 }
Example #4
0
 public void CopyPlainToCyclic(Plc.stBools target)
 {
     target.BoolOne.Cyclic   = BoolOne;
     target.BoolTwo.Cyclic   = BoolTwo;
     target.BoolThree.Cyclic = BoolThree;
     target.BoolFive.Cyclic  = BoolFive;
 }