示例#1
0
        public void QueryHWPageTest()
        {
            _esSession.Open();
            DeviceParam queryDeviceParam = new DeviceParam();

            queryDeviceParam.ServerType = ConstMgr.HWDevice.SERVER_TYPE_BLADE;
            queryDeviceParam.StartPage  = 1;
            queryDeviceParam.PageSize   = 100;
            queryDeviceParam.PageOrder  = "ipAddress";
            queryDeviceParam.OrderDesc  = true;
            QueryPageResult <HWDevice> hwDevicePageResult = _esSession.QueryHWPage(queryDeviceParam);

            LogUtil.HWLogger.DEFAULT.Info(hwDevicePageResult);
            Assert.IsNotNull(hwDevicePageResult);
        }