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

L2SS-318: replace RandomData with Pythonic random_data

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