|
|
@@ -1,7 +1,6 @@
|
|
|
using System;
|
|
|
-using System.Collections.Generic;
|
|
|
-using System.Text;
|
|
|
using System.Runtime.InteropServices;
|
|
|
+using System.Text;
|
|
|
|
|
|
namespace DeviceCenter
|
|
|
{
|
|
|
@@ -36,7 +35,7 @@ namespace DeviceCenter
|
|
|
public static extern int Net_StopVideo(int tHandle);
|
|
|
|
|
|
[DllImport("NetSDK.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
|
|
|
- public static extern int Net_GetSdkVersion([MarshalAs(UnmanagedType.LPStr)]StringBuilder szVersion, ref int ptLen);
|
|
|
+ public static extern int Net_GetSdkVersion([MarshalAs(UnmanagedType.LPStr)] StringBuilder szVersion, ref int ptLen);
|
|
|
|
|
|
[DllImport("NetSDK.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
|
|
|
public static extern int Net_ReadGPIOState(int tHandle, Byte ucIndex, ref Byte pucValue);
|
|
|
@@ -311,7 +310,7 @@ namespace DeviceCenter
|
|
|
public static extern int Net_SetDrawFunCallBack(int tHandle, FDrawFunCallBack fCb, IntPtr obj);
|
|
|
|
|
|
[DllImport("NetSDK.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
|
|
|
- public static extern int Net_ReadTwoEncpyption(int tHandle, [MarshalAs(UnmanagedType.LPStr)]StringBuilder pBuff, uint uiSizeBuff);
|
|
|
+ public static extern int Net_ReadTwoEncpyption(int tHandle, [MarshalAs(UnmanagedType.LPStr)] StringBuilder pBuff, uint uiSizeBuff);
|
|
|
|
|
|
[DllImport("NetSDK.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
|
|
|
public static extern int Net_WriteTwoEncpyption(int tHandle, string pUserData, uint uiDataLen);
|