예제 #1
0
        private static IEosService GetMockService()
        {
            IEosService eosService = new EosServiceMock();

            eosService.Groups.TryAdd(1, new Models.Eos.Group()
            {
                Index = 0, Number = 1, Label = "Front Of House"
            });
            eosService.Groups.TryAdd(2, new Models.Eos.Group()
            {
                Index = 1, Number = 2, Label = "Front of house stage left"
            });
            eosService.Groups.TryAdd(3, new Models.Eos.Group()
            {
                Index = 2, Number = 3, Label = "Cyc"
            });
            return(eosService);
        }
예제 #2
0
        private static IEosService GetMockService()
        {
            IEosService eosService = new EosServiceMock();

            eosService.Groups.TryAdd(1, new Models.Eos.Group()
            {
                Index = 0, Number = 1, Label = "Test"
            });
            eosService.Groups.TryAdd(2, new Models.Eos.Group()
            {
                Index = 1, Number = 2, Label = "Test One"
            });
            eosService.Groups.TryAdd(3, new Models.Eos.Group()
            {
                Index = 2, Number = 3, Label = "Test Group Two"
            });
            return(eosService);
        }