@freelog/freelog-cg-collection 1.2.11 → 1.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1761 +1,17 @@
1
1
  {
2
2
  "audienceSection": {
3
- "conditions": [
4
- {
5
- "paramValue": "echoSubject",
6
- "paramValueObj": {
7
- "expType": "variableChain",
8
- "varType": "normal",
9
- "content": "echoSubject",
10
- "variableChainList": [
11
- "echoSubject"
12
- ]
13
- },
14
- "content": "echoSubject=echoSubject",
15
- "paramName": "echoSubject"
16
- },
17
- {
18
- "paramValue": "echoCorePolicyId",
19
- "paramValueObj": {
20
- "expType": "variableChain",
21
- "varType": "normal",
22
- "content": "echoCorePolicyId",
23
- "variableChainList": [
24
- "echoCorePolicyId"
25
- ]
26
- },
27
- "content": "echoPolicyId=echoCorePolicyId",
28
- "paramName": "echoPolicyId"
29
- },
30
- {
31
- "paramValue": "[\"vip1\"]",
32
- "paramValueObj": {
33
- "expType": "expCondition",
34
- "paramList": [
35
- {
36
- "paramValue": "\"vip1\"",
37
- "paramValueObj": {
38
- "expType": "string",
39
- "value": "vip1"
40
- }
41
- }
42
- ],
43
- "variableChainList": []
44
- },
45
- "content": "labels=[\"vip1\"]",
46
- "paramName": "labels"
47
- }
48
- ],
3
+ "conditions": [],
49
4
  "audiences": [
50
- "USER"
5
+ "PUBLIC"
51
6
  ]
52
7
  },
53
8
  "contractDeclarationSection": {
54
9
  "contractDeclarations": []
55
10
  },
56
- "varDeclarationList": [
57
- {
58
- "type": "varGlobal",
59
- "content": "labels0=Query.EchoService.Labels({\"subject\":echoSubject,\"policyId\":echoCorePolicyId,\"licensee\":contract.licensee})",
60
- "varName": "labels0",
61
- "varValue": "Query.EchoService.Labels({\"subject\":echoSubject,\"policyId\":echoCorePolicyId,\"licensee\":contract.licensee})",
62
- "varValueObj": {
63
- "funcName": "Labels",
64
- "variableChainList": [
65
- "echoSubject",
66
- "echoCorePolicyId",
67
- "contract.licensee"
68
- ],
69
- "paramList": [
70
- {
71
- "paramValue": "{\"subject\":echoSubject,\"policyId\":echoCorePolicyId,\"licensee\":contract.licensee}",
72
- "paramValueObj": {
73
- "expType": "expArgsGroup",
74
- "paramList": [
75
- {
76
- "paramName": "subject",
77
- "paramValue": "echoSubject",
78
- "paramValueObj": {
79
- "expType": "variableChain",
80
- "varType": "normal",
81
- "content": "echoSubject"
82
- }
83
- },
84
- {
85
- "paramName": "policyId",
86
- "paramValue": "echoCorePolicyId",
87
- "paramValueObj": {
88
- "expType": "variableChain",
89
- "varType": "normal",
90
- "content": "echoCorePolicyId"
91
- }
92
- },
93
- {
94
- "paramName": "licensee",
95
- "paramValue": "contract.licensee",
96
- "paramValueObj": {
97
- "expType": "variableChain",
98
- "varType": "normal",
99
- "content": "contract.licensee"
100
- }
101
- }
102
- ]
103
- },
104
- "content": "{\"subject\":echoSubject,\"policyId\":echoCorePolicyId,\"licensee\":contract.licensee}"
105
- }
106
- ],
107
- "expType": "functionCall",
108
- "varChain": "Query.EchoService"
109
- },
110
- "varValueType": "array"
111
- },
112
- {
113
- "type": "varMacro",
114
- "content": "echoSubject<-Echo.<连载小说的会员>",
115
- "varName": "echoSubject",
116
- "varValue": "Echo.<连载小说的会员>",
117
- "varValueObj": {
118
- "expType": "entity",
119
- "entityType": "Echo",
120
- "entityName": "连载小说的会员",
121
- "variableChainList": []
122
- },
123
- "varValueType": "entity"
124
- },
125
- {
126
- "type": "varGlobal",
127
- "content": "echoCorePolicyId=\"xxx连载小说会员的主策略ID\"",
128
- "varName": "echoCorePolicyId",
129
- "varValue": "\"xxx连载小说会员的主策略ID\"",
130
- "varValueObj": {
131
- "expType": "string",
132
- "value": "xxx连载小说会员的主策略ID",
133
- "variableChainList": []
134
- },
135
- "varValueType": "string"
136
- },
137
- {
138
- "type": "varMacro",
139
- "content": "unitPrice<-1",
140
- "varName": "unitPrice",
141
- "varValue": "1",
142
- "varValueObj": {
143
- "expType": "number",
144
- "value": "1",
145
- "variableChainList": []
146
- },
147
- "varValueType": "number"
148
- },
149
- {
150
- "type": "varGlobal",
151
- "content": "setUnlocked=[]",
152
- "varName": "setUnlocked",
153
- "varValue": "[]",
154
- "varValueObj": {
155
- "expType": "expCondition",
156
- "paramList": [],
157
- "variableChainList": []
158
- },
159
- "varValueType": "array"
160
- },
161
- {
162
- "type": "varGlobal",
163
- "content": "setTemp=[]",
164
- "varName": "setTemp",
165
- "varValue": "[]",
166
- "varValueObj": {
167
- "expType": "expCondition",
168
- "paramList": [],
169
- "variableChainList": []
170
- },
171
- "varValueType": "array"
172
- },
173
- {
174
- "type": "varGlobal",
175
- "content": "setFree=[]",
176
- "varName": "setFree",
177
- "varValue": "[]",
178
- "varValueObj": {
179
- "expType": "expCondition",
180
- "paramList": [],
181
- "variableChainList": []
182
- },
183
- "varValueType": "array"
184
- }
185
- ],
11
+ "varDeclarationList": [],
186
12
  "stateMachine": [
187
13
  {
188
14
  "stateName": "Initial",
189
- "assignments": [
190
- {
191
- "type": "varInitial",
192
- "content": "letlabels=Query.EchoService.Labels({\"subject\":echoSubject,\"licensee\":contract.licensee})",
193
- "varName": "labels",
194
- "varValue": "Query.EchoService.Labels({\"subject\":echoSubject,\"licensee\":contract.licensee})",
195
- "varValueObj": {
196
- "funcName": "Labels",
197
- "variableChainList": [
198
- "echoSubject",
199
- "contract.licensee"
200
- ],
201
- "paramList": [
202
- {
203
- "paramValue": "{\"subject\":echoSubject,\"licensee\":contract.licensee}",
204
- "paramValueObj": {
205
- "expType": "expArgsGroup",
206
- "paramList": [
207
- {
208
- "paramName": "subject",
209
- "paramValue": "echoSubject",
210
- "paramValueObj": {
211
- "expType": "variableChain",
212
- "varType": "normal",
213
- "content": "echoSubject"
214
- }
215
- },
216
- {
217
- "paramName": "licensee",
218
- "paramValue": "contract.licensee",
219
- "paramValueObj": {
220
- "expType": "variableChain",
221
- "varType": "normal",
222
- "content": "contract.licensee"
223
- }
224
- }
225
- ]
226
- },
227
- "content": "{\"subject\":echoSubject,\"licensee\":contract.licensee}"
228
- }
229
- ],
230
- "expType": "functionCall",
231
- "varChain": "Query.EchoService"
232
- },
233
- "varValueType": "array"
234
- }
235
- ],
236
- "events": [
237
- {
238
- "type": "normal",
239
- "content": "Event.Void(not(\"vip2\"inlabels))->AUTH_MEMBER{fun.setLabel({\"label\":\"vip2\",\"ttl\":7200})}",
240
- "config_params": [
241
- {
242
- "name": "condition",
243
- "type": "boolean",
244
- "optional": true
245
- }
246
- ],
247
- "eventName": "Void",
248
- "variableChainList": [
249
- "labels"
250
- ],
251
- "eventParamList": [
252
- {
253
- "paramValue": "not(\"vip2\"inlabels)",
254
- "paramValueObj": {
255
- "expType": "expBooleanOpLogic",
256
- "var1": {
257
- "expType": "expBooleanParen",
258
- "var1": {
259
- "expType": "expBooleanOpCollection",
260
- "var1": {
261
- "expType": "string",
262
- "value": "vip2"
263
- },
264
- "var2": {
265
- "expType": "variableChain",
266
- "varType": "normal",
267
- "content": "labels"
268
- },
269
- "op": "in"
270
- }
271
- },
272
- "op": "not",
273
- "variableChainList": [
274
- "labels"
275
- ]
276
- },
277
- "content": "not(\"vip2\"inlabels)"
278
- }
279
- ],
280
- "toState": "AUTH_MEMBER",
281
- "stateContextArgs": [],
282
- "actions": [
283
- {
284
- "type": "functionCall",
285
- "content": "fun.setLabel({\"label\":\"vip2\",\"ttl\":7200})",
286
- "actionObj": {
287
- "funcName": "setLabel",
288
- "variableChainList": [],
289
- "paramList": [
290
- {
291
- "paramValue": "{\"label\":\"vip2\",\"ttl\":7200}",
292
- "paramValueObj": {
293
- "expType": "expArgsGroup",
294
- "paramList": [
295
- {
296
- "paramName": "label",
297
- "paramValue": "\"vip2\"",
298
- "paramValueObj": {
299
- "expType": "string",
300
- "value": "vip2"
301
- }
302
- },
303
- {
304
- "paramName": "ttl",
305
- "paramValue": "7200",
306
- "paramValueObj": {
307
- "expType": "number",
308
- "value": "7200"
309
- }
310
- }
311
- ],
312
- "variableChainList": []
313
- },
314
- "content": "{\"label\":\"vip2\",\"ttl\":7200}"
315
- }
316
- ],
317
- "expType": "functionCall",
318
- "varChain": "fun"
319
- }
320
- }
321
- ],
322
- "eventCode": "V101",
323
- "eventId": "b3449b02"
324
- },
325
- {
326
- "type": "normal",
327
- "content": "Event.Time.Relative(1,\"minute\")->AUTH_MEMBER{fun.setLabel({\"label\":\"vip1\",\"ttl\":1800})}",
328
- "config_params": [
329
- {
330
- "name": "elapsed",
331
- "type": "number"
332
- },
333
- {
334
- "name": "timeUnit",
335
- "type": "string"
336
- }
337
- ],
338
- "eventName": "Relative",
339
- "variableChainList": [],
340
- "eventParamList": [
341
- {
342
- "paramValue": "1",
343
- "paramValueObj": {
344
- "expType": "number",
345
- "value": "1",
346
- "variableChainList": []
347
- },
348
- "content": "1"
349
- },
350
- {
351
- "paramValue": "\"minute\"",
352
- "paramValueObj": {
353
- "expType": "string",
354
- "value": "minute",
355
- "variableChainList": []
356
- },
357
- "content": "\"minute\""
358
- }
359
- ],
360
- "toState": "AUTH_MEMBER",
361
- "stateContextArgs": [],
362
- "actions": [
363
- {
364
- "type": "functionCall",
365
- "content": "fun.setLabel({\"label\":\"vip1\",\"ttl\":1800})",
366
- "actionObj": {
367
- "funcName": "setLabel",
368
- "variableChainList": [],
369
- "paramList": [
370
- {
371
- "paramValue": "{\"label\":\"vip1\",\"ttl\":1800}",
372
- "paramValueObj": {
373
- "expType": "expArgsGroup",
374
- "paramList": [
375
- {
376
- "paramName": "label",
377
- "paramValue": "\"vip1\"",
378
- "paramValueObj": {
379
- "expType": "string",
380
- "value": "vip1"
381
- }
382
- },
383
- {
384
- "paramName": "ttl",
385
- "paramValue": "1800",
386
- "paramValueObj": {
387
- "expType": "number",
388
- "value": "1800"
389
- }
390
- }
391
- ],
392
- "variableChainList": []
393
- },
394
- "content": "{\"label\":\"vip1\",\"ttl\":1800}"
395
- }
396
- ],
397
- "expType": "functionCall",
398
- "varChain": "fun"
399
- }
400
- }
401
- ],
402
- "eventPath": "Time",
403
- "eventCode": "T201",
404
- "eventId": "04e9cfdc"
405
- }
406
- ],
407
- "serviceStateSection": {
408
- "serviceState": "None"
409
- },
410
- "stateContextArgs": []
411
- },
412
- {
413
- "stateName": "AUTH_MEMBER",
414
- "assignments": [],
415
- "events": [
416
- {
417
- "type": "normal",
418
- "content": "Event.Transaction.Pay(amount=unitPrice,elemsNum=1)->AUTH_MEMBER{fun.addElements(setUnlocked,contract.licenseeSelectedElems,false)}",
419
- "config_params": [
420
- {
421
- "name": "amount",
422
- "type": "number"
423
- },
424
- {
425
- "name": "elemsNum",
426
- "type": "number"
427
- }
428
- ],
429
- "eventName": "Pay",
430
- "variableChainList": [
431
- "unitPrice"
432
- ],
433
- "eventParamList": [
434
- {
435
- "paramValue": "unitPrice",
436
- "paramValueObj": {
437
- "expType": "variableChain",
438
- "varType": "normal",
439
- "content": "unitPrice",
440
- "variableChainList": [
441
- "unitPrice"
442
- ]
443
- },
444
- "content": "amount=unitPrice",
445
- "paramName": "amount"
446
- },
447
- {
448
- "paramValue": "1",
449
- "paramValueObj": {
450
- "expType": "number",
451
- "value": "1",
452
- "variableChainList": []
453
- },
454
- "content": "elemsNum=1",
455
- "paramName": "elemsNum"
456
- }
457
- ],
458
- "toState": "AUTH_MEMBER",
459
- "stateContextArgs": [],
460
- "actions": [
461
- {
462
- "type": "functionCall",
463
- "content": "fun.addElements(setUnlocked,contract.licenseeSelectedElems,false)",
464
- "actionObj": {
465
- "funcName": "addElements",
466
- "variableChainList": [
467
- "setUnlocked",
468
- "contract.licenseeSelectedElems"
469
- ],
470
- "paramList": [
471
- {
472
- "paramValue": "setUnlocked",
473
- "paramValueObj": {
474
- "expType": "variableChain",
475
- "varType": "normal",
476
- "content": "setUnlocked",
477
- "variableChainList": [
478
- "setUnlocked"
479
- ]
480
- },
481
- "content": "setUnlocked"
482
- },
483
- {
484
- "paramValue": "contract.licenseeSelectedElems",
485
- "paramValueObj": {
486
- "expType": "variableChain",
487
- "varType": "normal",
488
- "content": "contract.licenseeSelectedElems",
489
- "variableChainList": [
490
- "contract.licenseeSelectedElems"
491
- ]
492
- },
493
- "content": "contract.licenseeSelectedElems"
494
- },
495
- {
496
- "paramValue": "false",
497
- "paramValueObj": {
498
- "expType": "boolean",
499
- "value": "false",
500
- "variableChainList": []
501
- },
502
- "content": "false"
503
- }
504
- ],
505
- "expType": "functionCall",
506
- "varChain": "fun"
507
- }
508
- }
509
- ],
510
- "eventPath": "Transaction",
511
- "eventCode": "T101",
512
- "eventId": "b103eb03"
513
- },
514
- {
515
- "type": "normal",
516
- "content": "Event.Transaction.Pay(amount=unitPrice*10*0.8,elemsNum=10)->AUTH_MEMBER{fun.addElements(setUnlocked,contract.licenseeSelectedElems,false)}",
517
- "config_params": [
518
- {
519
- "name": "amount",
520
- "type": "number"
521
- },
522
- {
523
- "name": "elemsNum",
524
- "type": "number"
525
- }
526
- ],
527
- "eventName": "Pay",
528
- "variableChainList": [
529
- "unitPrice"
530
- ],
531
- "eventParamList": [
532
- {
533
- "paramValue": "unitPrice*10*0.8",
534
- "paramValueObj": {
535
- "expType": "expOp",
536
- "var1": {
537
- "expType": "expOp",
538
- "var1": {
539
- "expType": "variableChain",
540
- "varType": "normal",
541
- "content": "unitPrice"
542
- },
543
- "var2": {
544
- "expType": "number",
545
- "value": "10"
546
- },
547
- "op": "*"
548
- },
549
- "var2": {
550
- "expType": "number",
551
- "value": "0.8"
552
- },
553
- "op": "*",
554
- "variableChainList": [
555
- "unitPrice"
556
- ]
557
- },
558
- "content": "amount=unitPrice*10*0.8",
559
- "paramName": "amount"
560
- },
561
- {
562
- "paramValue": "10",
563
- "paramValueObj": {
564
- "expType": "number",
565
- "value": "10",
566
- "variableChainList": []
567
- },
568
- "content": "elemsNum=10",
569
- "paramName": "elemsNum"
570
- }
571
- ],
572
- "toState": "AUTH_MEMBER",
573
- "stateContextArgs": [],
574
- "actions": [
575
- {
576
- "type": "functionCall",
577
- "content": "fun.addElements(setUnlocked,contract.licenseeSelectedElems,false)",
578
- "actionObj": {
579
- "funcName": "addElements",
580
- "variableChainList": [
581
- "setUnlocked",
582
- "contract.licenseeSelectedElems"
583
- ],
584
- "paramList": [
585
- {
586
- "paramValue": "setUnlocked",
587
- "paramValueObj": {
588
- "expType": "variableChain",
589
- "varType": "normal",
590
- "content": "setUnlocked",
591
- "variableChainList": [
592
- "setUnlocked"
593
- ]
594
- },
595
- "content": "setUnlocked"
596
- },
597
- {
598
- "paramValue": "contract.licenseeSelectedElems",
599
- "paramValueObj": {
600
- "expType": "variableChain",
601
- "varType": "normal",
602
- "content": "contract.licenseeSelectedElems",
603
- "variableChainList": [
604
- "contract.licenseeSelectedElems"
605
- ]
606
- },
607
- "content": "contract.licenseeSelectedElems"
608
- },
609
- {
610
- "paramValue": "false",
611
- "paramValueObj": {
612
- "expType": "boolean",
613
- "value": "false",
614
- "variableChainList": []
615
- },
616
- "content": "false"
617
- }
618
- ],
619
- "expType": "functionCall",
620
- "varChain": "fun"
621
- }
622
- }
623
- ],
624
- "eventPath": "Transaction",
625
- "eventCode": "T101",
626
- "eventId": "1f954422"
627
- },
628
- {
629
- "type": "normal",
630
- "content": "Event.Custom.AcceptEvent({\"title\":\"MembershipChange\",\"subject\":echoSubject,\"label\":\"vip1\"})->AUTH_VIP1",
631
- "config_params": [
632
- {
633
- "name": "condition",
634
- "type": "argsGroup"
635
- }
636
- ],
637
- "eventName": "AcceptEvent",
638
- "variableChainList": [
639
- "echoSubject"
640
- ],
641
- "eventParamList": [
642
- {
643
- "paramValue": "{\"title\":\"MembershipChange\",\"subject\":echoSubject,\"label\":\"vip1\"}",
644
- "paramValueObj": {
645
- "expType": "expArgsGroup",
646
- "paramList": [
647
- {
648
- "paramName": "title",
649
- "paramValue": "\"MembershipChange\"",
650
- "paramValueObj": {
651
- "expType": "string",
652
- "value": "MembershipChange"
653
- }
654
- },
655
- {
656
- "paramName": "subject",
657
- "paramValue": "echoSubject",
658
- "paramValueObj": {
659
- "expType": "variableChain",
660
- "varType": "normal",
661
- "content": "echoSubject"
662
- }
663
- },
664
- {
665
- "paramName": "label",
666
- "paramValue": "\"vip1\"",
667
- "paramValueObj": {
668
- "expType": "string",
669
- "value": "vip1"
670
- }
671
- }
672
- ],
673
- "variableChainList": [
674
- "echoSubject"
675
- ]
676
- },
677
- "content": "{\"title\":\"MembershipChange\",\"subject\":echoSubject,\"label\":\"vip1\"}"
678
- }
679
- ],
680
- "toState": "AUTH_VIP1",
681
- "stateContextArgs": [],
682
- "actions": [],
683
- "eventPath": "Custom",
684
- "eventCode": "C103",
685
- "eventId": "a237f57a"
686
- },
687
- {
688
- "type": "normal",
689
- "content": "Event.Custom.WatchAD(elemsNum=1)->AUTH_MEMBER{fun.addElements(setTemp,contract.licenseeSelectedElems,false)}",
690
- "config_params": [
691
- {
692
- "name": "elemsNum",
693
- "type": "number"
694
- }
695
- ],
696
- "eventName": "WatchAD",
697
- "variableChainList": [],
698
- "eventParamList": [
699
- {
700
- "paramValue": "1",
701
- "paramValueObj": {
702
- "expType": "number",
703
- "value": "1",
704
- "variableChainList": []
705
- },
706
- "content": "elemsNum=1",
707
- "paramName": "elemsNum"
708
- }
709
- ],
710
- "toState": "AUTH_MEMBER",
711
- "stateContextArgs": [],
712
- "actions": [
713
- {
714
- "type": "functionCall",
715
- "content": "fun.addElements(setTemp,contract.licenseeSelectedElems,false)",
716
- "actionObj": {
717
- "funcName": "addElements",
718
- "variableChainList": [
719
- "setTemp",
720
- "contract.licenseeSelectedElems"
721
- ],
722
- "paramList": [
723
- {
724
- "paramValue": "setTemp",
725
- "paramValueObj": {
726
- "expType": "variableChain",
727
- "varType": "normal",
728
- "content": "setTemp",
729
- "variableChainList": [
730
- "setTemp"
731
- ]
732
- },
733
- "content": "setTemp"
734
- },
735
- {
736
- "paramValue": "contract.licenseeSelectedElems",
737
- "paramValueObj": {
738
- "expType": "variableChain",
739
- "varType": "normal",
740
- "content": "contract.licenseeSelectedElems",
741
- "variableChainList": [
742
- "contract.licenseeSelectedElems"
743
- ]
744
- },
745
- "content": "contract.licenseeSelectedElems"
746
- },
747
- {
748
- "paramValue": "false",
749
- "paramValueObj": {
750
- "expType": "boolean",
751
- "value": "false",
752
- "variableChainList": []
753
- },
754
- "content": "false"
755
- }
756
- ],
757
- "expType": "functionCall",
758
- "varChain": "fun"
759
- }
760
- }
761
- ],
762
- "eventPath": "Custom",
763
- "eventCode": "C101",
764
- "eventId": "ab73e554"
765
- },
766
- {
767
- "type": "normal",
768
- "content": "Event.Time.Relative(2,\"minute\")->FINISH",
769
- "config_params": [
770
- {
771
- "name": "elapsed",
772
- "type": "number"
773
- },
774
- {
775
- "name": "timeUnit",
776
- "type": "string"
777
- }
778
- ],
779
- "eventName": "Relative",
780
- "variableChainList": [],
781
- "eventParamList": [
782
- {
783
- "paramValue": "2",
784
- "paramValueObj": {
785
- "expType": "number",
786
- "value": "2",
787
- "variableChainList": []
788
- },
789
- "content": "2"
790
- },
791
- {
792
- "paramValue": "\"minute\"",
793
- "paramValueObj": {
794
- "expType": "string",
795
- "value": "minute",
796
- "variableChainList": []
797
- },
798
- "content": "\"minute\""
799
- }
800
- ],
801
- "toState": "FINISH",
802
- "stateContextArgs": [],
803
- "actions": [],
804
- "eventPath": "Time",
805
- "eventCode": "T201",
806
- "eventId": "51f53f20"
807
- }
808
- ],
809
- "serviceStateSection": {
810
- "serviceState": "Partial",
811
- "serviceStateCollection": [
812
- "setUnlocked",
813
- "setTemp"
814
- ]
815
- },
816
- "stateContextArgs": []
817
- },
818
- {
819
- "stateName": "AUTH_VIP1",
820
- "assignments": [
821
- {
822
- "type": "varInitial",
823
- "content": "leta=1",
824
- "varName": "a",
825
- "varValue": "1",
826
- "varValueObj": {
827
- "expType": "number",
828
- "value": "1",
829
- "variableChainList": []
830
- },
831
- "varValueType": "number"
832
- },
833
- {
834
- "type": "varInitial",
835
- "content": "letb=[]",
836
- "varName": "b",
837
- "varValue": "[]",
838
- "varValueObj": {
839
- "expType": "expCondition",
840
- "paramList": [],
841
- "variableChainList": []
842
- },
843
- "varValueType": "array"
844
- }
845
- ],
846
- "events": [
847
- {
848
- "type": "normal",
849
- "content": "Event.Transaction.Pay(amount=unitPrice*0.75,elemsNum=1)->AUTH_VIP1{fun.addElements(setUnlocked,contract.licenseeSelectedElems,false)}",
850
- "config_params": [
851
- {
852
- "name": "amount",
853
- "type": "number"
854
- },
855
- {
856
- "name": "elemsNum",
857
- "type": "number"
858
- }
859
- ],
860
- "eventName": "Pay",
861
- "variableChainList": [
862
- "unitPrice"
863
- ],
864
- "eventParamList": [
865
- {
866
- "paramValue": "unitPrice*0.75",
867
- "paramValueObj": {
868
- "expType": "expOp",
869
- "var1": {
870
- "expType": "variableChain",
871
- "varType": "normal",
872
- "content": "unitPrice"
873
- },
874
- "var2": {
875
- "expType": "number",
876
- "value": "0.75"
877
- },
878
- "op": "*",
879
- "variableChainList": [
880
- "unitPrice"
881
- ]
882
- },
883
- "content": "amount=unitPrice*0.75",
884
- "paramName": "amount"
885
- },
886
- {
887
- "paramValue": "1",
888
- "paramValueObj": {
889
- "expType": "number",
890
- "value": "1",
891
- "variableChainList": []
892
- },
893
- "content": "elemsNum=1",
894
- "paramName": "elemsNum"
895
- }
896
- ],
897
- "toState": "AUTH_VIP1",
898
- "stateContextArgs": [],
899
- "actions": [
900
- {
901
- "type": "functionCall",
902
- "content": "fun.addElements(setUnlocked,contract.licenseeSelectedElems,false)",
903
- "actionObj": {
904
- "funcName": "addElements",
905
- "variableChainList": [
906
- "setUnlocked",
907
- "contract.licenseeSelectedElems"
908
- ],
909
- "paramList": [
910
- {
911
- "paramValue": "setUnlocked",
912
- "paramValueObj": {
913
- "expType": "variableChain",
914
- "varType": "normal",
915
- "content": "setUnlocked",
916
- "variableChainList": [
917
- "setUnlocked"
918
- ]
919
- },
920
- "content": "setUnlocked"
921
- },
922
- {
923
- "paramValue": "contract.licenseeSelectedElems",
924
- "paramValueObj": {
925
- "expType": "variableChain",
926
- "varType": "normal",
927
- "content": "contract.licenseeSelectedElems",
928
- "variableChainList": [
929
- "contract.licenseeSelectedElems"
930
- ]
931
- },
932
- "content": "contract.licenseeSelectedElems"
933
- },
934
- {
935
- "paramValue": "false",
936
- "paramValueObj": {
937
- "expType": "boolean",
938
- "value": "false",
939
- "variableChainList": []
940
- },
941
- "content": "false"
942
- }
943
- ],
944
- "expType": "functionCall",
945
- "varChain": "fun"
946
- }
947
- }
948
- ],
949
- "eventPath": "Transaction",
950
- "eventCode": "T101",
951
- "eventId": "301cb339"
952
- },
953
- {
954
- "type": "normal",
955
- "content": "Event.Transaction.Pay(amount=unitPrice*10*0.6,elemsNum=10)->AUTH_VIP1{fun.addElements(setUnlocked,contract.licenseeSelectedElems,false)}",
956
- "config_params": [
957
- {
958
- "name": "amount",
959
- "type": "number"
960
- },
961
- {
962
- "name": "elemsNum",
963
- "type": "number"
964
- }
965
- ],
966
- "eventName": "Pay",
967
- "variableChainList": [
968
- "unitPrice"
969
- ],
970
- "eventParamList": [
971
- {
972
- "paramValue": "unitPrice*10*0.6",
973
- "paramValueObj": {
974
- "expType": "expOp",
975
- "var1": {
976
- "expType": "expOp",
977
- "var1": {
978
- "expType": "variableChain",
979
- "varType": "normal",
980
- "content": "unitPrice"
981
- },
982
- "var2": {
983
- "expType": "number",
984
- "value": "10"
985
- },
986
- "op": "*"
987
- },
988
- "var2": {
989
- "expType": "number",
990
- "value": "0.6"
991
- },
992
- "op": "*",
993
- "variableChainList": [
994
- "unitPrice"
995
- ]
996
- },
997
- "content": "amount=unitPrice*10*0.6",
998
- "paramName": "amount"
999
- },
1000
- {
1001
- "paramValue": "10",
1002
- "paramValueObj": {
1003
- "expType": "number",
1004
- "value": "10",
1005
- "variableChainList": []
1006
- },
1007
- "content": "elemsNum=10",
1008
- "paramName": "elemsNum"
1009
- }
1010
- ],
1011
- "toState": "AUTH_VIP1",
1012
- "stateContextArgs": [],
1013
- "actions": [
1014
- {
1015
- "type": "functionCall",
1016
- "content": "fun.addElements(setUnlocked,contract.licenseeSelectedElems,false)",
1017
- "actionObj": {
1018
- "funcName": "addElements",
1019
- "variableChainList": [
1020
- "setUnlocked",
1021
- "contract.licenseeSelectedElems"
1022
- ],
1023
- "paramList": [
1024
- {
1025
- "paramValue": "setUnlocked",
1026
- "paramValueObj": {
1027
- "expType": "variableChain",
1028
- "varType": "normal",
1029
- "content": "setUnlocked",
1030
- "variableChainList": [
1031
- "setUnlocked"
1032
- ]
1033
- },
1034
- "content": "setUnlocked"
1035
- },
1036
- {
1037
- "paramValue": "contract.licenseeSelectedElems",
1038
- "paramValueObj": {
1039
- "expType": "variableChain",
1040
- "varType": "normal",
1041
- "content": "contract.licenseeSelectedElems",
1042
- "variableChainList": [
1043
- "contract.licenseeSelectedElems"
1044
- ]
1045
- },
1046
- "content": "contract.licenseeSelectedElems"
1047
- },
1048
- {
1049
- "paramValue": "false",
1050
- "paramValueObj": {
1051
- "expType": "boolean",
1052
- "value": "false",
1053
- "variableChainList": []
1054
- },
1055
- "content": "false"
1056
- }
1057
- ],
1058
- "expType": "functionCall",
1059
- "varChain": "fun"
1060
- }
1061
- }
1062
- ],
1063
- "eventPath": "Transaction",
1064
- "eventCode": "T101",
1065
- "eventId": "329de03c"
1066
- },
1067
- {
1068
- "type": "normal",
1069
- "content": "Event.Custom.AcceptEvent({\"title\":\"MembershipChange\",\"subject\":echoSubject,\"label\":\"member\"})->AUTH_MEMBER",
1070
- "config_params": [
1071
- {
1072
- "name": "condition",
1073
- "type": "argsGroup"
1074
- }
1075
- ],
1076
- "eventName": "AcceptEvent",
1077
- "variableChainList": [
1078
- "echoSubject"
1079
- ],
1080
- "eventParamList": [
1081
- {
1082
- "paramValue": "{\"title\":\"MembershipChange\",\"subject\":echoSubject,\"label\":\"member\"}",
1083
- "paramValueObj": {
1084
- "expType": "expArgsGroup",
1085
- "paramList": [
1086
- {
1087
- "paramName": "title",
1088
- "paramValue": "\"MembershipChange\"",
1089
- "paramValueObj": {
1090
- "expType": "string",
1091
- "value": "MembershipChange"
1092
- }
1093
- },
1094
- {
1095
- "paramName": "subject",
1096
- "paramValue": "echoSubject",
1097
- "paramValueObj": {
1098
- "expType": "variableChain",
1099
- "varType": "normal",
1100
- "content": "echoSubject"
1101
- }
1102
- },
1103
- {
1104
- "paramName": "label",
1105
- "paramValue": "\"member\"",
1106
- "paramValueObj": {
1107
- "expType": "string",
1108
- "value": "member"
1109
- }
1110
- }
1111
- ],
1112
- "variableChainList": [
1113
- "echoSubject"
1114
- ]
1115
- },
1116
- "content": "{\"title\":\"MembershipChange\",\"subject\":echoSubject,\"label\":\"member\"}"
1117
- }
1118
- ],
1119
- "toState": "AUTH_MEMBER",
1120
- "stateContextArgs": [],
1121
- "actions": [],
1122
- "eventPath": "Custom",
1123
- "eventCode": "C103",
1124
- "eventId": "19dbb6d2"
1125
- },
1126
- {
1127
- "type": "normal",
1128
- "content": "Event.Custom.WatchAD(elemsNum=1)->AUTH_VIP1{fun.addElements(setTemp,contract.licenseeSelectedElems,false)}",
1129
- "config_params": [
1130
- {
1131
- "name": "elemsNum",
1132
- "type": "number"
1133
- }
1134
- ],
1135
- "eventName": "WatchAD",
1136
- "variableChainList": [],
1137
- "eventParamList": [
1138
- {
1139
- "paramValue": "1",
1140
- "paramValueObj": {
1141
- "expType": "number",
1142
- "value": "1",
1143
- "variableChainList": []
1144
- },
1145
- "content": "elemsNum=1",
1146
- "paramName": "elemsNum"
1147
- }
1148
- ],
1149
- "toState": "AUTH_VIP1",
1150
- "stateContextArgs": [],
1151
- "actions": [
1152
- {
1153
- "type": "functionCall",
1154
- "content": "fun.addElements(setTemp,contract.licenseeSelectedElems,false)",
1155
- "actionObj": {
1156
- "funcName": "addElements",
1157
- "variableChainList": [
1158
- "setTemp",
1159
- "contract.licenseeSelectedElems"
1160
- ],
1161
- "paramList": [
1162
- {
1163
- "paramValue": "setTemp",
1164
- "paramValueObj": {
1165
- "expType": "variableChain",
1166
- "varType": "normal",
1167
- "content": "setTemp",
1168
- "variableChainList": [
1169
- "setTemp"
1170
- ]
1171
- },
1172
- "content": "setTemp"
1173
- },
1174
- {
1175
- "paramValue": "contract.licenseeSelectedElems",
1176
- "paramValueObj": {
1177
- "expType": "variableChain",
1178
- "varType": "normal",
1179
- "content": "contract.licenseeSelectedElems",
1180
- "variableChainList": [
1181
- "contract.licenseeSelectedElems"
1182
- ]
1183
- },
1184
- "content": "contract.licenseeSelectedElems"
1185
- },
1186
- {
1187
- "paramValue": "false",
1188
- "paramValueObj": {
1189
- "expType": "boolean",
1190
- "value": "false",
1191
- "variableChainList": []
1192
- },
1193
- "content": "false"
1194
- }
1195
- ],
1196
- "expType": "functionCall",
1197
- "varChain": "fun"
1198
- }
1199
- }
1200
- ],
1201
- "eventPath": "Custom",
1202
- "eventCode": "C101",
1203
- "eventId": "9f56692f"
1204
- },
1205
- {
1206
- "type": "normal",
1207
- "content": "Event.Time.Schedule(Time.AddTime(Time.GetTime(Time.Now(),\"day\"),1,\"day\"))->AUTH_VIP1{fun.clearElems(setTemp)}",
1208
- "config_params": [
1209
- {
1210
- "name": "dateTime",
1211
- "type": "string"
1212
- }
1213
- ],
1214
- "eventName": "Schedule",
1215
- "variableChainList": [],
1216
- "eventParamList": [
1217
- {
1218
- "paramValue": "Time.AddTime(Time.GetTime(Time.Now(),\"day\"),1,\"day\")",
1219
- "paramValueObj": {
1220
- "funcName": "AddTime",
1221
- "variableChainList": [],
1222
- "paramList": [
1223
- {
1224
- "paramValue": "Time.GetTime(Time.Now(),\"day\")",
1225
- "paramValueObj": {
1226
- "funcName": "GetTime",
1227
- "variableChainList": [],
1228
- "paramList": [
1229
- {
1230
- "paramValue": "Time.Now()",
1231
- "paramValueObj": {
1232
- "funcName": "Now",
1233
- "variableChainList": [],
1234
- "paramList": [],
1235
- "expType": "functionCall",
1236
- "varChain": "Time"
1237
- },
1238
- "content": "Time.Now()"
1239
- },
1240
- {
1241
- "paramValue": "\"day\"",
1242
- "paramValueObj": {
1243
- "expType": "string",
1244
- "value": "day"
1245
- },
1246
- "content": "\"day\""
1247
- }
1248
- ],
1249
- "expType": "functionCall",
1250
- "varChain": "Time"
1251
- },
1252
- "content": "Time.GetTime(Time.Now(),\"day\")"
1253
- },
1254
- {
1255
- "paramValue": "1",
1256
- "paramValueObj": {
1257
- "expType": "number",
1258
- "value": "1"
1259
- },
1260
- "content": "1"
1261
- },
1262
- {
1263
- "paramValue": "\"day\"",
1264
- "paramValueObj": {
1265
- "expType": "string",
1266
- "value": "day"
1267
- },
1268
- "content": "\"day\""
1269
- }
1270
- ],
1271
- "expType": "functionCall",
1272
- "varChain": "Time"
1273
- },
1274
- "content": "Time.AddTime(Time.GetTime(Time.Now(),\"day\"),1,\"day\")"
1275
- }
1276
- ],
1277
- "toState": "AUTH_VIP1",
1278
- "stateContextArgs": [],
1279
- "actions": [
1280
- {
1281
- "type": "functionCall",
1282
- "content": "fun.clearElems(setTemp)",
1283
- "actionObj": {
1284
- "funcName": "clearElems",
1285
- "variableChainList": [
1286
- "setTemp"
1287
- ],
1288
- "paramList": [
1289
- {
1290
- "paramValue": "setTemp",
1291
- "paramValueObj": {
1292
- "expType": "variableChain",
1293
- "varType": "normal",
1294
- "content": "setTemp",
1295
- "variableChainList": [
1296
- "setTemp"
1297
- ]
1298
- },
1299
- "content": "setTemp"
1300
- }
1301
- ],
1302
- "expType": "functionCall",
1303
- "varChain": "fun"
1304
- }
1305
- }
1306
- ],
1307
- "eventPath": "Time",
1308
- "eventCode": "T202",
1309
- "eventId": "7e14c1c9"
1310
- },
1311
- {
1312
- "type": "normal",
1313
- "content": "Event.Transaction.Pay(amount=0,elemsNum=1)->FREE_UNLOCK_ROUTE[elems:contract.licenseeSelectedElems]{a=2;b=fun.addElements(b,[a],false);Kit.Min(1,2)}",
1314
- "config_params": [
1315
- {
1316
- "name": "amount",
1317
- "type": "number"
1318
- },
1319
- {
1320
- "name": "elemsNum",
1321
- "type": "number"
1322
- }
1323
- ],
1324
- "eventName": "Pay",
1325
- "variableChainList": [],
1326
- "eventParamList": [
1327
- {
1328
- "paramValue": "0",
1329
- "paramValueObj": {
1330
- "expType": "number",
1331
- "value": "0",
1332
- "variableChainList": []
1333
- },
1334
- "content": "amount=0",
1335
- "paramName": "amount"
1336
- },
1337
- {
1338
- "paramValue": "1",
1339
- "paramValueObj": {
1340
- "expType": "number",
1341
- "value": "1",
1342
- "variableChainList": []
1343
- },
1344
- "content": "elemsNum=1",
1345
- "paramName": "elemsNum"
1346
- }
1347
- ],
1348
- "toState": "FREE_UNLOCK_ROUTE",
1349
- "stateContextArgs": [
1350
- {
1351
- "paramName": "elems",
1352
- "paramValue": "contract.licenseeSelectedElems",
1353
- "paramValueObj": {
1354
- "expType": "variableChain",
1355
- "varType": "normal",
1356
- "content": "contract.licenseeSelectedElems",
1357
- "variableChainList": [
1358
- "contract.licenseeSelectedElems"
1359
- ]
1360
- },
1361
- "content": "elems:contract.licenseeSelectedElems"
1362
- }
1363
- ],
1364
- "actions": [
1365
- {
1366
- "type": "varAssignment",
1367
- "content": "a=2",
1368
- "actionObj": {
1369
- "varName": "a",
1370
- "varValue": "2",
1371
- "varValueObj": {
1372
- "expType": "number",
1373
- "value": "2",
1374
- "variableChainList": []
1375
- },
1376
- "varValueType": "number"
1377
- }
1378
- },
1379
- {
1380
- "type": "varAssignment",
1381
- "content": "b=fun.addElements(b,[a],false)",
1382
- "actionObj": {
1383
- "varName": "b",
1384
- "varValue": "fun.addElements(b,[a],false)",
1385
- "varValueObj": {
1386
- "funcName": "addElements",
1387
- "variableChainList": [
1388
- "b",
1389
- "a"
1390
- ],
1391
- "paramList": [
1392
- {
1393
- "paramValue": "b",
1394
- "paramValueObj": {
1395
- "expType": "variableChain",
1396
- "varType": "normal",
1397
- "content": "b"
1398
- },
1399
- "content": "b"
1400
- },
1401
- {
1402
- "paramValue": "[a]",
1403
- "paramValueObj": {
1404
- "expType": "expCondition",
1405
- "paramList": [
1406
- {
1407
- "paramValue": "a",
1408
- "paramValueObj": {
1409
- "expType": "variableChain",
1410
- "varType": "normal",
1411
- "content": "a"
1412
- }
1413
- }
1414
- ]
1415
- },
1416
- "content": "[a]"
1417
- },
1418
- {
1419
- "paramValue": "false",
1420
- "paramValueObj": {
1421
- "expType": "boolean",
1422
- "value": "false"
1423
- },
1424
- "content": "false"
1425
- }
1426
- ],
1427
- "expType": "functionCall",
1428
- "varChain": "fun"
1429
- },
1430
- "varValueType": "array"
1431
- }
1432
- },
1433
- {
1434
- "type": "functionCall",
1435
- "content": "Kit.Min(1,2)",
1436
- "actionObj": {
1437
- "funcName": "Min",
1438
- "variableChainList": [],
1439
- "paramList": [
1440
- {
1441
- "paramValue": "1",
1442
- "paramValueObj": {
1443
- "expType": "number",
1444
- "value": "1",
1445
- "variableChainList": []
1446
- },
1447
- "content": "1"
1448
- },
1449
- {
1450
- "paramValue": "2",
1451
- "paramValueObj": {
1452
- "expType": "number",
1453
- "value": "2",
1454
- "variableChainList": []
1455
- },
1456
- "content": "2"
1457
- }
1458
- ],
1459
- "expType": "functionCall",
1460
- "varChain": "Kit"
1461
- }
1462
- }
1463
- ],
1464
- "eventPath": "Transaction",
1465
- "eventCode": "T101",
1466
- "eventId": "93be49fd"
1467
- },
1468
- {
1469
- "type": "normal",
1470
- "content": "Event.Time.Schedule(Time.AddTime(Time.GetTime(Time.Now(),\"month\"),1,\"month\"))->AUTH_VIP1{fun.clearElems(setFree)}",
1471
- "config_params": [
1472
- {
1473
- "name": "dateTime",
1474
- "type": "string"
1475
- }
1476
- ],
1477
- "eventName": "Schedule",
1478
- "variableChainList": [],
1479
- "eventParamList": [
1480
- {
1481
- "paramValue": "Time.AddTime(Time.GetTime(Time.Now(),\"month\"),1,\"month\")",
1482
- "paramValueObj": {
1483
- "funcName": "AddTime",
1484
- "variableChainList": [],
1485
- "paramList": [
1486
- {
1487
- "paramValue": "Time.GetTime(Time.Now(),\"month\")",
1488
- "paramValueObj": {
1489
- "funcName": "GetTime",
1490
- "variableChainList": [],
1491
- "paramList": [
1492
- {
1493
- "paramValue": "Time.Now()",
1494
- "paramValueObj": {
1495
- "funcName": "Now",
1496
- "variableChainList": [],
1497
- "paramList": [],
1498
- "expType": "functionCall",
1499
- "varChain": "Time"
1500
- },
1501
- "content": "Time.Now()"
1502
- },
1503
- {
1504
- "paramValue": "\"month\"",
1505
- "paramValueObj": {
1506
- "expType": "string",
1507
- "value": "month"
1508
- },
1509
- "content": "\"month\""
1510
- }
1511
- ],
1512
- "expType": "functionCall",
1513
- "varChain": "Time"
1514
- },
1515
- "content": "Time.GetTime(Time.Now(),\"month\")"
1516
- },
1517
- {
1518
- "paramValue": "1",
1519
- "paramValueObj": {
1520
- "expType": "number",
1521
- "value": "1"
1522
- },
1523
- "content": "1"
1524
- },
1525
- {
1526
- "paramValue": "\"month\"",
1527
- "paramValueObj": {
1528
- "expType": "string",
1529
- "value": "month"
1530
- },
1531
- "content": "\"month\""
1532
- }
1533
- ],
1534
- "expType": "functionCall",
1535
- "varChain": "Time"
1536
- },
1537
- "content": "Time.AddTime(Time.GetTime(Time.Now(),\"month\"),1,\"month\")"
1538
- }
1539
- ],
1540
- "toState": "AUTH_VIP1",
1541
- "stateContextArgs": [],
1542
- "actions": [
1543
- {
1544
- "type": "functionCall",
1545
- "content": "fun.clearElems(setFree)",
1546
- "actionObj": {
1547
- "funcName": "clearElems",
1548
- "variableChainList": [
1549
- "setFree"
1550
- ],
1551
- "paramList": [
1552
- {
1553
- "paramValue": "setFree",
1554
- "paramValueObj": {
1555
- "expType": "variableChain",
1556
- "varType": "normal",
1557
- "content": "setFree",
1558
- "variableChainList": [
1559
- "setFree"
1560
- ]
1561
- },
1562
- "content": "setFree"
1563
- }
1564
- ],
1565
- "expType": "functionCall",
1566
- "varChain": "fun"
1567
- }
1568
- }
1569
- ],
1570
- "eventPath": "Time",
1571
- "eventCode": "T202",
1572
- "eventId": "19b19cc9"
1573
- }
1574
- ],
1575
- "serviceStateSection": {
1576
- "serviceState": "Partial",
1577
- "serviceStateCollection": [
1578
- "setUnlocked",
1579
- "setTemp",
1580
- "setFree"
1581
- ]
1582
- },
1583
- "stateContextArgs": []
1584
- },
1585
- {
1586
- "stateName": "FREE_UNLOCK_ROUTE",
1587
- "assignments": [
1588
- {
1589
- "type": "varInitial",
1590
- "content": "letfreeUnlockedSize=Kit.Array.Size(setFree)",
1591
- "varName": "freeUnlockedSize",
1592
- "varValue": "Kit.Array.Size(setFree)",
1593
- "varValueObj": {
1594
- "funcName": "Size",
1595
- "variableChainList": [
1596
- "setFree"
1597
- ],
1598
- "paramList": [
1599
- {
1600
- "paramValue": "setFree",
1601
- "paramValueObj": {
1602
- "expType": "variableChain",
1603
- "varType": "normal",
1604
- "content": "setFree"
1605
- },
1606
- "content": "setFree"
1607
- }
1608
- ],
1609
- "expType": "functionCall",
1610
- "varChain": "Kit.Array"
1611
- },
1612
- "varValueType": "number"
1613
- }
1614
- ],
1615
- "events": [
1616
- {
1617
- "type": "normal",
1618
- "content": "Event.Void(freeUnlockedSize<4)->AUTH_VIP1{fun.addElements(setFree,elems,false)}",
1619
- "config_params": [
1620
- {
1621
- "name": "condition",
1622
- "type": "boolean",
1623
- "optional": true
1624
- }
1625
- ],
1626
- "eventName": "Void",
1627
- "variableChainList": [
1628
- "freeUnlockedSize"
1629
- ],
1630
- "eventParamList": [
1631
- {
1632
- "paramValue": "freeUnlockedSize<4",
1633
- "paramValueObj": {
1634
- "expType": "expBooleanOpCompare",
1635
- "var1": {
1636
- "expType": "variableChain",
1637
- "varType": "normal",
1638
- "content": "freeUnlockedSize"
1639
- },
1640
- "var2": {
1641
- "expType": "number",
1642
- "value": "4"
1643
- },
1644
- "op": "<",
1645
- "variableChainList": [
1646
- "freeUnlockedSize"
1647
- ]
1648
- },
1649
- "content": "freeUnlockedSize<4"
1650
- }
1651
- ],
1652
- "toState": "AUTH_VIP1",
1653
- "stateContextArgs": [],
1654
- "actions": [
1655
- {
1656
- "type": "functionCall",
1657
- "content": "fun.addElements(setFree,elems,false)",
1658
- "actionObj": {
1659
- "funcName": "addElements",
1660
- "variableChainList": [
1661
- "setFree",
1662
- "elems"
1663
- ],
1664
- "paramList": [
1665
- {
1666
- "paramValue": "setFree",
1667
- "paramValueObj": {
1668
- "expType": "variableChain",
1669
- "varType": "normal",
1670
- "content": "setFree",
1671
- "variableChainList": [
1672
- "setFree"
1673
- ]
1674
- },
1675
- "content": "setFree"
1676
- },
1677
- {
1678
- "paramValue": "elems",
1679
- "paramValueObj": {
1680
- "expType": "variableChain",
1681
- "varType": "normal",
1682
- "content": "elems",
1683
- "variableChainList": [
1684
- "elems"
1685
- ]
1686
- },
1687
- "content": "elems"
1688
- },
1689
- {
1690
- "paramValue": "false",
1691
- "paramValueObj": {
1692
- "expType": "boolean",
1693
- "value": "false",
1694
- "variableChainList": []
1695
- },
1696
- "content": "false"
1697
- }
1698
- ],
1699
- "expType": "functionCall",
1700
- "varChain": "fun"
1701
- }
1702
- }
1703
- ],
1704
- "eventCode": "V101",
1705
- "eventId": "9a0de136"
1706
- },
1707
- {
1708
- "type": "normal",
1709
- "content": "Event.Void(freeUnlockedSize>=4)->AUTH_VIP1",
1710
- "config_params": [
1711
- {
1712
- "name": "condition",
1713
- "type": "boolean",
1714
- "optional": true
1715
- }
1716
- ],
1717
- "eventName": "Void",
1718
- "variableChainList": [
1719
- "freeUnlockedSize"
1720
- ],
1721
- "eventParamList": [
1722
- {
1723
- "paramValue": "freeUnlockedSize>=4",
1724
- "paramValueObj": {
1725
- "expType": "expBooleanOpCompare",
1726
- "var1": {
1727
- "expType": "variableChain",
1728
- "varType": "normal",
1729
- "content": "freeUnlockedSize"
1730
- },
1731
- "var2": {
1732
- "expType": "number",
1733
- "value": "4"
1734
- },
1735
- "op": ">=",
1736
- "variableChainList": [
1737
- "freeUnlockedSize"
1738
- ]
1739
- },
1740
- "content": "freeUnlockedSize>=4"
1741
- }
1742
- ],
1743
- "toState": "AUTH_VIP1",
1744
- "stateContextArgs": [],
1745
- "actions": [],
1746
- "eventCode": "V101",
1747
- "eventId": "7fa963ab"
1748
- }
1749
- ],
1750
- "serviceStateSection": {
1751
- "serviceState": "None"
1752
- },
1753
- "stateContextArgs": [
1754
- "elems"
1755
- ]
1756
- },
1757
- {
1758
- "stateName": "FINISH",
1759
15
  "assignments": [],
1760
16
  "events": [
1761
17
  {
@@ -1764,7 +20,9 @@
1764
20
  "eventName": "terminate"
1765
21
  }
1766
22
  ],
1767
- "serviceStateSection": {},
23
+ "serviceStateSection": {
24
+ "serviceState": "Full"
25
+ },
1768
26
  "stateContextArgs": []
1769
27
  }
1770
28
  ]