/**
  * 概览页面CPU 与内存曲线
  *
  * @param osId
  * @return
  */
 @Post("getCpuAndRam/{osId}")
 public Reply getCpuAndRam(@Param("osId") String osId) {
   Date currentTime = new Date();
   Map<String, List<List<?>>> oneOsCpuAndMem =
       osViewHandle.createOneOsCpuAndMemline(osId, currentTime, 3);
   return Replys.with(oneOsCpuAndMem).as(Json.class);
 }
 /**
  * 今天的利用率 罗盘
  *
  * @param osId
  * @return
  */
 @Post("getUtilzation/{osId}")
 public Reply getUtilzation(@Param("osId") String osId) {
   Date currentTime = new Date();
   Map<String, Double> map = new HashMap<String, Double>();
   map = osViewHandle.creatUtilZationView(osId, currentTime);
   return Replys.with(map).as(Json.class);
 }
 /**
  * 概览页面CPU分解信息曲线 cpu利用率曲线(内存CPU表格下面的曲线)
  *
  * @param osId
  * @return
  */
 @Post("getCpuInfo/{osId}")
 public Reply getCpuInfo(@Param("osId") String osId) {
   Date currentTime = new Date();
   Map<String, List<List<?>>> lineMap = osViewHandle.createOneCpuResolveView(osId, currentTime, 3);
   return Replys.with(lineMap).as(Json.class);
 }