# `plc_oeeupdate`

> OEE数据


- **Engine:** InnoDB
- **Collation:** utf8mb3_general_ci

## Columns

| # | Name | Type | Null | Key | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| 1 | `iIncrement` | `int` | NO | PRI |  | auto_increment | 自增列 |
| 2 | `sId` | `varchar(50)` | NO | UNI |  |  | 标准Id |
| 3 | `sBrandsId` | `varchar(50)` | NO |  |  |  |  |
| 4 | `sSubsidiaryId` | `varchar(50)` | NO |  |  |  |  |
| 5 | `sMachineId` | `varchar(50)` | NO | MUL |  |  | 机器ID |
| 6 | `sMachineName` | `varchar(50)` | NO | MUL |  |  | 机器名称 |
| 7 | `sWorkOrderNo` | `varchar(50)` | NO | MUL |  |  | 工单编号 |
| 8 | `dRate` | `decimal(18,6)` | YES |  | 0.000000 |  | 速度 |
| 9 | `tCreateDate` | `datetime` | NO |  | CURRENT_TIMESTAMP | DEFAULT_GENERATED |  |
| 10 | `sPlcId` | `varchar(50)` | NO | MUL |  |  |  |
| 11 | `sCurStateName` | `varchar(255)` | YES |  |  |  |  |
| 12 | `sCurState` | `varchar(255)` | YES | MUL |  |  |  |
| 13 | `sColor` | `varchar(255)` | YES |  |  |  |  |
| 14 | `diff` | `decimal(18,6)` | YES |  |  |  |  |

## Indexes

| Name | Unique | Type | Columns |
|---|---|---|---|
| `IndexN_1` |  | BTREE | `sMachineId` |
| `IndexN_2` |  | BTREE | `sWorkOrderNo` |
| `IndexN_3` |  | BTREE | `sPlcId` |
| `IndexN_4` |  | BTREE | `sCurState`, `sMachineId`, `sPlcId` |
| `IndexN_5` |  | BTREE | `sMachineName` |
| `IndexU_1` | ✓ | BTREE | `sId` |
| `PRIMARY` | ✓ | BTREE | `iIncrement` |

## Narrative

_No human-written narrative yet — when this table is exercised by a [vertical slice](../../slices/index.md), link from there back to this page._
