Пример #1
0
 public bool MapFlag_DeleteFlagMap(string name)
 {
     try
     {
         MapFlag flag = new MapFlag();
         return flag.DeleteFlagMap(name);
     }
     catch (Exception exception)
     {
         ErrorMsg msg = new ErrorMsg("MapFlag", "DeleteFlagMap", exception.Message);
         this.m_LogHelper.WriteError(msg);
         return false;
     }
 }
Пример #2
0
 public DataTable MapFlag_showFlagMap()
 {
     try
     {
         MapFlag flag = new MapFlag();
         return flag.showFlagMap(this._OnlineUserInfo.UserId);
     }
     catch (Exception exception)
     {
         ErrorMsg msg = new ErrorMsg("MapFlag", "showFlagMap", exception.Message);
         this.m_LogHelper.WriteError(msg);
         return null;
     }
 }
Пример #3
0
 public int MapFlag_AddFlagMap(float lon, float lat, string name, string areaCode, int flagTypeCode)
 {
     try
     {
         MapFlag flag = new MapFlag();
         return flag.AddFlagMap(lon, lat, name, areaCode, flagTypeCode);
     }
     catch (Exception exception)
     {
         ErrorMsg msg = new ErrorMsg("MapFlag", "AddFlagMap", exception.Message);
         this.m_LogHelper.WriteError(msg);
         return -1;
     }
 }