Variable dcUsbSwitchSchemaConst
dcUsbSwitchSchema: ZodObject<
extendShape<
extendShape<
{
id: ZodNumber;
sn: ZodType<`R331${string}`, ZodTypeDef, `R331${string}`>;
version: ZodLiteral<"1.0">;
},
{ moduleType: ZodLiteral<1> },
>,
{
operateType: ZodLiteral<"dcOutCfg">;
params: ZodObject<
{ enabled: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]> },
"strip",
ZodTypeAny,
{ enabled: 0 | 1 },
{ enabled: 0 | 1 },
>;
},
>,
"strip",
ZodTypeAny,
{
id: number;
moduleType: 1;
operateType: "dcOutCfg";
params: { enabled: 0
| 1 };
sn: `R331${string}`;
version: "1.0";
},
{
id: number;
moduleType: 1;
operateType: "dcOutCfg";
params: { enabled: 0
| 1 };
sn: `R331${string}`;
version: "1.0";
},
> = ...
Set DC(USB) switch (0: off, 1: on)