프로젝트

일반

사용자정보

개정판 ff01c725

IDff01c72555c4ddbb07e4d451cdd16b109d6bb957
상위 4eb4f3f9
하위 36595d5a

백흠경이(가) 5년 이상 전에 추가함

issue #1187: 설치 파일 for SNI

Change-Id: If9472fac917642303f5a53438a6e8d0c19e82db2

차이점 보기:

ConvertService/ConverterService/DBAggrigater/DeepViewDataModel/App.Config
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<configuration>
3 3
  <configSections>
4
    <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
5
      <section name="DeepViewDataModel.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
6
    </sectionGroup>
7 4
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
8 5
      <section name="DeepViewDataModel.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
9 6
    </sectionGroup>
......
37 34
  </userSettings>-->
38 35
  <applicationSettings>
39 36
    <DeepViewDataModel.Properties.Settings>
40
      <!--<setting name="DaelimCIConnectionString" serializeAs="String">
41
        <value>data source=ESB-DB;Initial Catalog={0};uid=ProjectPortalDBConn;password=ProjectPortalDBConn</value>
42
      </setting>-->
43 37
      <setting name="ConverterConnectionString" serializeAs="String">
44 38
        <value>data source=cloud.devdoftech.co.kr,7777;Initial Catalog={0};uid=doftech;password=dof1073#</value>
45 39
      </setting>
ConvertService/ConverterService/DBAggrigater/DeepViewDataModel/Properties/Settings.Designer.cs
12 12
    
13 13
    
14 14
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.3.0.0")]
15
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")]
16 16
    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 17
        
18 18
        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
......
23 23
            }
24 24
        }
25 25
        
26
        [global::System.Configuration.UserScopedSettingAttribute()]
26
        [global::System.Configuration.ApplicationScopedSettingAttribute()]
27 27
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
28 28
        [global::System.Configuration.DefaultSettingValueAttribute("data source=cloud.devdoftech.co.kr,7777;Initial Catalog={0};uid=doftech;password=" +
29 29
            "dof1073#")]
......
31 31
            get {
32 32
                return ((string)(this["ConverterConnectionString"]));
33 33
            }
34
            set {
35
                this["ConverterConnectionString"] = value;
36
            }
37 34
        }
38 35
    }
39 36
}
ConvertService/ConverterService/DBAggrigater/DeepViewDataModel/Properties/Settings.settings
2 2
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="DeepViewDataModel.Properties" GeneratedClassName="Settings">
3 3
  <Profiles />
4 4
  <Settings>
5
    <!--<Setting Name="DaelimCIConnectionString" Type="System.String" Scope="Application">
6
      <Value Profile="(Default)">data source=ESB-DB;Initial Catalog={0};uid=ProjectPortalDBConn;password=ProjectPortalDBConn</Value>
7
    </Setting>
8
    <Setting Name="ProjectCIConnectionString" Type="System.String" Scope="User">
9
      <Value Profile="(Default)">data source=ESB-DB;Initial Catalog={0};uid=ProjectPortalDBConn;password=ProjectPortalDBConn</Value>
10
    </Setting>
11
    <Setting Name="ConverterDaelimCIConnectionString" Type="System.String" Scope="User">
12
      <Value Profile="(Default)">data source=ESB-DB;Initial Catalog={0};uid=ProjectPortalDBConn;password=ProjectPortalDBConn</Value>
13
    </Setting>
14
    <Setting Name="ConverterProjectCIConnectionString" Type="System.String" Scope="User">
15
      <Value Profile="(Default)">data source=ESB-DB;Initial Catalog={0};uid=ProjectPortalDBConn;password=ProjectPortalDBConn</Value>
16
    </Setting>-->
17

  
18
    <Setting Name="ConverterConnectionString" Type="System.String" Scope="User">
5
    <Setting Name="ConverterConnectionString" Type="System.String" Scope="Application">
19 6
      <Value Profile="(Default)">data source=cloud.devdoftech.co.kr,7777;Initial Catalog={0};uid=doftech;password=dof1073#</Value>
20 7
    </Setting>
21
    
22
    
23 8
  </Settings>
24 9
</SettingsFile>
ConvertService/ConverterService/Main/PDFConverter/.vs/config/applicationhost.config
162 162
            </site>
163 163
            <site name="ConvertionWebService" id="2">
164 164
                <application path="/" applicationPool="Clr4IntegratedAppPool">
165
                    <virtualDirectory path="/" physicalPath="D:\Source\Repos\MARKUS\ConvertService\ConverterService\ConvertionWebService" />
165
                    <virtualDirectory path="/" physicalPath="C:\Temp\Workspace\MARKUS\ConvertService\ConverterService\ConvertionWebService" />
166 166
                </application>
167 167
                <bindings>
168 168
                    <binding protocol="http" bindingInformation="*:5295:localhost" />
FinalService/KCOM_FinalService/KCOM_FinalService.sln
25 25
EndProject
26 26
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConnectionStrEncrypt", "ConnectionStrEncrypt\ConnectionStrEncrypt.csproj", "{61F76FC9-A54E-4311-865F-05329DCACBDC}"
27 27
EndProject
28
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KCOM_FinalService_Console", "KCOM_FinalService_Console\KCOM_FinalService_Console.csproj", "{35CC3A14-08A0-4828-9A29-61A3989ECE52}"
29
EndProject
28 30
Global
29 31
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
30 32
		Debug|Any CPU = Debug|Any CPU
......
141 143
		{61F76FC9-A54E-4311-865F-05329DCACBDC}.Release|x64.Build.0 = Release|Any CPU
142 144
		{61F76FC9-A54E-4311-865F-05329DCACBDC}.Release|x86.ActiveCfg = Release|Any CPU
143 145
		{61F76FC9-A54E-4311-865F-05329DCACBDC}.Release|x86.Build.0 = Release|Any CPU
146
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
147
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Debug|Any CPU.Build.0 = Debug|Any CPU
148
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Debug|x64.ActiveCfg = Debug|Any CPU
149
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Debug|x64.Build.0 = Debug|Any CPU
150
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Debug|x86.ActiveCfg = Debug|Any CPU
151
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Debug|x86.Build.0 = Debug|Any CPU
152
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Release|Any CPU.ActiveCfg = Release|Any CPU
153
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Release|Any CPU.Build.0 = Release|Any CPU
154
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Release|x64.ActiveCfg = Release|Any CPU
155
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Release|x64.Build.0 = Release|Any CPU
156
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Release|x86.ActiveCfg = Release|Any CPU
157
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Release|x86.Build.0 = Release|Any CPU
144 158
	EndGlobalSection
145 159
	GlobalSection(SolutionProperties) = preSolution
146 160
		HideSolutionNode = FALSE
FinalService/KCOM_FinalService/KCOM_FinalService/KCOM_FinalService.csproj
30 30
    <ErrorReport>prompt</ErrorReport>
31 31
    <WarningLevel>4</WarningLevel>
32 32
  </PropertyGroup>
33
  <PropertyGroup>
34
    <StartupObject />
35
  </PropertyGroup>
33 36
  <ItemGroup>
34 37
    <Reference Include="System" />
35 38
    <Reference Include="System.Core" />
......
60 63
      <DependentUpon>Settings.settings</DependentUpon>
61 64
    </Compile>
62 65
    <Compile Include="Remoting\RemFinalPDFStation.cs" />
66
    <Compile Include="Settings.cs" />
63 67
  </ItemGroup>
64 68
  <ItemGroup>
65 69
    <ProjectReference Include="..\CommonLib\CommonLib.csproj">
FinalService/KCOM_FinalService/KCOM_FinalService/Program.cs
16 16
        /// <summary>
17 17
        /// The main entry point for the application.
18 18
        /// </summary>
19
        static void Main()
19
        static void Main(string[] args)
20 20
        {
21 21
            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
22 22
#if DEBUG
23 23
            RemFinalPDFStation oFinalStation = new RemFinalPDFStation();
24 24
#else
25
            ServicesToRun = new ServiceBase[]
25
            if (Environment.UserInteractive)
26 26
            {
27
                new FinalService()
28
            };
29
            ServiceBase.Run(ServicesToRun);
27
                FinalService _service = new FinalService();
28
                _service.TestStartupAndStop(args);
29
            }
30
            else
31
            {
32
                ServicesToRun = new ServiceBase[]
33
                {
34
                    new FinalService()
35
                };
36
                ServiceBase.Run(ServicesToRun);
37
            }
30 38
#endif
31 39
        }
32 40

  
FinalService/KCOM_FinalService/KCOM_FinalService/Remoting/RemFinalPDFStation.cs
99 99
                WorkingThread = new List<FINAL_PDF>();
100 100
                WaitThread = new List<FINAL_PDF>();                
101 101
            }
102
            catch (Exception EX)
102
            catch (Exception ex)
