예제 #1
0
        public void TestGetBuildInfo()
        {
            BuildSetService   service   = new BuildSetService();
            BuildSetViewModel ViewModel = service.GetViewModel("000001G001");

            Console.WriteLine(UtilTest.GetJson(ViewModel));
        }
예제 #2
0
 /// <summary>
 /// 获取建筑详细信息
 /// </summary>
 /// <param name="buildID"></param>
 /// <returns></returns>
 public object Get(string buildID)
 {
     try
     {
         return(service.GetViewModel(buildID));
     }
     catch (Exception e)
     {
         return(e.Message);
     }
 }