Source code for tango_simlib.examples.mkat_vds
#!/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/MkatVds.xmi', '../tests/MkatVds_SIMDD.json']
model = configure_device_model(sim_data_files)
TangoDeviceServers = get_tango_device_server(model, sim_data_files)
server_run(TangoDeviceServers)
if __name__ == "__main__":
main()