1297 civet enum (#1298)

* include freeze time tics in calculation for websocket data intervals

* add enum type to web server types

closes #1297
This commit is contained in:
Scott Fennell 2022-06-29 13:52:15 -05:00 committed by GitHub
parent 866c21d5a5
commit 284ea8521a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,6 +119,9 @@ void VariableServerVariable::writeValue( std::ostream& outs ) {
case TRICK_UNSIGNED_SHORT:
outs << std::dec << *(unsigned short*)stageBuffer;
break;
case TRICK_ENUMERATED:
outs << std::dec << *(int*)stageBuffer;
break;
case TRICK_INTEGER:
outs << std::dec << *(int*)stageBuffer;
break;