Source code for leicatca1800

#!/usr/bin/env python
"""
.. module:: leicatca1800.py
   :platform: Unix, Windows
   :synopsis: Ulyxes - an open source project to drive total stations and
       publish observation results. GPL v2.0 license Copyright (C)
       2010- Zoltan Siki <siki.zoltan@epito.bme.hu>

.. moduleauthor:: Zoltan Siki <siki.zoltan@epito.bme.hu>,
    Daniel Moka <mokadaniel@citromail.hu>

"""

from leicameasureunit import LeicaMeasureUnit

[docs]class LeicaTCA1800(LeicaMeasureUnit): """ This class contains the Leica TCA1800 robotic total station specific functions :param name: name of ts (str), default=TCA1800 :param type: type od ts (str), default=TPS """ def __init__(self, name='Leica TCA1800', typ='TPS'): """ Constructor to leica generic ts """ # call super class init super().__init__(name, typ)
[docs] @staticmethod def GetCapabilities(): """ Get instrument specialities :returns: List of specialities """ return ['ROBOT', 'ANGLE', 'EDM', 'ATR', 'LOCK', 'POSITION']
if __name__ == "__main__": print (LeicaTCA1800.GetCapabilities()) tca = LeicaTCA1800() print (tca.GetCapabilities())