Variable shpChannelEnableStatusConfigSchemaConst
shpChannelEnableStatusConfigSchema: ZodObject<
extendShape<
{
operateType: ZodLiteral<"TCP">;
sn: ZodType<`SP10${string}`, ZodTypeDef, `SP10${string}`>;
},
{
params: ZodObject<
{
chNum: ZodNumber;
cmdSet: ZodLiteral<11>;
id: ZodLiteral<26>;
isEnable: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>;
},
"strip",
ZodTypeAny,
{ chNum: number; cmdSet: 11; id: 26; isEnable: 0
| 1 },
{ chNum: number; cmdSet: 11; id: 26; isEnable: 0 | 1 },
>;
},
>,
"strip",
ZodTypeAny,
{
operateType: "TCP";
params: { chNum: number; cmdSet: 11; id: 26; isEnable: 0
| 1 };
sn: `SP10${string}`;
},
{
operateType: "TCP";
params: { chNum: number; cmdSet: 11; id: 26; isEnable: 0
| 1 };
sn: `SP10${string}`;
},
> = ...
Channel enable status configuration(chNum: 0–9, isEnable, 0: off, 1: on)