Card.DanDongMinYong.ReadGasCard C# (CSharp) Метод

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

public ReadGasCard ( short com, int baud, string &kh, int &ql, decimal &money, short &cs ) : int
com short
baud int
kh string
ql int
money decimal
cs short
Результат int
        public int ReadGasCard(short com, int baud, ref string kh, ref int ql, ref decimal money, ref short cs)
        {
            byte[] cardNO = new byte[100];
            byte[] kmm = new byte[100];
            byte[] dqdm = new byte[100];
            byte[] yhh = new byte[100];
            byte[] sqrq = new byte[100];
            byte[] sxrq = new byte[100];
            byte[] sxbj = new byte[100];
            byte[] tm = new byte[100];
            short klx = 0;
            short kzt = 0;
            int ljgql = 0;
            int ljyql = 0;
            int syql = 0;
            int bjql = 0;
            int czsx = 0;
            int tzed = 0;
            int oldprice = 0;
            int newprice = 0;
                short bkcs =1;
            int ret = StaticReadGasCard(0, baud, kmm, ref klx, ref kzt, cardNO, dqdm, yhh, tm, 
                ref ql, ref cs, ref ljgql, ref bkcs, ref ljyql, ref syql, ref bjql, ref czsx, 
                ref tzed, sqrq, ref oldprice, ref newprice, sxrq, sxbj);
            //卡号转换成字符串
            cardNO[8] = 0;
            kh = Encoding.ASCII.GetString(cardNO, 0, 8);
            return ret;
        }

Same methods

DanDongMinYong::ReadGasCard ( short com, int baud, string &kh, int &ql, decimal &money, short &cs, short &bkcs, string &dqdm ) : int