public int CheckGasCard(
Int16 com, //串口号,从0开始
Int32 baud //波特率
)
{
int com1 = com;
int type = 0;
int ql = 0;
int cs1 = 0;
int a = 10;
byte[] kh1 = new byte[8];
Log.Debug("CheckGasCard(short com, int baud)=(" + com + "," + baud + ")");
int i = Gold_Readcard(com1, baud, kh1, ref ql, ref cs1, ref type);
Log.Debug("StaticCheckGasCard(com, baud)=" + i);
//用读卡代替判卡 通过type判断是否是金卡民用
if (type == 1)
{
a = 0;
}
return a;
}
/// <summary>