Skip to content
Snippets Groups Projects
Commit b6f8d016 authored by jojohoch's avatar jojohoch
Browse files

[player] Fix sending of stateVariables of unitState in standalone mode

parent 1628f26f
No related branches found
No related tags found
No related merge requests found
......@@ -58,8 +58,8 @@ export class UnitMenuComponent {
reloadUnit(): void {
const elementCodes: Response[] = this.elementCodes
.map(ec => ({ id: ec.alias, status: ec.status, value: ec.value }));
const stateVariableCodes: Response[] = this.elementCodes
.map(ec => ({ id: ec.alias, status: ec.status, value: ec.value }));
const stateVariableCodes: Response[] = this.stateVariableCodes
.map(sv => ({ id: sv.alias, status: sv.status, value: sv.value }));
this.vopStartCommandMessage.unitState = {
dataParts: {
elementCodes: JSON.stringify(elementCodes),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment