日期:2014-05-18  浏览次数:20808 次

根据硬件返回值 查询定义并显示
请问我现在注册motion卡 比如返回 -7 我如何在messagebox.show里显示 ErrorInvalidAdRange ?

C# code

public class DASK
{
        public const int NoError              =0;
    public const int ErrorUnknownCardType         =-1;
    public const int ErrorInvalidCardNumber       =-2;
    public const int ErrorTooManyCardRegistered   =-3;
    public const int ErrorCardNotRegistered       =-4;
    public const int ErrorFuncNotSupport          =-5;
    public const int ErrorInvalidIoChannel        =-6;
    public const int ErrorInvalidAdRange          =-7;
    public const int ErrorContIoNotAllowed        =-8;
    public const int ErrorDiffRangeNotSupport     =-9;
    public const int ErrorLastChannelNotZero      =-10;
    public const int ErrorChannelNotDescending    =-11;
}



------解决方案--------------------
探讨
引用:
请问我现在注册motion卡 比如返回 -7 我如何在messagebox.show里显示 ErrorInvalidAdRange ?

C# code

public class DASK
{
public const int NoError =0;
public const int ErrorUnknownCardType ……


DASK 这个文件……