-
Notifications
You must be signed in to change notification settings - Fork 0
/
MTConnectDevices.msd
51 lines (41 loc) · 1.55 KB
/
MTConnectDevices.msd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
self.urn = 'urn:mtconnect.org:MTConnectDevices:1.4'
self.namespace = 'mt'
self.top = :MTConnectDevices
self.license = File.read('license.txt')
self.version = '1.4'
load 'common'
package :MTC, 'MTC Top Level Package' do
basic_type(:AssetCountValue, 'The number of assets', :integer) do
facet 'minIncl=0;maxExcl=4294967295'
end
type :AssetCounts, 'The number of assets by type' do
member :AssetCount, 'The number of assets for a given type', 1..INF
end
type :AssetCount, 'The count of assets for a certain type' do
member :AssetType, 'The type of asset', :AssetAttrType
member :Value, 'The count', :AssetCountValue
end
type :Header, 'Message header for protocol information' do
member :Version, 'The document version'
member :CreationTime, 'The date and time the document was created'
member :TestIndicator, 'Indicates that this was a test document', 0..1
member :InstanceId, 'The unique instance identifier of this agent process'
member :Sender, 'The sender of the message'
member :BufferSize, 'The size of the agent\'s buffer.'
member :AssetBufferSize, 'The maximum number of assets'
member :AssetCount, 'The number of assets we have', :AssetCountAttr
member :AssetCounts, 'The asset statistics', 0..1
end
type :MTConnectDevices, 'The root node for MTConnect' do
member :Header, 'Protocol dependent information'
member :Devices, 'The equipment'
end
end
load 'components'
load 'compositions'
load 'axes'
load 'systems'
load 'auxiliaries'
load 'resources'
load 'data_items'
load 'interface'