在 Tier0 中体验 Demo 工厂
适用版本Cloud
理解 Tier0 最快的方式,是直接查看一个已经可以运行的工厂。
Demo 工厂会从 ERP 接收订单,拆分订单,安排生产计划,将计划发送给生产部门,并在生产过程中接收生产进度数据。
%%{init: {"themeVariables": {"fontSize": "18px"}, "themeCSS": ".nodeLabel, .edgeLabel, .cluster-label { font-size: 18px !important; } .nodeLabel b, .nodeLabel strong { font-size: 19px !important; }"}}%%
flowchart TB
uns["<span style='font-size:18px;font-weight:700'>UNS 订单数据</span><br/><span style='font-size:16px'>来自 ERP 的订单</span>"]
production["<span style='font-size:18px'>生产部门</span>"]
subgraph app["工单管理应用"]
direction TB
appSpacer[" "]
subgraph appPages[" "]
direction LR
orders["<span style='font-size:18px;font-weight:700'>生产订单</span><br/><span style='font-size:16px'>(可选)创建订单</span>"]
plans["<span style='font-size:18px;font-weight:700'>计划</span><br/><span style='font-size:16px'>拆分订单<br/>生产排程</span>"]
details["<span style='font-size:18px;font-weight:700'>计划详情</span><br/><span style='font-size:16px;white-space:nowrap'>生产进度详情</span>"]
end
end
uns -- "订单数据" --> orders
orders --> plans
plans --> details
plans --> planLabel["生产计划"]
planLabel --> production
production --> progressLabel["生产进度"]
progressLabel --> details
classDef external fill:#f8fafc,stroke:#b8c4d5,color:#171a22,stroke-width:1px,font-size:18px
classDef optional fill:#fbfdf4,stroke:#cfe8a3,color:#171a22,stroke-width:1px,font-size:18px
classDef appNode fill:#f4f8e9,stroke:#9adf11,color:#171a22,stroke-width:1px,font-size:18px
classDef labelNode fill:transparent,stroke:transparent,color:#4b5563,font-size:17px
classDef invisible fill:transparent,stroke:transparent,color:transparent
class uns,production external
class orders optional
class plans,details appNode
class planLabel,progressLabel labelNode
class appSpacer invisible
style appPages fill:transparent,stroke:transparent-
在 Tier0 中进入 UNS,查看来自 ERP 的订单详情。
DemoFactory/ERP/ProductionOrders/State/UpsertProductionOrder:订单。DemoFactory/ERP/ProductionOrders/State/OrderList:当前订单列表快照。
-
(可选)进入 应用中心,打开 Work Order Management 应用,并在 Production Orders 页面创建订单。
-
在 Work Order Management 中,在 Plans 页面拆分订单,并为拆分后的工单安排生产计划。
-
将计划发送给生产部门,并在 UNS 的以下 topics 中查看计划详情。
DemoFactory/ERP/WorkOrderPlan/Metric/SplitCount:拆分后的工单数量。DemoFactory/ERP/WorkOrderPlan/State/PlanStatus:当前计划状态。DemoFactory/ERP/WorkOrderPlan/State/WorkOrderList:生产计划排程后的工单列表。
-
在应用的 Plan Details 页面查看生产进度数据。