/// <summary> /// Main /// </summary> /// <param name="args">args</param> static void Main(string[] args) { //Configure object to object mapping AutoMapperConfig.Configure(); //Resolve starting point of application IUnityContainer container = UnityConfig.Configure(); ICoordinator coordinator = container.Resolve <ICoordinator>(); //Process power consumption and apply rules coordinator.ProcessConsumption(); System.Console.Read(); }