CgwMonitorManage.T28181.SipStackAdapter.GetAllDeviceNum C# (CSharp) Method

GetAllDeviceNum() private static method

获取查询出的设备总数
private static GetAllDeviceNum ( string strBody ) : int
strBody string 消息体
return int
        private static int GetAllDeviceNum(string strBody)
        {
            string str = XmlUtil.GetNodeValue(strBody, "SumNum");
            if (str != string.Empty)
            {
                return Convert.ToInt32(str);
            }
            else
            {
                return 0;
            }
        }