private void SetupDefaultNodeParameters()
        {
            Log.Write(LogLevel.Info, string.Format("Ustawianie domyślnych parametrów dla węzła w technologii: {0}", new TechnologyConverter().Convert(ChosenType, typeof(NodeFactoryType), null, null)));

            mNodeFactory = NodeFactory.GetFactory(ChosenType);
            mNodeMapping = mNodeFactory.NodeMapping;

            FillListsWithMappingValues();
        }
 private string GetBatteryName(NodeMapping pNodeMapping, int pBattery)
 {
     var battery = pNodeMapping.Batteries.FirstOrDefault(b => b.Capacity == pBattery);
     return battery == null ? "Bez nazwy" : battery.Name;
 }