프로젝트

일반

사용자정보

개정판 a1142a6b

IDa1142a6b86a0cb874e843a6f005322de4694d519
상위 9f55b953
하위 f65e6c02

김태성이(가) 약 5년 전에 추가함

#00000 Debug에서 DevDoftech/Hyosung를 병행하여 Debug하도록 수정
- Web.config/Web.Debug.config/Web.Debug_DevDoftech.config/Web.Debug_HyoSung.config
- 솔루션 구성을 선택하여 각각 Debug
- Kcom_api에서 사용자 정보를 MS SQL 쿼리로 가져와서 사용하도록 수정( EF의 오류 방지)

Change-Id: I7c64e3f99a18dd29d91036a99604401f24c469d8

차이점 보기:

INI/MARKUS_HyoSung.ini
1
#??? INI
2

  
3 1
[Internal]
4
IP=192.168.0.67
2
IP=localhost
5 3
[External]
6
IP=125.129.196.207
4
IP=10.11.252.3
7 5
[BaseClientAddress]
8
URL=http://192.168.0.67:5979
6
URL=http://localhost:8080
9 7
[HubAddress]
10
URL=http://192.168.0.67:5100/
8
URL=http://10.11.252.3/
11 9
[UpdateVer64]
12
URL=http://192.168.0.67:5977/TileSource/Version/version_x64.xml
10
URL=http://10.11.252.3/TileSource/Version/version_x64.xml
13 11
[UpdateVer86]
14
URL=http://192.168.0.67:5977/TileSource/Version/version_x86.xml
12
URL=http://10.11.252.3/TileSource/Version/version_x86.xml
15 13
[excelFilePath]
16
URL=http://192.168.0.67:5977/TileSource/Check_Test/CheckList_T.xlsx
14
URL=http://10.11.252.3/TileSource/Check_Test/CheckList_T.xlsx
17 15
[KCOM_Get_FinalImage_Get_PdfImage]
18
URL=http://192.168.0.67:5977/Get_FInalImage/Get_PdfImage.asmx
16
URL=http://10.11.252.3/Get_FInalImage/Get_PdfImage.asmx
19 17
[KCOM_kr_co_devdoftech_cloud_FileUpload]
20
URL=http://192.168.0.67:5977/ImageUpload/FileUpload.asmx
18
URL=http://10.11.252.3/ImageUpload/FileUpload.asmx
21 19
[mainServerImageWebPath]
22
URL=http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png
20
URL=http://10.11.252.3/TileSource/{0}_Tile/{1}/{2}/{3}.png
23 21
[subServerImageWebPath]
24
URL=http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png
22
URL=http://10.11.252.3/TileSource/{0}_Tile/{1}/{2}/{3}.png
25 23
[Debug_BaseClientAddress]
26
URL=http://192.168.0.67:5979
24
URL=http://localhost:8080
27 25
[HOST_DOMAIN]
28 26
DOMAIN=
29 27
[GetConversionStateFailed]
KCOM/Common/ImageSourceHelper.cs
25 25
                    {
26 26
                        using (memoryStream = new System.IO.MemoryStream())
27 27
                        {
28
                            System.Diagnostics.Debug.WriteLine("이미지 다운로드");
28
                            System.Diagnostics.Debug.WriteLine(uri);
29 29

  
30 30
                            await responseStream.CopyToAsync(memoryStream);
31 31

  
32
                            memoryStream.Position = 0;
33

  
32 34
                            image = new BitmapImage();
33 35
                            image.BeginInit();
36

  
37
                            //image.CreateOptions = BitmapCreateOptions.None;
34 38
                            image.CacheOption = BitmapCacheOption.OnLoad;
39
                            image.UriSource = uri;
35 40
                            image.StreamSource = memoryStream;
36 41
                            image.DecodePixelWidth = (int)pageWidth;
37 42
                            image.DecodePixelHeight = (int)pageHeight;
38 43
                            image.EndInit();
39 44
                            image.Freeze();
40
                            return image;
45
                            System.Diagnostics.Debug.WriteLine("Freeze : " + uri);
41 46
                        }
42 47
                    }
43 48
                }
......
51 56
                httpClient?.Dispose();
52 57
                responseStream?.Dispose();
53 58
                memoryStream?.Dispose();
54
                image = null;
55 59
            }
60

  
61
            return image;
56 62
        }
57 63

  
58 64
        public static BitmapImage GetDownloadImage(string uri)
KCOM/Common/ViewerDataModel.cs
95 95

  
96 96
        #region Property Member
97 97

  
98
        public bool IsWheelPageChanage = false;
99

  
98 100
        public static ViewerDataModel Instance
