using StatementMachineService.Service; namespace StatementMachineService.Core { public interface IStateService { void CreateMachine(int id, StateEventHandler upAsyncCallback, StateEventHandler downAsyncCallback); void ExecuteState(int id, ushort state); } }