public void CopyShadowToPlain(MainPlc.fbStation source)
 {
     _modeSelector = source._modeSelector.Shadow;
     _modeCurrent  = source._modeCurrent.Shadow;
     _stepInfo     = source._stepInfo.Shadow;
     _errorInfo    = source._errorInfo.Shadow;
     _components.CopyShadowToPlain(source._components);
     _data.CopyShadowToPlain(source._data);
 }
 public void CopyPlainToShadow(MainPlc.fbStation target)
 {
     target._modeSelector.Shadow = _modeSelector;
     target._modeCurrent.Shadow  = _modeCurrent;
     target._stepInfo.Shadow     = _stepInfo;
     target._errorInfo.Shadow    = _errorInfo;
     _components.CopyPlainToShadow(target._components);
     _data.CopyPlainToShadow(target._data);
 }
 public void CopyCyclicToPlain(MainPlc.fbStation source)
 {
     _modeSelector = source._modeSelector.LastValue;
     _modeCurrent  = source._modeCurrent.LastValue;
     _stepInfo     = source._stepInfo.LastValue;
     _errorInfo    = source._errorInfo.LastValue;
     _components.CopyCyclicToPlain(source._components);
     _data.CopyCyclicToPlain(source._data);
 }
 public void CopyPlainToCyclic(MainPlc.fbStation target)
 {
     target._modeSelector.Cyclic = _modeSelector;
     target._modeCurrent.Cyclic  = _modeCurrent;
     target._stepInfo.Cyclic     = _stepInfo;
     target._errorInfo.Cyclic    = _errorInfo;
     _components.CopyPlainToCyclic(target._components);
     _data.CopyPlainToCyclic(target._data);
     target._step.Cyclic        = _step;
     target._ground_done.Cyclic = _ground_done;
 }