99 101
        {
100 102
            get
KCOM/Controls/Sample.xaml.cs
191 191
        {
192 192
            try
193 193
            {
194
                var _page = _thumbnailItems.Where(item => item.PageNumber == _pageNumber);
195
                if (_page.Count() > 0)
196
                {
197
                    ThumbnailItem thumbnailitem = _page.First();
198
                    if (PageChanging != null)
194
                System.Threading.Tasks.Task.Factory.StartNew(() => { 
195

  
196
                    var _page = _thumbnailItems.Where(item => item.PageNumber == _pageNumber);
197
                    if (_page.Count() > 0)
199 198
                    {
200
                        var _itemIndex = this._thumbnailItems.IndexOf(thumbnailitem);
201
                        ImgListbox.SelectedItem = thumbnailitem;
202
                        //ImgListbox.Items.MoveCurrentTo(thumbnailitem);
203
                        //if (_itemIndex < _thumbnailItems.Count() - 1)
204
                        //    ImgListbox.ScrollIntoView(_itemIndex);
205
                        //else
206
                        //    ImgListbox.ScrollIntoView(this._thumbnailItems.Count() - 1);
199
                        ThumbnailItem thumbnailitem = _page.First();
200
                        if (PageChanging != null)
201
                        {
202

  
203
                            ImgListbox.Dispatcher.InvokeAsync(() => {  
204
                                var _itemIndex = this._thumbnailItems.IndexOf(thumbnailitem);
205
                                ImgListbox.SelectedItem = thumbnailitem;
206
                            });
207
                            //ImgListbox.Items.MoveCurrentTo(thumbnailitem);
208
                            //if (_itemIndex < _thumbnailItems.Count() - 1)
209
                            //    ImgListbox.ScrollIntoView(_itemIndex);
210
                            //else
211
                            //    ImgListbox.ScrollIntoView(this._thumbnailItems.Count() - 1);
212
                        }
207 213
                    }
208
                }
214

  
215
                }).ConfigureAwait(true);
209 216
            }
210 217
            catch(Exception ex)
211 218
            {
KCOM/KCOM.csproj.user
27 27
    <StartArguments>eyJEb2N1bWVudEl0ZW1JRCI6IjQwMDAwMTQyIiwiYlBhcnRuZXIiOmZhbHNlLCJDcmVhdGVGaW5hbFBERlBlcm1pc3Npb24iOmZhbHNlLCJOZXdDb21tZW50UGVybWlzc2lvbiI6dHJ1ZSwiUHJvamVjdE5PIjoiMDAwMDAwIiwiVXNlcklEIjoiZG9mdGVjaCIsIk1vZGUiOjB9</StartArguments>
28 28
  </PropertyGroup>
29 29
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_HyoSung|AnyCPU'">
30
    <StartArguments>eyJEb2N1bWVudEl0ZW1JRCI6IjExMDAwMTAyIiwiYlBhcnRuZXIiOmZhbHNlLCJDcmVhdGVGaW5hbFBERlBlcm1pc3Npb24iOiJ0cnVlIiwiTmV3Q29tbWVudFBlcm1pc3Npb24iOiJ0cnVlIiwiUHJvamVjdE5PIjoiMDAwMDAwIiwiVXNlcklEIjoiYWRtaW4iLCJNb2RlIjowfQ==</StartArguments>
30
    <StartArguments>eyJEb2N1bWVudEl0ZW1JRCI6Ijc0MzUiLCJiUGFydG5lciI6ZmFsc2UsIkNyZWF0ZUZpbmFsUERGUGVybWlzc2lvbiI6dHJ1ZSwiTmV3Q29tbWVudFBlcm1pc3Npb24iOnRydWUsIlByb2plY3ROTyI6InBwNCIsIlVzZXJJRCI6ImNqaGdoIiwiTW9kZSI6MH0=</StartArguments>
31 31
  </PropertyGroup>
32 32
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_HyoSung|x64'">
33 33
    <StartProgram>C:\Program Files\DOFTECH\MARKUS\KCOM.exe</StartProgram>
KCOM/Services/BaseServices.cs
133 133
                    d.Width = d.Width * 3;
134 134
                    d.Height = d.Height * 3;
135 135
                    var point = MarkupToPDF.Controls.Common.MathSet.getRectMiddlePoint(d);
136
                    System.Windows.Shapes.Ellipse myEllipse = new System.Windows.Shapes.Ellipse();
137
                    myEllipse.Fill = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Red);
138
                    myEllipse.Opacity = 1;
136
                    System.Windows.Shapes.Rectangle myEllipse = new System.Windows.Shapes.Rectangle();
137
                    myEllipse.Fill = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromArgb(100,255,8,0));
138
                    myEllipse.Opacity = 0.8;
139 139
                    myEllipse.Width = d.Width;
140 140
                    myEllipse.Height = d.Height;
141 141
                    Canvas.SetLeft(myEllipse, d.X - ((point.X - d.X) / 2.0));
......
145 145
                });
146 146

  
147 147
                da.From = 0.8;
148
                da.To = 0;
148
                da.To = 0.1;
149 149
                da.Duration = new Duration(TimeSpan.FromSeconds(1));
150 150
                da.AutoReverse = true;
151 151
                canvas_compareBorder.BeginAnimation(OpacityProperty, da);
KCOM/Views/MainMenu.xaml.cs
658 658
            // ViewerDataModel.Instance.ImageViewPath = await ImageSourceHelper.GetDownloadImageAsync(pageUri, pageWidth * contentScale, pageHeight * contentScale);
659 659
            try
660 660
            {
661
                System.Diagnostics.Debug.WriteLine(pageUri);
662
                ViewerDataModel.Instance.ImageViewPath = null;
663

  
664
                new System.Net.Http.HttpClient().CancelPendingRequests();
665
                 //await Task.Delay(300);
666

  
661 667
                ViewerDataModel.Instance.ImageViewPath = await ImageSourceHelper.GetDownloadImageAsync(pageUri, pageWidth, pageHeight);
662
                
663 668
            }
664 669
            catch (Exception ex)
665 670
            {
......
783 788
        /// </summary>
784 789
        /// <param name="sender"></param>
785 790
        /// <param name="e"></param>
786
        private void PageNavigator_PageChanged(object sender, Sample.PageChangeEventArgs e)
791
        private async void PageNavigator_PageChanged(object sender, Sample.PageChangeEventArgs e)
787 792
        {
788
            if (zoomAndPanCanvas2.Width.IsNaN())
789
            {
790
                zoomAndPanControl.ZoomTo(new Rect { X = 0, Y = 0, Width = zoomAndPanCanvas.Width, Height = zoomAndPanCanvas.Height });
791
            }
793
            //if (zoomAndPanCanvas.Width.IsNaN())
794
            //{
795
            
796
            await zoomAndPanControl.Dispatcher.InvokeAsync(()=>
797
                zoomAndPanControl.ZoomTo(new Rect { X = 0, Y = 0, Width = zoomAndPanCanvas.Width, Height = zoomAndPanCanvas.Height })
798
                );
799
            //}
792 800

  
793 801
            /// 컨트롤을 새로 생성한다.
794 802
            Common.ViewerDataModel.Instance.MarkupControls_USER.Clear();    //전체 제거
......
903 911
            }
904 912
        }
