123456789101112131415161718 |
- import sys
- from PyQt5.QtWidgets import QApplication
- import MainWnd as mw
- import GrpcClient as Stream
- if __name__=="__main__":
- app = QApplication(sys.argv)
- win = mw.MainWindow()
- win.show()
- stream=Stream.GrpcStream()
- stream.SetDataCallBack(win.OnImagesHandle,win.OnCloudHandle,win.OnMeasureDataHandle)
- stream.start()
- sys.exit(app.exec_())
|