public void TestCountPowerConsumption() { #region Basic Node mNodeFactory = NodeFactory.GetFactory(NodeFactoryType.BasicNode); mNodeFactory.CountPowerConsumption(mParameters); #endregion }
public void TestCountBatteryLife() { #region Basic Node mNodeFactory = NodeFactory.GetFactory(NodeFactoryType.BasicNode); mNodeFactory.CountBatteryLife(mParameters); #endregion }
public void TestCountEstimatedRange() { #region Basic Node mNodeFactory = NodeFactory.GetFactory(NodeFactoryType.BasicNode); mNodeFactory.CountEstimatedRange(mParameters); #endregion }
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(); }