Beispiel #1
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public bool Add(NAIS.Model.AIRPORT model)
 {
     return(dal.Add(model));
 }
Beispiel #2
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(NAIS.Model.AIRPORT model)
 {
     return(dal.Update(model));
 }
Beispiel #3
0
 public static void Convert_Lng_Lat_Of_Model(NAIS.Model.AIRPORT aIRPORT)
 {
     aIRPORT.LONGITUDE = Longitude.Parse(aIRPORT.LONGITUDE.ToString(), aIRPORT.EAST_OR_WEST).ToString();
     aIRPORT.LATITUDE  = Latitude.Parse(aIRPORT.LATITUDE.ToString(), aIRPORT.SOUTH_OR_NORTH).ToString();
 }