reactive_graph_std_logical_model/entity/
and3.rs1use crate::NAMESPACE_LOGICAL;
2use reactive_graph_graph::entity_ty;
3use reactive_graph_graph::flow_ty;
4use reactive_graph_graph::properties;
5use reactive_graph_reactive_model_api::entity_model;
6use reactive_graph_std_result_model::ResultBoolean;
7
8properties!(And3Properties, (INPUT_1, "input1", false), (INPUT_2, "input2", false), (INPUT_3, "input3", false));
9
10entity_ty!(ENTITY_TYPE_AND3, NAMESPACE_LOGICAL, ENTITY_TYPE_NAME_AND3, "and3");
11flow_ty!(FLOW_TYPE_AND3, NAMESPACE_LOGICAL, FLOW_TYPE_NAME_AND3, "and3");
12
13entity_model!(
14 And3,
15 set input1 bool,
16 set input2 bool,
17 set input3 bool
18);
19impl ResultBoolean for And3 {}