Documentation
    Preparing search index...

    Variable carChargerSwitchSchemaConst

    carChargerSwitchSchema: ZodObject<
        {
            id: ZodNumber;
            sn: ZodType<`R331${string}`, ZodTypeDef, `R331${string}`>;
            version: ZodLiteral<"1.0">;
        } & { moduleType: ZodLiteral<5> } & {
            operateType: ZodLiteral<"mpptCar">;
            params: ZodObject<
                { enabled: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]> },
                "strip",
                ZodTypeAny,
                { enabled: 0 | 1 },
                { enabled: 0 | 1 },
            >;
        },
        "strip",
        ZodTypeAny,
        {
            id: number;
            moduleType: 5;
            operateType: "mpptCar";
            params: { enabled: 0
            | 1 };
            sn: `R331${string}`;
            version: "1.0";
        },
        {
            id: number;
            moduleType: 5;
            operateType: "mpptCar";
            params: { enabled: 0
            | 1 };
            sn: `R331${string}`;
            version: "1.0";
        },
    > = ...

    Set car charger switch (1: On; 0: Off)

    {
    "id": 123456789,
    "version":"1.0",
    "sn": "R331XXXXXX",
    "moduleType": 5,
    "operateType": "mpptCar",
    "params": {
    "enabled":1
    }
    }