905 913

  
906
        private void zoomAndPanControl_MouseWheel(object sender, MouseWheelEventArgs e)
914
        private async void zoomAndPanControl_MouseWheel(object sender, MouseWheelEventArgs e)
907 915
        {
908 916
            var instance = ViewerDataModel.Instance;
909 917

  
910
            if (instance.IsPressCtrl)
918
            if(instance.IsWheelPageChanage)
919
            {
920
                return;
921
            }
922

  
923
            if (instance.IsPressCtrl) // && !instance.IsWheelPageChanage)
911 924
            {
925
       
926
                int changePage = 0;
927
                
912 928
                if (e.Delta > 0)
913 929
                {
914
                    if (0 < instance.ContentOffsetY + instance.ContentViewportHeight)
930
                    if (0 < instance.ContentOffsetY)
915 931
                    {
916 932
                        Vector dragOffset = new Vector(0, e.Delta);
917 933
                        MoveZoomAndPanControl(dragOffset);
918 934
                    }
919 935
                    //else
920 936
                    //{
921
                    //    pageNavigator.GotoPage(Convert.ToInt32(Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.pageNavigator.CurrentPage.PageNumber) - 1);
937
                    //    if (instance.SystemMain.dzMainMenu.pageNavigator.CurrentPage.PageNumber > 1)
938
                    //    {
939
                    //        instance.IsWheelPageChanage = true;
940
                    //        changePage -= 1;
941
                    //    }
922 942
                    //}
923 943
                }
924 944
                else if(e.Delta < 0)
......
930 950
                    }
931 951
                    //else
932 952
                    //{
933
                    //    pageNavigator.GotoPage(Convert.ToInt32(Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.pageNavigator.CurrentPage.PageNumber) + 1);
953
                    //    if (instance.SystemMain.dzMainMenu.pageNavigator.CurrentPage.PageNumber < instance.SystemMain.dzMainMenu.pageNavigator.PageCount)
954
                    //    {
955
                    //        instance.IsWheelPageChanage = true;
956
                    //        changePage += 1;
957
                    //    }
934 958
                    //}
935 959
                }
960

  
961
                //if (changePage != 0)
962
                //{
963
                //    await Task.Factory.StartNew(() =>
964
                //    {
965
                //        double beforeScale = instance.ContentScale;
966

  
967
                //        EventHandler<Sample.PageChangeEventArgs> handler = null;
968

  
969
                //        handler = (snd, evt) =>
970
                //        {
971
                //            /// 최상단으로 이전 zoomScale로 위치한다
972
                //            //Point currentContentMousePoint = e.GetPosition(zoomAndPanCanvas);
973
                //            //zoomAndPanControl.ZoomAboutPoint(beforeScale, new Point(currentContentMousePoint.X, 0));
974
                //            instance.IsWheelPageChanage = false;
975
                //            pageNavigator.PageChanged -= handler;
976
                //        };
977

  
978
                //        pageNavigator.PageChanged += handler;
979

  
980
                //        pageNavigator.GotoPage(Convert.ToInt32(instance.SystemMain.dzMainMenu.pageNavigator.CurrentPage.PageNumber) + changePage);
981
                //    });
982
                    
983

  
984
                //}
936 985
            }
937 986
            else
