# Visualization And SCADA Development

## 1. Scope

Use this guide when extending the visual dashboard, Web SCADA designer, custom components, variable binding, event scripts, or asset management.

## 2. Extension Flow

```mermaid
%%{init: {"flowchart": {"htmlLabels": false}}}%%
flowchart LR
  A["Confirm business scenario"] --> B["Select component type"]
  B --> C["Design component props"]
  C --> D["Bind variable or API"]
  D --> E["Register component"]
  E --> F["Test designer and preview"]
  F --> G["Build and deploy"]
```

## 3. Development Focus

| Area | Notes |
| --- | --- |
| Component props | Keep names stable and provide clear defaults. |
| Variable binding | Support missing values, offline state, and different data types. |
| Event handling | Keep click actions, navigation, and command delivery predictable. |
| Assets | Reuse the documented image directory and avoid duplicated resources. |
| Performance | Avoid too many high-frequency charts or videos on one page. |
| Permission | Verify both designer permission and runtime data permission. |

## 4. Component Acceptance

| Item | Expected Result |
| --- | --- |
| Designer | Component can be dragged, selected, configured, copied, and deleted. |
| Preview | Component renders correctly with real and mock data. |
| Data update | Variable changes are reflected without layout shift. |
| Interaction | Click, command, and navigation behavior are stable. |
| Mobile | Page scales according to the target viewport when required. |

## Related Docs

* [SCADA Quick Start](https://www.fastbee.cn/doc/en/business/v2/manual/scada-quickstart.html)
* [SCADA Components](https://www.fastbee.cn/doc/en/business/v2/manual/scada-components.html)
* [SCADA Events And Scripts](https://www.fastbee.cn/doc/en/business/v2/manual/scada-events.html)
