Files
polaris_hmi/backend/models.py
2025-11-17 08:44:00 +01:00

15 lines
275 B
Python

from pydantic import BaseModel
from asyncua import ua
from typing import Any
class SemiAutoControl(BaseModel):
string: int
module: int
unit: int
enable: bool
class WriteNodeCommand(BaseModel):
nodeId: str
nodeValue: Any
nodeType: ua.VariantType