103 103
            {
104 104
                if (_Log != null)
105 105
                {
FinalService/KCOM_FinalService/KCOM_FinalService_Console/App.config
1
<?xml version="1.0" encoding="utf-8" ?>
2
<configuration>
3
    <configSections>
4
        <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
5
            <section name="KCOM_FinalService_Console.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
6
        </sectionGroup>
7
    </configSections>
8
    <startup> 
9
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
10
    </startup>
11
    <userSettings>
12
        <KCOM_FinalService_Console.Properties.Settings>
13
            <setting name="RemotingPort" serializeAs="String">
14
                <value>9092</value>
15
            </setting>
16
            <setting name="MultipleFinalCount" serializeAs="String">
17
                <value>15</value>
18
            </setting>
19
        </KCOM_FinalService_Console.Properties.Settings>
20
    </userSettings>
21
</configuration>
FinalService/KCOM_FinalService/KCOM_FinalService_Console/Common/ServiceEventLog.cs
1
using System;
2
using System.Collections.Generic;
3
using System.ComponentModel;
4
using System.Data;
5
using System.Diagnostics;
6
using System.Linq;
7

  
8
using System.Text;
9

  
10
namespace KCOM_FinalService.Common
11
{
12
    public partial class ServiceEventLog 
13
    {
14
        public ServiceEventLog()
15
        {
16
           
17
        }
18

  
19
    
20
        public void Write(string Header, string Message)
21
        {
22
            Console.WriteLine(" {0} : {1} ", Header, Message);
23
        }
24

  
25
    }
26
}
FinalService/KCOM_FinalService/KCOM_FinalService_Console/FinalService.cs
1
using KCOM_FinalService.Common;
2
using KCOM_FinalService.Remoting;
3
using System;
4
using System.Collections.Generic;
5
using System.ComponentModel;
6
using System.Data;
7
using System.Diagnostics;
8
using System.Linq;
9

  
10
using System.Text;
11
using System.Threading;
12

  
13
namespace KCOM_FinalService
14
{
15
    public partial class FinalService 
16
    {
17
        #region PROPERTIES
18
        System.Timers.Timer _Timer = new System.Timers.Timer();
19
        RemFinalPDFStation _remotingFinal = null;
20
        ServiceEventLog _log = null;
21
        public ServiceEventLog Logger
22
        {
23
            get { return this._log; }
24
        }
25

  
26
        Thread _FirewallOpenThread = null;
27
        #endregion
28

  
29
        public FinalService()
30
        {
31
            
32

  
33
            _log = new ServiceEventLog();
34
            _Timer.Interval = 60000; //잉 왜 60분으로 했더라..
35
            _Timer.Elapsed += _Timer_Elapsed;
36
            _remotingFinal = new RemFinalPDFStation(_log);
37
        }
38

  
39
        private void _Timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
40
        {
41
            _log.Write("FinalService","FinalService가 정상적으로 실행 중입니다 " + DateTime.Now);
42
        }
43

  
44
        public void OnStart()
45
        {
46
            _log.Write("OnStart", "Service");
47
            _remotingFinal = new RemFinalPDFStation(_log);
48
            _Timer.Enabled = true;
49
        }
50

  
51
        public void OnStop()
52
        {
53
            _remotingFinal.Dispose();
54
        }
55
    }
56
}
FinalService/KCOM_FinalService/KCOM_FinalService_Console/KCOM_FinalService_Console.csproj
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
  <PropertyGroup>
5
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
    <ProjectGuid>{35CC3A14-08A0-4828-9A29-61A3989ECE52}</ProjectGuid>
8
    <OutputType>Exe</OutputType>
9
    <RootNamespace>KCOM_FinalService_Console</RootNamespace>
10
    <AssemblyName>KCOM_FinalService_Console</AssemblyName>
11
    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
12
    <FileAlignment>512</FileAlignment>
13
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14
    <Deterministic>true</Deterministic>
15
  </PropertyGroup>
16
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17
    <PlatformTarget>AnyCPU</PlatformTarget>
18
    <DebugSymbols>true</DebugSymbols>
19
    <DebugType>full</DebugType>
20
    <Optimize>false</Optimize>
21
    <OutputPath>bin\Debug\</OutputPath>
22
    <DefineConstants>DEBUG;TRACE</DefineConstants>
23
    <ErrorReport>prompt</ErrorReport>
24
    <WarningLevel>4</WarningLevel>
25
  </PropertyGroup>
26
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27
    <PlatformTarget>AnyCPU</PlatformTarget>
28
    <DebugType>pdbonly</DebugType>
29
    <Optimize>true</Optimize>
30
    <OutputPath>bin\Release\</OutputPath>
31
    <DefineConstants>TRACE</DefineConstants>
32
    <ErrorReport>prompt</ErrorReport>
33
    <WarningLevel>4</WarningLevel>
34
  </PropertyGroup>
35
  <ItemGroup>
36
    <Reference Include="System" />
37
    <Reference Include="System.Core" />
38
    <Reference Include="System.Data.Entity" />
39
    <Reference Include="System.Runtime.Remoting" />
40
    <Reference Include="System.Xml.Linq" />
41
    <Reference Include="System.Data.DataSetExtensions" />
42
    <Reference Include="Microsoft.CSharp" />
43
    <Reference Include="System.Data" />
44
    <Reference Include="System.Net.Http" />
45
    <Reference Include="System.Xml" />
46
  </ItemGroup>
47
  <ItemGroup>
48
    <Compile Include="Common\ServiceEventLog.cs" />
49
    <Compile Include="FinalService.cs" />
50
    <Compile Include="Program.cs" />
51
    <Compile Include="Properties\AssemblyInfo.cs" />
52
    <Compile Include="Properties\Settings.Designer.cs">
53
      <AutoGen>True</AutoGen>
54
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
55
      <DependentUpon>Settings.settings</DependentUpon>
56
    </Compile>
57
    <Compile Include="Remoting\RemFinalPDFStation.cs" />
58
  </ItemGroup>
59
  <ItemGroup>
60
    <None Include="App.config" />
61
    <None Include="Properties\Settings.settings">
62
      <Generator>SettingsSingleFileGenerator</Generator>
63
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
64
    </None>
65
  </ItemGroup>
66
  <ItemGroup>
67
    <ProjectReference Include="..\CommonLib\CommonLib.csproj">
68
      <Project>{ee9aaabc-1678-43a4-878e-cedbb577cf01}</Project>
69
      <Name>CommonLib</Name>
70
    </ProjectReference>
71
    <ProjectReference Include="..\IFinalPDF\IFinalPDF.csproj">
72
      <Project>{784438be-2074-41ae-a692-24e1a4a67fe3}</Project>
73
      <Name>IFinalPDF</Name>
74
    </ProjectReference>
75
    <ProjectReference Include="..\KCOMDataModel\KCOMDataModel.csproj">
76
      <Project>{629dc8cd-d458-47ef-8f02-cd12c7001c3e}</Project>
77
      <Name>KCOMDataModel</Name>
78
    </ProjectReference>
79
    <ProjectReference Include="..\MarkupToPDF\MarkupToPDF.csproj">
80
      <Project>{a714bd67-8aac-4ed8-8ecf-7853c3549a68}</Project>
81
      <Name>MarkupToPDF</Name>
82
    </ProjectReference>
83
  </ItemGroup>
84
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
85
</Project>
FinalService/KCOM_FinalService/KCOM_FinalService_Console/Program.cs
1
using KCOM_FinalService;
2
using KCOM_FinalService.Remoting;
3
using System;
4
using System.Collections.Generic;
5
using System.Linq;
6
using System.Text;
7
using System.Threading.Tasks;
8

  
9
namespace KCOM_FinalService_Console
10
{
11
    class Program
12
    {
13
        static void Main(string[] args)
14
        {
15
            var convertStartion = new FinalService();
16
#if Release
17
            ServiceBase[] ServicesToRun;
18
            ServicesToRun = new ServiceBase[] 
19
			{ 
20
				convertStartion
21
			};
22
            ServiceBase.Run(ServicesToRun);
23
#else
24
            Console.WriteLine("ConverterStation Start()");
25

  
26
            while (true)
27
            {
28
                convertStartion.OnStart();
29
                var item = Console.ReadLine();
30
            }
31
#endif
32
        }
33
    }
34
}
FinalService/KCOM_FinalService/KCOM_FinalService_Console/Properties/AssemblyInfo.cs
1
using System.Reflection;
2
using System.Runtime.CompilerServices;
3
using System.Runtime.InteropServices;
4

  
5
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 
6
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
7
// 이러한 특성 값을 변경하세요.
8
[assembly: AssemblyTitle("KCOM_FinalService_Console")]
9
[assembly: AssemblyDescription("")]
10
[assembly: AssemblyConfiguration("")]
11
[assembly: AssemblyCompany("")]
12
[assembly: AssemblyProduct("KCOM_FinalService_Console")]
13
[assembly: AssemblyCopyright("Copyright ©  2019")]
14
[assembly: AssemblyTrademark("")]
15
[assembly: AssemblyCulture("")]
16

  
17
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 
18
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
19
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
20
[assembly: ComVisible(false)]
21

  
22
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
23
[assembly: Guid("35cc3a14-08a0-4828-9a29-61a3989ece52")]
24

  
25
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
26
//
27
//      주 버전
28
//      부 버전 
29
//      빌드 번호
30
//      수정 버전
31
//
32
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
33
// 지정되도록 할 수 있습니다.
34
// [assembly: AssemblyVersion("1.0.*")]
35
[assembly: AssemblyVersion("1.0.0.0")]
36
[assembly: AssemblyFileVersion("1.0.0.0")]
FinalService/KCOM_FinalService/KCOM_FinalService_Console/Properties/Settings.Designer.cs
1
//------------------------------------------------------------------------------
2
// <auto-generated>
3
//     이 코드는 도구를 사용하여 생성되었습니다.
4
//     런타임 버전:4.0.30319.42000
5
//
6
//     파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
7
//     이러한 변경 내용이 손실됩니다.
8
// </auto-generated>
9
//------------------------------------------------------------------------------
10

  
11
namespace KCOM_FinalService_Console.Properties {
12
    
13
    
14
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")]
16
    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17
        
18
        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19
        
20
        public static Settings Default {
21
            get {
22
                return defaultInstance;
23
            }
24
        }
25
        
26
        [global::System.Configuration.UserScopedSettingAttribute()]
27
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
28
        [global::System.Configuration.DefaultSettingValueAttribute("9092")]
29
        public int RemotingPort {
30
            get {
31
                return ((int)(this["RemotingPort"]));
32
            }
33
            set {
34
                this["RemotingPort"] = value;
35
            }
36
        }
37
        
38
        [global::System.Configuration.UserScopedSettingAttribute()]
39
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
40
        [global::System.Configuration.DefaultSettingValueAttribute("15")]
41
        public int MultipleFinalCount {
42
            get {
43
                return ((int)(this["MultipleFinalCount"]));
44
            }
45
            set {
46
                this["MultipleFinalCount"] = value;
47
            }
48
        }
49
    }
50
}
FinalService/KCOM_FinalService/KCOM_FinalService_Console/Properties/Settings.settings
1
<?xml version='1.0' encoding='utf-8'?>
2
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="KCOM_FinalService_Console.Properties" GeneratedClassName="Settings">
3
  <Profiles />
4
  <Settings>
5
    <Setting Name="RemotingPort" Type="System.Int32" Scope="User">
6
      <Value Profile="(Default)">9092</Value>
7
    </Setting>
8
    <Setting Name="MultipleFinalCount" Type="System.Int32" Scope="User">
9
      <Value Profile="(Default)">15</Value>
10
    </Setting>
11
  </Settings>
12
</SettingsFile>
FinalService/KCOM_FinalService/KCOM_FinalService_Console/Remoting/RemFinalPDFStation.cs
1
using IFinalPDF;
2
using KCOM_FinalService.Common;
3
using KCOMDataModel.Common;
4
using KCOMDataModel.DataModel;
5
using System;
6
using System.Collections.Concurrent;
7
using System.Collections.Generic;
8
using System.IO;
9
using System.Linq;
10
using System.Reflection;
11
using System.Runtime.Remoting.Channels.Tcp;
12
using System.Threading;
13
using System.Threading.Tasks;
14

  
15
namespace KCOM_FinalService.Remoting
16
{
17
    public class RemFinalPDFStation : InterfaceFinalPDF, IDisposable
18
    {
19
        #region Properties
20
        TcpChannel _Channel = null;
21
        ServiceEventLog _Log = null;
22
        Thread _FinalPDFThread = null;
23
        string _NoticeMessageBase = null;
24
        string _NoticeTitleBase = null;
25
        string _MyIP = null;
26
        int _TypeName = 1;
27
        readonly KCOM_FinalService_Console.Properties.Settings _SettingPlace = null;
28

  
29
        //Queue<FINAL_PDF> _WorkItem = new Queue<FINAL_PDF>();
30
        ConcurrentQueue<FINAL_PDF> WorkingQueue = null;
31
        List<FINAL_PDF> WaitThread = null;
32
        List<FINAL_PDF> WorkingThread = null;
33

  
34
        private Type _UploadFinalType { get; set; }   /// upload final class type
35
            #endregion
36

  
37
        public RemFinalPDFStation()
38
        {
39
            System.Diagnostics.EventLog _eventLog = new System.Diagnostics.EventLog();
40
           
41

  
42
            /// get legacy interface for upload final pdf file
43
            string UploadFinalDllPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "UploadFinal.dll");
44
           
45
            if (File.Exists(UploadFinalDllPath))
46
            {
47
                Assembly asm = Assembly.LoadFrom(UploadFinalDllPath);
48
                this._UploadFinalType = asm.GetType("UploadFinal.UploadFinal");
49
            }
50
            /// up to here
51

  
52
            Init();
53
        }
54

  
55
        public RemFinalPDFStation(int MultipleFinalCount)
56
        {
57
            System.Diagnostics.EventLog _eventlog = new System.Diagnostics.EventLog();
58
         
59

  
60
            /// get legacy interface for upload final pdf file
61
            string UploadFinalDllPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "UploadFinal.dll");
62
         
63
            if (File.Exists(UploadFinalDllPath))
64
            {
65
                Assembly asm = Assembly.LoadFrom(UploadFinalDllPath);
66
                this._UploadFinalType = asm.GetType("UploadFinal.UploadFinal");
67
            }
68
            /// up to here
69

  
70
            Init();
71
        }
72

  
73
        public RemFinalPDFStation(ServiceEventLog eventLog)
74
        {
75
            _Log = eventLog;
76
            Init();
77
        }
78

  
79
      
80

  
81
        public void Init()
82
        {
83
            try
84
            {
85
                //_MyIP = System.Net.Dns.Resolve(System.Net.Dns.GetHostName()).AddressList[0].ToString();
86
                using (KCOMDataModel.DataModel.KCOMEntities _systemEntity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString()))
87
                {
88
#if DEBUG
89
                    _TypeName = 1; //FINAL은 현재 타입이 1임
90
#else
91
                    _TypeName = 1;
92
                    ///TODO: check below code
93
                    ///_TypeName = _systemEntity.SERVICE_PROPERTIES.Where(data => data.SERVICE_ADDRESS == _MyIP).FirstOrDefault().SERVICET_TYPE;
94
#endif
95
                }
96
                _Log.Write("ConnectString :", KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString());
97
                _Channel = new TcpChannel(KCOM_FinalService_Console.Properties.Settings.Default.RemotingPort);
98
                _Log.Write("Port", KCOM_FinalService_Console.Properties.Settings.Default.RemotingPort.ToString());
99
                System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(_Channel, false);
100
                System.Runtime.Remoting.RemotingConfiguration.RegisterWellKnownServiceType(typeof(RemFinalPDFObject), "remFinalPDF", System.Runtime.Remoting.WellKnownObjectMode.Singleton);
101
                WorkingQueue = new ConcurrentQueue<FINAL_PDF>();                
102
                WorkingThread = new List<FINAL_PDF>();
103
                WaitThread = new List<FINAL_PDF>();
104
                if(WorkingQueue !=null)
105
                    _Log.Write("WorkingQueue : ", WorkingQueue.GetType().Name);
106
                else
107
                    _Log.Write("WorkingQueue : ", "null");
108
            }
109
            catch (Exception EX)
110
            {
111
                if (_Log != null)
112
                {
113
                
114
                }
115
            }
116
            IFinalPDF.Cache.Attach(this);
117
        }
