Skip to content

Commit

Permalink
feat: added EnumTrigger
Browse files Browse the repository at this point in the history
  • Loading branch information
guglielmo-boi committed Mar 6, 2024
1 parent d6ee3b3 commit bfb2440
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions proto/app/app_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,25 @@ message Connection
string mode = 3;
}

message Trigger
message SignalTrigger
{
string id = 1;
string message = 2;
string signal = 3;
uint32 comparator = 4;
int32 comparator = 4;
double value = 5;
uint32 color = 6;
}

message EnumTrigger
{
string id = 1;
string message = 2;
string signal = 3;
int32 value = 4;
uint32 color = 5;
}

message AxisItem
{
string message = 1;
Expand Down Expand Up @@ -47,9 +56,10 @@ message AppConfig
Connection connection = 4;
map<string, Connection> savedConnections = 5;
repeated string activeTabs = 6;
repeated Trigger triggers = 7;
repeated CustomPlot customPlots = 8;
map<string, string> filesPaths = 9;
map<string, string> stringCache = 10;
map<string, bool> boolCache = 11;
repeated SignalTrigger signalTriggers = 7;
repeated EnumTrigger enumTriggers = 8;
repeated CustomPlot customPlots = 9;
map<string, string> filesPaths = 10;
map<string, string> stringCache = 11;
map<string, bool> boolCache = 12;
}

0 comments on commit bfb2440

Please sign in to comment.