938 987
            {
KCOM_API/Default.aspx
1
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="KCOM_API.Default" %>
2

  
3
<!DOCTYPE html>
4

  
5
<html xmlns="http://www.w3.org/1999/xhtml">
6
<head runat="server">
7
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
8
    <title></title>
9
</head>
10
<body>
11
    <form id="form1" runat="server">
12
        <div>
13
              - 해당 페이지(Default.aspx)는 Config확인용입니다.<br />
14
              - Publish완료 후 삭제 바랍니다.<br />
15
              <br />
16
            
17
              Connection : <asp:textbox Width="800" runat="server" id="txtConnection"/>
18
            <br />
19
              TileSource : <asp:textbox Width="800" runat="server" id="txtTileSource"/>
20
            <br />
21
              TileSourceSub : <asp:textbox Width="800" runat="server" id="txtTileSourceSub"/>
22
            <br />
23
        </div>
24
    </form>
25
</body>
26
</html>
KCOM_API/Default.aspx.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Configuration;
4
using System.Data.EntityClient;
5
using System.Data.SqlClient;
6
using System.Linq;
7
using System.Web;
8
using System.Web.UI;
9
using System.Web.UI.WebControls;
10

  
11
namespace KCOM_API
12
{
13
    public partial class Default : System.Web.UI.Page
14
    {
15
        protected void Page_Load(object sender, EventArgs e)
16
        {
17
            string connection  = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
18
            EntityConnectionStringBuilder _bl = new EntityConnectionStringBuilder(connection);
19
            
20
            SqlConnectionStringBuilder sqpbl = new SqlConnectionStringBuilder(_bl.ProviderConnectionString);
21
            sqpbl.UserID = "xxxxxx";
22
            sqpbl.Password = "xxxxxx";
23

  
24
            (form1.FindControl("txtConnection") as TextBox).Text = sqpbl.ToString();
25

  
26

  
27
            (form1.FindControl("txtTileSource") as TextBox).Text = KCOM_API.Properties.Settings.Default.TileSoucePath;
28
            (form1.FindControl("txtTileSourceSub") as TextBox).Text = KCOM_API.Properties.Settings.Default.TileSoucePath_SUB;
29
        }
30
    }
31
}
KCOM_API/Default.aspx.designer.cs
1
//------------------------------------------------------------------------------
2
// <자동 생성됨>
3
//     이 코드는 도구를 사용하여 생성되었습니다.
4
//
5
//     파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
6
//     이러한 변경 내용이 손실됩니다. 
7
// </자동 생성됨>
8
//------------------------------------------------------------------------------
9

  
10
namespace KCOM_API {
11
    
12
    
13
    public partial class Default {
14
        
15
        /// <summary>
16
        /// form1 컨트롤입니다.
17
        /// </summary>
18
        /// <remarks>
19
        /// 자동 생성 필드입니다.
20
        /// 수정하려면 디자이너 파일에서 코드 숨김 파일로 필드 선언을 이동하세요.
21
        /// </remarks>
22
        protected global::System.Web.UI.HtmlControls.HtmlForm form1;
23
        
24
        /// <summary>
25
        /// txtConnection 컨트롤입니다.
26
        /// </summary>
27
        /// <remarks>
28
        /// 자동 생성 필드입니다.
29
        /// 수정하려면 디자이너 파일에서 코드 숨김 파일로 필드 선언을 이동하세요.
30
        /// </remarks>
31
        protected global::System.Web.UI.WebControls.TextBox txtConnection;
32
        
33
        /// <summary>
34
        /// txtTileSource 컨트롤입니다.
35
        /// </summary>
36
        /// <remarks>
37
        /// 자동 생성 필드입니다.
38
        /// 수정하려면 디자이너 파일에서 코드 숨김 파일로 필드 선언을 이동하세요.
39
        /// </remarks>
40
        protected global::System.Web.UI.WebControls.TextBox txtTileSource;
41
        
42
        /// <summary>
43
        /// txtTileSourceSub 컨트롤입니다.
44
        /// </summary>
45
        /// <remarks>
46
        /// 자동 생성 필드입니다.
47
        /// 수정하려면 디자이너 파일에서 코드 숨김 파일로 필드 선언을 이동하세요.
48
        /// </remarks>
49
        protected global::System.Web.UI.WebControls.TextBox txtTileSourceSub;
50
    }
51
}
KCOM_API/KCOM_API.csproj
85 85
    </Reference>
86 86
  </ItemGroup>
87 87
  <ItemGroup>
88
    <Content Include="Default.aspx" />
88 89
    <Content Include="HtmlPage1.html" />
89 90
    <Content Include="License-LGPL.txt" />
90 91
    <Content Include="MarkusService.svc" />
......
96 97
  <ItemGroup>
97 98
    <Compile Include="DataModel\AdjustResult.cs" />
98 99
    <Compile Include="DataModel\Commant.cs" />
100
    <Compile Include="DataModel\mMember.cs" />
101
    <Compile Include="Default.aspx.cs">
102
      <DependentUpon>Default.aspx</DependentUpon>
103
      <SubType>ASPXCodeBehind</SubType>
104
    </Compile>
105
    <Compile Include="Default.aspx.designer.cs">
106
      <DependentUpon>Default.aspx</DependentUpon>
107
    </Compile>
99 108
    <Compile Include="MarkusService.svc.cs">
100 109
      <DependentUpon>MarkusService.svc</DependentUpon>
101 110
      <SubType>Component</SubType>
......
120 129
    </None>
121 130
    <None Include="Web.Debug.config">
122 131
      <DependentUpon>Web.config</DependentUpon>
132
      <IsTransformFile>true</IsTransformFile>
123 133
    </None>
124 134
    <None Include="Web.Debug_DevDoftech.config">
125 135
      <DependentUpon>Web.config</DependentUpon>
136
      <IsTransformFile>true</IsTransformFile>
126 137
    </None>
127 138
    <None Include="Web.Debug_HyoSung.config">
128 139
      <DependentUpon>Web.config</DependentUpon>
140
      <IsTransformFile>true</IsTransformFile>
129 141
    </None>
130 142
    <None Include="Web.Release.config">
131 143
      <DependentUpon>Web.config</DependentUpon>
144
      <IsTransformFile>true</IsTransformFile>
132 145
    </None>
133 146
  </ItemGroup>
134 147
  <ItemGroup>
......
269 282
    <Error Condition="!Exists('..\packages\EMGU.CV.4.1.1.3497\build\EMGU.CV.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EMGU.CV.4.1.1.3497\build\EMGU.CV.targets'))" />
270 283
  </Target>
271 284
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
272
       Other similar extension points exist, see Microsoft.Common.targets.
285
       Other similar extension points exist, see Microsoft.Common.targets. -->
273 286
  <Target Name="BeforeBuild">
287
    <TransformXml Source="Web.config" Transform="Web.$(Configuration).config" Destination="Web.config" />
274 288
  </Target>
275 289
  <Target Name="AfterBuild">
276 290
  </Target>
277
  -->
278
  <UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.Tasks.dll" />
291
 
279 292
  <Target Name="Web_config_AfterBuild" AfterTargets="AfterBuild" Condition="Exists('Web.$(Configuration).config')">
280 293
    <TransformXml Source="Web.config" Destination="$(OutputPath)Web.config" Transform="Web.$(Configuration).config" />
281 294
  </Target>
295
  <Target Name="Web_Debug_HyoSung_config_AfterBuild" AfterTargets="AfterBuild" Condition="Exists('Web.Debug_HyoSung.$(Configuration).config')">
296
    <TransformXml Source="Web.Debug_HyoSung.config" Destination="$(OutputPath)Web.Debug_HyoSung.config" Transform="Web.config" />
297
  </Target>
298
  <UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.Tasks.dll" />
282 299
</Project>
KCOM_API/Properties/PublishProfiles/FolderProfile.pubxml.user
10 10
  </PropertyGroup>
11 11
  <ItemGroup>
12 12
    <File Include="bin/CommonLib.dll">
13
      <publishTime>01/13/2020 17:28:28</publishTime>
13
      <publishTime>01/31/2020 13:10:26</publishTime>
14 14
    </File>
15 15
    <File Include="bin/CommonLib.pdb">
16
      <publishTime>01/13/2020 17:28:28</publishTime>
16
      <publishTime>01/31/2020 13:10:26</publishTime>
17 17
    </File>
18 18
    <File Include="bin/CompareLib.dll">
19 19
      <publishTime>03/27/2018 10:07:16</publishTime>
......
52 52
      <publishTime>09/19/2015 15:28:04</publishTime>
53 53
    </File>
54 54
    <File Include="bin/IFinalPDF.dll">
55
      <publishTime>01/13/2020 17:28:28</publishTime>
55
      <publishTime>01/31/2020 13:10:26</publishTime>
56 56
    </File>
57 57
    <File Include="bin/IFinalPDF.pdb">
58
      <publishTime>01/13/2020 17:28:28</publishTime>
58
      <publishTime>01/31/2020 13:10:26</publishTime>
59 59
    </File>
60 60
    <File Include="bin/IKCOM.dll">
61
      <publishTime>01/13/2020 17:28:31</publishTime>
61
      <publishTime>01/31/2020 13:10:29</publishTime>
62 62
    </File>
63 63
    <File Include="bin/IKCOM.pdb">
64
      <publishTime>01/13/2020 17:28:31</publishTime>
64
      <publishTime>01/31/2020 13:10:29</publishTime>
65 65
    </File>
66 66
    <File Include="bin/it/ZedGraph.resources.dll">
67 67
      <publishTime>09/19/2015 15:28:04</publishTime>
......
70 70
      <publishTime>09/19/2015 15:28:04</publishTime>
71 71
    </File>
72 72
    <File Include="bin/KCOMDataModel.dll">
73
      <publishTime>01/13/2020 17:28:29</publishTime>
73
      <publishTime>01/31/2020 13:10:27</publishTime>
74 74
    </File>
75 75
    <File Include="bin/KCOMDataModel.dll.config">
76 76
      <publishTime>07/10/2019 14:11:36</publishTime>
77 77
    </File>
78 78
    <File Include="bin/KCOMDataModel.pdb">
79
      <publishTime>01/13/2020 17:28:29</publishTime>
79
      <publishTime>01/31/2020 13:10:27</publishTime>
80 80
    </File>
81 81
    <File Include="bin/KCOM_API.dll">
82
      <publishTime>01/13/2020 17:28:31</publishTime>
82
      <publishTime>02/03/2020 16:00:03</publishTime>
83 83
    </File>
84 84
    <File Include="bin/KCOM_API.pdb">
85
      <publishTime>01/13/2020 17:28:31</publishTime>
85
      <publishTime>02/03/2020 16:00:03</publishTime>
86 86
    </File>
87 87
    <File Include="bin/Leadtools.Codecs.Cmp.dll">
88 88
      <publishTime>06/29/2017 11:38:22</publishTime>
......
174 174
    <File Include="bin/zh-tw/ZedGraph.resources.dll">
175 175
      <publishTime>09/19/2015 15:28:04</publishTime>
176 176
    </File>
177
    <File Include="Default.aspx">
178
      <publishTime>01/31/2020 10:04:50</publishTime>
179
    </File>
180
    <File Include="HtmlPage1.html">
181
      <publishTime>01/15/2020 14:08:02</publishTime>
182
    </File>
177 183
    <File Include="License-LGPL.txt">
178 184
      <publishTime>01/07/2020 16:16:11</publishTime>
179 185
    </File>
......
184 190
      <publishTime>07/10/2019 14:11:36</publishTime>
185 191
    </File>
186 192
    <File Include="Web.config">
187
      <publishTime>01/13/2020 17:28:46</publishTime>
193
      <publishTime>02/03/2020 16:00:04</publishTime>
188 194
    </File>
189 195
  </ItemGroup>
190 196
</Project>
KCOM_API/Properties/Settings.Designer.cs
25 25
        
26 26
        [global::System.Configuration.ApplicationScopedSettingAttribute()]
27 27
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
28
        [global::System.Configuration.DefaultSettingValueAttribute("http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png")]
28
        [global::System.Configuration.DefaultSettingValueAttribute("http://10.11.252.3/TileSource/{0}_Tile/{1}/{2}/{3}.png")]
29 29
        public string TileSoucePath {
30 30
            get {
31 31
                return ((string)(this["TileSoucePath"]));
......
34 34
        
35 35
        [global::System.Configuration.ApplicationScopedSettingAttribute()]
36 36
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
37
        [global::System.Configuration.DefaultSettingValueAttribute("http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png")]
37
        [global::System.Configuration.DefaultSettingValueAttribute("http://10.11.252.3/TileSource/{0}_Tile/{1}/{2}/{3}.png")]
38 38
        public string TileSoucePath_SUB {
39 39
            get {
40 40
                return ((string)(this["TileSoucePath_SUB"]));
41 41
            }
42 42
        }
43
        
44
        [global::System.Configuration.ApplicationScopedSettingAttribute()]
45
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
46
        [global::System.Configuration.DefaultSettingValueAttribute("True")]
47
        public bool IsProjectNoPass {
48
            get {
49
                return ((bool)(this["IsProjectNoPass"]));
50
            }
51
        }
43 52
    }
44 53
}
KCOM_API/Properties/Settings.settings
3 3
  <Profiles />
4 4
  <Settings>
5 5
    <Setting Name="TileSoucePath" Type="System.String" Scope="Application">
6
      <Value Profile="(Default)">http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</Value>
6
      <Value Profile="(Default)">http://10.11.252.3/TileSource/{0}_Tile/{1}/{2}/{3}.png</Value>
7 7
    </Setting>
8 8
    <Setting Name="TileSoucePath_SUB" Type="System.String" Scope="Application">
9
      <Value Profile="(Default)">http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</Value>
9
      <Value Profile="(Default)">http://10.11.252.3/TileSource/{0}_Tile/{1}/{2}/{3}.png</Value>
10
    </Setting>
11
    <Setting Name="IsProjectNoPass" Type="System.Boolean" Scope="Application">
12
      <Value Profile="(Default)">True</Value>
10 13
    </Setting>
11 14
  </Settings>
12 15
</SettingsFile>
KCOM_API/ServiceDeepView.svc.cs
235 235
            string originFile = "";
236 236
            string targetFile = "";
237 237

  
238
            string sFolder = originDocItem_ID.All(char.IsDigit) ? (Convert.ToUInt32(originDocItem_ID) / 100).ToString() : (originDocItem_ID.Length >= 5 ? originDocItem_ID.Substring(0, 5) : originDocItem_ID);
238
            string sOriginFolder = originDocItem_ID.All(char.IsDigit) ? (Convert.ToUInt32(originDocItem_ID) / 100).ToString() : (originDocItem_ID.Length >= 5 ? originDocItem_ID.Substring(0, 5) : originDocItem_ID);
239
            string sTagetFolder = targetDocItem_ID.All(char.IsDigit) ? (Convert.ToUInt32(targetDocItem_ID) / 100).ToString() : (targetDocItem_ID.Length >= 5 ? targetDocItem_ID.Substring(0, 5) : targetDocItem_ID);
240

  
239 241
            if (Boolean.Parse(isInternalAddress))
240 242
            {
241
                originFile = String.Format(KCOM_API.Properties.Settings.Default.TileSoucePath, projectNo, sFolder, originDocItem_ID, originPageNo);
242
                targetFile = String.Format(KCOM_API.Properties.Settings.Default.TileSoucePath, projectNo, sFolder, targetDocItem_ID, targetPageNo);
243
                originFile = String.Format(KCOM_API.Properties.Settings.Default.TileSoucePath, projectNo, sOriginFolder, originDocItem_ID, originPageNo);
244
                targetFile = String.Format(KCOM_API.Properties.Settings.Default.TileSoucePath, projectNo, sTagetFolder, targetDocItem_ID, targetPageNo);
243 245
            }
244 246
            else
245 247
            {
......
692 694
                        _ColorsProperties = (from property in kcomEntity.PROPERTIES
693 695
                                             where property.TYPE == "DisplayColor"
694 696
                                             select property).ToList();
695
                    }                    
697
                    }
