Card.JinKaMY.CheckGasCard C# (CSharp) Метод

CheckGasCard() публичный Метод

public CheckGasCard ( Int16 com, Int32 baud ) : int
com System.Int16
baud System.Int32
Результат int
       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("MY Gold_Readcard as CHECK start");
                 int i = Gold_Readcard(com1, baud, kh1, ref ql, ref cs1, ref type);
                 Log.Debug("MY Gold_Readcard as CHECK end and i is" + i + " ql is " + ql + " cs is " + cs1 + " type is " + type);
                 if (type == 1) {
                     a = 0;
                 }
                 return a;
       }
        public int ReadGasCard(short com, int baud, ref string kh, ref int ql, ref decimal money, ref short cs, ref short bkcs,ref string dm)

Same methods

JinKaMY::CheckGasCard ( short com, int baud ) : int