예제 #1
0
        public uint DIOStopDownload(uint dwStrmId)
        {
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            return(retVal);
        }
예제 #2
0
        public uint DIOCloseQueryStrmFilesList(uint dwQueryStrmFilesHandle)
        {
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            return(retVal);
        }
예제 #3
0
        public uint DIOPtzCtrl(uint dwRealStrmId, uint dwPtzType, double dParam1, double dParam2)
        {
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            return(retVal);
        }
예제 #4
0
        public uint DIOGetVer(out TDIO_Version ver)
        {
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            ver = new TDIO_Version();
            return(retVal);
        }
예제 #5
0
        public uint DIOGetDownloadFilePercent(uint dwStrmId, out uint pdwPercent)
        {
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            pdwPercent = 0;
            return(retVal);
        }
예제 #6
0
        public uint DIOPlayCtrl(uint dwStrmId, uint dwCtrlCmd, uint dwInValue, out uint pdwOutValue)
        {
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            pdwOutValue = 0;
            return(retVal);
        }
예제 #7
0
        public uint DIOQueryChannelStatus(uint dwLoginId, string pChannelId, out TDIO_ChannelStatus ptChannelStatus)
        {
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            ptChannelStatus = new TDIO_ChannelStatus();
            return(retVal);
        }
예제 #8
0
        public uint DIOStartDownloadByTimeSF(uint dwLoginId, string pChannelId,
                                             uint ptStartTime, uint ptEndTime, string pSavedFile, out uint pdwStrmId)
        {
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            pdwStrmId = 0;
            return(retVal);
        }
예제 #9
0
        public uint DIOGetNextFileInfo(uint dwQueryStrmFilesHandle, out TDIO_StrmFileInfo ptStrmFilesInfo, out uint pdwQueryOverFlag)
        {
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            ptStrmFilesInfo  = new TDIO_StrmFileInfo();
            pdwQueryOverFlag = 0;
            return(retVal);
        }
예제 #10
0
        public uint DIOCreateQueryStrmFilesList(uint dwLoginId, string pChannelId,
                                                TDIO_QueryFileCondition ptQueryCondition, out uint pdwQueryStrmFilesHandle)
        {
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            pdwQueryStrmFilesHandle = 0;
            return(retVal);
        }
예제 #11
0
        public uint DIOSetExceptionCallbackFun(uint dwLoginId, out IntPtr pUserContext)
        {
            LPEXCEPTIONCALLBACK fCallback;

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            pUserContext = IntPtr.Zero;
            return(retVal);
        }
예제 #12
0
        public uint DIOStartDownloadByTimeCB(uint dwLoginId, string pChannelId,
                                             uint ptStartTime, uint ptEndTime, out IntPtr pUserContext, out uint pdwStrmId)
        {
            LPSTRMCALLBACK fCallback;

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            pUserContext = IntPtr.Zero;
            pdwStrmId    = 0;
            return(retVal);
        }
예제 #13
0
        public uint DIOPlaybackByFile(uint dwLoginId, string pChannelId,
                                      TDIO_PlaybackFile ptRecFile, uint hWnd, out IntPtr pUserContext, out uint pdwStrmId)
        {
            LPSTRMCALLBACK fCallback;

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ");
            UInt32 retVal = IVXDIOSDKProtocol.DIOInit();

            if (retVal > 0)
            {
                DIO_GetError(retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXDIOSDKProtocol DIOInit ret:" + retVal);
            pUserContext = IntPtr.Zero;
            pdwStrmId    = 0;
            return(retVal);
        }