Esempio n. 1
0
 public void CopyShadowToPlain(Plc.stTreeStruct source)
 {
     One                = source.One.Shadow;
     Two                = source.Two.Shadow;
     Another            = source.Another.Shadow;
     ThisOne            = source.ThisOne.Shadow;
     ANumberWouldBeCool = source.ANumberWouldBeCool.Shadow;
     Bools.CopyShadowToPlain(source.Bools);
 }
Esempio n. 2
0
 public void CopyPlainToShadow(Plc.stTreeStruct target)
 {
     target.One.Shadow                = One;
     target.Two.Shadow                = Two;
     target.Another.Shadow            = Another;
     target.ThisOne.Shadow            = ThisOne;
     target.ANumberWouldBeCool.Shadow = ANumberWouldBeCool;
     Bools.CopyPlainToShadow(target.Bools);
 }
Esempio n. 3
0
 public void CopyCyclicToPlain(Plc.stTreeStruct source)
 {
     One                = source.One.LastValue;
     Two                = source.Two.LastValue;
     Another            = source.Another.LastValue;
     ThisOne            = source.ThisOne.LastValue;
     ANumberWouldBeCool = source.ANumberWouldBeCool.LastValue;
     Bools.CopyCyclicToPlain(source.Bools);
 }
Esempio n. 4
0
 public void CopyPlainToCyclic(Plc.stTreeStruct target)
 {
     target.One.Cyclic                = One;
     target.Two.Cyclic                = Two;
     target.Another.Cyclic            = Another;
     target.ThisOne.Cyclic            = ThisOne;
     target.ANumberWouldBeCool.Cyclic = ANumberWouldBeCool;
     Bools.CopyPlainToCyclic(target.Bools);
 }