Skip to content

Commit

Permalink
Merge pull request #463 from mtconnect/update_schema_version_for_demo…
Browse files Browse the repository at this point in the history
…_to_2.3

updated the schema version for the demo to 2.3
  • Loading branch information
wsobel committed Jun 17, 2024
2 parents cd82ee3 + f1b36b4 commit 810664c
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 17 deletions.
2 changes: 1 addition & 1 deletion demo/agent/agent.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Devices = Devices.xml
SchemaVersion = 2.2
SchemaVersion = 2.3
WorkerThreads = 3
MonitorConfigFiles = yes
Port = 5001
Expand Down
2 changes: 1 addition & 1 deletion demo/agent/agent.dock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Devices = Devices.xml
SchemaVersion = 2.0
SchemaVersion = 2.3
WorkerThreads = 3
MonitorConfigFiles = yes
Port = 5000
Expand Down
2 changes: 1 addition & 1 deletion demo/agent/agent.mac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Devices = Devices.xml
SchemaVersion = 2.0
SchemaVersion = 2.3
WorkerThreads = 3
MonitorConfigFiles = yes
Port = 5001
Expand Down
41 changes: 34 additions & 7 deletions schemas/MTConnectStreams_2.3.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -45125,6 +45125,15 @@ SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
</xs:annotation>
<xs:restriction base='xs:string'/>
</xs:simpleType>
<xs:simpleType name='ConditionIdType'>
<xs:annotation>
<xs:documentation>
Identifier of an individual condition activation provided by a piece of
equipment
</xs:documentation>
</xs:annotation>
<xs:restriction base='xs:string'/>
</xs:simpleType>
<xs:simpleType name='QualifierType'>
<xs:annotation>
<xs:documentation>
Expand Down Expand Up @@ -45192,7 +45201,25 @@ SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='conditionId' type='IDType' use='required'>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:element abstract='true' name='Condition' type='ConditionType'>
<xs:annotation>
<xs:documentation>
Description
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name='ActivatedConditionType' abstract='true'>
<xs:annotation>
<xs:documentation>
Condition that has transitioned from Normal to either Warning or Fault
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base='ConditionType'>
<xs:attribute name='conditionId' type='ConditionIdType' use='required'>
<xs:annotation>
<xs:documentation>
Identifier of an individual condition activation provided by a
Expand All @@ -45203,10 +45230,10 @@ SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:element abstract='true' name='Condition' type='ConditionType'>
<xs:element abstract='true' name='ActivatedCondition' type='ActivatedConditionType' substitutionGroup='Condition'>
<xs:annotation>
<xs:documentation>
Description
Condition that has transitioned from Normal to either Warning or Fault
</xs:documentation>
</xs:annotation>
</xs:element>
Expand Down Expand Up @@ -45254,10 +45281,10 @@ SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base='ConditionType'/>
<xs:extension base='ActivatedConditionType'/>
</xs:simpleContent>
</xs:complexType>
<xs:element name='Warning' type='WarningType' substitutionGroup='Condition'>
<xs:element name='Warning' type='WarningType' substitutionGroup='ActivatedCondition'>
<xs:annotation>
<xs:documentation>
{{term(condition state)}} that requires concern and supervision and may
Expand All @@ -45273,10 +45300,10 @@ SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base='ConditionType'/>
<xs:extension base='ActivatedConditionType'/>
</xs:simpleContent>
</xs:complexType>
<xs:element name='Fault' type='FaultType' substitutionGroup='Condition'>
<xs:element name='Fault' type='FaultType' substitutionGroup='ActivatedCondition'>
<xs:annotation>
<xs:documentation>
{{term(condition state)}} that requires intervention to continue
Expand Down
41 changes: 34 additions & 7 deletions schemas/MTConnectStreams_2.3_1.0.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -45125,6 +45125,15 @@ SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
</xs:annotation>
<xs:restriction base='xs:string'/>
</xs:simpleType>
<xs:simpleType name='ConditionIdType'>
<xs:annotation>
<xs:documentation>
Identifier of an individual condition activation provided by a piece of
equipment
</xs:documentation>
</xs:annotation>
<xs:restriction base='xs:string'/>
</xs:simpleType>
<xs:simpleType name='QualifierType'>
<xs:annotation>
<xs:documentation>
Expand Down Expand Up @@ -45192,7 +45201,25 @@ SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name='conditionId' type='IDType' use='required'>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:element abstract='true' name='Condition' type='ConditionType'>
<xs:annotation>
<xs:documentation>
Description
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name='ActivatedConditionType' abstract='true'>
<xs:annotation>
<xs:documentation>
Condition that has transitioned from Normal to either Warning or Fault
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base='ConditionType'>
<xs:attribute name='conditionId' type='ConditionIdType' use='required'>
<xs:annotation>
<xs:documentation>
Identifier of an individual condition activation provided by a
Expand All @@ -45203,10 +45230,10 @@ SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:element abstract='true' name='Condition' type='ConditionType'>
<xs:element abstract='true' name='ActivatedCondition' type='ActivatedConditionType' substitutionGroup='Condition'>
<xs:annotation>
<xs:documentation>
Description
Condition that has transitioned from Normal to either Warning or Fault
</xs:documentation>
</xs:annotation>
</xs:element>
Expand Down Expand Up @@ -45254,10 +45281,10 @@ SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base='ConditionType'/>
<xs:extension base='ActivatedConditionType'/>
</xs:simpleContent>
</xs:complexType>
<xs:element name='Warning' type='WarningType' substitutionGroup='Condition'>
<xs:element name='Warning' type='WarningType' substitutionGroup='ActivatedCondition'>
<xs:annotation>
<xs:documentation>
{{term(condition state)}} that requires concern and supervision and may
Expand All @@ -45273,10 +45300,10 @@ SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base='ConditionType'/>
<xs:extension base='ActivatedConditionType'/>
</xs:simpleContent>
</xs:complexType>
<xs:element name='Fault' type='FaultType' substitutionGroup='Condition'>
<xs:element name='Fault' type='FaultType' substitutionGroup='ActivatedCondition'>
<xs:annotation>
<xs:documentation>
{{term(condition state)}} that requires intervention to continue
Expand Down

0 comments on commit 810664c

Please sign in to comment.