118

  
119
        private void SetFinalState(string finalID, FinalStatus status)
120
        {
121
            _Log.Write("finalID : ", finalID);
122

  
123
            using (KCOMDataModel.DataModel.KCOMEntities _entity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString()))
124
            {
125
                var finalList = _entity.FINAL_PDF.Where(final => final.ID == finalID);
126

  
127
                if (finalList.Count() > 0)
128
                {
129
                    if (status == FinalStatus.Create)
130
                    {
131
                        finalList.First().START_DATETIME = DateTime.Now;
132
                    }
133
                    if (status == FinalStatus.Success)
134
                    {
135
                        finalList.First().END_DATETIME = DateTime.Now;
136
                    }
137

  
138
                    finalList.First().STATUS = (int)status;
139
                    _entity.SaveChanges();
140
                }
141
            };
142
        }
143

  
144
        public void Dispose()
145
        {
146
            if (_Channel != null)
147
            {
148
                System.Runtime.Remoting.Channels.ChannelServices.UnregisterChannel(_Channel);
149
            }
150
        }
151
        private void FinalPDFEnqueue(FINAL_PDF pdf)
152
        {
153
            _Log.Write("FinalPDFEnqueue : ", pdf.MARKUPINFO_ID);
154
            Task tEnq = Task.Factory.StartNew(() =>
155
            {
156
                WorkingQueue.Enqueue(pdf);
157
                Thread.Sleep(100);                
158
            });
159
            FinalPDFDequeueThreadStart();
160
        }        
