Ejemplo n.º 1
0
        public static bool ALC_GetFirmwareVersion(out string stpRomVersion)
        {
            bool bRet = false;

            byte[] pRomVersion = new byte[9];

            stpRomVersion = "";

            switch (mode)
            {
            case (int)CameraList.AG3820A11_S1_3ND:
            case (int)CameraList.AG3820A11_S1_3ND_V_1_0_RT:
            case (int)CameraList.AG3820A11_S1_3ND_V_1_0_RT_RIGHT:
            case (int)CameraList.AG3820A11_S1_3ND_V_1_1_RT:
            case (int)CameraList.AG3820A11_S1_3ND_V_1_1_RT_RIGHT:
            case (int)CameraList.AV3850A22_SB_4B0:
            case (int)CameraList.AV5050A22_V_1_0:
                bRet          = FangtecCamera5MDLL.ALC_GetFirmwareVersion(pRomVersion);
                stpRomVersion = System.Text.ASCIIEncoding.ASCII.GetString(pRomVersion, 0, GetByteLen(pRomVersion));
                return(bRet);

            default:
                return(bRet);
            }
        }