예제 #1
0
        /// <summary>
        /// 服务端更新设备状态
        /// </summary>
        /// <param name="devObjs"></param>
        public void UpdateDevStatue(GfxList <DeviceBackImf> devObjs)
        {
            try
            {
                if (devObjs == null || devObjs.Count == 0)
                {
                    return;
                }

                if (WcfMainHelper.GetNewMsgEvent != null)
                {
                    WcfMainHelper.GetNewMsgEvent(null, new DevStatueEventArgs(devObjs));
                }
            }
            catch { }
        }