Commit 9702a7fe authored by olivier R-D's avatar olivier R-D

update autogenerated code

parent 2df2392e
......@@ -632,18 +632,12 @@ def create_standard_address_space_Part3(server):
value = []
extobj = ua.EnumValueType()
extobj.Value = "1"
extobj.DisplayName.Text = "Mandatory"
extobj.Description.Text = "The BrowseName must appear in all instances of the type."
value.append(extobj)
extobj = ua.EnumValueType()
extobj.Value = "2"
extobj.DisplayName.Text = "Optional"
extobj.Description.Text = "The BrowseName may appear in an instance of the type."
value.append(extobj)
extobj = ua.EnumValueType()
extobj.Value = "3"
extobj.DisplayName.Text = "Constraint"
extobj.Description.Text = "The modelling rule defines a constraint and the BrowseName is not used in an instance of the type."
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
......@@ -981,48 +975,30 @@ def create_standard_address_space_Part3(server):
value = []
extobj = ua.EnumValueType()
extobj.Value = "0"
extobj.DisplayName.Text = "Unspecified"
extobj.Description.Text = "No classes are selected."
value.append(extobj)
extobj = ua.EnumValueType()
extobj.Value = "1"
extobj.DisplayName.Text = "Object"
extobj.Description.Text = "The node is an object."
value.append(extobj)
extobj = ua.EnumValueType()
extobj.Value = "2"
extobj.DisplayName.Text = "Variable"
extobj.Description.Text = "The node is a variable."
value.append(extobj)
extobj = ua.EnumValueType()
extobj.Value = "4"
extobj.DisplayName.Text = "Method"
extobj.Description.Text = "The node is a method."
value.append(extobj)
extobj = ua.EnumValueType()
extobj.Value = "8"
extobj.DisplayName.Text = "ObjectType"
extobj.Description.Text = "The node is an object type."
value.append(extobj)
extobj = ua.EnumValueType()
extobj.Value = "16"
extobj.DisplayName.Text = "VariableType"
extobj.Description.Text = "The node is an variable type."
value.append(extobj)
extobj = ua.EnumValueType()
extobj.Value = "32"
extobj.DisplayName.Text = "ReferenceType"
extobj.Description.Text = "The node is a reference type."
value.append(extobj)
extobj = ua.EnumValueType()
extobj.Value = "64"
extobj.DisplayName.Text = "DataType"
extobj.Description.Text = "The node is a data type."
value.append(extobj)
extobj = ua.EnumValueType()
extobj.Value = "128"
extobj.DisplayName.Text = "View"
extobj.Description.Text = "The node is a view."
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
......
......@@ -905,16 +905,14 @@ def create_standard_address_space_Part9(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.DataType = "i=15"
extobj.Name = "EventId"
extobj.Name = "'EventId'"
extobj.DataType = ua.NodeId.from_string("i=15")
extobj.ValueRank = "-1"
extobj.Description.Text = "The identifier for the event to comment."
value.append(extobj)
extobj = ua.Argument()
extobj.DataType = "i=21"
extobj.Name = "Comment"
extobj.Name = "'Comment'"
extobj.DataType = ua.NodeId.from_string("i=21")
extobj.ValueRank = "-1"
extobj.Description.Text = "The comment to add to the condition."
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
......@@ -976,10 +974,9 @@ def create_standard_address_space_Part9(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.DataType = "i=288"
extobj.Name = "SubscriptionId"
extobj.Name = "'SubscriptionId'"
extobj.DataType = ua.NodeId.from_string("i=288")
extobj.ValueRank = "-1"
extobj.Description.Text = "The identifier for the suscription to refresh."
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
......@@ -1041,16 +1038,14 @@ def create_standard_address_space_Part9(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.DataType = "i=288"
extobj.Name = "SubscriptionId"
extobj.Name = "'SubscriptionId'"
extobj.DataType = ua.NodeId.from_string("i=288")
extobj.ValueRank = "-1"
extobj.Description.Text = "The identifier for the suscription to refresh."
value.append(extobj)
extobj = ua.Argument()
extobj.DataType = "i=288"
extobj.Name = "MonitoredItemId"
extobj.Name = "'MonitoredItemId'"
extobj.DataType = ua.NodeId.from_string("i=288")
extobj.ValueRank = "-1"
extobj.Description.Text = "The identifier for the monitored item to refresh."
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
......@@ -1470,10 +1465,9 @@ def create_standard_address_space_Part9(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.DataType = "i=6"
extobj.Name = "SelectedResponse"
extobj.Name = "'SelectedResponse'"
extobj.DataType = ua.NodeId.from_string("i=6")
extobj.ValueRank = "-1"
extobj.Description.Text = "The response to the dialog condition."
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
......@@ -1817,16 +1811,14 @@ def create_standard_address_space_Part9(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.DataType = "i=15"
extobj.Name = "EventId"
extobj.Name = "'EventId'"
extobj.DataType = ua.NodeId.from_string("i=15")
extobj.ValueRank = "-1"
extobj.Description.Text = "The identifier for the event to comment."
value.append(extobj)
extobj = ua.Argument()
extobj.DataType = "i=21"
extobj.Name = "Comment"
extobj.Name = "'Comment'"
extobj.DataType = ua.NodeId.from_string("i=21")
extobj.ValueRank = "-1"
extobj.Description.Text = "The comment to add to the condition."
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
......@@ -1888,16 +1880,14 @@ def create_standard_address_space_Part9(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.DataType = "i=15"
extobj.Name = "EventId"
extobj.Name = "'EventId'"
extobj.DataType = ua.NodeId.from_string("i=15")
extobj.ValueRank = "-1"
extobj.Description.Text = "The identifier for the event to comment."
value.append(extobj)
extobj = ua.Argument()
extobj.DataType = "i=21"
extobj.Name = "Comment"
extobj.Name = "'Comment'"
extobj.DataType = ua.NodeId.from_string("i=21")
extobj.ValueRank = "-1"
extobj.Description.Text = "The comment to add to the condition."
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
......@@ -2622,10 +2612,9 @@ def create_standard_address_space_Part9(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.DataType = "i=290"
extobj.Name = "ShelvingTime"
extobj.Name = "'ShelvingTime'"
extobj.DataType = ua.NodeId.from_string("i=290")
extobj.ValueRank = "-1"
extobj.Description.Text = "If not 0, this parameter specifies a fixed time for which the Alarm is to be shelved."
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
......@@ -3488,10 +3477,9 @@ def create_standard_address_space_Part9(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.DataType = "i=290"
extobj.Name = "ShelvingTime"
extobj.Name = "'ShelvingTime'"
extobj.DataType = ua.NodeId.from_string("i=290")
extobj.ValueRank = "-1"
extobj.Description.Text = "If not 0, this parameter specifies a fixed time for which the Alarm is to be shelved."
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment