コード例 #1
0
 public void CopyShadowToPlain(HansPlc.fbWorldWeatherWatch source)
 {
     NorthPole.CopyShadowToPlain(source.NorthPole);
     SouthPole.CopyShadowToPlain(source.SouthPole);
     Verl.CopyShadowToPlain(source.Verl);
     Kriva.CopyShadowToPlain(source.Kriva);
     PlcCommentOnCurrentWeather = source.PlcCommentOnCurrentWeather.Shadow;
 }
コード例 #2
0
 public void CopyPlainToShadow(HansPlc.fbWorldWeatherWatch target)
 {
     NorthPole.CopyPlainToShadow(target.NorthPole);
     SouthPole.CopyPlainToShadow(target.SouthPole);
     Verl.CopyPlainToShadow(target.Verl);
     Kriva.CopyPlainToShadow(target.Kriva);
     target.PlcCommentOnCurrentWeather.Shadow = PlcCommentOnCurrentWeather;
 }
コード例 #3
0
 protected PlainfbWorldWeatherWatch CreatePlainerType(PlainfbWorldWeatherWatch cloned)
 {
     cloned.NorthPole = NorthPole.CreatePlainerType();
     cloned.SouthPole = SouthPole.CreatePlainerType();
     cloned.Verl      = Verl.CreatePlainerType();
     cloned.Kriva     = Kriva.CreatePlainerType();
     return(cloned);
 }
コード例 #4
0
 public void LazyShadowToOnline()
 {
     NorthPole.LazyShadowToOnline();
     SouthPole.LazyShadowToOnline();
     Verl.LazyShadowToOnline();
     Kriva.LazyShadowToOnline();
     PlcCommentOnCurrentWeather.Cyclic = PlcCommentOnCurrentWeather.Shadow;
 }
コード例 #5
0
 public void LazyOnlineToShadow()
 {
     NorthPole.LazyOnlineToShadow();
     SouthPole.LazyOnlineToShadow();
     Verl.LazyOnlineToShadow();
     Kriva.LazyOnlineToShadow();
     PlcCommentOnCurrentWeather.Shadow = PlcCommentOnCurrentWeather.LastValue;
 }
コード例 #6
0
        public PlainfbWorldWeatherWatch CreatePlainerType()
        {
            var cloned = new PlainfbWorldWeatherWatch();

            cloned.NorthPole = NorthPole.CreatePlainerType();
            cloned.SouthPole = SouthPole.CreatePlainerType();
            cloned.Verl      = Verl.CreatePlainerType();
            cloned.Kriva     = Kriva.CreatePlainerType();
            return(cloned);
        }