This commit is contained in:
sunbeam 2023-04-15 10:42:37 +08:00
parent 488177fce9
commit cb2a256dc5
3 changed files with 24 additions and 9 deletions

View File

@ -8,10 +8,11 @@ static={cls="static";text="Static";left=21;top=17;right=458;bottom=340;transpare
/*}}*/
更新履历 = /*
V0.1_20230220: 初版
V0.2_20230221: 修复右板无法刷写,增加点亮功能,增加更改履历
V0.3_20230221: 修复关闭界面后程序没有完全关闭的问题
V0.4_20230222: 修复偶发刷写卡在请求下载的问题
V0.1_20230320: 初版
V0.2_20230321: 修复右板无法刷写,增加点亮功能,增加更改履历
V0.3_20230321: 修复关闭界面后程序没有完全关闭的问题
V0.4_20230322: 修复偶发刷写卡在请求下载的问题
V0.5_20230401: 兼容0331程序无法读DID
*/
winform.button.oncommand = function(id,event){

View File

@ -27,7 +27,7 @@ static={cls="static";text="设备";left=1;top=28;right=61;bottom=52;align="cente
static2={cls="static";text="通道";left=1;top=66;right=61;bottom=90;align="center";center=1;transparent=1;z=7};
static3={cls="static";text="刷写进度";left=389;top=408;right=442;bottom=428;transparent=1;z=16};
static4={cls="static";text="烧录APP";left=13;top=108;right=85;bottom=132;center=1;transparent=1;z=17};
static5={cls="static";text="V0.4_20230322";left=545;top=1;right=689;bottom=17;align="right";center=1;notify=1;transparent=1;z=18}
static5={cls="static";text="V0.5_20230401";left=545;top=1;right=689;bottom=17;align="right";center=1;notify=1;transparent=1;z=18}
)
/*}}*/

View File

@ -193,6 +193,7 @@ FuncBootSeq = function(){
case 0 {
boottime = 1;
nextstate(0);
delaycount = 0;
/*
if(sendstate == 0){
//FuncSendBlockInit(0);
@ -213,8 +214,13 @@ FuncBootSeq = function(){
FuncClearState();
}
else {
var ret = FuncWait(0x22);
nextstate(0);
//var ret = FuncWait(0x22);
//nextstate(0);
delaycount++;
if(delaycount > 5){
nextstate(0);
delaycount = 0;
}
}
}
case 2 {
@ -223,11 +229,18 @@ FuncBootSeq = function(){
FuncClearState();
}
else {
var ret = FuncWait(0x22);
nextstate(0);
//var ret = FuncWait(0x22);
//nextstate(0);
delaycount++;
if(delaycount > 5){
nextstate(0);
delaycount = 0;
}
}
}
case 3 {
nextstate(0);
/*
if(sendstate == 0){
FuncDisplay("进入扩展会话");
FuncReq10(false,0x03);//进入扩展会话
@ -237,6 +250,7 @@ FuncBootSeq = function(){
var ret = FuncWait(0x10);
nextstate(0);
}
*/
}
case 4 {
nextstate(0);