161
        private void FinalPDFDequeueThreadStart()
162
        {
163
            _FinalPDFThread = new Thread(new ThreadStart(FinalPDFDequeueandProcessing));
164
            _FinalPDFThread.SetApartmentState(ApartmentState.STA);
165
            _FinalPDFThread.Start();
166
        }        
167
        
168
        private void FinalPDFDequeueandProcessing()
169
        {
170
            Task tDeq = Task.Factory.StartNew(() =>
171
            {
172
                _Log.Write("FinalService", "StartNew()");
173

  
174
                FINAL_PDF _item = new FINAL_PDF();
175

  
176

  
177
                try
178
                {
179
                    if (WorkingQueue == null)
180
                    {
181
                        WorkingQueue = new ConcurrentQueue<FINAL_PDF>();
182
                    }
183
                    _Log.Write("WorkingQueue", WorkingQueue.Count.ToString());
184
                    while (WorkingQueue.Count > 0)
185
                    {
186

  
187
                        if (WorkingQueue.TryDequeue(out _item))
188
                        {
189
                            _Log.Write("TryDequeue _item", _item.ID);
190

  
191
                            if (WorkingThread.Count() < KCOM_FinalService_Console.Properties.Settings.Default.MultipleFinalCount)
192
                            {
193
                                if (_item.STATUS == (int)FinalStatus.Insert)
194
                                {
195
                                    _item.STATUS = (int)(FinalStatus.Wait);
196
                                    using (KCOMDataModel.DataModel.KCOMEntities _entity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString()))
197
                                    {
198
                                        var selectItem = _entity.FINAL_PDF.Where(data => data.ID == _item.ID).FirstOrDefault();
199

  
200
                                        selectItem.STATUS = (int)(FinalStatus.Wait);
201

  
202
                                        _entity.SaveChanges();
203
                                    }
204
                                }
205
                                var _identPathItem = WorkingThread.Where(item => item.DOCUMENT_ID == _item.DOCUMENT_ID);                                
206

  
207
                                if (_identPathItem.Count() > 0)
208
                                {
209
                                    WaitThread.Add(_item);
210
                                }
211
                                else
212
                                {
213
                                    MarkupToPDF.MarkupToPDF _markuptoPDF = new MarkupToPDF.MarkupToPDF();
214
                                    _markuptoPDF.FinalMakeError += new EventHandler<MarkupToPDF.MakeFinalErrorArgs>(_markuptoPDF_FinalMakeError);
215
                                    _markuptoPDF.EndFinal += new EventHandler<MarkupToPDF.EndFinalEventArgs>(_markuptoPDF_EndFinal);
216
                                    Thread _stathread = new Thread(new ParameterizedThreadStart(_markuptoPDF.MakeFinalPDF))
217
                                    {
218
                                        Name = _item.ID.ToString()
219
                                    };
220
                                    SetFinalState(_item.ID, IFinalPDF.FinalStatus.Create);
221
                                    //_stathread.Priority = ThreadPriority.Normal;
222
                                    _stathread.SetApartmentState(ApartmentState.STA);
223
                                    _stathread.Start(_item);
224
                                    WorkingThread.Add(_item);
225
                                }
226
                            }
227
                        }
228
                        Thread.Sleep(100);
229
                    }
230
                }
231
                catch (Exception ex)
232
                {
233
                    _Log.Write("FinalService", "FinalPDFDequeueandProcessing error:" + ex.ToString());
234
                }
235
                
236
            });
237
        }
238
        public FinalPDFResult Notify(string ProjectNo, string FinalID)
239
        {
240
            using (KCOMDataModel.DataModel.KCOMEntities _entity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString()))
241
            {
242
                var finalpdf = _entity.FINAL_PDF.Where(final => final.ID == FinalID).FirstOrDefault();
243
                FinalPDFEnqueue(finalpdf);
244
                //FinalPDFProcessStart(finalList.ToList());
245
            }            
246
            ///TODO: why return FinalPDFResult?
247
            return new FinalPDFResult();
248
        }
249

  
250
        void _markuptoPDF_EndFinal(object sender, MarkupToPDF.EndFinalEventArgs e)
251
        {
252
            var _T = WorkingThread.Where(t => t == (sender as MarkupToPDF.MarkupToPDF).FinalItem);
253

  
254
            if (_T.Count() > 0)
255
            {
256
                FINAL_PDF _item = _T.First();
257

  
258
                SetFinalState(_item.ID, FinalStatus.PdfStamp);
259

  
260
                try
261
                {
262
                    string soapurl = CommonLib.Common.GetConfigString("UpLoadServiceUrl", "URL", "");
263
                    string finalpdfroot = CommonLib.Common.GetConfigString("FinalPDFRootUrl", "URL", "");
264
                    string filename = Path.GetFileName(e.FinalPDFPath);
265
                    string pdfpath = !string.IsNullOrEmpty(finalpdfroot) ? finalpdfroot + filename : filename;
266
                    if (!string.IsNullOrEmpty(soapurl) && (this._UploadFinalType != null))
267
                    {
268
                        //Legacy IF
269
                        MethodInfo UploadFinalPDFMethod = this._UploadFinalType.GetMethod("UploadFinalPDF", new Type[] { typeof(string), typeof(string), typeof(FINAL_PDF), typeof(string) });
270
                        if (null != UploadFinalPDFMethod)
271
                        {
272
                            object inst = Activator.CreateInstance(this._UploadFinalType, null);
273
                            object[] parameters = new object[] { pdfpath, e.OriginPDFName, e.FinalPDF, soapurl };
274
                            KeyValuePair<bool, string> result = (KeyValuePair<bool, string>)(UploadFinalPDFMethod.Invoke(inst, parameters));
275
                            ///KeyValuePair<bool, string> result = UploadFinal.UploadFinal.UploadFinalPDF(pdfpath, e.OriginPDFName, e.FinalPDF, soapurl);
276
                            if (result.Key)
277
                            {
278
                                SetFinalState(_item.ID, FinalStatus.Success);
279
                            }
280
                            else
281
                            {
282
                                SetFinalState(_item.ID, FinalStatus.Error);
283
                                _Log.Write("FinalService", "Upload error .." + filename + ",pdfname:" + e.OriginPDFName);
284
                            }
285
                        }
286
                        WorkingThread.Remove(_T.First());
287
                    }
288
                    else
289
                    {
290
                        ///TODO: 저장할 폴더 위치를 configuration으로 빼주세요
291

  
292
                        string savepath = CommonLib.Common.GetConfigString("DebugSavePath", "URL", "");
293

  
294
                        string saveFolder = String.Format(savepath, _item.PROJECT_NO, Convert.ToInt32(_item.DOCUMENT_ID) / 100, _item.DOCUMENT_ID);
295
                        if (!System.IO.Directory.Exists(saveFolder))
296
                        {
297
                            System.IO.Directory.CreateDirectory(saveFolder);
298
                        }
299

  
300
                        this._Log.Write("FinalService", String.Format("saveFolder : {0}", saveFolder) + DateTime.Now);
301
                        try
302
                        {
303
                            System.IO.File.Copy(e.FinalPDFPath, saveFolder + e.OriginPDFName, true);
304
                        }
305
                        catch (Exception)
306
                        {
307
                            _Log.Write("FinalService","e.FinalPDFPath:" + e.FinalPDFPath + ",saveFolder:" + saveFolder + ",e.OriginPDFName:" + e.OriginPDFName);
308
                        }
309

  
310
                        using (CIEntities _entity = new CIEntities(ConnectStringBuilder.ProjectCIConnectString(_item.PROJECT_NO).ToString()))
311
                        {
312
                            var item = _entity.DOCUMENT_ITEM.Where(d => d.DOCUMENT_ID == _item.DOCUMENT_ID).FirstOrDefault();
313
                            ///TODO: RESULT FILE 경로 위치를 configuration으로 빼주세요
314
                            string resultpath = CommonLib.Common.GetConfigString("DebugResultUrlPath", "URL", "");
315

  
316
                            item.RESULT_FILE = String.Format(resultpath, _item.PROJECT_NO, Convert.ToInt32(_item.DOCUMENT_ID) / 100, _item.DOCUMENT_ID, e.OriginPDFName);
317
                            sendReqLog("RESULT_FILE_PATH", item.RESULT_FILE);
318
                            _entity.SaveChanges();
319
                            SetFinalState(_item.ID, FinalStatus.Success);
320
                            WorkingThread.Remove(_T.First());
321
                        }
322
                    }
323
                }
324
                catch (Exception ex)
325
                {
326
                    SetFinalState(_item.ID, FinalStatus.Error);
327
                    _Log.Write("FinalService", "에러 .." + ex.Message);
328
                    WorkingThread.Remove(_T.First());
329
                }
330

  
331
                var waitpdf = WaitThread.Where(t => t.DOCUMENT_ID == _item.DOCUMENT_ID).FirstOrDefault();
332
                if(waitpdf != null)
333
                {
334
                    FinalPDFEnqueue(waitpdf);
335
                    WaitThread.Remove(waitpdf);
336
                }
337
                
338
            }
339
        }
