/// <summary>
        /// 添加摄像头信息
        /// </summary>
        /// <param name="cameraInfo"></param>
        /// <returns></returns>
        public Dev_CameraInfo AddCameraInfo(Dev_CameraInfo cameraInfo)
        {
            DbModel.Location.AreaAndDev.Dev_CameraInfo dbCamera = cameraInfo.ToDbModel();
            var result = db.Dev_CameraInfos.Add(dbCamera);

            return(result ? dbCamera.ToTModel() : null);
        }
 public bool ModifyCameraInfo(Dev_CameraInfo camInfo)
 {
     return(db.Dev_CameraInfos.Edit(camInfo.ToDbModel()));
 }