Esempio n. 1
0
 private static extern Int32 GetControlCode_PTZ_TC615_P(Int32 _iAction, ref CONTROL_PARAM _cParam);
Esempio n. 2
0
 public static Int32 NetClient_GetControlCode(string strDevType, Int32 _iAction, ref CONTROL_PARAM _cParam)
 {
     if (strDevType == "DOME_PELCO_D")
     {
         return(GetControlCode_DOME_PELCO_D(_iAction, ref _cParam));
     }
     if (strDevType == "DOME_PELCO_P")
     {
         return(GetControlCode_DOME_PELCO_P(_iAction, ref _cParam));
     }
     if (strDevType == "DOME_TIANDY")
     {
         return(GetControlCode_DOME_TIANDY(_iAction, ref _cParam));
     }
     if (strDevType == "PTZ_PELCO_D")
     {
         return(GetControlCode_PTZ_PELCO_D(_iAction, ref _cParam));
     }
     if (strDevType == "PTZ_PELCO_P")
     {
         return(GetControlCode_PTZ_PELCO_P(_iAction, ref _cParam));
     }
     if (strDevType == "PTZ_TC615_P")
     {
         return(GetControlCode_PTZ_TC615_P(_iAction, ref _cParam));
     }
     return(-1);
 }
Esempio n. 3
0
 private static extern Int32 GetControlCode_DOME_TIANDY(Int32 _iAction, ref CONTROL_PARAM _cParam);