340

  
341

  
342

  
343
        public static void sendReqLog(string name, string text)
344
        {
345
#if DEBUG
346
            try
347
            {
348
                string Msg = DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss") + "\t" + name + "\t" + text + "\r\n";
349
                string Dir = Path.Combine(@"D:\finalpdf\error");
350

  
351
                if (Directory.Exists(Dir) == false)
352
                {
353
                    Directory.CreateDirectory(Dir);
354
                }
355

  
356
                int min = DateTime.Now.Minute / 1;
357

  
358
                string path = Dir + "/" + "Log_" + DateTime.Now.ToString("yyyy-MM-dd HH-") + min + ".txt";
359
                File.AppendAllText(path, Msg);
360
            }
361
            catch (Exception e)
362
            {
363
                //  Debug.WriteLine(e);
364
            }
365
#endif
366
        }
367

  
368

  
369
        private void SetError(string FinalID, string Msg)
370
        {
371
            FINAL_PDF instanceFinal = null;
372

  
373
            try
374
            {
375
                using (KCOMDataModel.DataModel.KCOMEntities _entity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString()))
376
                {
377
                    instanceFinal = _entity.FINAL_PDF.Where(data => data.ID == FinalID).FirstOrDefault();
378

  
379
                    if (instanceFinal != null)
380
                    {
381
                        instanceFinal.STATUS = (int)FinalStatus.Error;
382
                        instanceFinal.EXCEPTION = DateTime.Now.ToShortDateString() + " " + Msg;
383
                        _entity.SaveChanges();
384
                    }
385
                }
386
            }
387
            catch (Exception ex)
388
            {
389
                _Log.Write("FinalService", ex.ToString());
390
            }
391

  
392
            /// 에러가 발생했을때 메일 발송
393
            //try //이메일 발송 부분 아직 보류
394
            //{
395

  
396
            //}
397
            //catch (Exception)
398
            //{
399

  
400
            //    throw;
401
            //}
402
            /// up to here
403
        }
404

  
405
        void _markuptoPDF_FinalMakeError(object sender, MarkupToPDF.MakeFinalErrorArgs e)
406
        {
407
            SetError(e.FinalID, e.Message);
408

  
409
            var _T = WorkingThread.Where(t => t == (sender as MarkupToPDF.MarkupToPDF).FinalItem);
410

  
411
            if (_T.Count() > 0)
412
            {
413
                FINAL_PDF _Item = _T.First();
414
                (sender as MarkupToPDF.MarkupToPDF).FinalMakeError -= new EventHandler<MarkupToPDF.MakeFinalErrorArgs>(_markuptoPDF_FinalMakeError);
415
                (sender as MarkupToPDF.MarkupToPDF).EndFinal -= new EventHandler<MarkupToPDF.EndFinalEventArgs>(_markuptoPDF_EndFinal);
416
                (sender as MarkupToPDF.MarkupToPDF).Dispose();
417
                WorkingThread.Remove(_Item);
418

  
419
                //Console.WriteLine(_Item.ID + "의 작업 중 에러가 발생했습니다");
420
            }
421
        }
422

  
423
        //private void CurrentCountUpdater()
424
        //{
425
        //    using (KCOMDataModel.DataModel.KCOMEntities _systemEntity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString()))
426
        //    {
427
        //        var items = _systemEntity.SERVICE_PROPERTIES.Where(data => data.SERVICET_TYPE == _TypeName).ToList();
428

  
429
        //        items.Where(data => data.Property == "PROCESS_COUNT").FirstOrDefault().Value = _WorkItems.Count.ToString();
430

  
431
        //        _system.SaveChanges();
432
        //    }
433
        //}
434
    }
435
}
FinalService/KCOM_FinalService/MarkupToPDF/MarkupToPDF.cs
202 202
                        DocPageItem = DocInfoItem.DOCPAGE.ToList();
203 203

  
204 204
                        PdfFilePathRoot = PdfFilePathRoot + @"\" + FinalPDF.PROJECT_NO + "_Tile" + @"\"
205
                                         + (System.Convert.ToInt64(FinalPDF.DOCUMENT_ID) / 100).ToString()
205
                                         + (FinalPDF.DOCUMENT_ID.All(char.IsDigit) ? (System.Convert.ToInt64(FinalPDF.DOCUMENT_ID) / 100).ToString() : FinalPDF.DOCINFO_ID.Substring(0, 5))
206 206
                                         + @"\" + FinalPDF.DOCUMENT_ID + @"\";
207 207

  
208 208
                        MarkupInfoItem = DocInfoItem.MARKUP_INFO.Where(data => data.CONSOLIDATE == 1 && data.AVOID_CONSOLIDATE == 0 && data.PART_CONSOLIDATE == 0).FirstOrDefault();
......
234 234
                        #region 파일 체크
235 235
                        if (_files.Count() == 1)
236 236
                        {
237
                            if (_files.First().Name.ToLower() == GetFileName(HttpUtility.UrlDecode(documentItem.ORIGINAL_FILE).ToLower()))
238
                            {
237
                            /// 문서 관리 시스템의 원본 PDF 파일과 비교 --> 삭제될 예정
238
                            //if (_files.First().Name.ToLower() == GetFileName(HttpUtility.UrlDecode(documentItem.ORIGINAL_FILE).ToLower()))
239
                            //{
239 240
                                OriginFileName = _files.First().Name;
240 241
                                PdfFilePath = _files.First().CopyTo(TestFile, true);
241
                            }
242
                            else
243
                            {
244
                                throw new Exception("현재 폴더 내 파일명이 데이터베이스와 상이합니다.filename:" + _files.First().Name.ToLower() + ",url:" + HttpUtility.UrlDecode(documentItem.ORIGINAL_FILE).ToLower());
245
                            }
242
                            //}
243
                            //else
244
                            //{
245
                            //    throw new Exception("현재 폴더 내 파일명이 데이터베이스와 상이합니다.filename:" + _files.First().Name.ToLower() + ",url:" + HttpUtility.UrlDecode(documentItem.ORIGINAL_FILE).ToLower());
246
                            //}
246 247
                        }
247 248
                        else if (_files.Count() > 1)
