2023-03-21 10:26:14 +08:00
|
|
|
|
import win.ui;
|
|
|
|
|
/*DSG{{*/
|
|
|
|
|
var winform = win.form(text="aardio form";right=499;bottom=399;border="thin";mode="popup";title=false)
|
|
|
|
|
winform.add(
|
|
|
|
|
button={cls="button";text="确定";left=359;top=346;right=471;bottom=387;z=1};
|
|
|
|
|
static={cls="static";text="Static";left=21;top=17;right=458;bottom=340;transparent=1;z=2}
|
|
|
|
|
)
|
|
|
|
|
/*}}*/
|
|
|
|
|
|
|
|
|
|
更新履历 = /*
|
2023-04-15 10:42:37 +08:00
|
|
|
|
V0.1_20230320: 初版
|
|
|
|
|
V0.2_20230321: 修复右板无法刷写,增加点亮功能,增加更改履历
|
|
|
|
|
V0.3_20230321: 修复关闭界面后程序没有完全关闭的问题
|
|
|
|
|
V0.4_20230322: 修复偶发刷写卡在请求下载的问题
|
|
|
|
|
V0.5_20230401: 兼容0331程序无法读DID
|
2023-08-15 09:24:26 +08:00
|
|
|
|
V0.6_20230724: 增加读供应商ID功能,增加断开连接,增加烧写过程中禁用其他按键
|
|
|
|
|
V0.7_20230724: 增加刷写速度可选功能
|
2023-03-21 10:26:14 +08:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
winform.button.oncommand = function(id,event){
|
|
|
|
|
winform.close();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
winform.static.text = 更新履历;
|
|
|
|
|
|
|
|
|
|
winform.show();
|
|
|
|
|
win.loopMessage();
|
|
|
|
|
return winform;
|