Inhalte

Dependency Injection: Common Interfaces

Table of Contents

Introduction

To maintain a certain flexibility, we first build a few generally valid interfaces.

Interfaces

Interface IRunable
INTERFACE IRunable EXTENDS __System.IQueryInterface
METHOD run
Interface IResetable
INTERFACE IResetable EXTENDS __System.IQueryInterface
METHOD reset
Interface IStatemachine
INTERFACE IStatemachine EXTENDS __System.IQueryInterface
METHOD executeState :IStatemachine
Interface IWorkfowState
INTERFACE IWorkfowState EXTENDS IStatemachine

METHOD setNextState
VAR_INPUT
	nextState	:IStatemachine;
END_VAR