248 249
                        {
KCOM.sln
49 49
		{9F7C22A1-065C-4203-A570-F9EEA08F2344}.Debug|x86.Build.0 = Debug|x86
50 50
		{9F7C22A1-065C-4203-A570-F9EEA08F2344}.Release|Any CPU.ActiveCfg = Release|Any CPU
51 51
		{9F7C22A1-065C-4203-A570-F9EEA08F2344}.Release|Any CPU.Build.0 = Release|Any CPU
52
		{9F7C22A1-065C-4203-A570-F9EEA08F2344}.Release|x64.ActiveCfg = Release|x64
53
		{9F7C22A1-065C-4203-A570-F9EEA08F2344}.Release|x64.Build.0 = Release|x64
52
		{9F7C22A1-065C-4203-A570-F9EEA08F2344}.Release|x64.ActiveCfg = Release|Any CPU
53
		{9F7C22A1-065C-4203-A570-F9EEA08F2344}.Release|x64.Build.0 = Release|Any CPU
54 54
		{9F7C22A1-065C-4203-A570-F9EEA08F2344}.Release|x86.ActiveCfg = Release|x86
55 55
		{9F7C22A1-065C-4203-A570-F9EEA08F2344}.Release|x86.Build.0 = Release|x86
56 56
		{2CE89D0E-F2F8-40B2-88CA-2496C0E48EB0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
......
85 85
		{F026B592-11B9-410C-B4FF-384E511A4666}.Debug|x86.Build.0 = Debug|x86
86 86
		{F026B592-11B9-410C-B4FF-384E511A4666}.Release|Any CPU.ActiveCfg = Release|Any CPU
87 87
		{F026B592-11B9-410C-B4FF-384E511A4666}.Release|Any CPU.Build.0 = Release|Any CPU
88
		{F026B592-11B9-410C-B4FF-384E511A4666}.Release|x64.ActiveCfg = Release|Any CPU
89
		{F026B592-11B9-410C-B4FF-384E511A4666}.Release|x64.Build.0 = Release|Any CPU
88
		{F026B592-11B9-410C-B4FF-384E511A4666}.Release|x64.ActiveCfg = Release|x64
89
		{F026B592-11B9-410C-B4FF-384E511A4666}.Release|x64.Build.0 = Release|x64
90 90
		{F026B592-11B9-410C-B4FF-384E511A4666}.Release|x86.ActiveCfg = Release|x86
91 91
		{F026B592-11B9-410C-B4FF-384E511A4666}.Release|x86.Build.0 = Release|x86
92 92
		{6C950AF4-04D2-4638-8B78-472E39F78B45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
KCOM/App.xaml.cs
129 129
                    App.FileLogger.Debug("hostEntry == null");
130 130
                    isExternal = true;
131 131
                }
132
                else if (!hostEntry.HostName.ToUpper().EndsWith(localdomain))
132
                else if (!string.IsNullOrEmpty(localdomain) && !hostEntry.HostName.ToUpper().EndsWith(localdomain))
133 133
                {
134 134
                    // 외부 사용자
135 135
                    App.FileLogger.Debug(string.Format("You are external user because located out side of given domain({0})\nYour domain is {1}", localdomain, hostEntry.HostName));
......
202 202
#if DEBUG
203 203
                //sBaseServiceURL = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal);
204 204
                System.Diagnostics.Debug.WriteLine("sBaseServiceURL");
205
                sBaseServiceURL = CommonLib.Common.GetConfigString("Debug_BaseClientAddress", "URL", "", isExternal);
205
                sBaseServiceURL = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal);
206 206
#else
207 207
                sBaseServiceURL = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal);
208 208
#endif
KCOM/Connected Services/ServiceDeepView/Reference.cs
179 179
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
180 180
    [System.Runtime.Serialization.DataContractAttribute(Name="EntityKeyMember", Namespace="http://schemas.datacontract.org/2004/07/System.Data")]
181 181
    [System.SerializableAttribute()]
182
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.FinalPDFResult))]
183
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.FinalStatus))]
184
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityObject))]
185
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.StructuralObject))]
186
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfDOCINFOitJtO6kG))]
187
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReference))]
188
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.RelatedEnd))]
189
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMARKUP_INFO_VERSIONitJtO6kG))]
190
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMARKUP_INFOitJtO6kG))]
191
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMEMBERitJtO6kG))]
192
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(IKCOM.KCOM_SystemInfo))]
193
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(IKCOM.KCOM_BasicParam))]
194
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<IKCOM.VPRevision>))]
195
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(IKCOM.VPRevision))]
196
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<IKCOM.MarkupInfoItem>))]
197
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(IKCOM.MarkupInfoItem))]
198
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<IKCOM.MarkupItem>))]
199
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(IKCOM.MarkupItem))]
200
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(IKCOM.FAVORITE_FLAG))]
201
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityKey))]
202
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<KCOM.ServiceDeepView.EntityKeyMember>))]
203
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<System.Windows.Rect>))]
204
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Windows.Rect))]
205 182
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<string>))]
206 183
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<KCOMDataModel.DataModel.FAVORITE_DOC>))]
207 184
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.FAVORITE_DOC))]
......
234 211
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<KCOMDataModel.DataModel.FINAL_PDF>))]
235 212
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.PROPERTIES))]
236 213
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<KCOMDataModel.DataModel.PROPERTIES>))]
214
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(IKCOM.KCOM_SystemInfo))]
215
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(IKCOM.KCOM_BasicParam))]
216
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<IKCOM.VPRevision>))]
217
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(IKCOM.VPRevision))]
218
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<IKCOM.MarkupInfoItem>))]
219
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(IKCOM.MarkupInfoItem))]
220
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<IKCOM.MarkupItem>))]
221
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(IKCOM.MarkupItem))]
222
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(IKCOM.FAVORITE_FLAG))]
223
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityObject))]
224
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.StructuralObject))]
225
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfDOCINFOitJtO6kG))]
226
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReference))]
227
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.RelatedEnd))]
228
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMARKUP_INFO_VERSIONitJtO6kG))]
229
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMARKUP_INFOitJtO6kG))]
230
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMEMBERitJtO6kG))]
231
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<System.Windows.Rect>))]
232
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Windows.Rect))]
233
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityKey))]
234
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<KCOM.ServiceDeepView.EntityKeyMember>))]
235
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.FinalPDFResult))]
236
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.FinalStatus))]
237 237
    public partial class EntityKeyMember : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
238 238
        
239 239
        [System.NonSerializedAttribute()]
......
293 293
    
294 294
    [System.Diagnostics.DebuggerStepThroughAttribute()]
295 295
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
296
    [System.Runtime.Serialization.DataContractAttribute(Name="EntityReferenceOfDOCINFOitJtO6kG", Namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses")]
297
    [System.SerializableAttribute()]
298
    public partial class EntityReferenceOfDOCINFOitJtO6kG : KCOM.ServiceDeepView.EntityReference {
299
    }
300
    
301
    [System.Diagnostics.DebuggerStepThroughAttribute()]
302
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
303
    [System.Runtime.Serialization.DataContractAttribute(Name="EntityReference", Namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses")]
304
    [System.SerializableAttribute()]
305
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMARKUP_INFO_VERSIONitJtO6kG))]
306
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMARKUP_INFOitJtO6kG))]
307
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMEMBERitJtO6kG))]
308
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfDOCINFOitJtO6kG))]
309
    public partial class EntityReference : KCOM.ServiceDeepView.RelatedEnd {
310
        
311
        [System.Runtime.Serialization.OptionalFieldAttribute()]
312
        private KCOM.ServiceDeepView.EntityKey EntityKeyField;
313
        
314
        [System.Runtime.Serialization.DataMemberAttribute()]
315
        public KCOM.ServiceDeepView.EntityKey EntityKey {
316
            get {
317
                return this.EntityKeyField;
318
            }
319
            set {
320
                if ((object.ReferenceEquals(this.EntityKeyField, value) != true)) {
321
                    this.EntityKeyField = value;
322
                    this.RaisePropertyChanged("EntityKey");
323
                }
324
            }
325
        }
326
    }
327
    
328
    [System.Diagnostics.DebuggerStepThroughAttribute()]
329
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
330
    [System.Runtime.Serialization.DataContractAttribute(Name="RelatedEnd", Namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses")]
331
    [System.SerializableAttribute()]
332
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReference))]
333
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMARKUP_INFO_VERSIONitJtO6kG))]
334
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMARKUP_INFOitJtO6kG))]
335
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMEMBERitJtO6kG))]
336
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfDOCINFOitJtO6kG))]
337
    public partial class RelatedEnd : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
338
        
339
        [System.NonSerializedAttribute()]
340
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
341
        
342
        [global::System.ComponentModel.BrowsableAttribute(false)]
343
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
344
            get {
345
                return this.extensionDataField;
346
            }
347
            set {
348
                this.extensionDataField = value;
349
            }
350
        }
351
        
352
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
353
        
354
        protected void RaisePropertyChanged(string propertyName) {
355
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
356
            if ((propertyChanged != null)) {
357
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
358
            }
359
        }
360
    }
361
    
362
    [System.Diagnostics.DebuggerStepThroughAttribute()]
363
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
364
    [System.Runtime.Serialization.DataContractAttribute(Name="EntityReferenceOfMARKUP_INFO_VERSIONitJtO6kG", Namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses")]
365
    [System.SerializableAttribute()]
366
    public partial class EntityReferenceOfMARKUP_INFO_VERSIONitJtO6kG : KCOM.ServiceDeepView.EntityReference {
367
    }
368
    
369
    [System.Diagnostics.DebuggerStepThroughAttribute()]
370
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
371
    [System.Runtime.Serialization.DataContractAttribute(Name="EntityReferenceOfMARKUP_INFOitJtO6kG", Namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses")]
372
    [System.SerializableAttribute()]
373
    public partial class EntityReferenceOfMARKUP_INFOitJtO6kG : KCOM.ServiceDeepView.EntityReference {
374
    }
375
    
376
    [System.Diagnostics.DebuggerStepThroughAttribute()]
377
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
378
    [System.Runtime.Serialization.DataContractAttribute(Name="EntityReferenceOfMEMBERitJtO6kG", Namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses")]
379
    [System.SerializableAttribute()]
380
    public partial class EntityReferenceOfMEMBERitJtO6kG : KCOM.ServiceDeepView.EntityReference {
381
    }
382
    
383
    [System.Diagnostics.DebuggerStepThroughAttribute()]
384
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
296 385
    [System.Runtime.Serialization.DataContractAttribute(Name="FinalPDFResult", Namespace="http://schemas.datacontract.org/2004/07/IFinalPDF")]
297 386
    [System.SerializableAttribute()]
298 387
    public partial struct FinalPDFResult : System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
......
417 506
        Error = 5,
418 507
    }
419 508
    
420
    [System.Diagnostics.DebuggerStepThroughAttribute()]
421
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
422
    [System.Runtime.Serialization.DataContractAttribute(Name="EntityReferenceOfDOCINFOitJtO6kG", Namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses")]
423
    [System.SerializableAttribute()]
424
    public partial class EntityReferenceOfDOCINFOitJtO6kG : KCOM.ServiceDeepView.EntityReference {
425
    }
426
    
427
    [System.Diagnostics.DebuggerStepThroughAttribute()]
428
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
429
    [System.Runtime.Serialization.DataContractAttribute(Name="EntityReference", Namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses")]
430
    [System.SerializableAttribute()]
431
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMARKUP_INFO_VERSIONitJtO6kG))]
432
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMARKUP_INFOitJtO6kG))]
433
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMEMBERitJtO6kG))]
434
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfDOCINFOitJtO6kG))]
435
    public partial class EntityReference : KCOM.ServiceDeepView.RelatedEnd {
436
        
437
        [System.Runtime.Serialization.OptionalFieldAttribute()]
438
        private KCOM.ServiceDeepView.EntityKey EntityKeyField;
439
        
440
        [System.Runtime.Serialization.DataMemberAttribute()]
441
        public KCOM.ServiceDeepView.EntityKey EntityKey {
442
            get {
443
                return this.EntityKeyField;
444
            }
445
            set {
446
                if ((object.ReferenceEquals(this.EntityKeyField, value) != true)) {
447
                    this.EntityKeyField = value;
448
                    this.RaisePropertyChanged("EntityKey");
449
                }
450
            }
451
        }
452
    }
