ClampViewer.py 345 B

12345678910111213141516
  1. import sys
  2. from PyQt5.QtWidgets import QApplication
  3. import MainWnd as mw
  4. import GrpcClient as Stream
  5. if __name__=="__main__":
  6. app = QApplication(sys.argv)
  7. win = mw.MainWindow()
  8. win.show()
  9. stream=Stream.GrpcStream()
  10. stream.SetDataCallBack(win.OnCloudHandle,win.OnErrorHandle)
  11. stream.start()
  12. sys.exit(app.exec_())