コード例 #1
0
 protected PlainHansPlcTwinController CreatePlainerType(PlainHansPlcTwinController cloned)
 {
     cloned.Utils = Utils.CreatePlainerType();
     cloned.prgAddedProperties = prgAddedProperties.CreatePlainerType();
     cloned.MAIN               = MAIN.CreatePlainerType();
     cloned.prgSimple          = prgSimple.CreatePlainerType();
     cloned.prgWeatherStations = prgWeatherStations.CreatePlainerType();
     return(cloned);
 }
コード例 #2
0
        public PlainHansPlcTwinController CreatePlainerType()
        {
            var cloned = new PlainHansPlcTwinController();

            cloned.Utils = Utils.CreatePlainerType();
            cloned.prgAddedProperties = prgAddedProperties.CreatePlainerType();
            cloned.MAIN               = MAIN.CreatePlainerType();
            cloned.prgSimple          = prgSimple.CreatePlainerType();
            cloned.prgWeatherStations = prgWeatherStations.CreatePlainerType();
            return(cloned);
        }