453
    
454
    [System.Diagnostics.DebuggerStepThroughAttribute()]
455
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
456
    [System.Runtime.Serialization.DataContractAttribute(Name="RelatedEnd", Namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses")]
457
    [System.SerializableAttribute()]
458
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReference))]
459
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMARKUP_INFO_VERSIONitJtO6kG))]
460
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMARKUP_INFOitJtO6kG))]
461
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfMEMBERitJtO6kG))]
462
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOM.ServiceDeepView.EntityReferenceOfDOCINFOitJtO6kG))]
463
    public partial class RelatedEnd : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
464
        
465
        [System.NonSerializedAttribute()]
466
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
467
        
468
        [global::System.ComponentModel.BrowsableAttribute(false)]
469
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
470
            get {
471
                return this.extensionDataField;
472
            }
473
            set {
474
                this.extensionDataField = value;
475
            }
476
        }
477
        
478
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
479
        
480
        protected void RaisePropertyChanged(string propertyName) {
481
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
482
            if ((propertyChanged != null)) {
483
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
484
            }
485
        }
486
    }
487
    
488
    [System.Diagnostics.DebuggerStepThroughAttribute()]
489
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
490
    [System.Runtime.Serialization.DataContractAttribute(Name="EntityReferenceOfMARKUP_INFO_VERSIONitJtO6kG", Namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses")]
491
    [System.SerializableAttribute()]
492
    public partial class EntityReferenceOfMARKUP_INFO_VERSIONitJtO6kG : KCOM.ServiceDeepView.EntityReference {
493
    }
494
    
495
    [System.Diagnostics.DebuggerStepThroughAttribute()]
496
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
497
    [System.Runtime.Serialization.DataContractAttribute(Name="EntityReferenceOfMARKUP_INFOitJtO6kG", Namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses")]
498
    [System.SerializableAttribute()]
499
    public partial class EntityReferenceOfMARKUP_INFOitJtO6kG : KCOM.ServiceDeepView.EntityReference {
500
    }
501
    
502
    [System.Diagnostics.DebuggerStepThroughAttribute()]
503
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
504
    [System.Runtime.Serialization.DataContractAttribute(Name="EntityReferenceOfMEMBERitJtO6kG", Namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses")]
505
    [System.SerializableAttribute()]
506
    public partial class EntityReferenceOfMEMBERitJtO6kG : KCOM.ServiceDeepView.EntityReference {
507
    }
508
    
509 509
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
510 510
    [System.ServiceModel.ServiceContractAttribute(Namespace="", ConfigurationName="ServiceDeepView.ServiceDeepView")]
511 511
    public interface ServiceDeepView {
KCOM/Connected Services/ServiceDeepView/Reference.svcmap
25 25
    <ServiceContractMappings />
26 26
  </ClientOptions>
27 27
  <MetadataSources>
28
    <MetadataSource Address="http://localhost:13009/ServiceDeepView.svc" Protocol="http" SourceId="1" />
28
    <MetadataSource Address="http://sdms.co.kr:8080/API/ServiceDeepView.svc" Protocol="http" SourceId="1" />
29 29
  </MetadataSources>
30 30
  <Metadata>
31
    <MetadataFile FileName="ServiceDeepView.xsd" MetadataType="Schema" ID="738a7870-2760-4437-bed6-3fdbf0b6b24e" SourceId="1" SourceUrl="http://localhost:13009/ServiceDeepView.svc?xsd=xsd7" />
32
    <MetadataFile FileName="ServiceDeepView1.xsd" MetadataType="Schema" ID="87878d83-f393-4daa-b939-560b2c741822" SourceId="1" SourceUrl="http://localhost:13009/ServiceDeepView.svc?xsd=xsd4" />
33
    <MetadataFile FileName="ServiceDeepView2.xsd" MetadataType="Schema" ID="b0c8dacb-3a4b-42dc-aea5-e95e70d2474d" SourceId="1" SourceUrl="http://localhost:13009/ServiceDeepView.svc?xsd=xsd2" />
34
    <MetadataFile FileName="ServiceDeepView.disco" MetadataType="Disco" ID="fc5736f9-e264-490b-bc6e-fd8da852f643" SourceId="1" SourceUrl="http://localhost:13009/ServiceDeepView.svc?disco" />
35
    <MetadataFile FileName="ServiceDeepView3.xsd" MetadataType="Schema" ID="ec0e4252-ab2b-4e97-b8de-5a7bf2fa73a3" SourceId="1" SourceUrl="http://localhost:13009/ServiceDeepView.svc?xsd=xsd5" />
36
    <MetadataFile FileName="ServiceDeepView4.xsd" MetadataType="Schema" ID="dfb0ae11-ed51-4741-9562-826be6bdbf64" SourceId="1" SourceUrl="http://localhost:13009/ServiceDeepView.svc?xsd=xsd1" />
37
    <MetadataFile FileName="ServiceDeepView.wsdl" MetadataType="Wsdl" ID="42dc8791-2446-4bbc-912e-6c75b122c3db" SourceId="1" SourceUrl="http://localhost:13009/ServiceDeepView.svc?wsdl=wsdl0" />
38
    <MetadataFile FileName="ServiceDeepView5.xsd" MetadataType="Schema" ID="2e9c2797-320d-4fc7-aaf9-5d764d26fb5f" SourceId="1" SourceUrl="http://localhost:13009/ServiceDeepView.svc?xsd=xsd6" />
39
    <MetadataFile FileName="ServiceDeepView6.xsd" MetadataType="Schema" ID="0a7a31d5-807b-490c-88e6-7357025a4757" SourceId="1" SourceUrl="http://localhost:13009/ServiceDeepView.svc?xsd=xsd0" />
40
    <MetadataFile FileName="ServiceDeepView1.wsdl" MetadataType="Wsdl" ID="8a3f9301-f57c-465f-9075-5a7415a7a20c" SourceId="1" SourceUrl="http://localhost:13009/ServiceDeepView.svc?wsdl" />
41
    <MetadataFile FileName="ServiceDeepView7.xsd" MetadataType="Schema" ID="3c022930-2b91-4afb-b695-9299a0125a85" SourceId="1" SourceUrl="http://localhost:13009/ServiceDeepView.svc?xsd=xsd8" />
42
    <MetadataFile FileName="ServiceDeepView8.xsd" MetadataType="Schema" ID="bb14bbbd-927d-47d4-a486-92dea8f15ded" SourceId="1" SourceUrl="http://localhost:13009/ServiceDeepView.svc?xsd=xsd3" />
31
    <MetadataFile FileName="ServiceDeepView99.xsd" MetadataType="Schema" ID="ce9cb462-c182-46eb-a07b-26435d492551" SourceId="1" SourceUrl="http://sdms.co.kr:8080/API/ServiceDeepView.svc?xsd=xsd1" />
32
    <MetadataFile FileName="ServiceDeepView22.wsdl" MetadataType="Wsdl" ID="38c7abf6-7c00-4abf-ba43-3761d62518d4" SourceId="1" SourceUrl="http://sdms.co.kr:8080/API/ServiceDeepView.svc?wsdl" />
33
    <MetadataFile FileName="ServiceDeepView910.xsd" MetadataType="Schema" ID="4e6f48c0-2277-42f4-ab8c-c0a605bcdd4d" SourceId="1" SourceUrl="http://sdms.co.kr:8080/API/ServiceDeepView.svc?xsd=xsd8" />
34
    <MetadataFile FileName="ServiceDeepView911.xsd" MetadataType="Schema" ID="46d4dfe2-d672-4bdd-b94e-adc477a26b7b" SourceId="1" SourceUrl="http://sdms.co.kr:8080/API/ServiceDeepView.svc?xsd=xsd3" />
35
    <MetadataFile FileName="ServiceDeepView912.xsd" MetadataType="Schema" ID="80546e8a-5927-46fc-90d7-35a08f01890d" SourceId="1" SourceUrl="http://sdms.co.kr:8080/API/ServiceDeepView.svc?xsd=xsd0" />
36
    <MetadataFile FileName="ServiceDeepView913.xsd" MetadataType="Schema" ID="718f4768-ced4-4398-8fe4-edfa8305be57" SourceId="1" SourceUrl="http://sdms.co.kr:8080/API/ServiceDeepView.svc?xsd=xsd2" />
37
    <MetadataFile FileName="ServiceDeepView914.xsd" MetadataType="Schema" ID="79dd9ab4-bb72-4093-835c-a8d76fb0adb7" SourceId="1" SourceUrl="http://sdms.co.kr:8080/API/ServiceDeepView.svc?xsd=xsd4" />
38
    <MetadataFile FileName="ServiceDeepView915.xsd" MetadataType="Schema" ID="6946f686-566f-4717-8f8f-7b61dd91b7f9" SourceId="1" SourceUrl="http://sdms.co.kr:8080/API/ServiceDeepView.svc?xsd=xsd6" />
39
    <MetadataFile FileName="ServiceDeepView23.wsdl" MetadataType="Wsdl" ID="44bf5f9b-23de-4a91-b47a-b2f320c6f1ec" SourceId="1" SourceUrl="http://sdms.co.kr:8080/API/ServiceDeepView.svc?wsdl=wsdl0" />
40
    <MetadataFile FileName="ServiceDeepView916.xsd" MetadataType="Schema" ID="b40dcdad-c26e-4a7a-8069-8126443fb113" SourceId="1" SourceUrl="http://sdms.co.kr:8080/API/ServiceDeepView.svc?xsd=xsd5" />
41
    <MetadataFile FileName="ServiceDeepView11.disco" MetadataType="Disco" ID="a9372359-3fcf-42b6-87a0-401d93bc6496" SourceId="1" SourceUrl="http://sdms.co.kr:8080/API/ServiceDeepView.svc?disco" />
42
    <MetadataFile FileName="ServiceDeepView917.xsd" MetadataType="Schema" ID="9b769bba-a34c-4be1-812b-4038793b6659" SourceId="1" SourceUrl="http://sdms.co.kr:8080/API/ServiceDeepView.svc?xsd=xsd7" />
43 43
  </Metadata>
44 44
  <Extensions>
45 45
    <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
KCOM/Connected Services/ServiceDeepView/ServiceDeepView.disco
1
<?xml version="1.0" encoding="utf-8"?>
2
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
3
  <contractRef ref="http://localhost:13009/ServiceDeepView.svc?wsdl" docRef="http://localhost:13009/ServiceDeepView.svc" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
4
</discovery>
KCOM/Connected Services/ServiceDeepView/ServiceDeepView.wsdl
1
<?xml version="1.0" encoding="utf-8"?>
2
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
3
  <wsdl:types>
4
    <xsd:schema targetNamespace="/Imports">
5
      <xsd:import schemaLocation="http://localhost:13009/ServiceDeepView.svc?xsd=xsd0" />
6
      <xsd:import schemaLocation="http://localhost:13009/ServiceDeepView.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
7
      <xsd:import schemaLocation="http://localhost:13009/ServiceDeepView.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/IKCOM" />
8
      <xsd:import schemaLocation="http://localhost:13009/ServiceDeepView.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/KCOMDataModel.DataModel" />
9
      <xsd:import schemaLocation="http://localhost:13009/ServiceDeepView.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" />
10
      <xsd:import schemaLocation="http://localhost:13009/ServiceDeepView.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/System.Data" />
11
      <xsd:import schemaLocation="http://localhost:13009/ServiceDeepView.svc?xsd=xsd6" namespace="http://schemas.datacontract.org/2004/07/System.Windows" />
12
      <xsd:import schemaLocation="http://localhost:13009/ServiceDeepView.svc?xsd=xsd7" namespace="http://schemas.datacontract.org/2004/07/IFinalPDF" />
13
      <xsd:import schemaLocation="http://localhost:13009/ServiceDeepView.svc?xsd=xsd8" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
14
    </xsd:schema>
15
  </wsdl:types>
16
  <wsdl:message name="ServiceDeepView_GetVersionData_InputMessage">
17
    <wsdl:part name="parameters" element="GetVersionData" />
18
  </wsdl:message>
19
  <wsdl:message name="ServiceDeepView_GetVersionData_OutputMessage">
20
    <wsdl:part name="parameters" element="GetVersionDataResponse" />
21
  </wsdl:message>
22
  <wsdl:message name="ServiceDeepView_GetSystemData_InputMessage">
23
    <wsdl:part name="parameters" element="GetSystemData" />
24
  </wsdl:message>
25
  <wsdl:message name="ServiceDeepView_GetSystemData_OutputMessage">
26
    <wsdl:part name="parameters" element="GetSystemDataResponse" />
27
  </wsdl:message>
28
  <wsdl:message name="ServiceDeepView_GetFavoriteVP_InputMessage">
29
    <wsdl:part name="parameters" element="GetFavoriteVP" />
30
  </wsdl:message>
31
  <wsdl:message name="ServiceDeepView_GetFavoriteVP_OutputMessage">
32
    <wsdl:part name="parameters" element="GetFavoriteVPResponse" />
33
  </wsdl:message>
34
  <wsdl:message name="ServiceDeepView_EditFavoriteVP_InputMessage">
35
    <wsdl:part name="parameters" element="EditFavoriteVP" />
36
  </wsdl:message>
37
  <wsdl:message name="ServiceDeepView_EditFavoriteVP_OutputMessage">
38
    <wsdl:part name="parameters" element="EditFavoriteVPResponse" />
39
  </wsdl:message>
40
  <wsdl:message name="ServiceDeepView_DelFavoriteVP_InputMessage">
41
    <wsdl:part name="parameters" element="DelFavoriteVP" />
42
  </wsdl:message>
43
  <wsdl:message name="ServiceDeepView_DelFavoriteVP_OutputMessage">
44
    <wsdl:part name="parameters" element="DelFavoriteVPResponse" />
45
  </wsdl:message>
46
  <wsdl:message name="ServiceDeepView_GetCompareRect_InputMessage">
47
    <wsdl:part name="parameters" element="GetCompareRect" />
48
  </wsdl:message>
49
  <wsdl:message name="ServiceDeepView_GetCompareRect_OutputMessage">
50
    <wsdl:part name="parameters" element="GetCompareRectResponse" />
51
  </wsdl:message>
52
  <wsdl:message name="ServiceDeepView_SetFinalPDF_InputMessage">
53
    <wsdl:part name="parameters" element="SetFinalPDF" />
54
  </wsdl:message>
55
  <wsdl:message name="ServiceDeepView_SetFinalPDF_OutputMessage">
56
    <wsdl:part name="parameters" element="SetFinalPDFResponse" />
57
  </wsdl:message>
58
  <wsdl:message name="ServiceDeepView_GetConversionState_InputMessage">
59
    <wsdl:part name="parameters" element="GetConversionState" />
60
  </wsdl:message>
61
  <wsdl:message name="ServiceDeepView_GetConversionState_OutputMessage">
62
    <wsdl:part name="parameters" element="GetConversionStateResponse" />
63
  </wsdl:message>
64
  <wsdl:message name="ServiceDeepView_GetVPRevisionHistory_InputMessage">
65
    <wsdl:part name="parameters" element="GetVPRevisionHistory" />
66
  </wsdl:message>
67
  <wsdl:message name="ServiceDeepView_GetVPRevisionHistory_OutputMessage">
68
    <wsdl:part name="parameters" element="GetVPRevisionHistoryResponse" />
69
  </wsdl:message>
70
  <wsdl:message name="ServiceDeepView_GetVPRevisionFirstOrDefault_InputMessage">
71
    <wsdl:part name="parameters" element="GetVPRevisionFirstOrDefault" />
72
  </wsdl:message>
73
  <wsdl:message name="ServiceDeepView_GetVPRevisionFirstOrDefault_OutputMessage">
74
    <wsdl:part name="parameters" element="GetVPRevisionFirstOrDefaultResponse" />
75
  </wsdl:message>
76
  <wsdl:message name="ServiceDeepView_GetDocInfo_InputMessage">
77
    <wsdl:part name="parameters" element="GetDocInfo" />
78
  </wsdl:message>
79
  <wsdl:message name="ServiceDeepView_GetDocInfo_OutputMessage">
80
    <wsdl:part name="parameters" element="GetDocInfoResponse" />
... 이 차이점은 표시할 수 있는 최대 줄수를 초과해서 이 차이점은 잘렸습니다.

내보내기 Unified diff

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