Пример #1
0
        /// <summary>
        /// 获取已定义设备中所有的性质
        /// </summary>
        /// <returns></returns>
        public static DataTable GetDataDefProperty()
        {
            DataTable dt = new DataTable();

            try
            {
                var response = alarmService.GetDataDefProperty();
                if (response.Data != null)
                {
                    dt = response.Data;
                }
            }
            catch (Exception ex)
            {
                LogHelper.Error("ClientAlarmServer-CheckAlarmConfigIsOnServer-发生异常 " + ex.Message);
            }
            return(dt);
        }
Пример #2
0
 public BasicResponse <DataTable> GetDataDefProperty()
 {
     return(alarmService.GetDataDefProperty());
 }