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.
|
|
|
#! python3
|
|
|
|
# -*- encoding: utf-8 -*-
|
|
|
|
'''
|
|
|
|
@File : app.py
|
|
|
|
@Time : 2021/09/12 12:38:46
|
|
|
|
@Author : Jim
|
|
|
|
@Version : 1.0
|
|
|
|
|
|
|
|
'''
|
|
|
|
# 在设备上的数据文件格式
|
|
|
|
import wx
|
|
|
|
from yiwinframe import YiwinFrame
|
|
|
|
from tools.mylogger import log
|
|
|
|
from myconfig import VERSION,LASTDATE,COMPANY
|
|
|
|
|
|
|
|
class YiwinApp(wx.App):
|
|
|
|
|
|
|
|
def OnInit(self):
|
|
|
|
self.myframe = YiwinFrame( u'AWRAMS Offline Software', parent=None)
|
|
|
|
self.myframe.statusBar.SetStatusText( u" 版权所有 " + COMPANY
|
|
|
|
+" Version "+ VERSION
|
|
|
|
+ " "+ LASTDATE, 1 ) #给状态栏设文字
|
|
|
|
self.myframe.Show(True)
|
|
|
|
return True
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
log.info(f"******** Shanghai Yiwin Instrument&Equipment Company *********", __name__, "", "")
|
|
|
|
log.info(f"******** AWRAMS Software for Dealing RAMSES Raw data *********", __name__, "", "")
|
|
|
|
app = YiwinApp( )
|
|
|
|
app.MainLoop()
|