//获取节点信息
 public static bool GetNodeInfo(int handle,out DB_Talk.Model.m_Box model)
 {
     model = new DB_Talk.Model.m_Box();
     MBoxSDK.ConfigSDK.tagNode node = new MBoxSDK.ConfigSDK.tagNode();//new MBoxSDK.ConfigSDK().newTagNode();
     bool b = MBoxSDK.ConfigSDK.MBOX_GetNodeInfo(handle, ref node);
     model.vc_Name = System.Text.ASCIIEncoding.Default.GetString(node.nodeName).Replace("\0", "");
     model.vc_DspIP = System.Text.ASCIIEncoding.Default.GetString(node.dspSrcIP).Replace("\0", "");
     model.vc_NetIP = System.Text.ASCIIEncoding.Default.GetString(node.netManegeInterfaceIP).Replace("\0", "");
     string strnetIPMask = System.Text.ASCIIEncoding.Default.GetString(node.netManegeInterfaceMask).Replace("\0", "");
     string strSerialNum = System.Text.ASCIIEncoding.Default.GetString(node.serialNumber).Replace("\0", "");
     model.vc_IP = System.Text.ASCIIEncoding.Default.GetString(node.trafficInterfaceIp).Replace("\0", "");
     model.vc_Mask = System.Text.ASCIIEncoding.Default.GetString(node.trafficInterfaceMask).Replace("\0", "");
     string strVerInfo = System.Text.ASCIIEncoding.Default.GetString(node.versionInfo).Replace("\0", "");
     return b;
 }
 public MBoxSDK.ConfigSDK.tagNode newTagNode()
 {
     MBoxSDK.ConfigSDK.tagNode node = new MBoxSDK.ConfigSDK.tagNode();
     node.dspSrcIP = new byte[MBoxSDK.ConfigSDK.MAX_IP4];
     node.netManegeInterfaceIP = new byte[MBoxSDK.ConfigSDK.MAX_IP4];
     node.netManegeInterfaceMask = new byte[MBoxSDK.ConfigSDK.MAX_IP4];
     node.nodeName = new byte[33];
     node.serialNumber = new byte[512];
     node.trafficInterfaceIp = new byte[MBoxSDK.ConfigSDK.MAX_IP4];
     node.trafficInterfaceMask = new byte[MBoxSDK.ConfigSDK.MAX_IP4];
     node.versionInfo = new byte[512];
     return node;
 }