Beispiel #1
0
 /// <summary>
 /// 删除地图
 /// </summary>
 /// <param name="gs"></param>
 /// <returns></returns>
 public bool Delete_Map(List <Ga_Map> gs)
 {
     try
     {
         foreach (Ga_Map item in gs)
         {
             long UTCTime = UTC.ConvertDateTimeLong(Convert.ToDateTime(item.CreateTime));
             IO_AGVMapService.RemoveMap(UTCTime);
             CachePlant.Remove(UTCTime.ToString()); //移除缓存
         }
         return(true);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }