aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/model/workflow/timer-event-definition.ts
diff options
context:
space:
mode:
authorLvbo163 <lv.bo163@zte.com.cn>2018-01-10 15:05:39 +0800
committerLvbo163 <lv.bo163@zte.com.cn>2018-01-10 15:05:39 +0800
commit38dfd59a8b5d05266e5567f79dcf30fd10ef7c54 (patch)
tree043a724663d3324ce80cc546a241898e99796897 /sdc-workflow-designer-ui/src/app/model/workflow/timer-event-definition.ts
parenteb2d1c385e5c3d96e770b776f74ddbde9f2b133f (diff)
split element by type
split elements by type in toolbar Issue-ID: SDC-895 Change-Id: I0254c9c5f938df80942d60ffefe4b8577c788233 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/model/workflow/timer-event-definition.ts')
-rw-r--r--sdc-workflow-designer-ui/src/app/model/workflow/timer-event-definition.ts12
1 files changed, 5 insertions, 7 deletions
diff --git a/sdc-workflow-designer-ui/src/app/model/workflow/timer-event-definition.ts b/sdc-workflow-designer-ui/src/app/model/workflow/timer-event-definition.ts
index f78d3973..101ef46c 100644
--- a/sdc-workflow-designer-ui/src/app/model/workflow/timer-event-definition.ts
+++ b/sdc-workflow-designer-ui/src/app/model/workflow/timer-event-definition.ts
@@ -17,11 +17,9 @@ export enum TimerEventDefinitionType {
timeCycle,
}
-export class TimerEventDefinition {
- constructor(public type: string, // 'timeDate', 'timeCycle', 'timeDuration'
- public timeDate?: string, // <timeDate>10/10/2099 00:00:00</timeDate>
- public timeDuration?: string, // ISO 8601 P1Y3M5DT6H7M30S
- public timeCycle?: string) { // ISO 8601 P1Y3M5DT6H7M30S
-
- }
+export interface TimerEventDefinition extends WorkflowNode {
+ type: string; // 'timeDate', 'timeCycle', 'timeDuration'
+ timeDate?: string; // 2007-04-05T12:30-02:00
+ timeDuration?: string; // ISO 8601 P1Y3M5DT6H7M30S
+ timeCycle?: string; // ISO 8601 R5/P1Y2M10DT2H30M
}