Variable wave2SetFanValueSchemaConst
wave2SetFanValueSchema: ZodObject<
extendShape<
{
id: ZodNumber;
moduleType: ZodLiteral<1>;
sn: ZodType<`KT21${string}`, ZodTypeDef, `KT21${string}`>;
version: ZodLiteral<"1.0">;
},
{
operateType: ZodLiteral<"fanValue">;
params: ZodObject<
{
fanValue: ZodUnion<
[ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>, ZodLiteral<2>],
>;
},
"strip",
ZodTypeAny,
{ fanValue: 0
| 1
| 2 },
{ fanValue: 0 | 1 | 2 },
>;
},
>,
"strip",
ZodTypeAny,
{
id: number;
moduleType: 1;
operateType: "fanValue";
params: { fanValue: 0
| 1
| 2 };
sn: `KT21${string}`;
version: "1.0";
},
{
id: number;
moduleType: 1;
operateType: "fanValue";
params: { fanValue: 0
| 1
| 2 };
sn: `KT21${string}`;
version: "1.0";
},
> = ...
Set wind speed (0: Low; 1: Medium; 2: High)