Skip to content
Snippets Groups Projects
Commit 577ff618 authored by Stefano Di Frischia's avatar Stefano Di Frischia
Browse files

Merge branch 'L2SS-318-replace-randomdata-entries' into 'master'

L2SS-318: replace RandomData with Pythonic random_data

Closes L2SS-318

See merge request !86
parents d6fb2244 6f54f079
No related branches found
No related tags found
1 merge request!86L2SS-318: replace RandomData with Pythonic random_data
...@@ -426,10 +426,10 @@ ...@@ -426,10 +426,10 @@
} }
} }
}, },
"RandomData": { "random_data": {
"LTS": { "LTS": {
"RandomData": { "Random_Data": {
"LTS/RandomData/1": { "LTS/random_data/1": {
"properties": { "properties": {
"polled_attr": [ "polled_attr": [
"rnd1", "rnd1",
...@@ -479,7 +479,7 @@ ...@@ -479,7 +479,7 @@
] ]
} }
}, },
"LTS/RandomData/2": { "LTS/random_data/2": {
"properties": { "properties": {
"polled_attr": [ "polled_attr": [
"rnd1", "rnd1",
......
...@@ -19,9 +19,9 @@ from tango import DevState ...@@ -19,9 +19,9 @@ from tango import DevState
from tango.server import run, Device, attribute, command from tango.server import run, Device, attribute, command
from numpy import random from numpy import random
__all__ = ["RandomData", "main"] __all__ = ["Random_Data", "main"]
class RandomData(Device): class Random_Data(Device):
""" """
Random data monitor point device Random data monitor point device
""" """
...@@ -467,7 +467,7 @@ def main(args = None, **kwargs): ...@@ -467,7 +467,7 @@ def main(args = None, **kwargs):
""" """
Main function of the RandomData module. Main function of the RandomData module.
""" """
return run((RandomData,), args = args, **kwargs) return run((Random_Data,), args = args, **kwargs)
if __name__ == '__main__': if __name__ == '__main__':
main() main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment