Difference between revisions of "VehicleState"
Jump to navigation
Jump to search
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<graphviz> | <graphviz> | ||
digraph VehicleState { | digraph VehicleState { | ||
+ | rankdir=LR | ||
subgraph cluster_door { | subgraph cluster_door { | ||
label="Door"; | label="Door"; | ||
Line 11: | Line 12: | ||
subgraph cluster_AC { | subgraph cluster_AC { | ||
label="AC"; | label="AC"; | ||
− | + | ACConnected -> ACPower [dir="both"] | |
− | + | ACConnected -> ACDisconnected [dir="both"] | |
+ | } | ||
+ | subgraph cluster_DC { | ||
+ | label="Chademo"; | ||
+ | DCConnected -> DCPower [dir="both"] | ||
+ | DCConnected -> DCDisconnected [dir="both"] | ||
+ | } | ||
+ | subgraph cluster_OBC { | ||
+ | label="Incar Computer" | ||
+ | InCarOff -> InCarOn -> InCarSoftwareStarted [dir="both"] | ||
+ | } | ||
+ | subgraph cluster_OBD { | ||
+ | label="OBD" | ||
+ | OBDOff -> OBDOn [dir="both"] | ||
+ | OBDOn -> OBDSleep [dir="both"] | ||
+ | OBDSleep -> OBDOff | ||
+ | } | ||
+ | subgraph cluster_Bluetooth { | ||
+ | label="Bluetooth" | ||
+ | BLDisconnected -> BLPaired -> BLConnected [dir="both"] | ||
+ | } | ||
+ | subgraph cluster_Wifi { | ||
+ | label="Wifi" | ||
+ | WifiOutOfRange -> WifiInRange -> WifiConnected [dir="both"] | ||
+ | } | ||
+ | subgraph cluster_USB { | ||
+ | label="USB" | ||
+ | UBSConnected -> USBDisconnected [dir="both"] | ||
+ | } | ||
+ | subgraph cluster_CAN { | ||
+ | label="CAN" | ||
+ | NoData -> Data -> Monitoring [dir="both"] | ||
+ | } | ||
+ | subgraph cluster_car { | ||
+ | parking -> charging [dir="both"] | ||
+ | parking -> moving [dir="both"] | ||
+ | charging -> full | ||
+ | full -> parking [ label="immediate" ] | ||
} | } | ||
} | } | ||
</graphviz> | </graphviz> |