Example #1
0
            public void Deserialize(Deserializer deserializer)
            {
                _maxHistoricalOutput = deserializer.GetAsFloat("maxSolarOutput");
                Unmarshaller unmarshaller = new Unmarshaller(deserializer.Get("pylonKeys"));

                string[] pylonKeys = unmarshaller.UnmarshallArrayOfString();
                foreach (string key in pylonKeys)
                {
                    AddPylon(key);
                }
            }