规则#
Rule.Show
概述#
规则是一个可重用的对象,它映射到用于评估或处理某项内容的DEE规则。
以下类型的规则是通过其范围定义:
- ExceptionManagementAction - 此规则在异常流程检查清单中执行操作(手动或自动)。
- ExceptionManagementSource - 此规则为异常流程中的参数提供可能值。
- 常规 - 通用规则。
- MaintenanceManagementAction - 此规则在异常流程检查清单中执行操作(手动或自动)。
- PrintableDocumentContextItem - 此规则用于计算可打印文档中的变量。
- RecipeManagement - 此规则用于评估配方管理参数值。
- ResourceMaterialSort - 此规则用于从资源的角度对派工物料列表进行排序。
- SamplingSelection - 可以在采样模式中使用此规则选择要处理的子物料。
- ShiftPlanning - 此规则用于验证轮班计划日历。
- SPC - 此规则用于评估是否违反某些图表规则。
- SPCAction - 在检测到SPC违规时要触发的规则。
- StepMaterialSort - 此规则用于从步骤的角度对派工资源列表进行排序。
- TimeConstraint - 达到时间限制警告或限制时触发的规则。
Info
可用于每个规则范围的DEE规则分类在通用表“范围分类”中定义。
对于ResourceMaterialSort,系统预配置了以下规则:
- MaterialPriority - 物料的优先级(1-10)
- DateEnteredStep - 物料进入步骤的日期和时间
- DateEnteredFacility - 物料进入工厂设施的日期和时间
- MaterialDueDate - 物料的到期日
- MaterialExpirationData - 物料的到期日期
对于StepMaterialSort,系统预配置了以下规则:
- ResourcePriority - 资源的优先级(1-10)
- ResourceFreeCapacity - 资源的可用容量
- ResourceQueueSize - 资源的队列大小
- ResourceDispatchableDate - 资源可派工的日期和时间
- ResourceProcessingDate - 资源开始处理的日期和时间
系统SPC规则可在SPC规则帮助部分找到。
将一切捆绑在一起#
graph LR
A1[Printable Document Context Item] -.- Main[Rule] --- A2[Chart Rule] --- A3[Chart]
A4[Sort Rule Set] --- Main -.- A5[Checklist Item] --- A6[Checklist]
classDef mermaid_title color:#000, fill:#fafafa, stroke:#fafafa, stroke-width:0x, font-size:100%, font-weight:200;
classDef mermaid_start color:#000, fill:#fafafa, stroke:#fafafa, color:#fafafa, stroke-width:0x, font-size:100%, visibility: hidden;
classDef mermaid_businessdata color:#000, fill:#65CDE8, stroke:#65CDE8, stroke-width:0px, font-size:100%;
classDef mermaid_nonbusinessdata color:#000, fill:#B7DEE8, stroke:#B7DEE8, stroke-width:0px, font-size:100%;
classDef mermaid_entity color:#000, fill:#FB9F53, stroke:#FB9F53, stroke-width:0px, font-size:100%;
classDef mermaid_entitylinked color:#000, fill:#FCD5B5, stroke:#FCD5B5, stroke-width:0px, font-size:100%;
classDef mermaid_context color:#000, fill:#B9CDE5, stroke:#B9CDE5, stroke-width:0px, font-size:100%;
classDef mermaid_optional color:#000, fill:#B7DEE8, stroke:#65CDE8, stroke-width:1px, font-size:100%, stroke-dasharray: 5 5;
class Main mermaid_entity
class A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14 mermaid_businessdata
class L1,L2,L3,L4,L5,L6,L7 mermaid_entitylinked
class C1,C2,C3,C4,C5,C6 mermaid_context
class N1,N2,N3,N4,N5,N6 mermaid_nonbusinessdata
click Main "../../business-data/resource"
click A3 "../../business-data/chart"
click A4 "../../business-data/sort-rule-set"
click A5 "../../business-data/checklist"
click A6 "../../business-data/checklist" 步骤顺序#
Info
只能创建需要“动态异常引擎”规则的用户定义规则
正确使用排序规则的必要步骤如下:
- 创建“动态执行引擎”规则。
- 创建规则。