Flow Entity
Flow · 플로우 · Flow
IRI (semanticId)
https://dualsoftdev.github.io/aas-semantics/entity/Flow/1/0
설명 / Description / Beschreibung
한국어
능동 시스템 내부의 순차 흐름 — 여러 Work 로 구성됨.
English
Sequential flow within an active system, composed of work steps.
Deutsch
Sequenzieller Ablauf innerhalb eines aktiven Systems, bestehend aus Arbeitsschritten.
다이어그램 / Diagram
전체 구조 / Overview — 이 엔티티가 DS 안에서 위치
Project
TokenSpec
Recipe · #1
DsSystem
ApiDef
ApiDef
TAG
Flow ★
Work
Call
ApiCall
Call₂
Work₂
Write
Read
Write
Read
DsSystem
Work
Call
ApiCall
ApiDef
→ DsSystem
DsSystem
Work
Call
ApiCall
ApiDef
→ DsSystem
ArrowWork
ArrowCall
Tag-Pair Bus
★ Flow
엔티티 상세 / Entity Detail — 내부 구조 · 동작
🌊 Flow — Work 의 컨테이너 (흐름은 ArrowWork 가 결정)
Flow 자체에는 흐름 정보 없음 · Work 의 parentId 그룹일 뿐 · ArrowBetweenWorks 는 System 소속
DsSystem "Cell-A"
★ ArrowBetweenWorks 의 진짜 parent — 모든 Work 간 전이 규칙은 여기에 등록됨
Flow "MainFlow" — Work 컨테이너 (parentId 그룹)
id · name · parentId(=Cell-A.id) · properties[*]
W₁ Pickup
parentId = Flow.id
Source
W₂ Process
parentId = Flow.id
duration: 8.0s
W₃ Place
parentId = Flow.id
duration: 6.0s
W₄ Reset
parentId = Flow.id
Sink
ArrowBetweenWorks[*] — DsSystem 소속 (⚠ Flow.id 가 아니라 System.id)
전이 / 리셋 / 그룹 규칙은 모두 여기서 정의 — Flow 는 단순 Work 그룹
#1 parentId=Cell-A.id source=W₁.id target=W₂.id type=Start(=1)
#2 parentId=Cell-A.id source=W₂.id target=W₃.id type=Start(=1)
#3 parentId=Cell-A.id source=W₃.id target=W₄.id type=Start(=1)
★ 핵심 규칙: Work.parentId = Flow.id (그룹) · ArrowBetweenWorks.parentId = System.id (전이 규칙). 같은 System 안 다른 Flow 의 Work 도 ArrowWork 로 연결 가능.
F# 타입 정의 / Type Definition
type Flow [<JsonConstructor>] internal (name, parentId) =
inherit DsChild(name, parentId)
member val Properties = ResizeArray<FlowSubmodelProperty>() with get, set
필드 / Fields
Field Type Default AAS field Description Id Guid Guid.NewGuid() Guid전역 고유 식별자 (자동 생성) Name string (생성자 인자) Name엔티티 이름 ParentId Guid (생성자 인자) ParentId부모 엔티티 Id 참조 Properties ResizeArray<FlowSubmodelProperty> [] (submodel-specific)도메인별 Flow 속성
관계 / Relationships
예제 (F#) / Example
let mainFlow = Flow("MainFlow", cellA.Id)
// Work 들이 mainFlow.Id 를 ParentId 로 등록
AAS 매핑 / AAS Mapping
Flow 는 SequenceModel 안의 System SMC 하위 Flows SML 안 SMC 로 매핑.
원본 코드 / Source files
AAS ConceptDescription 메타
idShort: Flow
dataType: STRING