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; } }
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; } }
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; } }