You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
#!/usr/bin/python
|
|
# -*- coding:utf-8 -*-
|
|
# -*-mode:python ; tab-width:4 -*- ex:set tabstop=4 shiftwidth=4 expandtab: -*-
|
|
|
|
import numpy
|
|
from .gxwrapper import *
|
|
from .dxwrapper import *
|
|
from .gxidef import *
|
|
from .FeatureControl import *
|
|
from .StatusProcessor import *
|
|
import types
|
|
|
|
class Interface:
|
|
def __init__(self, handle, interface_info):
|
|
"""
|
|
:brief Constructor for instance initialization
|
|
:param handle: Interface Handle
|
|
:param interface_info: Interface info list
|
|
"""
|
|
self.__interface_handle = handle
|
|
self.__interface_info = interface_info
|
|
|
|
def get_interface_info(self):
|
|
"""
|
|
:brief Get interface info list
|
|
:return: __interface_info
|
|
"""
|
|
return self.__interface_info
|
|
|
|
#def get_all_device_info_list(self):
|
|
# return None
|
|
|
|
def get_feature_control(self):
|
|
"""
|
|
:brief Get interface feature control object
|
|
:return: Interface feature control object
|
|
"""
|
|
feature_control = FeatureControl( self.__interface_handle)
|
|
return feature_control
|