📄 yibiao.c
字号:
}
if ((XBYTE[0xc010]&0x08)==0x00)
{
if (P35==1)
{
keybuf_p=0;
i=ygkjycz(0x0a);
goto tqjy3;
}
}
if (key=='k')
{
i=ygkjycz(0);/*员工卡支付类型操作*/
tqjy3:
if (i==0)
{
goto j9;/*如果按返回键*/
}
if (i==1)
{
clear();
xs_hhz(0,24,JYWC);
xs_hhz(4,24,QGQ);
/*员工卡加油操作完成*/
while((XBYTE[0xc010]&0x08)==0x00)
{
if (P35==0)
break;
xs_time();
};
goto j9;
}
if (i==2)
{
i=menu_1();
if (i==0x0f)
{
goto j9;
}
else
{
i=ygkjycz(i);
if ((i==0)||(i==2))
{
goto j9;
}
clear();
xs_hhz(0,24,JYWC);
xs_hhz(4,24,QGQ);
/*员工卡加油操作完成*/
while((XBYTE[0xc010]&0x08)==0x00)
{
if (P35==0)
break;
xs_time();
};
goto j9;
}
}
}
}
if (key=='t')
{
ck_flag=0;
out_card();
goto j9;
}
xs_time();
}
}
}
/*员工卡处理完毕*/
if (use_pse_inf[12]==0x01)/*插入的是用户卡处理*/
{
clear();
if (!yxqbj())
{
clear();
xs_hhz(2,40,KYGQ);
key=0xff;
/*生成过期卡记录*/
tac[0]=0x00;
tac[1]=0x02;
tac[2]=0;
tac[3]=0;
dey=9;
if (NET==1)
dey=dey|0x40;
trade_record(dey);
/*生成过期卡记录*/
while(1)
{
key=getkey();
xs_time();
jiao=1;
if (key!=0xff)
{
out_card();
goto j3;
}
dog();
}
}
pd=0;
yhmm[0]=use_001b_file[2];
yhmm[1]=use_001b_file[3];
//xs_hhz(0,0,SRYHMM);
j6:
card_err_state=read_use_001b_file();
if (use_001b_file[0]==0)
{
card_err_state=ver_pin1();
if (card_err_state!=0)
goto pinf1;
}
else
{
clear();
xs_hhz(0,0,SRYHKMM);
while (card_err_state!=0xc0)
{
mmws3:
i=pass_card();
if (i==2)
{
out_card();
goto j3;
}
if (i==3)
{
clear();
xs_hhz(0,16,MMWSBZ);
an_key_back();
clear();
xs_hhz(0,0,MMCWQCS);
goto mmws3;
}
ay=0;
card_err_state=ver_pin();
if (card_err_state==0)
break;
if (card_err_state==0x83)
break;
clear();
xs_hhz(0,0,MMJH1);
xs_shu(0,32,yi_1+16*(card_err_state&0x0f),1);
xs_hhz(0,40,MMJH2);
an_key_back();
clear();
xs_hhz(0,0,MMCWQCS);
xs_time();
}
pinf1:
if ((card_err_state==0x83)||(card_err_state==0xc0))
{
clear();
xs_hhz(2,24,PINS);
key=0xff;
while(1)
{
jiao=1;
key=getkey();
if (key!=0xff)
{
ck_flag=0;
out_card();/*弹卡*/
goto j3;
}
xs_time();
}
}
}
if (card_err_state==0)
{
clear();
xs_hhz(0,0,ZAXZHMD);/*查找黑名单*/
xs_hhz(2,0,QSD);
search_hb=1;
search_result=2;
if (!NET)
while(1)
{
dog();
xs_time();
key=getkey();
if (key=='l')
{
ck_flag=0;
out_card();
goto j3;
}
xs_time();
if (search_hb==0)
{
if (search_result==0)
{
clear();
xs_hhz(0,16,CKSHK);
xs_hhz(2,16,KPYS);
xs_hhz(4,0,QTK);
ay=1;
for(i=0;i<3;i++)
{
ver_pin();
}
/*生成黑卡加油记录*/
tac[0]=0x00;
tac[1]=0x01;
tac[2]=0;
tac[3]=0;
dey=9;
trade_record(dey);
/*生成黑卡加油记录*/
while(1)
{
jiao=1;
key=getkey();
if (key=='t')
{
ck_flag=0;
out_card();
goto j3;
}
xs_time();
}
}
if (search_result==1)
goto tjck;
}
}
else
{
//goto tjck;
i=use_pse_inf[13]&0x0f;
i<<=4;
yy3=use_pse_inf[14]&0xf0;
yy3>>=4;
i=i|yy3;
if (i!=jyjinfo1[12])
{
wxmd=2;
goto hkcz;
}
nlist[0]=use_pse_inf[10];
nlist[1]=use_pse_inf[11];
nlist[2]=use_pse_inf[12];
nlist[3]=use_pse_inf[13];
nlist[4]=use_pse_inf[14];
nlist[5]=use_pse_inf[15];
nlist[6]=use_pse_inf[16];
nlist[7]=use_pse_inf[17];
nlist[8]=use_pse_inf[18];
nlist[9]=use_pse_inf[19];
if (veraa[1]==0xff)
{
wxmd=1;
goto hkcz;
}
i=seeAbout(2);
if (i==1)
{
wxmd=0;
goto hkcz;
}
i=seeAbout(3);
if (i==1)
{
wxmd=0;
goto tjck;
}
read_main(ftps,256,3076,0);
js_day_num();
if (flash[0]<ftps[2])
{
wxmd=1;
goto hkcz;
}
else
if (flash[0]>ftps[2])
goto sdf;
if (flash[1]<ftps[3])
{
wxmd=1;
goto hkcz;
}
else
if (flash[1]>ftps[3])
goto sdf;
if (flash[2]<ftps[4])
{
wxmd=1;
goto hkcz;
}
else
if (flash[2]>ftps[4])
goto sdf;
if (flash[3]<ftps[5])
{
wxmd=1;
goto hkcz;
}
else
if (flash[3]>ftps[5])
goto sdf;
sdf:
i=seeAbout(1);
if (i==0)
{
wxmd=0;
goto tjck;
}
if (i==1)
{
hkcz:
clear();
if (wxmd==2)
{
xs_hhz(1,32,TYZT1);
xs_hhz(3,0,TYZT2);
wxmd=0;
goto kj;
}
if (wxmd==1)
{
xs_hhz(0,16,WXHMDK);
xs_hhz(4,0,QTK);
wxmd=0;
goto kj;
}
xs_hhz(0,16,CKSHK);
xs_hhz(2,16,KPYS);
xs_hhz(4,0,QTK);
ay=1;
for(i=0;i<3;i++)
{
ver_pin();
}
/*生成黑卡加油记录*/
tac[0]=0x00;
tac[1]=0x01;
tac[2]=0;
tac[3]=0;
dey=9;
if (NET==1)
dey=dey|0x40;
trade_record(dey);
/*生成黑卡加油记录*/
kj:
while(1)
{
jiao=1;
key=getkey();
if (key=='t')
{
ck_flag=0;
out_card();
goto j3;
}
xs_time();
}
}
}
/**/
tjck:
if (ash_card())
{
out_card();
goto j3;;
}
ck_flag=1;/*插卡*/
clear();
if (yhkjycz())
{
out_card();
ck_flag=0;
clear();
xs_hhz(0,24,JYWC);
xs_hhz(4,24,QGQ);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -