Skip to content

Commit

Permalink
removed eval component
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Oct 5, 2021
1 parent eff5acb commit 36f2e9a
Show file tree
Hide file tree
Showing 7 changed files with 38,582 additions and 38,638 deletions.
Binary file modified scripts/DC Power App/DC Power.app
Binary file not shown.
4 changes: 2 additions & 2 deletions scripts/DC Power App/DC Power.eez-project
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,8 @@
},
{
"type": "SwitchActionComponent",
"left": -81,
"top": -134,
"left": -80,
"top": -136,
"width": 434,
"height": 98,
"wireID": "647469f9-dc20-48ca-dfd2-9a416417b36b",
Expand Down
3 changes: 0 additions & 3 deletions src/eez/flow/components.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void executeOutputComponent(FlowState *flowState, unsigned componentIndex);
void executeDelayComponent(FlowState *flowState, unsigned componentIndex);
void executeConstantComponent(FlowState *flowState, unsigned componentIndex);
void executeSetVariableComponent(FlowState *flowState, unsigned componentIndex);
void executeEvalComponent(FlowState *flowState, unsigned componentIndex);
void executeLoopComponent(FlowState *flowState, unsigned componentIndex);
void executeSwitchComponent(FlowState *flowState, unsigned componentIndex);
void executeLogComponent(FlowState *flowState, unsigned componentIndex);
Expand All @@ -62,8 +61,6 @@ void executeComponent(FlowState *flowState, unsigned componentIndex) {
executeConstantComponent(flowState, componentIndex);
} else if (component->type == defs_v3::COMPONENT_TYPE_SET_VARIABLE_ACTION) {
executeSetVariableComponent(flowState, componentIndex);
} else if (component->type == defs_v3::COMPONENT_TYPE_EVAL_ACTION) {
executeEvalComponent(flowState, componentIndex);
} else if (component->type == defs_v3::COMPONENT_TYPE_LOOP_ACTION) {
executeLoopComponent(flowState, componentIndex);
} else if (component->type == defs_v3::COMPONENT_TYPE_SWITCH_ACTION) {
Expand Down
45 changes: 0 additions & 45 deletions src/eez/flow/components/eval.cpp

This file was deleted.

7 changes: 2 additions & 5 deletions src/eez/flow/flow_defs_v3.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,6 @@ enum Component_INPUT_EMBEDDED_WIDGET_Properties {
INPUT_EMBEDDED_WIDGET_PROPERTY_UNIT = 4
};

enum Component_EVAL_ACTION_COMPONENT_Properties {
EVAL_ACTION_COMPONENT_PROPERTY_EXPRESSION = 0
};

enum Component_SET_VARIABLE_ACTION_COMPONENT_Properties {
SET_VARIABLE_ACTION_COMPONENT_PROPERTY_VALUE = 0
};
Expand All @@ -208,7 +204,8 @@ enum Component_READ_SETTING_ACTION_COMPONENT_Properties {
};

enum Component_WRITE_SETTINGS_ACTION_COMPONENT_Properties {
WRITE_SETTINGS_ACTION_COMPONENT_PROPERTY_KEY = 0
WRITE_SETTINGS_ACTION_COMPONENT_PROPERTY_KEY = 0,
WRITE_SETTINGS_ACTION_COMPONENT_PROPERTY_VALUE = 1
};

enum Component_LOG_ACTION_COMPONENT_Properties {
Expand Down
Loading

0 comments on commit 36f2e9a

Please sign in to comment.