개정판 709b3fb7
pemss api address 변경
Change-Id: Iabb0f8145025213439b179273b0a0d6f161bcd39
KCOM/App.xaml.cs | ||
---|---|---|
243 | 243 |
|
244 | 244 |
_EndPoint = new EndpointAddress(string.Format("{0}/ServiceDeepView.svc", sBaseServiceURL)); |
245 | 245 |
|
246 |
#if DEBUG |
|
247 |
_PemssEndPoint = new EndpointAddress(string.Format("{0}/PemssService.svc", "http://localhost:13009")); |
|
248 |
#else |
|
249 |
_PemssEndPoint = new EndpointAddress(string.Format("{0}/PemssService.svc", sBaseServiceURL)); |
|
250 |
#endif |
|
246 |
//#if DEBUG |
|
247 |
// _PemssEndPoint = new EndpointAddress(string.Format("{0}/PemssService.svc", "http://localhost:13009")); |
|
248 |
//#else |
|
249 |
// _PemssEndPoint = new EndpointAddress(string.Format("{0}/PemssService.svc", sBaseServiceURL)); |
|
250 |
//#endif |
|
251 |
|
|
252 |
_PemssEndPoint = new EndpointAddress(string.Format("{0}/PemssService.svc", sBaseServiceURL)); |
|
251 | 253 |
await SplashScreenAsnyc(); |
252 | 254 |
base.OnStartup(e); |
253 | 255 |
|
KCOM/ViewModel/RequirementViewModel.cs | ||
---|---|---|
243 | 243 |
|
244 | 244 |
try |
245 | 245 |
{ |
246 |
Rect rect = commentUserInfo.First().ItemRect; |
|
247 |
|
|
246 | 248 |
foreach (var instance in commentUserInfo) |
247 | 249 |
{ |
248 |
SelectionSet.Instance.SelectItemByRect(instance.ItemRect, main);
|
|
249 |
main.zoomAndPanControl.ZoomTo(instance.ItemRect); |
|
250 |
rect = Rect.Union(rect,instance.ItemRect);
|
|
251 |
|
|
250 | 252 |
} |
253 |
|
|
254 |
SelectionSet.Instance.SelectItemByRect(rect, main); |
|
255 |
//rect.Scale(4, 4); |
|
256 |
|
|
257 |
main.zoomAndPanControl.ZoomTo(rect); |
|
258 |
// main.zoomAndPanControl.ZoomAboutPoint(main.zoomAndPanControl.ContentScale - 0.2, contentZoomCenter); |
|
251 | 259 |
} |
252 | 260 |
catch (Exception ex) |
253 | 261 |
{ |
내보내기 Unified diff