Mercurial > hg > orthanc
annotate Resources/Samples/Lua/Autorouting.lua @ 1001:f3929718ea7e lua-scripting
autorouting primitives
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 04 Jul 2014 15:31:42 +0200 |
parents | 4136fab6a639 |
children | b067017a8a5b |
rev | line source |
---|---|
998
4136fab6a639
callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 function OnStoredInstance(tags, instance) |
4136fab6a639
callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 PrintRecursive(tags) |
4136fab6a639
callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 return { |
4136fab6a639
callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 { "store", instance, "pacs" }, |
4136fab6a639
callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 { "delete", instance } |
4136fab6a639
callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 } |
4136fab6a639
callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 end |