工控上位机控制系统通用UI框架
This commit is contained in:
25
wndMain/MvImport/__init__.py
Normal file
25
wndMain/MvImport/__init__.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding:utf-8 -*-
|
||||
# -*-mode:python ; tab-width:4 -*- ex:set tabstop=4 shiftwidth=4 expandtab: -*-
|
||||
|
||||
import sys
|
||||
import os
|
||||
current_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
if current_dir not in sys.path:
|
||||
sys.path.append(current_dir)
|
||||
|
||||
parent_dir = os.path.dirname(current_dir)
|
||||
if parent_dir not in sys.path:
|
||||
sys.path.append(parent_dir)
|
||||
|
||||
from .MvErrorDefine_const import *
|
||||
from .MvISPErrorDefine_const import *
|
||||
from .PixelType_header import *
|
||||
from .CameraParams_const import *
|
||||
from .CameraParams_header import *
|
||||
from .MvCameraControl_class import *
|
||||
|
||||
|
||||
__all__ = ["MvErrorDefine_const", "MvISPErrorDefine_const","PixelType_header", "CameraParams_const", "CameraParams_header", "MvCameraControl_class"]
|
||||
|
||||
__version__ = '4.6.0.1'
|
||||
Reference in New Issue
Block a user