diff --git a/farmbot_celery_script/fixture/sequence_pair.json b/farmbot_celery_script/fixture/sequence_pair.json new file mode 100644 index 00000000..1306f008 --- /dev/null +++ b/farmbot_celery_script/fixture/sequence_pair.json @@ -0,0 +1,92 @@ +[ + { + "id": 777, + "kind": "sequence", + "args": { + "version": 20180209, + "locals": { + "kind": "scope_declaration", + "args": {}, + "body": [ + { + "kind": "variable_declaration", + "args": { + "label": "parent", + "data_value": { + "kind": "point", + "args": { + "pointer_type": "Plant", + "pointer_id": 456 + } + } + } + } + ] + } + }, + "body": [ + { + "kind": "execute", + "args": { + "sequence_id": 123 + }, + "body": [ + { + "kind": "variable_declaration", + "args": { + "label": "parent", + "data_value": { + "kind": "identifier", + "args": { + "label": "parent" + } + } + } + } + ] + } + ] + }, + { + "id": 123, + "kind": "sequence", + "args": { + "version": 20180209, + "locals": { + "kind": "scope_declaration", + "args": {}, + "body": [ + { + "kind": "parameter_declaration", + "args": { + "label": "parent", + "data_type": "point" + } + } + ] + } + }, + "body": [ + { + "kind": "move_absolute", + "args": { + "speed": 100, + "location": { + "kind": "identifier", + "args": { + "label": "parent" + } + }, + "offset": { + "kind": "coordinate", + "args": { + "x": 0, + "y": 0, + "z": 0 + } + } + } + } + ] + } +] \ No newline at end of file