This method requests a change of the PositionInList to modify the processing order. The new position is specified by the NodeId of another job. If the flag ´before´ is true, the new position is before the given job. If the flag ´before´ is false, the new position will be after the given job. For example, the list contains 3 jobs (job_a, job_b, job_c), if the method is called for job_c with the NodeId of job_a and before is true, the new list is job_c, job_a, job_b. If the same method is called with the flag false, the new list is job_a, job_c, job_b.
The signature of this Method is specified below in Table 17 and Table 18 which specify the Arguments and AddressSpace representation, respectively.
Signature
ChangePositionInList (
[in]LimitedString64Target,
[in]LimitedString64Source,
[in]0:BooleanBefore);
Table 17 – ChangePositionInList Method Arguments
Argument |
Description |
Target |
NodeID of the target job |
Source |
NodeID of the source job |
Before |
Boolean: If it is true the actual Job is moved before the target in list, if it is false the actual Job if moved behind. |
Method Result Codes (defined in Call Service)
Result Code |
Description |
Bad_UserAccessDenied |
See OPC 10000-4 for a general description. |
Table 18 – ChangePositionInList Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
ChangePositionInList |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
0:InputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |