Add Undefined and Mixed state for use in SDK

This commit is contained in:
Alexey Rybalchenko
2020-07-14 12:23:16 +02:00
parent ba3a82b1df
commit a6da208e79
7 changed files with 79 additions and 23 deletions

View File

@@ -18,9 +18,10 @@ namespace fair
namespace mq
{
array<string, 15> stateNames =
array<string, 16> stateNames =
{
{
"UNDEFINED",
"OK",
"ERROR",
"IDLE",
@@ -41,6 +42,7 @@ array<string, 15> stateNames =
unordered_map<string, State> states =
{
{ "UNDEFINED", State::Undefined },
{ "OK", State::Ok },
{ "ERROR", State::Error },
{ "IDLE", State::Idle },