diff options
Diffstat (limited to 'sdnr/wt/odlux/apps/faultApp/src/actions')
-rw-r--r-- | sdnr/wt/odlux/apps/faultApp/src/actions/notificationActions.ts | 16 | ||||
-rw-r--r-- | sdnr/wt/odlux/apps/faultApp/src/actions/panelChangeActions.ts | 9 |
2 files changed, 25 insertions, 0 deletions
diff --git a/sdnr/wt/odlux/apps/faultApp/src/actions/notificationActions.ts b/sdnr/wt/odlux/apps/faultApp/src/actions/notificationActions.ts new file mode 100644 index 000000000..be4908530 --- /dev/null +++ b/sdnr/wt/odlux/apps/faultApp/src/actions/notificationActions.ts @@ -0,0 +1,16 @@ +import { Action } from '../../../../framework/src/flux/action'; + +import { Fault } from '../models/fault'; + +export class FaultApplicationBaseAction extends Action { } + + +export class AddFaultNotificationAction extends FaultApplicationBaseAction { + constructor(public fault:Fault) { + super(); + } +} + +export class ResetFaultNotificationsAction extends FaultApplicationBaseAction { + +} diff --git a/sdnr/wt/odlux/apps/faultApp/src/actions/panelChangeActions.ts b/sdnr/wt/odlux/apps/faultApp/src/actions/panelChangeActions.ts new file mode 100644 index 000000000..dea07a0b0 --- /dev/null +++ b/sdnr/wt/odlux/apps/faultApp/src/actions/panelChangeActions.ts @@ -0,0 +1,9 @@ +import { Action } from '../../../../framework/src/flux/action'; +import { PanelId } from '../models/panelId'; + +export class SetPanelAction extends Action { + constructor(public panelId: PanelId) { + super(); + } +} + |