00001 using System; 00002 using System.Collections.Generic; 00003 using System.Linq; 00004 using System.Runtime.Serialization; 00005 using System.ServiceModel; 00006 using System.Text; 00007 00008 namespace UtmConvert { 00009 public class UtmConvertService : IUtmConvertService { 00010 public void DoWork() { 00011 } 00012 00013 string _status = "ok"; 00014 public string Status { 00015 get { return _status; } 00016 } 00017 00018 public string getStatus() { 00019 return _status; 00020 } 00021 public Point convertLatLonToUtm(string lat, char ns, string lon 00022 , char ew, string format, string datum) { 00023 XmlParser parse = new XmlParser(); 00024 Point p = new Point(); 00025 p = parse.convertLatLonToUtm(lat, ns, lon, ew, format, datum); 00026 _status = parse.Status; 00027 return p; 00028 00029 } 00030 } 00031 }