Showing
1 changed file
with
1 additions
and
0 deletions
@@ -89,6 +89,7 @@ export const step1Schemas: FormSchema[] = [ | @@ -89,6 +89,7 @@ export const step1Schemas: FormSchema[] = [ | ||
89 | transportType, | 89 | transportType, |
90 | deviceProfileId: id, | 90 | deviceProfileId: id, |
91 | gatewayId: null, | 91 | gatewayId: null, |
92 | + codeType: transportType === TransportTypeEnum.TCP ? TaskTypeEnum.MODBUS : null, | ||
92 | }); | 93 | }); |
93 | }, | 94 | }, |
94 | showSearch: true, | 95 | showSearch: true, |