MESAInternational / B2MML-BatchML

B2MML is an XML implementation of the ANSI/ISA-95, Enterprise-Control System Integration, family of standards (ISA-95), known internationally as IEC/ISO 62264. B2MML consists of a set of XML schemas written using the World Wide Web Consortium's XML Schema language (XSD) that implement the data models in the ISA-95 standard.
Other
93 stars 45 forks source link

change element MaterialSublotProperty to MaterialLotProperty for MaterialSubLotType #43

Closed racheliurui closed 4 years ago

racheliurui commented 5 years ago

Background

For MaterialSubLotType, Change MaterialSublotProperty to MaterialLotProperty.

 <xsd:element name = "MaterialSublotProperty"      type = "MaterialLotPropertyType"      minOccurs = "0" maxOccurs = "unbounded"/>

Change to

 <xsd:element name = "MaterialLotProperty"      type = "MaterialLotPropertyType"         minOccurs = "0" maxOccurs = "unbounded"/>

Both material lot and material sub lot are referring the same material lot property model. Thus in ISA-950002, there's no such model called MaterialSublotProperty, so here the element name changed from MaterialSublotProperty to MaterialLotProperty to reflect the property type.

Supporting Document

ISA-950002 Table 72 – Material sublot relationship roles 5.7.1 Material model Figure 12 - Material model

Impacted Types

B2MML-Material.xsd

Dennis-Brandl commented 4 years ago

No, the sublot property already uses the property type, but it is a sublot property, not a lot property. See in section 5.7.8 "Material sublots may have sublot specific properties. " and "EXAMPLE 1 Material sublot properties can be RFID tag IDs or other identification properties, such that each material sublot has a different property value."

Dennis-Brandl commented 4 years ago

The ISA 95 Part 2 text is inconsistent. The text in 5.7.8 says "Material sublots may have sublot specific properties.", but Table 72 used the name "Material lot property" as the role. However Table 72 also has the definition of "The material sublot properties map to a corresponding material lot property.":

Changed to use the element name MaterialLotProperty in the MaterialSubLotType. Issue closed.