Source code for tango_simlib.examples.weather3
#!/usr/bin/env python
from PyTango.server import server_run
from tango_simlib.tango_sim_generator import (configure_device_model, get_tango_device_server)
[docs]def main():
sim_data_files = ['../tests/Weather.xmi', '../tests/Weather_SIMDD_3.json']
model = configure_device_model(sim_data_files)
TangoDeviceServers = get_tango_device_server(model, sim_data_files)
server_run(TangoDeviceServers)
if __name__ == "__main__":
main()