update setWorkingModuleConfig to include mapReportSettings
This commit is contained in:
1 parent
283f548136
commit
a5a37cd4ab
2 files changed
+6
-3
No files matched your search
@@ -11,7 +11,10 @@ export const MQTT = (): JSX.Element => {
|
||||
new Protobuf.ModuleConfig.ModuleConfig({
|
||||
payloadVariant: {
|
||||
case: "mqtt",
|
||||
value: data,
|
||||
value: {
|
||||
...data,
|
||||
mapReportSettings: new Protobuf.ModuleConfig.ModuleConfig_MapReportSettings(data.mapReportSettings)
|
||||
},
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
@@ -46,11 +46,11 @@ export class MqttValidationMapReportSettings
|
||||
implements
|
||||
Omit<Protobuf.ModuleConfig.ModuleConfig_MapReportSettings, keyof Message>
|
||||
{
|
||||
@IsOptional()
|
||||
@IsNumber()
|
||||
@IsOptional()
|
||||
publishIntervalSecs: number;
|
||||
|
||||
@IsOptional()
|
||||
@IsNumber()
|
||||
@IsOptional()
|
||||
positionPrecision: number;
|
||||
}
|
||||
Reference in new issue
Block a user