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.
33 lines
959 B
33 lines
959 B
#! python3
|
|
# -*- encoding: utf-8 -*-
|
|
'''
|
|
@File : app.py
|
|
@Time : 2021/09/12 12:38:46
|
|
@Author : Jim
|
|
@Version : 1.0
|
|
@Desp :
|
|
'''
|
|
|
|
# VERSION = "3.3.2"
|
|
# LASTDATE = "2021-09-20"
|
|
|
|
import wx
|
|
from yiwinframe import YiwinFrame
|
|
from mylogger import log
|
|
|
|
from myconfig import VERSION,LASTDATE,COMPANY
|
|
|
|
class YiwinApp(wx.App):
|
|
|
|
def OnInit(self):
|
|
self.myframe = YiwinFrame( u'奕枫水体衰减系数测量软件 v1.0', 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"******** Viper attenuation Software .... *********", __name__, "", "")
|
|
app = YiwinApp( )
|
|
app.MainLoop()
|
|
|