698

  
699
                    bool IsProjectNoPass = Properties.Settings.Default.IsProjectNoPass;
696 700

  
697 701
                    foreach (var item in _result)
698 702
                    {
699
                        var _member = entity.MEMBER.Where(member => member.ID == item.UserID && member.PROJECT_NO == ProjectNo).FirstOrDefault();
703
                        string query = "SELECT members.ID,members.NAME,members.DEPARTMENT FROM CIEntities.MEMBER as members where members.ID = @userId";
704

  
705
                        System.Data.Objects.ObjectQuery<System.Data.Common.DbDataRecord> memberQuery 
706
                                      = entity.CreateQuery<System.Data.Common.DbDataRecord>(query,new System.Data.Objects.ObjectParameter("userId",item.UserID));
700 707
                        
701
                        if (_member != null)
708
                        if (memberQuery.Count() > 0)
702 709
                        {
703
                            item.UserName = _member.NAME;
704
                            item.Depatment = _member.DEPARTMENT;
710
                            string userName = memberQuery.First()["NAME"]?.ToString().Trim();
711
                            string depatment = memberQuery.First()["DEPARTMENT"]?.ToString().Trim();
712

  
713
                            item.UserName = userName;
714
                            item.Depatment = depatment;
705 715
                        }
706 716

  
707 717
                        if (_ColorsProperties.Count > 0)
......
802 812

  
803 813
                    foreach (var item in _result)
804 814
                    {
805
                        var _member = entity.MEMBER.Where(member => member.ID == item.UserID);
815
                        string query = "SELECT members.ID,members.NAME,members.DEPARTMENT FROM CIEntities.MEMBER as members where members.ID = @userId";
816

  
817
                        System.Data.Objects.ObjectQuery<System.Data.Common.DbDataRecord> memberQuery
818
                                      = entity.CreateQuery<System.Data.Common.DbDataRecord>(query, new System.Data.Objects.ObjectParameter("userId", item.UserID));
806 819

  
807
                        if (_member.Count() > 0)
820
                        if (memberQuery.Count() > 0)
808 821
                        {
809
                            item.UserName = _member.First().NAME;
810
                            item.Depatment = _member.First().DEPARTMENT;
822

  
823
                            string userName = memberQuery.First()["NAME"]?.ToString().Trim();
824
                            string depatment = memberQuery.First()["DEPARTMENT"]?.ToString().Trim();
825

  
826
                            item.UserName = userName;
827
                            item.Depatment = depatment;
811 828
                        }
812 829

  
813 830
                        if (_ColorsProperties.Count > 0)
KCOM_API/Web.Debug.config
1
<?xml version="1.0" encoding="utf-8"?>
2

  
3
<!-- For more information on using web.config transformation visit https://go.microsoft.com/fwlink/?LinkId=125889 -->
4

  
1
<?xml version="1.0"?>
2
<!-- For more information on using app.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
3
<!-- In case configuration is not the root element, replace it with root element in source configuration file -->
5 4
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
6
  <!--
7
    In the example below, the "SetAttributes" transform will change the value of 
8
    "connectionString" to use "ReleaseSQLServer" only when the "Match" locator 
9
    finds an attribute "name" that has a value of "MyDB".
10
    
11
    <connectionStrings>
12
      <add name="MyDB" 
13
        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
14
        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
15
    </connectionStrings>
16
  -->
17
  <system.web>
18
    <!--
19
      In the example below, the "Replace" transform will replace the entire 
20
      <customErrors> section of your web.config file.
21
      Note that because there is only one customErrors section under the 
22
      <system.web> node, there is no need to use the "xdt:Locator" attribute.
23
      
24
      <customErrors defaultRedirect="GenericError.htm"
25
        mode="RemoteOnly" xdt:Transform="Replace">
26
        <error statusCode="500" redirect="InternalError.htm"/>
27
      </customErrors>
28
    -->
29
  </system.web>
5
  <connectionStrings xdt:Transform="Replace">
6
    <add name="ConnectionString" connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"
7
          xdt:Locator="Match(name)" xdt:Transform="SetAttributes"/>
8
    <add name="CIConnectionString" connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"
9
         xdt:Locator="Match(name)" xdt:Transform="SetAttributes"/>
10
  </connectionStrings>
11
  <applicationSettings  xdt:Transform="Replace">
12
    <KCOM_API.Properties.Settings>
13
      <setting name="TileSoucePath" serializeAs="String">
14
        <value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
15
      </setting>
16
      <setting name="TileSoucePath_SUB" serializeAs="String">
17
        <value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
18
      </setting>
19
      <setting name="IsProjectNoPass" serializeAs="String">
20
        <value>True</value>
21
      </setting>
22
    </KCOM_API.Properties.Settings>
23
  </applicationSettings>
30 24
</configuration>
KCOM_API/Web.Debug_DevDoftech.config
6 6
    <add name="ConnectionString" connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>
7 7
    <add name="CIConnectionString" connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>
8 8
  </connectionStrings>
9
  <applicationSettings  xdt:Transform="Replace">
10
    <KCOM_API.Properties.Settings>
11
      <setting name="TileSoucePath" serializeAs="String">
12
        <value>http://cloud.devdoftech.co.kr:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
13
      </setting>
14
      <setting name="TileSoucePath_SUB" serializeAs="String">
15
        <value>http://cloud.devdoftech.co.kr:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
16
      </setting>
17
      <setting name="IsProjectNoPass" serializeAs="String">
18
        <value>True</value>
19
      </setting>
20
    </KCOM_API.Properties.Settings>
21
  </applicationSettings>
9 22
</configuration>
KCOM_API/Web.Debug_HyoSung.config
2 2
<!-- For more information on using app.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
3 3
<!-- In case configuration is not the root element, replace it with root element in source configuration file -->
4 4
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
5
    <connectionStrings xdt:Transform="Replace">
6
      <!--효성 Connection String-->
7
      <add name="ConnectionString" connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.11.252.2,9875;initial catalog=markus;persist security info=True;user id=ProjectPortalDBConn;password=ProjectPortalDBConn;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>
8
      <add name="CIConnectionString" connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.11.252.2,9875;initial catalog=markus;persist security info=True;user id=ProjectPortalDBConn;password=ProjectPortalDBConn;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>
9
    </connectionStrings>
5
  <connectionStrings  xdt:Transform="Replace">
6
    <!--효성 Connection String-->
7
    <add name="ConnectionString" connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.11.252.2,9875;initial catalog=markus;persist security info=True;user id=ProjectPortalDBConn;password=ProjectPortalDBConn;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"
8
           xdt:Locator="Match(name)" xdt:Transform="SetAttributes"/>
9
    <add name="CIConnectionString" connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.11.252.2,9875;initial catalog=markus;persist security info=True;user id=ProjectPortalDBConn;password=ProjectPortalDBConn;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"
10
         xdt:Locator="Match(name)" xdt:Transform="SetAttributes"/>
11
  </connectionStrings>
12
  <applicationSettings  xdt:Transform="Replace">
13
    <KCOM_API.Properties.Settings>
14
      <setting name="TileSoucePath" serializeAs="String">
15
        <value>http://10.11.252.3/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
16
      </setting>
17
      <setting name="TileSoucePath_SUB" serializeAs="String">
18
        <value>http://10.11.252.3/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
19
      </setting>
20
      <setting name="IsProjectNoPass" serializeAs="String">
21
        <value>True</value>
22
      </setting>
23
    </KCOM_API.Properties.Settings>
24
  </applicationSettings>
25
  <!--<system.web>
26
    <compilation xdt:Transform="RemoveAttributes(debug)" />
27
  </system.web>-->
10 28
</configuration>
KCOM_API/Web.config
10 10
    </sectionGroup>
11 11
  </configSections>
12 12
  <connectionStrings>
13
      <!--효성 Connection String-->
14
      <!--<add name="ConnectionString" connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.11.252.2,9875;initial catalog=markus;persist security info=True;user id=ProjectPortalDBConn;password=ProjectPortalDBConn;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>
15
      <add name="CIConnectionString" connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.11.252.2,9875;initial catalog=markus;persist security info=True;user id=ProjectPortalDBConn;password=ProjectPortalDBConn;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>-->
16
      <!--효성 Connection String-->
17

  
18
      <!--Doftech Connection String-->
19
      <add name="ConnectionString" connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>
20
    <add name="CIConnectionString" connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient"/>
21
      <!--Doftech Connection String-->
13
    <add name="ConnectionString"
14
      connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;"
15
      providerName="System.Data.EntityClient"/>
16
    <add name="CIConnectionString"
17
      connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string=&quot;data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework&quot;"
18
      providerName="System.Data.EntityClient"/>
22 19
  </connectionStrings>
23
  
24 20
  <!--
25 21
    web.config 변경 내용에 대한 설명은  http://go.microsoft.com/fwlink/?LinkId=235367을 참고하십시오.
26 22

  
......
30 26
      </system.Web>
31 27
  -->
32 28
  <system.web>
33
    <compilation debug="true" targetFramework="4.5"/>
29
    <compilation targetFramework="4.5" debug="true"/>
34 30
    <pages controlRenderingCompatibilityVersion="4.0"/>
35 31
  </system.web>
36 32
  <system.serviceModel>
37 33
    <diagnostics wmiProviderEnabled="true">
38
      <messageLogging logEntireMessage="true" logMalformedMessages="true"
39
        logMessagesAtTransportLevel="true" />
40
      <endToEndTracing activityTracing="true" messageFlowTracing="true" />
34
      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtTransportLevel="true"/>
35
      <endToEndTracing activityTracing="true" messageFlowTracing="true"/>
41 36
    </diagnostics>
42 37
    <behaviors>
43 38
      <endpointBehaviors>
44 39
        <behavior name="WebHttpBehavior">
45
          <webHttp helpEnabled="true" defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Json" />
40
          <webHttp helpEnabled="true" defaultBodyStyle="Wrapped" defaultOutgoingResponseFormat="Json"/>
46 41
        </behavior>
47 42
      </endpointBehaviors>
48 43
      <serviceBehaviors>
49 44
        <behavior name="KCOM_API.SilverlightServiceBehavior">
50
          <serviceMetadata httpGetEnabled="true" />
51
          <serviceDebug includeExceptionDetailInFaults="false" />
52
          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
45
          <serviceMetadata httpGetEnabled="true"/>
46
          <serviceDebug includeExceptionDetailInFaults="false"/>
47
          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
53 48
        </behavior>
54 49
        <behavior name="">
55
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
56
          <serviceDebug includeExceptionDetailInFaults="false" />
50
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
51
          <serviceDebug includeExceptionDetailInFaults="false"/>
57 52
        </behavior>
58 53
      </serviceBehaviors>
59 54
    </behaviors>
60
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true"
61
      multipleSiteBindingsEnabled="true" />
55
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
62 56
    <bindings>
63 57
      <basicHttpBinding>
64 58
        <binding name="LargeBuffer" receiveTimeout="04:30:00" openTimeout="00:30:00" sendTimeout="04:30:00" closeTimeout="00:30:00" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
......
67 61
      </basicHttpBinding>
68 62
    </bindings>
69 63
    <services>
70
      <service behaviorConfiguration="KCOM_API.SilverlightServiceBehavior"
71
        name="KCOM_API.ServiceDeepView">
72
        <endpoint address="" binding="basicHttpBinding" bindingConfiguration="LargeBuffer"
73
          name="DeepViewPoint" contract="KCOM_API.ServiceDeepView">
64
      <service behaviorConfiguration="KCOM_API.SilverlightServiceBehavior" name="KCOM_API.ServiceDeepView">
65
        <endpoint address="" binding="basicHttpBinding" bindingConfiguration="LargeBuffer" name="DeepViewPoint" contract="KCOM_API.ServiceDeepView">
74 66
          <identity>
75
            <dns value="localhost" />
67
            <dns value="localhost"/>
76 68
          </identity>
77 69
        </endpoint>
78
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
70
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
79 71
      </service>
80 72
      <service name="KCOM_API.MarkusService">
81
        <endpoint address="Rest" behaviorConfiguration="WebHttpBehavior"
82
          binding="webHttpBinding" bindingConfiguration="" name="MarkusServiceWebEndPoint"
83
          contract="KCOM_API.MarkusService" />
84
        <endpoint binding="basicHttpBinding" bindingConfiguration=""
85
          name="MarkusServiceEndPoint" contract="KCOM_API.MarkusService" />
73
        <endpoint address="Rest" behaviorConfiguration="WebHttpBehavior" binding="webHttpBinding" bindingConfiguration="" name="MarkusServiceWebEndPoint" contract="KCOM_API.MarkusService"/>
74
        <endpoint binding="basicHttpBinding" bindingConfiguration="" name="MarkusServiceEndPoint" contract="KCOM_API.MarkusService"/>
86 75
      </service>
87 76
    </services>
88 77
  </system.serviceModel>
......
92 81
  <applicationSettings>
93 82
    <KCOM_API.Properties.Settings>
94 83
      <setting name="TileSoucePath" serializeAs="String">
95
        <value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
84
        <value>http://cloud.devdoftech.co.kr:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
96 85
      </setting>
97 86
      <setting name="TileSoucePath_SUB" serializeAs="String">
98
        <value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
87
        <value>http://cloud.devdoftech.co.kr:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
88
      </setting>
89
      <setting name="IsProjectNoPass" serializeAs="String">
90
        <value>True</value>
99 91
      </setting>
100 92
    </KCOM_API.Properties.Settings>
101 93
  </applicationSettings>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)