Variable wave2SetMainModeSchemaConst
wave2SetMainModeSchema: ZodObject<
extendShape<
{
id: ZodNumber;
moduleType: ZodLiteral<1>;
sn: ZodType<`KT21${string}`, ZodTypeDef, `KT21${string}`>;
version: ZodLiteral<"1.0">;
},
{
operateType: ZodLiteral<"mainMode">;
params: ZodObject<
{
mainMode: ZodUnion<
[ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>, ZodLiteral<2>],
>;
},
"strip",
ZodTypeAny,
{ mainMode: 0
| 1
| 2 },
{ mainMode: 0 | 1 | 2 },
>;
},
>,
"strip",
ZodTypeAny,
{
id: number;
moduleType: 1;
operateType: "mainMode";
params: { mainMode: 0
| 1
| 2 };
sn: `KT21${string}`;
version: "1.0";
},
{
id: number;
moduleType: 1;
operateType: "mainMode";
params: { mainMode: 0
| 1
| 2 };
sn: `KT21${string}`;
version: "1.0";
},
> = ...
Set main mode(0: Cool, 1: Heat, 2: Fan)