public ActionResult UpdateLive_Value([DataSourceRequest] DataSourceRequest request, LivePoint_DTO livepoint_dto)
 {
     try
     {
         if (_iElementRepository.UpdateLivePoint(livepoint_dto, User.Identity.GetUserName()))
         {
             livepoint_dto = _iElementRepository.GetLivePoint(livepoint_dto.Point_Id);
             return(Json(new[] { livepoint_dto }.ToDataSourceResult(request), JsonRequestBehavior.AllowGet));
         }
         else
         {
             throw new Exception("fail to update the live point value");
         }
     }
     catch (Exception ex)
     {
         return(Json(new[] { ex }.ToDataSourceResult(request, ModelState), JsonRequestBehavior.AllowGet));
     }
 }