-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added app_data and extended subplots
- Loading branch information
1 parent
d5fc388
commit 1c67072
Showing
2 changed files
with
77 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
syntax = "proto3"; | ||
|
||
package App; | ||
|
||
message DoubleTrigger | ||
{ | ||
string id = 1; | ||
string message = 2; | ||
string signal = 3; | ||
int32 comparator = 4; | ||
double value = 5; | ||
uint32 color = 6; | ||
} | ||
|
||
message EnumTrigger | ||
{ | ||
string id = 1; | ||
string message = 2; | ||
string signal = 3; | ||
int32 comparator = 4; | ||
uint64 value = 5; | ||
uint32 color = 6; | ||
} | ||
|
||
message BitTrigger | ||
{ | ||
string id = 1; | ||
string message = 2; | ||
string signal = 3; | ||
int32 comparator = 4; | ||
uint64 value = 5; | ||
uint32 color = 6; | ||
} | ||
|
||
message CustomPlotItem | ||
{ | ||
string messageAxisX = 1; | ||
string messageAxisY = 2; | ||
string signalAxisX = 3; | ||
string signalAxisY = 4; | ||
bool isEnum = 5; | ||
uint32 color = 6; | ||
} | ||
|
||
message CustomPlotAxis | ||
{ | ||
string label = 1; | ||
repeated CustomPlotItem items = 2; | ||
} | ||
|
||
message CustomPlot | ||
{ | ||
string title = 1; | ||
map<int32, Axis> axes = 2; | ||
} | ||
|
||
message CustomSubPlots | ||
{ | ||
uint32 rows = 1; | ||
repeated CustomPlot plots = 2; | ||
} | ||
|
||
message CustomPlotsTab | ||
{ | ||
repeated CustomSubPlots subPlots = 1; | ||
} | ||
|
||
message AppData | ||
{ | ||
repeated DoubleTrigger doubleTriggers = 1; | ||
repeated EnumTrigger enumTriggers = 2; | ||
repeated BitTrigger bitTriggers = 3; | ||
map<string, CustomPlotsTab> customPlotsTabs = 4; | ||
} |