개정판 abaa85b4
issue #1022 wcf 수정 및 final service 직접 접근 수정.
Change-Id: Iab45b6919293bf86848d3e5fa9768fae3f794410
FinalService/KCOM_FinalService/CommonLib/CommonLib.csproj | ||
---|---|---|
77 | 77 |
<None Include="Connected Services\MARKUS_API\CommonLib.MARKUS_API.FinalPDFResult.datasource"> |
78 | 78 |
<DependentUpon>Reference.svcmap</DependentUpon> |
79 | 79 |
</None> |
80 |
<None Include="Connected Services\MARKUS_API\CommonLib.MARKUS_API.FINAL_PDF.datasource"> |
|
81 |
<DependentUpon>Reference.svcmap</DependentUpon> |
|
82 |
</None> |
|
80 | 83 |
<None Include="Connected Services\MARKUS_API\CommonLib.MARKUS_API.KCOM_SystemInfo.datasource"> |
81 | 84 |
<DependentUpon>Reference.svcmap</DependentUpon> |
82 | 85 |
</None> |
... | ... | |
92 | 95 |
<None Include="Connected Services\MARKUS_API\CommonLib.MARKUS_API.MEMBER.datasource"> |
93 | 96 |
<DependentUpon>Reference.svcmap</DependentUpon> |
94 | 97 |
</None> |
98 |
<None Include="Connected Services\MARKUS_API\CommonLib.MARKUS_API.PROPERTIES.datasource"> |
|
99 |
<DependentUpon>Reference.svcmap</DependentUpon> |
|
100 |
</None> |
|
95 | 101 |
<None Include="Connected Services\MARKUS_API\CommonLib.MARKUS_API.Rect.datasource"> |
96 | 102 |
<DependentUpon>Reference.svcmap</DependentUpon> |
97 | 103 |
</None> |
FinalService/KCOM_FinalService/CommonLib/Connected Services/MARKUS_API/Reference.cs | ||
---|---|---|
308 | 308 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.CHECK_LIST_HISTORY))] |
309 | 309 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.CHECK_LIST))] |
310 | 310 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.TALK))] |
311 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.FINAL_PDF))] |
|
312 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.PROPERTIES))] |
|
311 | 313 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.FAVORITE_DOC))] |
312 | 314 |
public partial class StructuralObject : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { |
313 | 315 |
|
... | ... | |
352 | 354 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.CHECK_LIST_HISTORY))] |
353 | 355 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.CHECK_LIST))] |
354 | 356 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.TALK))] |
357 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.FINAL_PDF))] |
|
358 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.PROPERTIES))] |
|
355 | 359 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.FAVORITE_DOC))] |
356 | 360 |
public partial class EntityObject : CommonLib.MARKUS_API.StructuralObject { |
357 | 361 |
|
... | ... | |
2600 | 2604 |
|
2601 | 2605 |
[System.Diagnostics.DebuggerStepThroughAttribute()] |
2602 | 2606 |
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] |
2607 |
[System.Runtime.Serialization.DataContractAttribute(Name="FINAL_PDF", Namespace="http://schemas.datacontract.org/2004/07/KCOMDataModel.DataModel", IsReference=true)] |
|
2608 |
[System.SerializableAttribute()] |
|
2609 |
public partial class FINAL_PDF : CommonLib.MARKUS_API.EntityObject { |
|
2610 |
|
|
2611 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2612 |
private System.DateTime CREATE_DATETIMEField; |
|
2613 |
|
|
2614 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2615 |
private string CREATE_USER_IDField; |
|
2616 |
|
|
2617 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2618 |
private int CURRENT_PAGEField; |
|
2619 |
|
|
2620 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2621 |
private string DOCINFO_IDField; |
|
2622 |
|
|
2623 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2624 |
private string DOCUMENT_IDField; |
|
2625 |
|
|
2626 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2627 |
private System.Nullable<System.DateTime> END_DATETIMEField; |
|
2628 |
|
|
2629 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2630 |
private string EXCEPTIONField; |
|
2631 |
|
|
2632 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2633 |
private string IDField; |
|
2634 |
|
|
2635 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2636 |
private string MARKUPINFO_IDField; |
|
2637 |
|
|
2638 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2639 |
private string PROJECT_NOField; |
|
2640 |
|
|
2641 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2642 |
private System.Nullable<System.DateTime> START_DATETIMEField; |
|
2643 |
|
|
2644 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2645 |
private int STATUSField; |
|
2646 |
|
|
2647 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2648 |
private int TOTAL_PAGEField; |
|
2649 |
|
|
2650 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2651 |
public System.DateTime CREATE_DATETIME { |
|
2652 |
get { |
|
2653 |
return this.CREATE_DATETIMEField; |
|
2654 |
} |
|
2655 |
set { |
|
2656 |
if ((this.CREATE_DATETIMEField.Equals(value) != true)) { |
|
2657 |
this.CREATE_DATETIMEField = value; |
|
2658 |
this.RaisePropertyChanged("CREATE_DATETIME"); |
|
2659 |
} |
|
2660 |
} |
|
2661 |
} |
|
2662 |
|
|
2663 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2664 |
public string CREATE_USER_ID { |
|
2665 |
get { |
|
2666 |
return this.CREATE_USER_IDField; |
|
2667 |
} |
|
2668 |
set { |
|
2669 |
if ((object.ReferenceEquals(this.CREATE_USER_IDField, value) != true)) { |
|
2670 |
this.CREATE_USER_IDField = value; |
|
2671 |
this.RaisePropertyChanged("CREATE_USER_ID"); |
|
2672 |
} |
|
2673 |
} |
|
2674 |
} |
|
2675 |
|
|
2676 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2677 |
public int CURRENT_PAGE { |
|
2678 |
get { |
|
2679 |
return this.CURRENT_PAGEField; |
|
2680 |
} |
|
2681 |
set { |
|
2682 |
if ((this.CURRENT_PAGEField.Equals(value) != true)) { |
|
2683 |
this.CURRENT_PAGEField = value; |
|
2684 |
this.RaisePropertyChanged("CURRENT_PAGE"); |
|
2685 |
} |
|
2686 |
} |
|
2687 |
} |
|
2688 |
|
|
2689 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2690 |
public string DOCINFO_ID { |
|
2691 |
get { |
|
2692 |
return this.DOCINFO_IDField; |
|
2693 |
} |
|
2694 |
set { |
|
2695 |
if ((object.ReferenceEquals(this.DOCINFO_IDField, value) != true)) { |
|
2696 |
this.DOCINFO_IDField = value; |
|
2697 |
this.RaisePropertyChanged("DOCINFO_ID"); |
|
2698 |
} |
|
2699 |
} |
|
2700 |
} |
|
2701 |
|
|
2702 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2703 |
public string DOCUMENT_ID { |
|
2704 |
get { |
|
2705 |
return this.DOCUMENT_IDField; |
|
2706 |
} |
|
2707 |
set { |
|
2708 |
if ((object.ReferenceEquals(this.DOCUMENT_IDField, value) != true)) { |
|
2709 |
this.DOCUMENT_IDField = value; |
|
2710 |
this.RaisePropertyChanged("DOCUMENT_ID"); |
|
2711 |
} |
|
2712 |
} |
|
2713 |
} |
|
2714 |
|
|
2715 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2716 |
public System.Nullable<System.DateTime> END_DATETIME { |
|
2717 |
get { |
|
2718 |
return this.END_DATETIMEField; |
|
2719 |
} |
|
2720 |
set { |
|
2721 |
if ((this.END_DATETIMEField.Equals(value) != true)) { |
|
2722 |
this.END_DATETIMEField = value; |
|
2723 |
this.RaisePropertyChanged("END_DATETIME"); |
|
2724 |
} |
|
2725 |
} |
|
2726 |
} |
|
2727 |
|
|
2728 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2729 |
public string EXCEPTION { |
|
2730 |
get { |
|
2731 |
return this.EXCEPTIONField; |
|
2732 |
} |
|
2733 |
set { |
|
2734 |
if ((object.ReferenceEquals(this.EXCEPTIONField, value) != true)) { |
|
2735 |
this.EXCEPTIONField = value; |
|
2736 |
this.RaisePropertyChanged("EXCEPTION"); |
|
2737 |
} |
|
2738 |
} |
|
2739 |
} |
|
2740 |
|
|
2741 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2742 |
public string ID { |
|
2743 |
get { |
|
2744 |
return this.IDField; |
|
2745 |
} |
|
2746 |
set { |
|
2747 |
if ((object.ReferenceEquals(this.IDField, value) != true)) { |
|
2748 |
this.IDField = value; |
|
2749 |
this.RaisePropertyChanged("ID"); |
|
2750 |
} |
|
2751 |
} |
|
2752 |
} |
|
2753 |
|
|
2754 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2755 |
public string MARKUPINFO_ID { |
|
2756 |
get { |
|
2757 |
return this.MARKUPINFO_IDField; |
|
2758 |
} |
|
2759 |
set { |
|
2760 |
if ((object.ReferenceEquals(this.MARKUPINFO_IDField, value) != true)) { |
|
2761 |
this.MARKUPINFO_IDField = value; |
|
2762 |
this.RaisePropertyChanged("MARKUPINFO_ID"); |
|
2763 |
} |
|
2764 |
} |
|
2765 |
} |
|
2766 |
|
|
2767 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2768 |
public string PROJECT_NO { |
|
2769 |
get { |
|
2770 |
return this.PROJECT_NOField; |
|
2771 |
} |
|
2772 |
set { |
|
2773 |
if ((object.ReferenceEquals(this.PROJECT_NOField, value) != true)) { |
|
2774 |
this.PROJECT_NOField = value; |
|
2775 |
this.RaisePropertyChanged("PROJECT_NO"); |
|
2776 |
} |
|
2777 |
} |
|
2778 |
} |
|
2779 |
|
|
2780 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2781 |
public System.Nullable<System.DateTime> START_DATETIME { |
|
2782 |
get { |
|
2783 |
return this.START_DATETIMEField; |
|
2784 |
} |
|
2785 |
set { |
|
2786 |
if ((this.START_DATETIMEField.Equals(value) != true)) { |
|
2787 |
this.START_DATETIMEField = value; |
|
2788 |
this.RaisePropertyChanged("START_DATETIME"); |
|
2789 |
} |
|
2790 |
} |
|
2791 |
} |
|
2792 |
|
|
2793 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2794 |
public int STATUS { |
|
2795 |
get { |
|
2796 |
return this.STATUSField; |
|
2797 |
} |
|
2798 |
set { |
|
2799 |
if ((this.STATUSField.Equals(value) != true)) { |
|
2800 |
this.STATUSField = value; |
|
2801 |
this.RaisePropertyChanged("STATUS"); |
|
2802 |
} |
|
2803 |
} |
|
2804 |
} |
|
2805 |
|
|
2806 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2807 |
public int TOTAL_PAGE { |
|
2808 |
get { |
|
2809 |
return this.TOTAL_PAGEField; |
|
2810 |
} |
|
2811 |
set { |
|
2812 |
if ((this.TOTAL_PAGEField.Equals(value) != true)) { |
|
2813 |
this.TOTAL_PAGEField = value; |
|
2814 |
this.RaisePropertyChanged("TOTAL_PAGE"); |
|
2815 |
} |
|
2816 |
} |
|
2817 |
} |
|
2818 |
} |
|
2819 |
|
|
2820 |
[System.Diagnostics.DebuggerStepThroughAttribute()] |
|
2821 |
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] |
|
2822 |
[System.Runtime.Serialization.DataContractAttribute(Name="PROPERTIES", Namespace="http://schemas.datacontract.org/2004/07/KCOMDataModel.DataModel", IsReference=true)] |
|
2823 |
[System.SerializableAttribute()] |
|
2824 |
public partial class PROPERTIES : CommonLib.MARKUS_API.EntityObject { |
|
2825 |
|
|
2826 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2827 |
private int IDField; |
|
2828 |
|
|
2829 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2830 |
private string PROPERTYField; |
|
2831 |
|
|
2832 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2833 |
private string TYPEField; |
|
2834 |
|
|
2835 |
[System.Runtime.Serialization.OptionalFieldAttribute()] |
|
2836 |
private string VALUEField; |
|
2837 |
|
|
2838 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2839 |
public int ID { |
|
2840 |
get { |
|
2841 |
return this.IDField; |
|
2842 |
} |
|
2843 |
set { |
|
2844 |
if ((this.IDField.Equals(value) != true)) { |
|
2845 |
this.IDField = value; |
|
2846 |
this.RaisePropertyChanged("ID"); |
|
2847 |
} |
|
2848 |
} |
|
2849 |
} |
|
2850 |
|
|
2851 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2852 |
public string PROPERTY { |
|
2853 |
get { |
|
2854 |
return this.PROPERTYField; |
|
2855 |
} |
|
2856 |
set { |
|
2857 |
if ((object.ReferenceEquals(this.PROPERTYField, value) != true)) { |
|
2858 |
this.PROPERTYField = value; |
|
2859 |
this.RaisePropertyChanged("PROPERTY"); |
|
2860 |
} |
|
2861 |
} |
|
2862 |
} |
|
2863 |
|
|
2864 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2865 |
public string TYPE { |
|
2866 |
get { |
|
2867 |
return this.TYPEField; |
|
2868 |
} |
|
2869 |
set { |
|
2870 |
if ((object.ReferenceEquals(this.TYPEField, value) != true)) { |
|
2871 |
this.TYPEField = value; |
|
2872 |
this.RaisePropertyChanged("TYPE"); |
|
2873 |
} |
|
2874 |
} |
|
2875 |
} |
|
2876 |
|
|
2877 |
[System.Runtime.Serialization.DataMemberAttribute()] |
|
2878 |
public string VALUE { |
|
2879 |
get { |
|
2880 |
return this.VALUEField; |
|
2881 |
} |
|
2882 |
set { |
|
2883 |
if ((object.ReferenceEquals(this.VALUEField, value) != true)) { |
|
2884 |
this.VALUEField = value; |
|
2885 |
this.RaisePropertyChanged("VALUE"); |
|
2886 |
} |
|
2887 |
} |
|
2888 |
} |
|
2889 |
} |
|
2890 |
|
|
2891 |
[System.Diagnostics.DebuggerStepThroughAttribute()] |
|
2892 |
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] |
|
2603 | 2893 |
[System.Runtime.Serialization.DataContractAttribute(Name="EntityKey", Namespace="http://schemas.datacontract.org/2004/07/System.Data", IsReference=true)] |
2604 | 2894 |
[System.SerializableAttribute()] |
2605 | 2895 |
public partial class EntityKey : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { |
... | ... | |
2731 | 3021 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.DOCUMENT_ITEM[]))] |
2732 | 3022 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.TALK))] |
2733 | 3023 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.TALK[]))] |
3024 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.FINAL_PDF))] |
|
3025 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.FINAL_PDF[]))] |
|
3026 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.PROPERTIES))] |
|
3027 |
[System.Runtime.Serialization.KnownTypeAttribute(typeof(CommonLib.MARKUS_API.PROPERTIES[]))] |
|
2734 | 3028 |
public partial class EntityKeyMember : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { |
2735 | 3029 |
|
2736 | 3030 |
[System.NonSerializedAttribute()] |
... | ... | |
3958 | 4252 |
[System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/FinalPDF_GetMarkupinfo", ReplyAction="urn:ServiceDeepView/FinalPDF_GetMarkupinfoResponse")] |
3959 | 4253 |
CommonLib.MARKUS_API.MARKUP_INFO FinalPDF_GetMarkupinfo(string project_no, string docinfo_id); |
3960 | 4254 |
|
4255 |
[System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/FinalPDF_GetFinalPDFs", ReplyAction="urn:ServiceDeepView/FinalPDF_GetFinalPDFsResponse")] |
|
4256 |
CommonLib.MARKUS_API.FINAL_PDF[] FinalPDF_GetFinalPDFs(string final_id); |
|
4257 |
|
|
3961 | 4258 |
[System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/FinalPDF_GetDocpage", ReplyAction="urn:ServiceDeepView/FinalPDF_GetDocpageResponse")] |
3962 | 4259 |
CommonLib.MARKUS_API.DOCPAGE[] FinalPDF_GetDocpage(string project_no, string docinfo_id); |
4260 |
|
|
4261 |
[System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/FinalPDF_SetFinalPDFStatus", ReplyAction="urn:ServiceDeepView/FinalPDF_SetFinalPDFStatusResponse")] |
|
4262 |
bool FinalPDF_SetFinalPDFStatus(string final_id, CommonLib.MARKUS_API.FinalStatus status); |
|
4263 |
|
|
4264 |
[System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/FinalPDF_SetCurrentPage", ReplyAction="urn:ServiceDeepView/FinalPDF_SetCurrentPageResponse")] |
|
4265 |
bool FinalPDF_SetCurrentPage(string final_id, int currentpage); |
|
4266 |
|
|
4267 |
[System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/FinalPDF_SetError", ReplyAction="urn:ServiceDeepView/FinalPDF_SetErrorResponse")] |
|
4268 |
bool FinalPDF_SetError(string final_id, string msg); |
|
4269 |
|
|
4270 |
[System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/FinalPDF_SetFinalResultPath", ReplyAction="urn:ServiceDeepView/FinalPDF_SetFinalResultPathResponse")] |
|
4271 |
bool FinalPDF_SetFinalResultPath(string project_no, string document_id, string url); |
|
4272 |
|
|
4273 |
[System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/FinalPDF_GetCommentMember", ReplyAction="urn:ServiceDeepView/FinalPDF_GetCommentMemberResponse")] |
|
4274 |
CommonLib.MARKUS_API.MEMBER FinalPDF_GetCommentMember(string project_no, string markupdata_id); |
|
4275 |
|
|
4276 |
[System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/FinalPDF_GetProperties", ReplyAction="urn:ServiceDeepView/FinalPDF_GetPropertiesResponse")] |
|
4277 |
CommonLib.MARKUS_API.PROPERTIES[] FinalPDF_GetProperties(string project_no); |
|
3963 | 4278 |
} |
3964 | 4279 |
|
3965 | 4280 |
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
... | ... | |
4241 | 4556 |
return base.Channel.FinalPDF_GetMarkupinfo(project_no, docinfo_id); |
4242 | 4557 |
} |
4243 | 4558 |
|
4559 |
public CommonLib.MARKUS_API.FINAL_PDF[] FinalPDF_GetFinalPDFs(string final_id) { |
|
4560 |
return base.Channel.FinalPDF_GetFinalPDFs(final_id); |
|
4561 |
} |
|
4562 |
|
|
4244 | 4563 |
public CommonLib.MARKUS_API.DOCPAGE[] FinalPDF_GetDocpage(string project_no, string docinfo_id) { |
4245 | 4564 |
return base.Channel.FinalPDF_GetDocpage(project_no, docinfo_id); |
4246 | 4565 |
} |
4566 |
|
|
4567 |
public bool FinalPDF_SetFinalPDFStatus(string final_id, CommonLib.MARKUS_API.FinalStatus status) { |
|
4568 |
return base.Channel.FinalPDF_SetFinalPDFStatus(final_id, status); |
|
4569 |
} |
|
4570 |
|
|
4571 |
public bool FinalPDF_SetCurrentPage(string final_id, int currentpage) { |
|
4572 |
return base.Channel.FinalPDF_SetCurrentPage(final_id, currentpage); |
|
4573 |
} |
|
4574 |
|
|
4575 |
public bool FinalPDF_SetError(string final_id, string msg) { |
|
4576 |
return base.Channel.FinalPDF_SetError(final_id, msg); |
|
4577 |
} |
|
4578 |
|
|
4579 |
public bool FinalPDF_SetFinalResultPath(string project_no, string document_id, string url) { |
|
4580 |
return base.Channel.FinalPDF_SetFinalResultPath(project_no, document_id, url); |
|
4581 |
} |
|
4582 |
|
|
4583 |
public CommonLib.MARKUS_API.MEMBER FinalPDF_GetCommentMember(string project_no, string markupdata_id) { |
|
4584 |
return base.Channel.FinalPDF_GetCommentMember(project_no, markupdata_id); |
|
4585 |
} |
|
4586 |
|
|
4587 |
public CommonLib.MARKUS_API.PROPERTIES[] FinalPDF_GetProperties(string project_no) { |
|
4588 |
return base.Channel.FinalPDF_GetProperties(project_no); |
|
4589 |
} |
|
4247 | 4590 |
} |
4248 | 4591 |
} |
FinalService/KCOM_FinalService/CommonLib/Connected Services/MARKUS_API/ServiceDeepView.wsdl | ||
---|---|---|
391 | 391 |
<wsdl:message name="ServiceDeepView_FinalPDF_GetMarkupinfo_OutputMessage"> |
392 | 392 |
<wsdl:part name="parameters" element="FinalPDF_GetMarkupinfoResponse" /> |
393 | 393 |
</wsdl:message> |
394 |
<wsdl:message name="ServiceDeepView_FinalPDF_GetFinalPDFs_InputMessage"> |
|
395 |
<wsdl:part name="parameters" element="FinalPDF_GetFinalPDFs" /> |
|
396 |
</wsdl:message> |
|
397 |
<wsdl:message name="ServiceDeepView_FinalPDF_GetFinalPDFs_OutputMessage"> |
|
398 |
<wsdl:part name="parameters" element="FinalPDF_GetFinalPDFsResponse" /> |
|
399 |
</wsdl:message> |
|
394 | 400 |
<wsdl:message name="ServiceDeepView_FinalPDF_GetDocpage_InputMessage"> |
395 | 401 |
<wsdl:part name="parameters" element="FinalPDF_GetDocpage" /> |
396 | 402 |
</wsdl:message> |
397 | 403 |
<wsdl:message name="ServiceDeepView_FinalPDF_GetDocpage_OutputMessage"> |
398 | 404 |
<wsdl:part name="parameters" element="FinalPDF_GetDocpageResponse" /> |
399 | 405 |
</wsdl:message> |
406 |
<wsdl:message name="ServiceDeepView_FinalPDF_SetFinalPDFStatus_InputMessage"> |
|
407 |
<wsdl:part name="parameters" element="FinalPDF_SetFinalPDFStatus" /> |
|
408 |
</wsdl:message> |
|
409 |
<wsdl:message name="ServiceDeepView_FinalPDF_SetFinalPDFStatus_OutputMessage"> |
|
410 |
<wsdl:part name="parameters" element="FinalPDF_SetFinalPDFStatusResponse" /> |
|
411 |
</wsdl:message> |
|
412 |
<wsdl:message name="ServiceDeepView_FinalPDF_SetCurrentPage_InputMessage"> |
|
413 |
<wsdl:part name="parameters" element="FinalPDF_SetCurrentPage" /> |
|
414 |
</wsdl:message> |
|
415 |
<wsdl:message name="ServiceDeepView_FinalPDF_SetCurrentPage_OutputMessage"> |
|
416 |
<wsdl:part name="parameters" element="FinalPDF_SetCurrentPageResponse" /> |
|
417 |
</wsdl:message> |
|
418 |
<wsdl:message name="ServiceDeepView_FinalPDF_SetError_InputMessage"> |
|
419 |
<wsdl:part name="parameters" element="FinalPDF_SetError" /> |
|
420 |
</wsdl:message> |
|
421 |
<wsdl:message name="ServiceDeepView_FinalPDF_SetError_OutputMessage"> |
|
422 |
<wsdl:part name="parameters" element="FinalPDF_SetErrorResponse" /> |
|
423 |
</wsdl:message> |
|
424 |
<wsdl:message name="ServiceDeepView_FinalPDF_SetFinalResultPath_InputMessage"> |
|
425 |
<wsdl:part name="parameters" element="FinalPDF_SetFinalResultPath" /> |
|
426 |
</wsdl:message> |
|
427 |
<wsdl:message name="ServiceDeepView_FinalPDF_SetFinalResultPath_OutputMessage"> |
|
428 |
<wsdl:part name="parameters" element="FinalPDF_SetFinalResultPathResponse" /> |
|
429 |
</wsdl:message> |
|
430 |
<wsdl:message name="ServiceDeepView_FinalPDF_GetCommentMember_InputMessage"> |
|
431 |
<wsdl:part name="parameters" element="FinalPDF_GetCommentMember" /> |
|
432 |
</wsdl:message> |
|
433 |
<wsdl:message name="ServiceDeepView_FinalPDF_GetCommentMember_OutputMessage"> |
|
434 |
<wsdl:part name="parameters" element="FinalPDF_GetCommentMemberResponse" /> |
|
435 |
</wsdl:message> |
|
436 |
<wsdl:message name="ServiceDeepView_FinalPDF_GetProperties_InputMessage"> |
|
437 |
<wsdl:part name="parameters" element="FinalPDF_GetProperties" /> |
|
438 |
</wsdl:message> |
|
439 |
<wsdl:message name="ServiceDeepView_FinalPDF_GetProperties_OutputMessage"> |
|
440 |
<wsdl:part name="parameters" element="FinalPDF_GetPropertiesResponse" /> |
|
441 |
</wsdl:message> |
|
400 | 442 |
<wsdl:portType name="ServiceDeepView"> |
401 | 443 |
<wsdl:operation name="GetSystemData"> |
402 | 444 |
<wsdl:input wsaw:Action="urn:ServiceDeepView/GetSystemData" message="ServiceDeepView_GetSystemData_InputMessage" /> |
... | ... | |
650 | 692 |
<wsdl:input wsaw:Action="urn:ServiceDeepView/FinalPDF_GetMarkupinfo" message="ServiceDeepView_FinalPDF_GetMarkupinfo_InputMessage" /> |
651 | 693 |
<wsdl:output wsaw:Action="urn:ServiceDeepView/FinalPDF_GetMarkupinfoResponse" message="ServiceDeepView_FinalPDF_GetMarkupinfo_OutputMessage" /> |
652 | 694 |
</wsdl:operation> |
695 |
<wsdl:operation name="FinalPDF_GetFinalPDFs"> |
|
696 |
<wsdl:input wsaw:Action="urn:ServiceDeepView/FinalPDF_GetFinalPDFs" message="ServiceDeepView_FinalPDF_GetFinalPDFs_InputMessage" /> |
|
697 |
<wsdl:output wsaw:Action="urn:ServiceDeepView/FinalPDF_GetFinalPDFsResponse" message="ServiceDeepView_FinalPDF_GetFinalPDFs_OutputMessage" /> |
|
698 |
</wsdl:operation> |
|
653 | 699 |
<wsdl:operation name="FinalPDF_GetDocpage"> |
654 | 700 |
<wsdl:input wsaw:Action="urn:ServiceDeepView/FinalPDF_GetDocpage" message="ServiceDeepView_FinalPDF_GetDocpage_InputMessage" /> |
655 | 701 |
<wsdl:output wsaw:Action="urn:ServiceDeepView/FinalPDF_GetDocpageResponse" message="ServiceDeepView_FinalPDF_GetDocpage_OutputMessage" /> |
656 | 702 |
</wsdl:operation> |
703 |
<wsdl:operation name="FinalPDF_SetFinalPDFStatus"> |
|
704 |
<wsdl:input wsaw:Action="urn:ServiceDeepView/FinalPDF_SetFinalPDFStatus" message="ServiceDeepView_FinalPDF_SetFinalPDFStatus_InputMessage" /> |
|
705 |
<wsdl:output wsaw:Action="urn:ServiceDeepView/FinalPDF_SetFinalPDFStatusResponse" message="ServiceDeepView_FinalPDF_SetFinalPDFStatus_OutputMessage" /> |
|
706 |
</wsdl:operation> |
|
707 |
<wsdl:operation name="FinalPDF_SetCurrentPage"> |
|
708 |
<wsdl:input wsaw:Action="urn:ServiceDeepView/FinalPDF_SetCurrentPage" message="ServiceDeepView_FinalPDF_SetCurrentPage_InputMessage" /> |
|
709 |
<wsdl:output wsaw:Action="urn:ServiceDeepView/FinalPDF_SetCurrentPageResponse" message="ServiceDeepView_FinalPDF_SetCurrentPage_OutputMessage" /> |
|
710 |
</wsdl:operation> |
|
711 |
<wsdl:operation name="FinalPDF_SetError"> |
|
712 |
<wsdl:input wsaw:Action="urn:ServiceDeepView/FinalPDF_SetError" message="ServiceDeepView_FinalPDF_SetError_InputMessage" /> |
|
713 |
<wsdl:output wsaw:Action="urn:ServiceDeepView/FinalPDF_SetErrorResponse" message="ServiceDeepView_FinalPDF_SetError_OutputMessage" /> |
|
714 |
</wsdl:operation> |
|
715 |
<wsdl:operation name="FinalPDF_SetFinalResultPath"> |
|
716 |
<wsdl:input wsaw:Action="urn:ServiceDeepView/FinalPDF_SetFinalResultPath" message="ServiceDeepView_FinalPDF_SetFinalResultPath_InputMessage" /> |
|
717 |
<wsdl:output wsaw:Action="urn:ServiceDeepView/FinalPDF_SetFinalResultPathResponse" message="ServiceDeepView_FinalPDF_SetFinalResultPath_OutputMessage" /> |
|
718 |
</wsdl:operation> |
|
719 |
<wsdl:operation name="FinalPDF_GetCommentMember"> |
|
720 |
<wsdl:input wsaw:Action="urn:ServiceDeepView/FinalPDF_GetCommentMember" message="ServiceDeepView_FinalPDF_GetCommentMember_InputMessage" /> |
|
721 |
<wsdl:output wsaw:Action="urn:ServiceDeepView/FinalPDF_GetCommentMemberResponse" message="ServiceDeepView_FinalPDF_GetCommentMember_OutputMessage" /> |
|
722 |
</wsdl:operation> |
|
723 |
<wsdl:operation name="FinalPDF_GetProperties"> |
|
724 |
<wsdl:input wsaw:Action="urn:ServiceDeepView/FinalPDF_GetProperties" message="ServiceDeepView_FinalPDF_GetProperties_InputMessage" /> |
|
725 |
<wsdl:output wsaw:Action="urn:ServiceDeepView/FinalPDF_GetPropertiesResponse" message="ServiceDeepView_FinalPDF_GetProperties_OutputMessage" /> |
|
726 |
</wsdl:operation> |
|
657 | 727 |
</wsdl:portType> |
658 | 728 |
</wsdl:definitions> |
FinalService/KCOM_FinalService/CommonLib/Connected Services/MARKUS_API/ServiceDeepView1.wsdl | ||
---|---|---|
571 | 571 |
<soap:body use="literal" /> |
572 | 572 |
</wsdl:output> |
573 | 573 |
</wsdl:operation> |
574 |
<wsdl:operation name="FinalPDF_GetFinalPDFs"> |
|
575 |
<soap:operation soapAction="urn:ServiceDeepView/FinalPDF_GetFinalPDFs" style="document" /> |
|
576 |
<wsdl:input> |
|
577 |
<soap:body use="literal" /> |
|
578 |
</wsdl:input> |
|
579 |
<wsdl:output> |
|
580 |
<soap:body use="literal" /> |
|
581 |
</wsdl:output> |
|
582 |
</wsdl:operation> |
|
574 | 583 |
<wsdl:operation name="FinalPDF_GetDocpage"> |
575 | 584 |
<soap:operation soapAction="urn:ServiceDeepView/FinalPDF_GetDocpage" style="document" /> |
576 | 585 |
<wsdl:input> |
... | ... | |
580 | 589 |
<soap:body use="literal" /> |
581 | 590 |
</wsdl:output> |
582 | 591 |
</wsdl:operation> |
592 |
<wsdl:operation name="FinalPDF_SetFinalPDFStatus"> |
|
593 |
<soap:operation soapAction="urn:ServiceDeepView/FinalPDF_SetFinalPDFStatus" style="document" /> |
|
594 |
<wsdl:input> |
|
595 |
<soap:body use="literal" /> |
|
596 |
</wsdl:input> |
|
597 |
<wsdl:output> |
|
598 |
<soap:body use="literal" /> |
|
599 |
</wsdl:output> |
|
600 |
</wsdl:operation> |
|
601 |
<wsdl:operation name="FinalPDF_SetCurrentPage"> |
|
602 |
<soap:operation soapAction="urn:ServiceDeepView/FinalPDF_SetCurrentPage" style="document" /> |
|
603 |
<wsdl:input> |
|
604 |
<soap:body use="literal" /> |
|
605 |
</wsdl:input> |
|
606 |
<wsdl:output> |
|
607 |
<soap:body use="literal" /> |
|
608 |
</wsdl:output> |
|
609 |
</wsdl:operation> |
|
610 |
<wsdl:operation name="FinalPDF_SetError"> |
|
611 |
<soap:operation soapAction="urn:ServiceDeepView/FinalPDF_SetError" style="document" /> |
|
612 |
<wsdl:input> |
|
613 |
<soap:body use="literal" /> |
|
614 |
</wsdl:input> |
|
615 |
<wsdl:output> |
|
616 |
<soap:body use="literal" /> |
|
617 |
</wsdl:output> |
|
618 |
</wsdl:operation> |
|
619 |
<wsdl:operation name="FinalPDF_SetFinalResultPath"> |
|
620 |
<soap:operation soapAction="urn:ServiceDeepView/FinalPDF_SetFinalResultPath" style="document" /> |
|
621 |
<wsdl:input> |
|
622 |
<soap:body use="literal" /> |
|
623 |
</wsdl:input> |
|
624 |
<wsdl:output> |
|
625 |
<soap:body use="literal" /> |
|
626 |
</wsdl:output> |
|
627 |
</wsdl:operation> |
|
628 |
<wsdl:operation name="FinalPDF_GetCommentMember"> |
|
629 |
<soap:operation soapAction="urn:ServiceDeepView/FinalPDF_GetCommentMember" style="document" /> |
|
630 |
<wsdl:input> |
|
631 |
<soap:body use="literal" /> |
|
632 |
</wsdl:input> |
|
633 |
<wsdl:output> |
|
634 |
<soap:body use="literal" /> |
|
635 |
</wsdl:output> |
|
636 |
</wsdl:operation> |
|
637 |
<wsdl:operation name="FinalPDF_GetProperties"> |
|
638 |
<soap:operation soapAction="urn:ServiceDeepView/FinalPDF_GetProperties" style="document" /> |
|
639 |
<wsdl:input> |
|
640 |
<soap:body use="literal" /> |
|
641 |
</wsdl:input> |
|
642 |
<wsdl:output> |
|
643 |
<soap:body use="literal" /> |
|
644 |
</wsdl:output> |
|
645 |
</wsdl:operation> |
|
583 | 646 |
</wsdl:binding> |
584 | 647 |
<wsdl:service name="ServiceDeepView"> |
585 | 648 |
<wsdl:port name="DeepViewPoint" binding="tns:DeepViewPoint"> |
FinalService/KCOM_FinalService/CommonLib/Connected Services/MARKUS_API/ServiceDeepView6.xsd | ||
---|---|---|
977 | 977 |
</xs:sequence> |
978 | 978 |
</xs:complexType> |
979 | 979 |
</xs:element> |
980 |
<xs:element name="FinalPDF_GetFinalPDFs"> |
|
981 |
<xs:complexType> |
|
982 |
<xs:sequence> |
|
983 |
<xs:element minOccurs="0" name="final_id" nillable="true" type="xs:string" /> |
|
984 |
</xs:sequence> |
|
985 |
</xs:complexType> |
|
986 |
</xs:element> |
|
987 |
<xs:element name="FinalPDF_GetFinalPDFsResponse"> |
|
988 |
<xs:complexType> |
|
989 |
<xs:sequence> |
|
990 |
<xs:element xmlns:q56="http://schemas.datacontract.org/2004/07/KCOMDataModel.DataModel" minOccurs="0" name="FinalPDF_GetFinalPDFsResult" nillable="true" type="q56:ArrayOfFINAL_PDF" /> |
|
991 |
</xs:sequence> |
|
992 |
</xs:complexType> |
|
993 |
</xs:element> |
|
980 | 994 |
<xs:element name="FinalPDF_GetDocpage"> |
981 | 995 |
<xs:complexType> |
982 | 996 |
<xs:sequence> |
... | ... | |
988 | 1002 |
<xs:element name="FinalPDF_GetDocpageResponse"> |
989 | 1003 |
<xs:complexType> |
990 | 1004 |
<xs:sequence> |
991 |
<xs:element xmlns:q56="http://schemas.datacontract.org/2004/07/KCOMDataModel.DataModel" minOccurs="0" name="FinalPDF_GetDocpageResult" nillable="true" type="q56:ArrayOfDOCPAGE" /> |
|
1005 |
<xs:element xmlns:q57="http://schemas.datacontract.org/2004/07/KCOMDataModel.DataModel" minOccurs="0" name="FinalPDF_GetDocpageResult" nillable="true" type="q57:ArrayOfDOCPAGE" /> |
|
1006 |
</xs:sequence> |
|
1007 |
</xs:complexType> |
|
1008 |
</xs:element> |
|
1009 |
<xs:element name="FinalPDF_SetFinalPDFStatus"> |
|
1010 |
<xs:complexType> |
|
1011 |
<xs:sequence> |
|
1012 |
<xs:element minOccurs="0" name="final_id" nillable="true" type="xs:string" /> |
|
1013 |
<xs:element xmlns:q58="http://schemas.datacontract.org/2004/07/IFinalPDF" minOccurs="0" name="status" type="q58:FinalStatus" /> |
|
1014 |
</xs:sequence> |
|
1015 |
</xs:complexType> |
|
1016 |
</xs:element> |
|
1017 |
<xs:element name="FinalPDF_SetFinalPDFStatusResponse"> |
|
1018 |
<xs:complexType> |
|
1019 |
<xs:sequence> |
|
1020 |
<xs:element minOccurs="0" name="FinalPDF_SetFinalPDFStatusResult" type="xs:boolean" /> |
|
1021 |
</xs:sequence> |
|
1022 |
</xs:complexType> |
|
1023 |
</xs:element> |
|
1024 |
<xs:element name="FinalPDF_SetCurrentPage"> |
|
1025 |
<xs:complexType> |
|
1026 |
<xs:sequence> |
|
1027 |
<xs:element minOccurs="0" name="final_id" nillable="true" type="xs:string" /> |
|
1028 |
<xs:element minOccurs="0" name="currentpage" type="xs:int" /> |
|
1029 |
</xs:sequence> |
|
1030 |
</xs:complexType> |
|
1031 |
</xs:element> |
|
1032 |
<xs:element name="FinalPDF_SetCurrentPageResponse"> |
|
1033 |
<xs:complexType> |
|
1034 |
<xs:sequence> |
|
1035 |
<xs:element minOccurs="0" name="FinalPDF_SetCurrentPageResult" type="xs:boolean" /> |
|
1036 |
</xs:sequence> |
|
1037 |
</xs:complexType> |
|
1038 |
</xs:element> |
|
1039 |
<xs:element name="FinalPDF_SetError"> |
|
1040 |
<xs:complexType> |
|
1041 |
<xs:sequence> |
|
1042 |
<xs:element minOccurs="0" name="final_id" nillable="true" type="xs:string" /> |
|
1043 |
<xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> |
|
1044 |
</xs:sequence> |
|
1045 |
</xs:complexType> |
|
1046 |
</xs:element> |
|
1047 |
<xs:element name="FinalPDF_SetErrorResponse"> |
|
1048 |
<xs:complexType> |
|
1049 |
<xs:sequence> |
|
1050 |
<xs:element minOccurs="0" name="FinalPDF_SetErrorResult" type="xs:boolean" /> |
|
1051 |
</xs:sequence> |
|
1052 |
</xs:complexType> |
|
1053 |
</xs:element> |
|
1054 |
<xs:element name="FinalPDF_SetFinalResultPath"> |
|
1055 |
<xs:complexType> |
|
1056 |
<xs:sequence> |
|
1057 |
<xs:element minOccurs="0" name="project_no" nillable="true" type="xs:string" /> |
|
1058 |
<xs:element minOccurs="0" name="document_id" nillable="true" type="xs:string" /> |
|
1059 |
<xs:element minOccurs="0" name="url" nillable="true" type="xs:string" /> |
|
1060 |
</xs:sequence> |
|
1061 |
</xs:complexType> |
|
1062 |
</xs:element> |
|
1063 |
<xs:element name="FinalPDF_SetFinalResultPathResponse"> |
|
1064 |
<xs:complexType> |
|
1065 |
<xs:sequence> |
|
1066 |
<xs:element minOccurs="0" name="FinalPDF_SetFinalResultPathResult" type="xs:boolean" /> |
|
1067 |
</xs:sequence> |
|
1068 |
</xs:complexType> |
|
1069 |
</xs:element> |
|
1070 |
<xs:element name="FinalPDF_GetCommentMember"> |
|
1071 |
<xs:complexType> |
|
1072 |
<xs:sequence> |
|
1073 |
<xs:element minOccurs="0" name="project_no" nillable="true" type="xs:string" /> |
|
1074 |
<xs:element minOccurs="0" name="markupdata_id" nillable="true" type="xs:string" /> |
|
1075 |
</xs:sequence> |
|
1076 |
</xs:complexType> |
|
1077 |
</xs:element> |
|
1078 |
<xs:element name="FinalPDF_GetCommentMemberResponse"> |
|
1079 |
<xs:complexType> |
|
1080 |
<xs:sequence> |
|
1081 |
<xs:element xmlns:q59="http://schemas.datacontract.org/2004/07/KCOMDataModel.DataModel" minOccurs="0" name="FinalPDF_GetCommentMemberResult" nillable="true" type="q59:MEMBER" /> |
|
1082 |
</xs:sequence> |
|
1083 |
</xs:complexType> |
|
1084 |
</xs:element> |
|
1085 |
<xs:element name="FinalPDF_GetProperties"> |
|
1086 |
<xs:complexType> |
|
1087 |
<xs:sequence> |
|
1088 |
<xs:element minOccurs="0" name="project_no" nillable="true" type="xs:string" /> |
|
1089 |
</xs:sequence> |
|
1090 |
</xs:complexType> |
|
1091 |
</xs:element> |
|
1092 |
<xs:element name="FinalPDF_GetPropertiesResponse"> |
|
1093 |
<xs:complexType> |
|
1094 |
<xs:sequence> |
|
1095 |
<xs:element xmlns:q60="http://schemas.datacontract.org/2004/07/KCOMDataModel.DataModel" minOccurs="0" name="FinalPDF_GetPropertiesResult" nillable="true" type="q60:ArrayOfPROPERTIES" /> |
|
992 | 1096 |
</xs:sequence> |
993 | 1097 |
</xs:complexType> |
994 | 1098 |
</xs:element> |
FinalService/KCOM_FinalService/CommonLib/Connected Services/MARKUS_API/ServiceDeepView8.xsd | ||
---|---|---|
358 | 358 |
</xs:sequence> |
359 | 359 |
</xs:complexType> |
360 | 360 |
<xs:element name="ArrayOfTALK" nillable="true" type="tns:ArrayOfTALK" /> |
361 |
<xs:complexType name="FINAL_PDF"> |
|
362 |
<xs:complexContent mixed="false"> |
|
363 |
<xs:extension xmlns:q16="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q16:EntityObject"> |
|
364 |
<xs:sequence> |
|
365 |
<xs:element minOccurs="0" name="CREATE_DATETIME" type="xs:dateTime" /> |
|
366 |
<xs:element minOccurs="0" name="CREATE_USER_ID" nillable="true" type="xs:string" /> |
|
367 |
<xs:element minOccurs="0" name="CURRENT_PAGE" type="xs:int" /> |
|
368 |
<xs:element minOccurs="0" name="DOCINFO_ID" nillable="true" type="xs:string" /> |
|
369 |
<xs:element minOccurs="0" name="DOCUMENT_ID" nillable="true" type="xs:string" /> |
|
370 |
<xs:element minOccurs="0" name="END_DATETIME" nillable="true" type="xs:dateTime" /> |
|
371 |
<xs:element minOccurs="0" name="EXCEPTION" nillable="true" type="xs:string" /> |
|
372 |
<xs:element minOccurs="0" name="ID" nillable="true" type="xs:string" /> |
|
373 |
<xs:element minOccurs="0" name="MARKUPINFO_ID" nillable="true" type="xs:string" /> |
|
374 |
<xs:element minOccurs="0" name="PROJECT_NO" nillable="true" type="xs:string" /> |
|
375 |
<xs:element minOccurs="0" name="START_DATETIME" nillable="true" type="xs:dateTime" /> |
|
376 |
<xs:element minOccurs="0" name="STATUS" type="xs:int" /> |
|
377 |
<xs:element minOccurs="0" name="TOTAL_PAGE" type="xs:int" /> |
|
378 |
</xs:sequence> |
|
379 |
</xs:extension> |
|
380 |
</xs:complexContent> |
|
381 |
</xs:complexType> |
|
382 |
<xs:element name="FINAL_PDF" nillable="true" type="tns:FINAL_PDF" /> |
|
383 |
<xs:complexType name="ArrayOfFINAL_PDF"> |
|
384 |
<xs:sequence> |
|
385 |
<xs:element minOccurs="0" maxOccurs="unbounded" name="FINAL_PDF" nillable="true" type="tns:FINAL_PDF" /> |
|
386 |
</xs:sequence> |
|
387 |
</xs:complexType> |
|
388 |
<xs:element name="ArrayOfFINAL_PDF" nillable="true" type="tns:ArrayOfFINAL_PDF" /> |
|
389 |
<xs:complexType name="PROPERTIES"> |
|
390 |
<xs:complexContent mixed="false"> |
|
391 |
<xs:extension xmlns:q17="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q17:EntityObject"> |
|
392 |
<xs:sequence> |
|
393 |
<xs:element minOccurs="0" name="ID" type="xs:int" /> |
|
394 |
<xs:element minOccurs="0" name="PROPERTY" nillable="true" type="xs:string" /> |
|
395 |
<xs:element minOccurs="0" name="TYPE" nillable="true" type="xs:string" /> |
|
396 |
<xs:element minOccurs="0" name="VALUE" nillable="true" type="xs:string" /> |
|
397 |
</xs:sequence> |
|
398 |
</xs:extension> |
|
399 |
</xs:complexContent> |
|
400 |
</xs:complexType> |
|
401 |
<xs:element name="PROPERTIES" nillable="true" type="tns:PROPERTIES" /> |
|
402 |
<xs:complexType name="ArrayOfPROPERTIES"> |
|
403 |
<xs:sequence> |
|
404 |
<xs:element minOccurs="0" maxOccurs="unbounded" name="PROPERTIES" nillable="true" type="tns:PROPERTIES" /> |
|
405 |
</xs:sequence> |
|
406 |
</xs:complexType> |
|
407 |
<xs:element name="ArrayOfPROPERTIES" nillable="true" type="tns:ArrayOfPROPERTIES" /> |
|
361 | 408 |
</xs:schema> |
FinalService/KCOM_FinalService/ConsoleApp1/Program.cs | ||
---|---|---|
2 | 2 |
using KCOMDataModel; |
3 | 3 |
using KCOMDataModel.Common; |
4 | 4 |
using KCOMDataModel.DataModel; |
5 |
using MarkupToPDF.Common; |
|
5 | 6 |
using System; |
6 | 7 |
using System.Collections.Generic; |
7 | 8 |
using System.IO; |
... | ... | |
47 | 48 |
Console.WriteLine("Test Process..."); |
48 | 49 |
Console.WriteLine("Insert Final PDF id :"); |
49 | 50 |
string inputstr = Console.ReadLine(); |
50 |
using (KCOMEntities _entity = new KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString()))
|
|
51 |
using (DataController dc = new DataController())
|
|
51 | 52 |
{ |
52 |
//FINAL_PDF item = _entity.FINAL_PDF.Where(d => d.ID == "ngKwBgMotw8d56dea3839120d").FirstOrDefault(); |
|
53 |
FINAL_PDF item = _entity.FINAL_PDF.Where(d => d.ID == inputstr).FirstOrDefault(); |
|
54 |
if (item != null) |
|
53 |
var finals = dc.GetFinalpdfs(inputstr); |
|
54 |
if(finals.Count > 0) |
|
55 | 55 |
{ |
56 | 56 |
Console.WriteLine("final pdf start"); |
57 | 57 |
MarkupToPDF.MarkupToPDF pdf = new MarkupToPDF.MarkupToPDF(); |
58 | 58 |
pdf.EndFinal += Pdf_EndFinal; |
59 |
pdf.FinalMakeError += Pdf_FinalMakeError; |
|
60 |
//pdf.MakeFinalPDF(_entity.FINAL_PDF.FirstOrDefault()); |
|
61 |
pdf.MakeFinalPDF(item); |
|
62 |
//_Thread.Add(item); |
|
59 |
pdf.FinalMakeError += Pdf_FinalMakeError; |
|
60 |
pdf.MakeFinalPDF(finals[0]); |
|
63 | 61 |
} |
64 | 62 |
else |
65 | 63 |
{ |
66 | 64 |
Console.WriteLine("item is null"); |
67 | 65 |
} |
68 |
|
|
69 |
} |
|
66 |
} |
|
70 | 67 |
|
71 | 68 |
} |
72 | 69 |
catch (Exception ex) |
... | ... | |
80 | 77 |
{ |
81 | 78 |
|
82 | 79 |
} |
83 |
static List<FINAL_PDF> _Thread = new List<FINAL_PDF>();
|
|
80 |
static List<CommonLib.MARKUS_API.FINAL_PDF> _Thread = new List<CommonLib.MARKUS_API.FINAL_PDF>();
|
|
84 | 81 |
private static void Pdf_EndFinal(object sender, MarkupToPDF.EndFinalEventArgs e) |
85 | 82 |
{ |
86 |
FINAL_PDF _item = (sender as MarkupToPDF.MarkupToPDF).FinalItem; |
|
83 |
CommonLib.MARKUS_API.FINAL_PDF _item = (sender as MarkupToPDF.MarkupToPDF).FinalItem;
|
|
87 | 84 |
|
88 | 85 |
SetFinalState(_item.ID, FinalStatus.PdfStamp); |
89 | 86 |
|
90 | 87 |
try |
91 | 88 |
{ |
92 | 89 |
Console.WriteLine("final pdf end"); |
93 |
string soapurl = string.Empty; |
|
94 |
using (KCOMDataModel.DataModel.KCOMEntities _systemEntity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString())) |
|
95 |
{ |
|
96 |
var item = _systemEntity.PROPERTIES.Where(data => data.TYPE == "UpLoadServiceUrl").FirstOrDefault(); |
|
97 |
if (item != null) soapurl = item.VALUE; |
|
98 |
} |
|
90 |
string soapurl = CommonLib.Common.GetConfigString("UpLoadServiceUrl", "URL", ""); |
|
99 | 91 |
Console.WriteLine("soapurl:"+soapurl); |
100 | 92 |
if (!string.IsNullOrEmpty(soapurl)) |
101 | 93 |
{ |
... | ... | |
126 | 118 |
|
127 | 119 |
//this._Log.Write(String.Format("saveFolder : {0}", saveFolder) + DateTime.Now); |
128 | 120 |
System.IO.File.Copy(e.FinalPDFPath, saveFolder + e.OriginPDFName, true); |
129 |
|
|
130 |
using (CIEntities _entity = new CIEntities(ConnectStringBuilder.ProjectCIConnectString(_item.PROJECT_NO).ToString())) |
|
121 |
using (DataController dataController = new DataController()) |
|
131 | 122 |
{ |
132 |
var item = _entity.DOCUMENT_ITEM.Where(d => d.DOCUMENT_ID == _item.DOCUMENT_ID).FirstOrDefault(); |
|
133 |
///TODO: RESULT FILE 경로 위치를 configuration으로 빼주세요 |
|
134 |
///Local Test 용 result url |
|
135 |
|
|
136 | 123 |
string resultpath = CommonLib.Common.GetConfigString("DebugResultUrlPath", "URL", ""); |
137 |
item.RESULT_FILE = String.Format(resultpath.ToString(), _item.PROJECT_NO, Convert.ToInt32(_item.DOCUMENT_ID) / 100, _item.DOCUMENT_ID, e.OriginPDFName); |
|
124 |
string url = String.Format(resultpath, _item.PROJECT_NO, Convert.ToInt32(_item.DOCUMENT_ID) / 100, _item.DOCUMENT_ID, e.OriginPDFName); |
|
125 |
var result = dataController.SetFinalPDFUrl(_item.PROJECT_NO, _item.DOCUMENT_ID, url); |
|
138 | 126 |
|
139 |
//sendReqLog("RESULT_FILE_PATH", item.RESULT_FILE); |
|
140 |
_entity.SaveChanges(); |
|
141 | 127 |
SetFinalState(_item.ID, FinalStatus.Success); |
142 |
//_Thread.Remove(_T.First()); |
|
143 |
} |
|
128 |
} |
|
144 | 129 |
} |
145 | 130 |
} |
146 | 131 |
catch (Exception ex) |
FinalService/KCOM_FinalService/KCOM_FinalService/Remoting/RemFinalPDFStation.cs | ||
---|---|---|
2 | 2 |
using KCOM_FinalService.Common; |
3 | 3 |
using KCOMDataModel.Common; |
4 | 4 |
using KCOMDataModel.DataModel; |
5 |
using MarkupToPDF.Common; |
|
5 | 6 |
using System; |
6 | 7 |
using System.Collections.Generic; |
7 | 8 |
using System.IO; |
... | ... | |
23 | 24 |
int _TypeName = 1; |
24 | 25 |
Properties.Settings _SettingPlace = null; |
25 | 26 |
|
26 |
Queue<FINAL_PDF> _WorkItem = new Queue<FINAL_PDF>();
|
|
27 |
List<FINAL_PDF> _Thread = new List<FINAL_PDF>();
|
|
27 |
Queue<CommonLib.MARKUS_API.FINAL_PDF> _WorkItem = new Queue<CommonLib.MARKUS_API.FINAL_PDF>();
|
|
28 |
List<CommonLib.MARKUS_API.FINAL_PDF> _Thread = new List<CommonLib.MARKUS_API.FINAL_PDF>();
|
|
28 | 29 |
#endregion |
29 | 30 |
|
30 | 31 |
public RemFinalPDFStation() |
... | ... | |
51 | 52 |
{ |
52 | 53 |
try |
53 | 54 |
{ |
54 |
//_MyIP = System.Net.Dns.Resolve(System.Net.Dns.GetHostName()).AddressList[0].ToString(); |
|
55 |
using (KCOMDataModel.DataModel.KCOMEntities _systemEntity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString())) |
|
56 |
{ |
|
57 |
#if DEBUG |
|
58 |
_TypeName = 1; //FINAL은 현재 타입이 1임 |
|
59 |
#else |
|
60 |
_TypeName = 1; |
|
61 |
///TODO: check below code |
|
62 |
///_TypeName = _systemEntity.SERVICE_PROPERTIES.Where(data => data.SERVICE_ADDRESS == _MyIP).FirstOrDefault().SERVICET_TYPE; |
|
63 |
#endif |
|
64 |
} |
|
55 |
_TypeName = 1; |
|
65 | 56 |
|
66 | 57 |
_Channel = new TcpChannel(Properties.Settings.Default.RemotingPort); |
67 | 58 |
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(_Channel, false); |
... | ... | |
78 | 69 |
IFinalPDF.Cache.Attach(this); |
79 | 70 |
} |
80 | 71 |
|
81 |
private void SetFinalState(string finalID, FinalStatus status) |
|
72 |
private void SetFinalState(string finalID, CommonLib.MARKUS_API.FinalStatus status)
|
|
82 | 73 |
{ |
83 |
using (KCOMDataModel.DataModel.KCOMEntities _entity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString()))
|
|
74 |
try
|
|
84 | 75 |
{ |
85 |
var finalList = _entity.FINAL_PDF.Where(final => final.ID == finalID); |
|
86 |
|
|
87 |
if (finalList.Count() > 0) |
|
76 |
using (DataController dataController = new DataController()) |
|
88 | 77 |
{ |
89 |
if (status == FinalStatus.Create) |
|
90 |
{ |
|
91 |
finalList.First().START_DATETIME = DateTime.Now; |
|
92 |
} |
|
93 |
if (status == FinalStatus.Success) |
|
94 |
{ |
|
95 |
finalList.First().END_DATETIME = DateTime.Now; |
|
96 |
} |
|
97 |
|
|
98 |
finalList.First().STATUS = (int)status; |
|
99 |
_entity.SaveChanges(); |
|
78 |
var result = dataController.SetFinalStatus(finalID, status); |
|
100 | 79 |
} |
101 |
}; |
|
80 |
} |
|
81 |
catch (Exception) |
|
82 |
{ |
|
83 |
throw; |
|
84 |
} |
|
102 | 85 |
} |
103 | 86 |
|
104 | 87 |
public void Dispose() |
... | ... | |
111 | 94 |
|
112 | 95 |
public FinalPDFResult Notify(string ProjectNo, string FinalID) |
113 | 96 |
{ |
114 |
using (KCOMDataModel.DataModel.KCOMEntities _entity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString()))
|
|
97 |
using (DataController dc = new DataController())
|
|
115 | 98 |
{ |
116 |
var finalList = _entity.FINAL_PDF.Where(final => final.ID == FinalID);
|
|
117 |
FinalPDFProcessStart(finalList.ToList());
|
|
118 |
} |
|
99 |
var finalList = dc.GetFinalpdfs(FinalID);
|
|
100 |
FinalPDFProcessStart(finalList); |
|
101 |
}
|
|
119 | 102 |
|
120 | 103 |
///TODO: why return FinalPDFResult? |
121 | 104 |
return new FinalPDFResult(); |
122 | 105 |
} |
123 | 106 |
|
124 |
private void FinalPDFProcessStart(List<FINAL_PDF> lstFinalPDF) |
|
107 |
private void FinalPDFProcessStart(List<CommonLib.MARKUS_API.FINAL_PDF> lstFinalPDF)
|
|
125 | 108 |
{ |
126 | 109 |
if (lstFinalPDF.Count () >0) |
127 | 110 |
{ |
... | ... | |
145 | 128 |
{ |
146 | 129 |
if (_Thread.Count() < Properties.Settings.Default.MultipleFinalCount) |
147 | 130 |
{ |
148 |
FINAL_PDF _item = _WorkItem.Dequeue(); |
|
131 |
CommonLib.MARKUS_API.FINAL_PDF _item = _WorkItem.Dequeue();
|
|
149 | 132 |
if (_item.STATUS == (int)FinalStatus.Insert) |
150 | 133 |
{ |
151 | 134 |
_item.STATUS = (int)(FinalStatus.Wait); |
152 |
using (KCOMDataModel.DataModel.KCOMEntities _entity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString())) |
|
153 |
{ |
|
154 |
var selectItem = _entity.FINAL_PDF.Where(data => data.ID == _item.ID).FirstOrDefault(); |
|
155 |
|
|
156 |
selectItem.STATUS = (int)(FinalStatus.Wait); |
|
157 | 135 |
|
158 |
_entity.SaveChanges(); |
|
159 |
} |
|
136 |
SetFinalState(_item.ID, CommonLib.MARKUS_API.FinalStatus.Wait); |
|
160 | 137 |
} |
161 | 138 |
var _identPathItem = _Thread.Where(item => item.DOCINFO_ID == _item.DOCINFO_ID); |
162 | 139 |
|
... | ... | |
185 | 162 |
_markuptoPDF.EndFinal += new EventHandler<MarkupToPDF.EndFinalEventArgs>(_markuptoPDF_EndFinal); |
186 | 163 |
Thread _stathread = new Thread(new ParameterizedThreadStart(_markuptoPDF.MakeFinalPDF)); |
187 | 164 |
_stathread.Name = _item.ID.ToString(); |
188 |
SetFinalState(_item.ID, IFinalPDF.FinalStatus.Create);
|
|
165 |
SetFinalState(_item.ID, CommonLib.MARKUS_API.FinalStatus.Create);
|
|
189 | 166 |
//_stathread.Priority = ThreadPriority.Normal; |
190 | 167 |
_stathread.SetApartmentState(ApartmentState.STA); |
191 | 168 |
_stathread.Start(_item); |
... | ... | |
201 | 178 |
|
202 | 179 |
if (_T.Count() > 0) |
203 | 180 |
{ |
204 |
FINAL_PDF _item = _T.First(); |
|
181 |
CommonLib.MARKUS_API.FINAL_PDF _item = _T.First();
|
|
205 | 182 |
|
206 |
SetFinalState(_item.ID, FinalStatus.PdfStamp); |
|
183 |
SetFinalState(_item.ID, CommonLib.MARKUS_API.FinalStatus.PdfStamp);
|
|
207 | 184 |
|
208 | 185 |
try |
209 | 186 |
{ |
... | ... | |
215 | 192 |
KeyValuePair<bool, string> result = UploadFinal.UploadFinal.UploadFinalPDF(e.FinalPDFPath.Replace(@"\\172.20.121.220\comment3\finalPDF\", ""), e.OriginPDFName, e.FinalPDF, soapurl); |
216 | 193 |
if (result.Key) |
217 | 194 |
{ |
218 |
SetFinalState(_item.ID, FinalStatus.Success); |
|
195 |
SetFinalState(_item.ID, CommonLib.MARKUS_API.FinalStatus.Success);
|
|
219 | 196 |
} |
220 | 197 |
else |
221 | 198 |
{ |
222 |
SetFinalState(_item.ID, FinalStatus.Error); |
|
199 |
SetFinalState(_item.ID, CommonLib.MARKUS_API.FinalStatus.Error);
|
|
223 | 200 |
_Log.Write("Upload error .." + e.FinalPDFPath + ",pdfname:" + e.OriginPDFName); |
224 | 201 |
} |
225 | 202 |
_Thread.Remove(_T.First()); |
... | ... | |
240 | 217 |
try |
241 | 218 |
{ |
242 | 219 |
System.IO.File.Copy(e.FinalPDFPath, saveFolder + e.OriginPDFName, true); |
220 |
using (DataController dataController = new DataController()) |
|
221 |
{ |
|
222 |
string resultpath = CommonLib.Common.GetConfigString("DebugResultUrlPath", "URL", ""); |
|
223 |
string url = String.Format(resultpath, _item.PROJECT_NO, Convert.ToInt32(_item.DOCUMENT_ID) / 100, _item.DOCUMENT_ID, e.OriginPDFName); |
|
224 |
var result = dataController.SetFinalPDFUrl(_item.PROJECT_NO, _item.DOCUMENT_ID, url); |
|
225 |
} |
|
226 |
SetFinalState(_item.ID, CommonLib.MARKUS_API.FinalStatus.Success); |
|
227 |
_Thread.Remove(_T.First()); |
|
243 | 228 |
} |
244 | 229 |
catch (Exception) |
245 | 230 |
{ |
246 | 231 |
_Log.Write("e.FinalPDFPath:" + e.FinalPDFPath+ ",saveFolder:" + saveFolder+ ",e.OriginPDFName:" + e.OriginPDFName); |
247 | 232 |
} |
248 |
|
|
249 |
using (CIEntities _entity = new CIEntities(ConnectStringBuilder.ProjectCIConnectString(_item.PROJECT_NO).ToString())) |
|
250 |
{ |
|
251 |
var item = _entity.DOCUMENT_ITEM.Where(d => d.DOCUMENT_ID == _item.DOCUMENT_ID).FirstOrDefault(); |
|
252 |
///TODO: RESULT FILE 경로 위치를 configuration으로 빼주세요 |
|
253 |
string resultpath = CommonLib.Common.GetConfigString("DebugResultUrlPath", "URL", ""); |
|
254 |
|
|
255 |
item.RESULT_FILE = String.Format(resultpath, _item.PROJECT_NO, Convert.ToInt32(_item.DOCUMENT_ID) / 100, _item.DOCUMENT_ID, e.OriginPDFName); |
|
256 |
sendReqLog("RESULT_FILE_PATH", item.RESULT_FILE); |
|
257 |
_entity.SaveChanges(); |
|
258 |
SetFinalState(_item.ID, FinalStatus.Success); |
|
259 |
_Thread.Remove(_T.First()); |
|
260 |
} |
|
261 | 233 |
} |
262 | 234 |
} |
263 | 235 |
catch (Exception ex) |
264 | 236 |
{ |
265 |
SetFinalState(_item.ID, FinalStatus.Error); |
|
237 |
SetFinalState(_item.ID, CommonLib.MARKUS_API.FinalStatus.Error);
|
|
266 | 238 |
_Log.Write("에러 .." + ex.Message); |
267 | 239 |
_Thread.Remove(_T.First()); |
268 | 240 |
} |
... | ... | |
303 | 275 |
|
304 | 276 |
try |
305 | 277 |
{ |
306 |
using (KCOMDataModel.DataModel.KCOMEntities _entity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString()))
|
|
278 |
using (DataController dc = new DataController())
|
|
307 | 279 |
{ |
308 |
instanceFinal = _entity.FINAL_PDF.Where(data => data.ID == FinalID).FirstOrDefault(); |
|
309 |
|
|
310 |
if (instanceFinal != null) |
|
311 |
{ |
|
312 |
instanceFinal.STATUS = (int)FinalStatus.Error; |
|
313 |
instanceFinal.EXCEPTION = DateTime.Now.ToShortDateString() + " " + Msg; |
|
314 |
_entity.SaveChanges(); |
|
315 |
} |
|
316 |
} |
|
280 |
var result = dc.SetFinalError(FinalID, Msg); |
|
281 |
} |
|
317 | 282 |
} |
318 | 283 |
catch (Exception ex) |
319 | 284 |
{ |
... | ... | |
341 | 306 |
|
342 | 307 |
if (_T.Count () > 0) |
343 | 308 |
{ |
344 |
FINAL_PDF _Item = _T.First(); |
|
309 |
CommonLib.MARKUS_API.FINAL_PDF _Item = _T.First();
|
|
345 | 310 |
(sender as MarkupToPDF.MarkupToPDF).FinalMakeError -= new EventHandler<MarkupToPDF.MakeFinalErrorArgs>(_markuptoPDF_FinalMakeError); |
346 | 311 |
(sender as MarkupToPDF.MarkupToPDF).EndFinal -= new EventHandler<MarkupToPDF.EndFinalEventArgs>(_markuptoPDF_EndFinal); |
347 | 312 |
(sender as MarkupToPDF.MarkupToPDF).Dispose(); |
... | ... | |
349 | 314 |
|
350 | 315 |
Console.WriteLine(_Item.ID + "의 작업 중 에러가 발생했습니다"); |
351 | 316 |
} |
352 |
} |
|
353 |
|
|
354 |
//private void CurrentCountUpdater() |
|
355 |
//{ |
|
356 |
// using (KCOMDataModel.DataModel.KCOMEntities _systemEntity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString())) |
|
357 |
// { |
|
358 |
// var items = _systemEntity.SERVICE_PROPERTIES.Where(data => data.SERVICET_TYPE == _TypeName).ToList(); |
|
359 |
|
|
360 |
// items.Where(data => data.Property == "PROCESS_COUNT").FirstOrDefault().Value = _WorkItems.Count.ToString(); |
|
361 |
|
|
362 |
// _system.SaveChanges(); |
|
363 |
// } |
|
364 |
//} |
|
317 |
} |
|
365 | 318 |
} |
366 | 319 |
} |
FinalService/KCOM_FinalService/MarkupToPDF/Common/DataController.cs | ||
---|---|---|
28 | 28 |
{ |
29 | 29 |
return CommonLib.WebServiceProxy.WebService().GetMember(project_no, user_id); |
30 | 30 |
} |
31 |
public CommonLib.MARKUS_API.MEMBER GetCommentMemberInfo(string project_no, string markupdata_id) |
|
32 |
{ |
|
33 |
return CommonLib.WebServiceProxy.WebService().FinalPDF_GetCommentMember(project_no, markupdata_id); |
|
34 |
} |
|
31 | 35 |
public CommonLib.MARKUS_API.DOCINFO GetDocInfo(string project_no, string docinfo_id) |
32 | 36 |
{ |
33 | 37 |
return CommonLib.WebServiceProxy.WebService().FinalPDF_GetDocinfo(project_no, docinfo_id); |
... | ... | |
48 | 52 |
{ |
49 | 53 |
return CommonLib.WebServiceProxy.WebService().FinalPDF_GetDocumentItem(project_no, document_id); |
50 | 54 |
} |
51 |
|
|
55 |
public List<CommonLib.MARKUS_API.FINAL_PDF> GetFinalpdfs(string final_id) |
|
56 |
{ |
|
57 |
return CommonLib.WebServiceProxy.WebService().FinalPDF_GetFinalPDFs(final_id).ToList(); |
|
58 |
} |
|
59 |
public bool SetFinalStatus(string final_id, CommonLib.MARKUS_API.FinalStatus finalStatus) |
|
60 |
{ |
|
61 |
return CommonLib.WebServiceProxy.WebService().FinalPDF_SetFinalPDFStatus(final_id, finalStatus); |
|
62 |
} |
|
63 |
public bool SetFinalError(string final_id, string message) |
|
64 |
{ |
|
65 |
return CommonLib.WebServiceProxy.WebService().FinalPDF_SetError(final_id, message); |
|
66 |
} |
|
67 |
public bool SetFinalCurrentPage(string final_id, int current_page) |
|
68 |
{ |
|
69 |
return CommonLib.WebServiceProxy.WebService().FinalPDF_SetCurrentPage(final_id, current_page); |
|
70 |
} |
|
71 |
public bool SetFinalPDFUrl(string project_no, string document_id, string url) |
|
72 |
{ |
|
73 |
return CommonLib.WebServiceProxy.WebService().FinalPDF_SetFinalResultPath(project_no, document_id, url); |
|
74 |
} |
|
75 |
public List<CommonLib.MARKUS_API.PROPERTIES> GetProperties(string project_no) |
|
76 |
{ |
|
77 |
return CommonLib.WebServiceProxy.WebService().FinalPDF_GetProperties(project_no).ToList(); |
|
78 |
} |
|
52 | 79 |
#region IDisposable Support |
53 | 80 |
|
54 | 81 |
protected virtual void Dispose(bool disposing) |
FinalService/KCOM_FinalService/MarkupToPDF/Controls_PDF/HoneyPDFLib_DrawSet_Image.cs | ||
---|---|---|
54 | 54 |
|
55 | 55 |
contentByte.RestoreState(); |
56 | 56 |
} |
57 |
static byte[] getDBSign(string project_no, string user_id) |
|
58 |
{ |
|
59 |
byte[] imageBytes = null; |
|
60 |
try |
|
61 |
{ |
|
62 |
using (CIEntities _entity = new CIEntities(KCOMDataModel.Common.ConnectStringBuilder.ProjectCIConnectString(project_no).ToString())) |
|
63 |
{ |
|
64 |
var _sign = _entity.SIGN_INFO.Where(sin => sin.MEMBER_USER_ID == user_id); |
|
65 |
|
|
66 |
if (_sign.Count() > 0) |
|
67 |
{ |
|
68 |
imageBytes = System.Convert.FromBase64String(_sign.First().SIGN_STR); |
|
69 |
} |
|
70 |
} |
|
71 |
} |
|
72 |
catch (Exception) |
|
73 |
{ |
|
74 |
throw; |
|
75 |
} |
|
76 |
return imageBytes; |
|
77 |
} |
|
78 |
/// <summary> |
|
79 |
/// Ensemble+ 의 Sign Data를 받아 return |
|
80 |
/// 추후 |
|
81 |
/// </summary> |
|
82 |
/// <param name="user_id"></param> |
|
83 |
/// <param name="soapurl"></param> |
|
84 |
/// <returns></returns> |
|
85 |
static string getEnsembleSign(string user_id, string soapurl) |
|
86 |
{ |
|
87 |
string result = string.Empty; |
|
88 |
|
|
89 |
try |
|
90 |
{ |
|
91 |
WebClient webClient = new WebClient(); |
|
92 |
string data = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ens=\"http://EnsemblePlus.Webservice\"> <soapenv:Header/> <soapenv:Body> <ens:checkoutSignImage>" |
|
93 |
+ "<ens:sUserNo>" + user_id + "</ens:sUserNo>" |
|
94 |
+ "</ens:checkoutSignImage> </soapenv:Body></soapenv:Envelope>"; |
|
95 |
webClient.Headers.Add(HttpRequestHeader.ContentType, "text/xml"); |
|
96 |
webClient.Headers.Add("SOAPAction", "http://EnsemblePlus.Webservice"); |
|
97 |
var _result = webClient.UploadString(new Uri(soapurl), data); |
|
98 |
XmlDocument xmlDoc = new XmlDocument(); |
|
99 |
xmlDoc.LoadXml(_result); |
|
100 |
XmlNodeList list = xmlDoc.GetElementsByTagName("checkoutSignImageResponse"); |
|
101 |
foreach (XmlNode xn in list) |
|
102 |
{ |
|
103 |
result = xn["checkoutSignImageReturn"].InnerText; |
|
104 |
} |
|
105 |
if (!result.Contains("No business object")) |
|
106 |
{ |
|
107 |
return result; |
|
108 |
} |
|
109 |
else |
|
110 |
{ |
|
111 |
return null; |
|
112 |
} |
|
113 |
} |
|
114 |
catch (Exception ex) |
|
115 |
{ |
|
116 |
throw ex; |
|
117 |
} |
|
118 |
|
|
119 |
|
|
120 |
} |
|
57 |
|
|
121 | 58 |
public static void DrawImage(System.Windows.Point startPoint, System.Windows.Point endPoint, List<System.Windows.Point> pointSet, PdfContentByte contentByte, string filePath, double Angle, double opac) |
122 | 59 |
{ |
123 | 60 |
contentByte.SaveState(); |
FinalService/KCOM_FinalService/MarkupToPDF/EventMember.cs | ||
---|---|---|
11 | 11 |
public string Error { get; set; } |
12 | 12 |
public string FinalPDFPath { get; set; } |
13 | 13 |
public string OriginPDFName { get; set; } |
14 |
public KCOMDataModel.DataModel.FINAL_PDF FinalPDF { get; set; }
|
|
14 |
public CommonLib.MARKUS_API.FINAL_PDF FinalPDF { get; set; }
|
|
15 | 15 |
|
16 | 16 |
} |
17 | 17 |
|
FinalService/KCOM_FinalService/MarkupToPDF/MarkupToPDF.cs | ||
---|---|---|
29 | 29 |
private string _FinalPDFStorgeLocal = null; |
30 | 30 |
private string _FinalPDFStorgeRemote = null; |
31 | 31 |
private string OriginFileName = null; |
32 |
public FINAL_PDF FinalItem; |
|
32 |
public CommonLib.MARKUS_API.FINAL_PDF FinalItem;
|
|
33 | 33 |
public CommonLib.MARKUS_API.DOCINFO DocInfoItem = null; |
34 | 34 |
public List<CommonLib.MARKUS_API.DOCPAGE> DocPageItem = null; |
35 | 35 |
public CommonLib.MARKUS_API.MARKUP_INFO MarkupInfoItem = null; |
... | ... | |
140 | 140 |
{ |
141 | 141 |
|
142 | 142 |
CommonLib.MARKUS_API.DOCUMENT_ITEM documentItem; |
143 |
FINAL_PDF FinalPDF = (FINAL_PDF)_FinalPDF;
|
|
143 |
CommonLib.MARKUS_API.FINAL_PDF FinalPDF = (CommonLib.MARKUS_API.FINAL_PDF)_FinalPDF;
|
|
144 | 144 |
FinalItem = FinalPDF; |
145 | 145 |
|
146 | 146 |
|
... | ... | |
150 | 150 |
#region 문서 경로를 가져오는 것과 Status를 Create (1단계) 로 수정 |
151 | 151 |
try |
152 | 152 |
{ |
153 |
using (KCOMEntities _entity = new KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString()))
|
|
153 |
using (DataController dc = new DataController())
|
|
154 | 154 |
{ |
155 |
var _properties = _entity.PROPERTIES.Where(pro => pro.PROPERTY == FinalPDF.PROJECT_NO); |
|
156 |
|
|
157 |
if (_properties.Count () > 0) |
|
155 |
var _properties = dc.GetProperties(FinalPDF.PROJECT_NO); |
|
156 |
if(_properties != null) |
|
158 | 157 |
{ |
159 |
PdfFilePathRoot = _properties.Where(t => t.TYPE == PropertiesType.Const_TileSorcePath).First().VALUE; |
|
158 |
PdfFilePathRoot = _properties.Where(t => t.TYPE == PropertiesType.Const_TileSorcePath).FirstOrDefault().VALUE;
|
|
160 | 159 |
_FinalPDFStorgeLocal = _properties.Where(t => t.TYPE == PropertiesType.Const_FinalPDFStorgeLocal).First().VALUE; |
161 | 160 |
_FinalPDFStorgeRemote = _properties.Where(t => t.TYPE == PropertiesType.Const_FinalPDFStorgeRemote).First().VALUE; |
162 | 161 |
} |
... | ... | |
165 | 164 |
SetNotice(FinalPDF.ID, "프로퍼티를 가지고 올 수 없습니다."); |
166 | 165 |
return; |
167 | 166 |
} |
168 |
|
|
169 |
var finalList = _entity.FINAL_PDF.Where(final => final.ID == FinalPDF.ID); |
|
170 |
|
|
171 |
if (finalList.Count() > 0) |
|
172 |
{ |
|
173 |
finalList.FirstOrDefault().START_DATETIME = DateTime.Now; |
|
174 |
finalList.FirstOrDefault().STATUS = (int)FinalStatus.Create; |
|
175 |
_entity.SaveChanges(); |
|
176 |
} |
|
177 |
} |
|
167 |
dc.SetFinalStatus(FinalPDF.ID, CommonLib.MARKUS_API.FinalStatus.Create); |
|
168 |
} |
|
178 | 169 |
} |
179 | 170 |
catch (Exception ex) |
180 | 171 |
{ |
... | ... | |
210 | 201 |
} |
211 | 202 |
else |
212 | 203 |
{ |
213 |
if (MarkupInfoItem.MARKUP_INFO_VERSION.Count() > 0) |
|
214 |
{ |
|
215 |
MarkupDataSet = dc.GetMarkupData(project_no, docinfo_id); |
|
216 |
} |
|
217 |
else |
|
204 |
MarkupDataSet = dc.GetMarkupData(project_no, docinfo_id); |
|
205 |
if (MarkupDataSet == null) |
|
218 | 206 |
{ |
219 | 207 |
throw new Exception("MARKUP_INFO_VERSION 이 존재 하지 않습니다"); |
220 |
} |
|
208 |
}
|
|
221 | 209 |
} |
222 | 210 |
documentItem = dc.GetDocumentItem(project_no, DocInfoItem.DOCUMENT_ID); |
223 | 211 |
if (documentItem == null) |
... | ... | |
297 | 285 |
|
298 | 286 |
try |
299 | 287 |
{ |
288 |
TestFile = SetFlattingPDF(TestFile); |
|
289 |
SetStampInPDF(FinalItem, TestFile, MarkupInfoItem); |
|
300 | 290 |
|
301 |
using (KCOMEntities _entity = new KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString())) |
|
302 |
{ |
|
303 |
var finalList = _entity.FINAL_PDF.Where(final => final.ID == FinalPDF.ID); |
|
304 |
|
|
305 |
if (finalList.Count() > 0) |
|
306 |
{ |
|
307 |
TestFile = SetFlattingPDF(TestFile); |
|
308 |
//finalList.FirstOrDefault().STATUS = (int)FinalStatus.Insert; |
|
309 |
//_entity.SaveChanges(); |
|
310 |
|
|
311 |
SetStampInPDF(FinalItem, TestFile, MarkupInfoItem); |
|
312 |
//finalList.FirstOrDefault().STATUS = (int)FinalStatus.PdfStamp; |
|
313 |
//_entity.SaveChanges(); |
|
314 |
} |
|
315 |
} |
|
316 |
if (EndFinal != null) |
|
291 |
if (EndFinal != null) |
|
317 | 292 |
{ |
318 | 293 |
EndFinal(this, new EndFinalEventArgs |
319 | 294 |
{ |
... | ... | |
349 | 324 |
var mediaBox = pdfReader.GetPageSize(i); |
350 | 325 |
var cropbox = pdfReader.GetCropBox(i); |
351 | 326 |
|
352 |
//using (CIEntities _entity = new CIEntities(ConnectStringBuilder.ProjectCIConnectString().ToString())) |
|
353 |
//{ |
|
354 |
// _entity.DOCPAGE.Where(d=>d.DOCINFO_ID == DocInfoItem.DOCPAGE) |
|
355 |
//} |
|
356 | 327 |
var currentPage = DocPageItem.Where(d => d.PAGE_NUMBER == i).FirstOrDefault(); |
357 | 328 |
|
358 |
//scaleWidth = float.Parse(currentPage.PAGE_WIDTH) / mediaBox.Width; |
|
359 |
//scaleHeight = float.Parse(currentPage.PAGE_HEIGHT) / mediaBox.Height; |
|
360 |
//scaleWidth = 2.0832634F; |
|
361 |
//scaleHeight = 3.0F; |
|
362 |
|
|
363 | 329 |
PdfRectangle rect = new PdfRectangle(cropbox, pdfReader.GetPageRotation(i)); |
364 |
//강인구 수정 |
|
365 |
//if (cropbox != null && (cropbox.Width < mediaBox.Width || cropbox.Height < cropbox.Height)) |
|
366 |
//if (cropbox != null && (cropbox.Width < mediaBox.Width || cropbox.Height < mediaBox.Height)) |
|
367 |
//{ |
|
368 |
// var pageDict = pdfReader.GetPageN(i); |
|
369 |
// pageDict.Put(PdfName.MEDIABOX, rect); |
|
370 |
//} |
|
371 | 330 |
} |
372 | 331 |
|
373 | 332 |
var memStream = new MemoryStream(); |
... | ... | |
408 | 367 |
File.WriteAllBytes(dest, array); |
409 | 368 |
} |
410 | 369 |
|
411 |
public bool SetStampInPDF(FINAL_PDF finaldata, string testFile, CommonLib.MARKUS_API.MARKUP_INFO markupInfo) |
|
370 |
public bool SetStampInPDF(CommonLib.MARKUS_API.FINAL_PDF finaldata, string testFile, CommonLib.MARKUS_API.MARKUP_INFO markupInfo)
|
|
412 | 371 |
{ |
413 | 372 |
string pdfFilePath = null; |
414 | 373 |
|
... | ... | |
419 | 378 |
Directory.CreateDirectory(_FinalPDFStorgeLocal); |
420 | 379 |
} |
421 | 380 |
pdfFilePath = _FinalPDFStorgeLocal + @"\" + tempFileInfo.Name; |
422 |
|
|
423 |
using (KCOMEntities _entity = new KCOMEntities(ConnectStringBuilder.KCOMConnectionString().ToString())) |
|
424 |
{ |
|
425 |
FINAL_PDF pdfLink = _entity.FINAL_PDF.Where(data => data.ID == finaldata.ID).FirstOrDefault(); |
|
426 | 381 |
|
427 |
#region 코멘트 적용 + 커버시트 |
|
428 |
using (Stream pdfStream = new FileInfo(testFile).Open(FileMode.Open, FileAccess.ReadWrite)) // |
|
382 |
#region 코멘트 적용 + 커버시트 |
|
383 |
using (Stream pdfStream = new FileInfo(testFile).Open(FileMode.Open, FileAccess.ReadWrite)) // |
|
384 |
{ |
|
385 |
PdfReader pdfReader = new PdfReader(pdfStream); |
|
386 |
//List<Dictionary<string, object>> lstoutlineTop = new List<Dictionary<string, object>>(); |
|
387 |
Dictionary<string, object> bookmark; |
|
388 |
List<Dictionary<string, object>> outlines; |
|
389 |
outlines = new List<Dictionary<string, object>>(); |
|
390 |
List<Dictionary<string, object>> root = new List<Dictionary<string, object>>(); |
|
391 |
|
|
392 |
var dic = new Dictionary<string, object>(); |
|
393 |
foreach (var data in MarkupDataSet) |
|
429 | 394 |
{ |
430 |
PdfReader pdfReader = new PdfReader(pdfStream); |
|
431 |
//List<Dictionary<string, object>> lstoutlineTop = new List<Dictionary<string, object>>(); |
|
432 |
Dictionary<string, object> bookmark; |
|
433 |
List<Dictionary<string, object>> outlines; |
|
434 |
outlines = new List<Dictionary<string, object>>(); |
|
435 |
List<Dictionary<string, object>> root = new List<Dictionary<string, object>>(); |
|
436 |
|
|
437 |
var dic = new Dictionary<string, object>(); |
|
438 |
foreach (var data in MarkupDataSet) |
|
395 |
|
|
396 |
string userid = string.Empty; |
|
397 |
string username = string.Empty; |
|
398 |
string userdept = string.Empty; |
|
399 |
using (DataController dataController = new DataController()) |
|
439 | 400 |
{ |
440 |
|
|
441 |
string userid = data.MARKUP_INFO_VERSION.MARKUP_INFO.USER_ID; |
|
442 |
string username = string.Empty; |
|
443 |
string userdept = string.Empty; |
|
444 |
using (DataController dataController = new DataController()) |
|
445 |
{ |
|
446 |
var member = dataController.GetMemberInfo(markupInfo.DOCINFO.PROJECT_NO, userid); |
|
447 |
username = member.NAME; |
|
448 |
userdept = member.DEPARTMENT; |
|
449 |
} |
|
450 |
|
|
451 |
bookmark = new Dictionary<string, object>(); |
|
452 |
bookmark.Add("Title", string.Format("User:{0}[{1}] Commented Page : {2}", username, userdept, data.PAGENUMBER)); |
|
453 |
bookmark.Add("Page", data.PAGENUMBER + " Fit"); |
|
454 |
bookmark.Add("Action", "GoTo"); |
|
455 |
bookmark.Add("Kids", outlines); |
|
456 |
root.Add(bookmark); |
|
401 |
var member = dataController.GetCommentMemberInfo(finaldata.PROJECT_NO, data.ID); |
|
402 |
userid = member.ID; |
|
403 |
username = member.NAME; |
|
404 |
userdept = member.DEPARTMENT; |
|
457 | 405 |
} |
458 | 406 |
|
407 |
bookmark = new Dictionary<string, object>(); |
|
408 |
bookmark.Add("Title", string.Format("User:{0}[{1}] Commented Page : {2}", username, userdept, data.PAGENUMBER)); |
|
409 |
bookmark.Add("Page", data.PAGENUMBER + " Fit"); |
|
410 |
bookmark.Add("Action", "GoTo"); |
|
411 |
bookmark.Add("Kids", outlines); |
|
412 |
root.Add(bookmark); |
|
413 |
} |
|
414 |
|
|
459 | 415 |
|
460 |
using (PdfStamper pdfStamper = new PdfStamper(pdfReader, new FileStream(pdfFilePath, FileMode.Create))) |
|
416 |
using (PdfStamper pdfStamper = new PdfStamper(pdfReader, new FileStream(pdfFilePath, FileMode.Create))) |
|
417 |
{ |
|
418 |
var _SetColor = new SolidColorBrush(Colors.Red); |
|
419 |
|
|
420 |
string[] delimiterChars = { "|DZ|" }; |
|
421 |
string[] delimiterChars2 = { "|" }; |
|
422 |
|
|
423 |
//pdfStamper.FormFlattening = true; //이미 선처리 작업함 |
|
424 |
pdfStamper.SetFullCompression(); |
|
425 |
_SetColor = new SolidColorBrush(Colors.Red); |
|
426 |
|
|
427 |
foreach (var markupItem in MarkupDataSet) |
|
461 | 428 |
{ |
462 |
var _SetColor = new SolidColorBrush(Colors.Red); |
|
463 |
|
|
464 |
string[] delimiterChars = { "|DZ|" }; |
|
465 |
string[] delimiterChars2 = { "|" }; |
|
429 |
pdfSize = pdfReader.GetPageSizeWithRotation(markupItem.PAGENUMBER); |
|
430 |
var currentPage = DocPageItem.Where(d => d.PAGE_NUMBER == markupItem.PAGENUMBER).FirstOrDefault(); |
|
466 | 431 |
|
467 |
//pdfStamper.FormFlattening = true; //이미 선처리 작업함 |
|
468 |
pdfStamper.SetFullCompression(); |
|
469 |
_SetColor = new SolidColorBrush(Colors.Red); |
|
432 |
mediaBox = pdfReader.GetPageSize(markupItem.PAGENUMBER); |
|
433 |
var cropBox = pdfReader.GetCropBox(markupItem.PAGENUMBER); |
내보내기 Unified diff