프로젝트

일반

사용자정보

개정판 74abcf6f

ID74abcf6f6a706ead3c5666b598790fadac032fbf
상위 d21e9c15
하위 77cdac33

김태성이(가) 3년 이상 전에 추가함

sign manager 추가

Change-Id: Ia511ce9bf05e3a238353a549118d3b29ab673aa0

차이점 보기:

IKCOM/Interface.cs
105 105
        public bool IsPreviewUser { get; set; }
106 106
    }
107 107

  
108
    public class _MemberDeptColors
109
    {
110
        public List<MEMBER_DEPT_COLOR> _memberDeptColors { get; set; }
111
    }
108
    //public class _MemberDeptColors
109
    //{
110
    //    public List<MEMBER_DEPT_COLOR> _memberDeptColors { get; set; }
111
    //}
112 112

  
113
    public class _MemberDeptColorsInfo
114
    {
115
        public List<MEMBER_DEPT_COLORINFO> _memberDeptColorsInfo { get; set; }
116
    }
113
    //public class _MemberDeptColorsInfo
114
    //{
115
    //    public List<MEMBER_DEPT_COLORINFO> _memberDeptColorsInfo { get; set; }
116
    //}
117 117

  
118 118
    public class MarkupItemEx : MarkupItem
119 119
    {
KCOM/App.xaml.cs
38 38
        public static EndpointAddress _EndPoint;
39 39
        public static EndpointAddress _EndPoint_SaveLoad;
40 40
        public static EndpointAddress _EndPoint_Symbol;
41
        public static string UserID;
42 41
        public static string UserName;
43
        public static string UserIP;
44 42
        public static IKCOM.ViewInfo ViewInfo;
45 43
        public static string urlHost;
46 44
        public static string urlPort;
......
276 274
                App.FileLogger.Debug(string.Format("{0}/ServiceDeepView.svc", BaseAddress));
277 275
                _EndPoint = new EndpointAddress(string.Format("{0}/ServiceDeepView.svc", BaseAddress));
278 276
                
279
                var license = new License.Validator.Valid(BaseAddress + "/License1");
277
                var license = new License.Validator.Valid(BaseAddress + "/License");
280 278

  
281 279
                license.ValidateError += License_ValidateError;
282 280

  
KCOM/Connected Services/KcomService/Reference.cs
841 841
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/GetSignData", ReplyAction="urn:ServiceDeepView/GetSignDataResponse")]
842 842
        System.Threading.Tasks.Task<string> GetSignDataAsync(string project_no, string user_id);
843 843
        
844
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/GetSignStrokes", ReplyAction="urn:ServiceDeepView/GetSignStrokesResponse")]
845
        string GetSignStrokes(string project_no, string user_id);
846
        
847
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/GetSignStrokes", ReplyAction="urn:ServiceDeepView/GetSignStrokesResponse")]
848
        System.Threading.Tasks.Task<string> GetSignStrokesAsync(string project_no, string user_id);
849
        
844 850
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/SetSignData", ReplyAction="urn:ServiceDeepView/SetSignDataResponse")]
845
        int SetSignData(string user_id, string SignStr);
851
        int SetSignData(string user_id, string SignStr, int CropX, int CropY, int CropWidth, int CropHeight);
846 852
        
847 853
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/SetSignData", ReplyAction="urn:ServiceDeepView/SetSignDataResponse")]
848
        System.Threading.Tasks.Task<int> SetSignDataAsync(string user_id, string SignStr);
854
        System.Threading.Tasks.Task<int> SetSignDataAsync(string user_id, string SignStr, int CropX, int CropY, int CropWidth, int CropHeight);
855
        
856
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/SetSignStrokes", ReplyAction="urn:ServiceDeepView/SetSignStrokesResponse")]
857
        int SetSignStrokes(string user_id, string strokesData);
858
        
859
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/SetSignStrokes", ReplyAction="urn:ServiceDeepView/SetSignStrokesResponse")]
860
        System.Threading.Tasks.Task<int> SetSignStrokesAsync(string user_id, string strokesData);
849 861
        
850 862
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/GetProjectName", ReplyAction="urn:ServiceDeepView/GetProjectNameResponse")]
851 863
        string GetProjectName(string project_no);
......
1435 1447
            return base.Channel.GetSignDataAsync(project_no, user_id);
1436 1448
        }
1437 1449
        
1438
        public int SetSignData(string user_id, string SignStr) {
1439
            return base.Channel.SetSignData(user_id, SignStr);
1450
        public string GetSignStrokes(string project_no, string user_id) {
1451
            return base.Channel.GetSignStrokes(project_no, user_id);
1452
        }
1453
        
1454
        public System.Threading.Tasks.Task<string> GetSignStrokesAsync(string project_no, string user_id) {
1455
            return base.Channel.GetSignStrokesAsync(project_no, user_id);
1456
        }
1457
        
1458
        public int SetSignData(string user_id, string SignStr, int CropX, int CropY, int CropWidth, int CropHeight) {
1459
            return base.Channel.SetSignData(user_id, SignStr, CropX, CropY, CropWidth, CropHeight);
1460
        }
1461
        
1462
        public System.Threading.Tasks.Task<int> SetSignDataAsync(string user_id, string SignStr, int CropX, int CropY, int CropWidth, int CropHeight) {
1463
            return base.Channel.SetSignDataAsync(user_id, SignStr, CropX, CropY, CropWidth, CropHeight);
1464
        }
1465
        
1466
        public int SetSignStrokes(string user_id, string strokesData) {
1467
            return base.Channel.SetSignStrokes(user_id, strokesData);
1440 1468
        }
1441 1469
        
1442
        public System.Threading.Tasks.Task<int> SetSignDataAsync(string user_id, string SignStr) {
1443
            return base.Channel.SetSignDataAsync(user_id, SignStr);
1470
        public System.Threading.Tasks.Task<int> SetSignStrokesAsync(string user_id, string strokesData) {
1471
            return base.Channel.SetSignStrokesAsync(user_id, strokesData);
1444 1472
        }
1445 1473
        
1446 1474
        public string GetProjectName(string project_no) {
KCOM/Connected Services/KcomService/ServiceDeepView.wsdl
343 343
  <wsdl:message name="ServiceDeepView_GetSignData_OutputMessage">
344 344
    <wsdl:part name="parameters" element="GetSignDataResponse" />
345 345
  </wsdl:message>
346
  <wsdl:message name="ServiceDeepView_GetSignStrokes_InputMessage">
347
    <wsdl:part name="parameters" element="GetSignStrokes" />
348
  </wsdl:message>
349
  <wsdl:message name="ServiceDeepView_GetSignStrokes_OutputMessage">
350
    <wsdl:part name="parameters" element="GetSignStrokesResponse" />
351
  </wsdl:message>
346 352
  <wsdl:message name="ServiceDeepView_SetSignData_InputMessage">
347 353
    <wsdl:part name="parameters" element="SetSignData" />
348 354
  </wsdl:message>
349 355
  <wsdl:message name="ServiceDeepView_SetSignData_OutputMessage">
350 356
    <wsdl:part name="parameters" element="SetSignDataResponse" />
351 357
  </wsdl:message>
358
  <wsdl:message name="ServiceDeepView_SetSignStrokes_InputMessage">
359
    <wsdl:part name="parameters" element="SetSignStrokes" />
360
  </wsdl:message>
361
  <wsdl:message name="ServiceDeepView_SetSignStrokes_OutputMessage">
362
    <wsdl:part name="parameters" element="SetSignStrokesResponse" />
363
  </wsdl:message>
352 364
  <wsdl:message name="ServiceDeepView_GetProjectName_InputMessage">
353 365
    <wsdl:part name="parameters" element="GetProjectName" />
354 366
  </wsdl:message>
......
690 702
      <wsdl:input wsaw:Action="urn:ServiceDeepView/GetSignData" message="ServiceDeepView_GetSignData_InputMessage" />
691 703
      <wsdl:output wsaw:Action="urn:ServiceDeepView/GetSignDataResponse" message="ServiceDeepView_GetSignData_OutputMessage" />
692 704
    </wsdl:operation>
705
    <wsdl:operation name="GetSignStrokes">
706
      <wsdl:input wsaw:Action="urn:ServiceDeepView/GetSignStrokes" message="ServiceDeepView_GetSignStrokes_InputMessage" />
707
      <wsdl:output wsaw:Action="urn:ServiceDeepView/GetSignStrokesResponse" message="ServiceDeepView_GetSignStrokes_OutputMessage" />
708
    </wsdl:operation>
693 709
    <wsdl:operation name="SetSignData">
694 710
      <wsdl:input wsaw:Action="urn:ServiceDeepView/SetSignData" message="ServiceDeepView_SetSignData_InputMessage" />
695 711
      <wsdl:output wsaw:Action="urn:ServiceDeepView/SetSignDataResponse" message="ServiceDeepView_SetSignData_OutputMessage" />
696 712
    </wsdl:operation>
713
    <wsdl:operation name="SetSignStrokes">
714
      <wsdl:input wsaw:Action="urn:ServiceDeepView/SetSignStrokes" message="ServiceDeepView_SetSignStrokes_InputMessage" />
715
      <wsdl:output wsaw:Action="urn:ServiceDeepView/SetSignStrokesResponse" message="ServiceDeepView_SetSignStrokes_OutputMessage" />
716
    </wsdl:operation>
697 717
    <wsdl:operation name="GetProjectName">
698 718
      <wsdl:input wsaw:Action="urn:ServiceDeepView/GetProjectName" message="ServiceDeepView_GetProjectName_InputMessage" />
699 719
      <wsdl:output wsaw:Action="urn:ServiceDeepView/GetProjectNameResponse" message="ServiceDeepView_GetProjectName_OutputMessage" />
KCOM/Connected Services/KcomService/ServiceDeepView1.wsdl
499 499
        <soap:body use="literal" />
500 500
      </wsdl:output>
501 501
    </wsdl:operation>
502
    <wsdl:operation name="GetSignStrokes">
503
      <soap:operation soapAction="urn:ServiceDeepView/GetSignStrokes" style="document" />
504
      <wsdl:input>
505
        <soap:body use="literal" />
506
      </wsdl:input>
507
      <wsdl:output>
508
        <soap:body use="literal" />
509
      </wsdl:output>
510
    </wsdl:operation>
502 511
    <wsdl:operation name="SetSignData">
503 512
      <soap:operation soapAction="urn:ServiceDeepView/SetSignData" style="document" />
504 513
      <wsdl:input>
......
508 517
        <soap:body use="literal" />
509 518
      </wsdl:output>
510 519
    </wsdl:operation>
520
    <wsdl:operation name="SetSignStrokes">
521
      <soap:operation soapAction="urn:ServiceDeepView/SetSignStrokes" style="document" />
522
      <wsdl:input>
523
        <soap:body use="literal" />
524
      </wsdl:input>
525
      <wsdl:output>
526
        <soap:body use="literal" />
527
      </wsdl:output>
528
    </wsdl:operation>
511 529
    <wsdl:operation name="GetProjectName">
512 530
      <soap:operation soapAction="urn:ServiceDeepView/GetProjectName" style="document" />
513 531
      <wsdl:input>
KCOM/Connected Services/KcomService/ServiceDeepView1.xsd
127 127
          <xs:element minOccurs="0" name="DATA" nillable="true" type="xs:string" />
128 128
          <xs:element minOccurs="0" name="DATA_TYPE" type="xs:int" />
129 129
          <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string" />
130
          <xs:element minOccurs="0" name="InsertTime" nillable="true" type="xs:dateTime" />
130 131
          <xs:element minOccurs="0" name="MARKUPINFO_VERSION_ID" nillable="true" type="xs:string" />
131 132
          <xs:element minOccurs="0" name="MARKUP_INFO_VERSION" nillable="true" type="tns:MARKUP_INFO_VERSION" />
132 133
          <xs:element minOccurs="0" name="MARKUP_INFO_VERSIONReference" nillable="true" type="q6:EntityReferenceOfMARKUP_INFO_VERSIONitJtO6kG" />
133 134
          <xs:element minOccurs="0" name="PAGENUMBER" type="xs:int" />
135
          <xs:element minOccurs="0" name="REMARK" nillable="true" type="xs:string" />
134 136
          <xs:element minOccurs="0" name="SYMBOL_ID" nillable="true" type="xs:string" />
135 137
        </xs:sequence>
136 138
      </xs:extension>
......
141 143
    <xs:complexContent mixed="false">
142 144
      <xs:extension xmlns:q7="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q7:EntityObject">
143 145
        <xs:sequence>
146
          <xs:element minOccurs="0" name="CreateDate" nillable="true" type="xs:dateTime" />
144 147
          <xs:element minOccurs="0" name="DOCUMENT_ID" nillable="true" type="xs:string" />
145 148
          <xs:element minOccurs="0" name="DOCUMENT_NAME" nillable="true" type="xs:string" />
146 149
          <xs:element minOccurs="0" name="DOCUMENT_NO" nillable="true" type="xs:string" />
147 150
          <xs:element minOccurs="0" name="GROUP_NO" nillable="true" type="xs:string" />
148 151
          <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string" />
152
          <xs:element minOccurs="0" name="Link" nillable="true" type="xs:string" />
149 153
          <xs:element minOccurs="0" name="ORIGINAL_FILE" nillable="true" type="xs:string" />
150 154
          <xs:element minOccurs="0" name="PROJECT_NO" nillable="true" type="xs:string" />
151 155
          <xs:element minOccurs="0" name="RESULT" nillable="true" type="xs:string" />
......
170 174
          <xs:element minOccurs="0" name="NAME" nillable="true" type="xs:string" />
171 175
          <xs:element minOccurs="0" name="PASSWORD" nillable="true" type="xs:string" />
172 176
          <xs:element minOccurs="0" name="POSITION" nillable="true" type="xs:string" />
173
          <xs:element minOccurs="0" name="PROJECT_NO" nillable="true" type="xs:string" />
174 177
          <xs:element minOccurs="0" name="SIGN_INFO" nillable="true" type="tns:ArrayOfSIGN_INFO" />
175 178
        </xs:sequence>
176 179
      </xs:extension>
......
194 197
          <xs:element minOccurs="0" name="MEMBER_USER_ID" nillable="true" type="xs:string" />
195 198
          <xs:element minOccurs="0" name="MODIFY_DATE" nillable="true" type="xs:dateTime" />
196 199
          <xs:element minOccurs="0" name="SIGN_STR" nillable="true" type="xs:string" />
200
          <xs:element minOccurs="0" name="SIGN_STROKES" nillable="true" type="xs:string" />
197 201
        </xs:sequence>
198 202
      </xs:extension>
199 203
    </xs:complexContent>
KCOM/Connected Services/KcomService/ServiceDeepView8.xsd
864 864
      </xs:sequence>
865 865
    </xs:complexType>
866 866
  </xs:element>
867
  <xs:element name="GetSignStrokes">
868
    <xs:complexType>
869
      <xs:sequence>
870
        <xs:element minOccurs="0" name="project_no" nillable="true" type="xs:string" />
871
        <xs:element minOccurs="0" name="user_id" nillable="true" type="xs:string" />
872
      </xs:sequence>
873
    </xs:complexType>
874
  </xs:element>
875
  <xs:element name="GetSignStrokesResponse">
876
    <xs:complexType>
877
      <xs:sequence>
878
        <xs:element minOccurs="0" name="GetSignStrokesResult" nillable="true" type="xs:string" />
879
      </xs:sequence>
880
    </xs:complexType>
881
  </xs:element>
867 882
  <xs:element name="SetSignData">
868 883
    <xs:complexType>
869 884
      <xs:sequence>
870 885
        <xs:element minOccurs="0" name="user_id" nillable="true" type="xs:string" />
871 886
        <xs:element minOccurs="0" name="SignStr" nillable="true" type="xs:string" />
887
        <xs:element minOccurs="0" name="CropX" type="xs:int" />
888
        <xs:element minOccurs="0" name="CropY" type="xs:int" />
889
        <xs:element minOccurs="0" name="CropWidth" type="xs:int" />
890
        <xs:element minOccurs="0" name="CropHeight" type="xs:int" />
872 891
      </xs:sequence>
873 892
    </xs:complexType>
874 893
  </xs:element>
......
879 898
      </xs:sequence>
880 899
    </xs:complexType>
881 900
  </xs:element>
901
  <xs:element name="SetSignStrokes">
902
    <xs:complexType>
903
      <xs:sequence>
904
        <xs:element minOccurs="0" name="user_id" nillable="true" type="xs:string" />
905
        <xs:element minOccurs="0" name="strokesData" nillable="true" type="xs:string" />
906
      </xs:sequence>
907
    </xs:complexType>
908
  </xs:element>
909
  <xs:element name="SetSignStrokesResponse">
910
    <xs:complexType>
911
      <xs:sequence>
912
        <xs:element minOccurs="0" name="SetSignStrokesResult" type="xs:int" />
913
      </xs:sequence>
914
    </xs:complexType>
915
  </xs:element>
882 916
  <xs:element name="GetProjectName">
883 917
    <xs:complexType>
884 918
      <xs:sequence>
KCOM/Connected Services/ServiceDeepView/Reference.cs
951 951
        
952 952
        string EndGetSignData(System.IAsyncResult result);
953 953
        
954
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/GetSignStrokes", ReplyAction="urn:ServiceDeepView/GetSignStrokesResponse")]
955
        string GetSignStrokes(string project_no, string user_id);
956
        
957
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="urn:ServiceDeepView/GetSignStrokes", ReplyAction="urn:ServiceDeepView/GetSignStrokesResponse")]
958
        System.IAsyncResult BeginGetSignStrokes(string project_no, string user_id, System.AsyncCallback callback, object asyncState);
959
        
960
        string EndGetSignStrokes(System.IAsyncResult result);
961
        
954 962
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/SetSignData", ReplyAction="urn:ServiceDeepView/SetSignDataResponse")]
955
        int SetSignData(string project_no, string user_id, string SignStr);
963
        int SetSignData(string user_id, string SignStr, int CropX, int CropY, int CropWidth, int CropHeight);
956 964
        
957 965
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="urn:ServiceDeepView/SetSignData", ReplyAction="urn:ServiceDeepView/SetSignDataResponse")]
958
        System.IAsyncResult BeginSetSignData(string project_no, string user_id, string SignStr, System.AsyncCallback callback, object asyncState);
966
        System.IAsyncResult BeginSetSignData(string user_id, string SignStr, int CropX, int CropY, int CropWidth, int CropHeight, System.AsyncCallback callback, object asyncState);
959 967
        
960 968
        int EndSetSignData(System.IAsyncResult result);
961 969
        
970
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/SetSignStrokes", ReplyAction="urn:ServiceDeepView/SetSignStrokesResponse")]
971
        int SetSignStrokes(string user_id, string strokesData);
972
        
973
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="urn:ServiceDeepView/SetSignStrokes", ReplyAction="urn:ServiceDeepView/SetSignStrokesResponse")]
974
        System.IAsyncResult BeginSetSignStrokes(string user_id, string strokesData, System.AsyncCallback callback, object asyncState);
975
        
976
        int EndSetSignStrokes(System.IAsyncResult result);
977
        
962 978
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/GetProjectName", ReplyAction="urn:ServiceDeepView/GetProjectNameResponse")]
963 979
        string GetProjectName(string project_no);
964 980
        
......
2171 2187
    
2172 2188
    [System.Diagnostics.DebuggerStepThroughAttribute()]
2173 2189
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
2190
    public partial class GetSignStrokesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
2191
        
2192
        private object[] results;
2193
        
2194
        public GetSignStrokesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
2195
                base(exception, cancelled, userState) {
2196
            this.results = results;
2197
        }
2198
        
2199
        public string Result {
2200
            get {
2201
                base.RaiseExceptionIfNecessary();
2202
                return ((string)(this.results[0]));
2203
            }
2204
        }
2205
    }
2206
    
2207
    [System.Diagnostics.DebuggerStepThroughAttribute()]
2208
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
2174 2209
    public partial class SetSignDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
2175 2210
        
2176 2211
        private object[] results;
......
2190 2225
    
2191 2226
    [System.Diagnostics.DebuggerStepThroughAttribute()]
2192 2227
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
2228
    public partial class SetSignStrokesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
2229
        
2230
        private object[] results;
2231
        
2232
        public SetSignStrokesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
2233
                base(exception, cancelled, userState) {
2234
            this.results = results;
2235
        }
2236
        
2237
        public int Result {
2238
            get {
2239
                base.RaiseExceptionIfNecessary();
2240
                return ((int)(this.results[0]));
2241
            }
2242
        }
2243
    }
2244
    
2245
    [System.Diagnostics.DebuggerStepThroughAttribute()]
2246
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
2193 2247
    public partial class GetProjectNameCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
2194 2248
        
2195 2249
        private object[] results;
......
2902 2956
        
2903 2957
        private System.Threading.SendOrPostCallback onGetSignDataCompletedDelegate;
2904 2958
        
2959
        private BeginOperationDelegate onBeginGetSignStrokesDelegate;
2960
        
2961
        private EndOperationDelegate onEndGetSignStrokesDelegate;
2962
        
2963
        private System.Threading.SendOrPostCallback onGetSignStrokesCompletedDelegate;
2964
        
2905 2965
        private BeginOperationDelegate onBeginSetSignDataDelegate;
2906 2966
        
2907 2967
        private EndOperationDelegate onEndSetSignDataDelegate;
2908 2968
        
2909 2969
        private System.Threading.SendOrPostCallback onSetSignDataCompletedDelegate;
2910 2970
        
2971
        private BeginOperationDelegate onBeginSetSignStrokesDelegate;
2972
        
2973
        private EndOperationDelegate onEndSetSignStrokesDelegate;
2974
        
2975
        private System.Threading.SendOrPostCallback onSetSignStrokesCompletedDelegate;
2976
        
2911 2977
        private BeginOperationDelegate onBeginGetProjectNameDelegate;
2912 2978
        
2913 2979
        private EndOperationDelegate onEndGetProjectNameDelegate;
......
3157 3223
        
3158 3224
        public event System.EventHandler<GetSignDataCompletedEventArgs> GetSignDataCompleted;
3159 3225
        
3226
        public event System.EventHandler<GetSignStrokesCompletedEventArgs> GetSignStrokesCompleted;
3227
        
3160 3228
        public event System.EventHandler<SetSignDataCompletedEventArgs> SetSignDataCompleted;
3161 3229
        
3230
        public event System.EventHandler<SetSignStrokesCompletedEventArgs> SetSignStrokesCompleted;
3231
        
3162 3232
        public event System.EventHandler<GetProjectNameCompletedEventArgs> GetProjectNameCompleted;
3163 3233
        
3164 3234
        public event System.EventHandler<GetPreRevSelectCompletedEventArgs> GetPreRevSelectCompleted;
......
6131 6201
                        user_id}, this.onEndGetSignDataDelegate, this.onGetSignDataCompletedDelegate, userState);
6132 6202
        }
6133 6203
        
6134
        public int SetSignData(string project_no, string user_id, string SignStr) {
6135
            return base.Channel.SetSignData(project_no, user_id, SignStr);
6204
        public string GetSignStrokes(string project_no, string user_id) {
6205
            return base.Channel.GetSignStrokes(project_no, user_id);
6136 6206
        }
6137 6207
        
6138 6208
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
6139
        public System.IAsyncResult BeginSetSignData(string project_no, string user_id, string SignStr, System.AsyncCallback callback, object asyncState) {
6140
            return base.Channel.BeginSetSignData(project_no, user_id, SignStr, callback, asyncState);
6209
        public System.IAsyncResult BeginGetSignStrokes(string project_no, string user_id, System.AsyncCallback callback, object asyncState) {
6210
            return base.Channel.BeginGetSignStrokes(project_no, user_id, callback, asyncState);
6211
        }
6212
        
6213
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
6214
        public string EndGetSignStrokes(System.IAsyncResult result) {
6215
            return base.Channel.EndGetSignStrokes(result);
6216
        }
6217
        
6218
        private System.IAsyncResult OnBeginGetSignStrokes(object[] inValues, System.AsyncCallback callback, object asyncState) {
6219
            string project_no = ((string)(inValues[0]));
6220
            string user_id = ((string)(inValues[1]));
6221
            return this.BeginGetSignStrokes(project_no, user_id, callback, asyncState);
6222
        }
6223
        
6224
        private object[] OnEndGetSignStrokes(System.IAsyncResult result) {
6225
            string retVal = this.EndGetSignStrokes(result);
6226
            return new object[] {
6227
                    retVal};
6228
        }
6229
        
6230
        private void OnGetSignStrokesCompleted(object state) {
6231
            if ((this.GetSignStrokesCompleted != null)) {
6232
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
6233
                this.GetSignStrokesCompleted(this, new GetSignStrokesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
6234
            }
6235
        }
6236
        
6237
        public void GetSignStrokesAsync(string project_no, string user_id) {
6238
            this.GetSignStrokesAsync(project_no, user_id, null);
6239
        }
6240
        
6241
        public void GetSignStrokesAsync(string project_no, string user_id, object userState) {
6242
            if ((this.onBeginGetSignStrokesDelegate == null)) {
6243
                this.onBeginGetSignStrokesDelegate = new BeginOperationDelegate(this.OnBeginGetSignStrokes);
6244
            }
6245
            if ((this.onEndGetSignStrokesDelegate == null)) {
6246
                this.onEndGetSignStrokesDelegate = new EndOperationDelegate(this.OnEndGetSignStrokes);
6247
            }
6248
            if ((this.onGetSignStrokesCompletedDelegate == null)) {
6249
                this.onGetSignStrokesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetSignStrokesCompleted);
6250
            }
6251
            base.InvokeAsync(this.onBeginGetSignStrokesDelegate, new object[] {
6252
                        project_no,
6253
                        user_id}, this.onEndGetSignStrokesDelegate, this.onGetSignStrokesCompletedDelegate, userState);
6254
        }
6255
        
6256
        public int SetSignData(string user_id, string SignStr, int CropX, int CropY, int CropWidth, int CropHeight) {
6257
            return base.Channel.SetSignData(user_id, SignStr, CropX, CropY, CropWidth, CropHeight);
6258
        }
6259
        
6260
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
6261
        public System.IAsyncResult BeginSetSignData(string user_id, string SignStr, int CropX, int CropY, int CropWidth, int CropHeight, System.AsyncCallback callback, object asyncState) {
6262
            return base.Channel.BeginSetSignData(user_id, SignStr, CropX, CropY, CropWidth, CropHeight, callback, asyncState);
6141 6263
        }
6142 6264
        
6143 6265
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
......
6146 6268
        }
6147 6269
        
6148 6270
        private System.IAsyncResult OnBeginSetSignData(object[] inValues, System.AsyncCallback callback, object asyncState) {
6149
            string project_no = ((string)(inValues[0]));
6150
            string user_id = ((string)(inValues[1]));
6151
            string SignStr = ((string)(inValues[2]));
6152
            return this.BeginSetSignData(project_no, user_id, SignStr, callback, asyncState);
6271
            string user_id = ((string)(inValues[0]));
6272
            string SignStr = ((string)(inValues[1]));
6273
            int CropX = ((int)(inValues[2]));
6274
            int CropY = ((int)(inValues[3]));
6275
            int CropWidth = ((int)(inValues[4]));
6276
            int CropHeight = ((int)(inValues[5]));
6277
            return this.BeginSetSignData(user_id, SignStr, CropX, CropY, CropWidth, CropHeight, callback, asyncState);
6153 6278
        }
6154 6279
        
6155 6280
        private object[] OnEndSetSignData(System.IAsyncResult result) {
......
6165 6290
            }
6166 6291
        }
6167 6292
        
6168
        public void SetSignDataAsync(string project_no, string user_id, string SignStr) {
6169
            this.SetSignDataAsync(project_no, user_id, SignStr, null);
6293
        public void SetSignDataAsync(string user_id, string SignStr, int CropX, int CropY, int CropWidth, int CropHeight) {
6294
            this.SetSignDataAsync(user_id, SignStr, CropX, CropY, CropWidth, CropHeight, null);
6170 6295
        }
6171 6296
        
6172
        public void SetSignDataAsync(string project_no, string user_id, string SignStr, object userState) {
6297
        public void SetSignDataAsync(string user_id, string SignStr, int CropX, int CropY, int CropWidth, int CropHeight, object userState) {
6173 6298
            if ((this.onBeginSetSignDataDelegate == null)) {
6174 6299
                this.onBeginSetSignDataDelegate = new BeginOperationDelegate(this.OnBeginSetSignData);
6175 6300
            }
......
6180 6305
                this.onSetSignDataCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetSignDataCompleted);
6181 6306
            }
6182 6307
            base.InvokeAsync(this.onBeginSetSignDataDelegate, new object[] {
6183
                        project_no,
6184 6308
                        user_id,
6185
                        SignStr}, this.onEndSetSignDataDelegate, this.onSetSignDataCompletedDelegate, userState);
6309
                        SignStr,
6310
                        CropX,
6311
                        CropY,
6312
                        CropWidth,
6313
                        CropHeight}, this.onEndSetSignDataDelegate, this.onSetSignDataCompletedDelegate, userState);
6314
        }
6315
        
6316
        public int SetSignStrokes(string user_id, string strokesData) {
6317
            return base.Channel.SetSignStrokes(user_id, strokesData);
6318
        }
6319
        
6320
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
6321
        public System.IAsyncResult BeginSetSignStrokes(string user_id, string strokesData, System.AsyncCallback callback, object asyncState) {
6322
            return base.Channel.BeginSetSignStrokes(user_id, strokesData, callback, asyncState);
6323
        }
6324
        
6325
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
6326
        public int EndSetSignStrokes(System.IAsyncResult result) {
6327
            return base.Channel.EndSetSignStrokes(result);
6328
        }
6329
        
6330
        private System.IAsyncResult OnBeginSetSignStrokes(object[] inValues, System.AsyncCallback callback, object asyncState) {
6331
            string user_id = ((string)(inValues[0]));
6332
            string strokesData = ((string)(inValues[1]));
6333
            return this.BeginSetSignStrokes(user_id, strokesData, callback, asyncState);
6334
        }
6335
        
6336
        private object[] OnEndSetSignStrokes(System.IAsyncResult result) {
6337
            int retVal = this.EndSetSignStrokes(result);
6338
            return new object[] {
6339
                    retVal};
6340
        }
6341
        
6342
        private void OnSetSignStrokesCompleted(object state) {
6343
            if ((this.SetSignStrokesCompleted != null)) {
6344
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
6345
                this.SetSignStrokesCompleted(this, new SetSignStrokesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
6346
            }
6347
        }
6348
        
6349
        public void SetSignStrokesAsync(string user_id, string strokesData) {
6350
            this.SetSignStrokesAsync(user_id, strokesData, null);
6351
        }
6352
        
6353
        public void SetSignStrokesAsync(string user_id, string strokesData, object userState) {
6354
            if ((this.onBeginSetSignStrokesDelegate == null)) {
6355
                this.onBeginSetSignStrokesDelegate = new BeginOperationDelegate(this.OnBeginSetSignStrokes);
6356
            }
6357
            if ((this.onEndSetSignStrokesDelegate == null)) {
6358
                this.onEndSetSignStrokesDelegate = new EndOperationDelegate(this.OnEndSetSignStrokes);
6359
            }
6360
            if ((this.onSetSignStrokesCompletedDelegate == null)) {
6361
                this.onSetSignStrokesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetSignStrokesCompleted);
6362
            }
6363
            base.InvokeAsync(this.onBeginSetSignStrokesDelegate, new object[] {
6364
                        user_id,
6365
                        strokesData}, this.onEndSetSignStrokesDelegate, this.onSetSignStrokesCompletedDelegate, userState);
6186 6366
        }
6187 6367
        
6188 6368
        public string GetProjectName(string project_no) {
KCOM/Connected Services/ServiceDeepView/ServiceDeepView22.wsdl
343 343
  <wsdl:message name="ServiceDeepView_GetSignData_OutputMessage">
344 344
    <wsdl:part name="parameters" element="GetSignDataResponse" />
345 345
  </wsdl:message>
346
  <wsdl:message name="ServiceDeepView_GetSignStrokes_InputMessage">
347
    <wsdl:part name="parameters" element="GetSignStrokes" />
348
  </wsdl:message>
349
  <wsdl:message name="ServiceDeepView_GetSignStrokes_OutputMessage">
350
    <wsdl:part name="parameters" element="GetSignStrokesResponse" />
351
  </wsdl:message>
346 352
  <wsdl:message name="ServiceDeepView_SetSignData_InputMessage">
347 353
    <wsdl:part name="parameters" element="SetSignData" />
348 354
  </wsdl:message>
349 355
  <wsdl:message name="ServiceDeepView_SetSignData_OutputMessage">
350 356
    <wsdl:part name="parameters" element="SetSignDataResponse" />
351 357
  </wsdl:message>
358
  <wsdl:message name="ServiceDeepView_SetSignStrokes_InputMessage">
359
    <wsdl:part name="parameters" element="SetSignStrokes" />
360
  </wsdl:message>
361
  <wsdl:message name="ServiceDeepView_SetSignStrokes_OutputMessage">
362
    <wsdl:part name="parameters" element="SetSignStrokesResponse" />
363
  </wsdl:message>
352 364
  <wsdl:message name="ServiceDeepView_GetProjectName_InputMessage">
353 365
    <wsdl:part name="parameters" element="GetProjectName" />
354 366
  </wsdl:message>
......
690 702
      <wsdl:input wsaw:Action="urn:ServiceDeepView/GetSignData" message="ServiceDeepView_GetSignData_InputMessage" />
691 703
      <wsdl:output wsaw:Action="urn:ServiceDeepView/GetSignDataResponse" message="ServiceDeepView_GetSignData_OutputMessage" />
692 704
    </wsdl:operation>
705
    <wsdl:operation name="GetSignStrokes">
706
      <wsdl:input wsaw:Action="urn:ServiceDeepView/GetSignStrokes" message="ServiceDeepView_GetSignStrokes_InputMessage" />
707
      <wsdl:output wsaw:Action="urn:ServiceDeepView/GetSignStrokesResponse" message="ServiceDeepView_GetSignStrokes_OutputMessage" />
708
    </wsdl:operation>
693 709
    <wsdl:operation name="SetSignData">
694 710
      <wsdl:input wsaw:Action="urn:ServiceDeepView/SetSignData" message="ServiceDeepView_SetSignData_InputMessage" />
695 711
      <wsdl:output wsaw:Action="urn:ServiceDeepView/SetSignDataResponse" message="ServiceDeepView_SetSignData_OutputMessage" />
696 712
    </wsdl:operation>
713
    <wsdl:operation name="SetSignStrokes">
714
      <wsdl:input wsaw:Action="urn:ServiceDeepView/SetSignStrokes" message="ServiceDeepView_SetSignStrokes_InputMessage" />
715
      <wsdl:output wsaw:Action="urn:ServiceDeepView/SetSignStrokesResponse" message="ServiceDeepView_SetSignStrokes_OutputMessage" />
716
    </wsdl:operation>
697 717
    <wsdl:operation name="GetProjectName">
698 718
      <wsdl:input wsaw:Action="urn:ServiceDeepView/GetProjectName" message="ServiceDeepView_GetProjectName_InputMessage" />
699 719
      <wsdl:output wsaw:Action="urn:ServiceDeepView/GetProjectNameResponse" message="ServiceDeepView_GetProjectName_OutputMessage" />
KCOM/Connected Services/ServiceDeepView/ServiceDeepView23.wsdl
499 499
        <soap:body use="literal" />
500 500
      </wsdl:output>
501 501
    </wsdl:operation>
502
    <wsdl:operation name="GetSignStrokes">
503
      <soap:operation soapAction="urn:ServiceDeepView/GetSignStrokes" style="document" />
504
      <wsdl:input>
505
        <soap:body use="literal" />
506
      </wsdl:input>
507
      <wsdl:output>
508
        <soap:body use="literal" />
509
      </wsdl:output>
510
    </wsdl:operation>
502 511
    <wsdl:operation name="SetSignData">
503 512
      <soap:operation soapAction="urn:ServiceDeepView/SetSignData" style="document" />
504 513
      <wsdl:input>
......
508 517
        <soap:body use="literal" />
509 518
      </wsdl:output>
510 519
    </wsdl:operation>
520
    <wsdl:operation name="SetSignStrokes">
521
      <soap:operation soapAction="urn:ServiceDeepView/SetSignStrokes" style="document" />
522
      <wsdl:input>
523
        <soap:body use="literal" />
524
      </wsdl:input>
525
      <wsdl:output>
526
        <soap:body use="literal" />
527
      </wsdl:output>
528
    </wsdl:operation>
511 529
    <wsdl:operation name="GetProjectName">
512 530
      <soap:operation soapAction="urn:ServiceDeepView/GetProjectName" style="document" />
513 531
      <wsdl:input>
KCOM/Connected Services/ServiceDeepView/ServiceDeepView910.xsd
127 127
          <xs:element minOccurs="0" name="DATA" nillable="true" type="xs:string" />
128 128
          <xs:element minOccurs="0" name="DATA_TYPE" type="xs:int" />
129 129
          <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string" />
130
          <xs:element minOccurs="0" name="InsertTime" nillable="true" type="xs:dateTime" />
130 131
          <xs:element minOccurs="0" name="MARKUPINFO_VERSION_ID" nillable="true" type="xs:string" />
131 132
          <xs:element minOccurs="0" name="MARKUP_INFO_VERSION" nillable="true" type="tns:MARKUP_INFO_VERSION" />
132 133
          <xs:element minOccurs="0" name="MARKUP_INFO_VERSIONReference" nillable="true" type="q6:EntityReferenceOfMARKUP_INFO_VERSIONitJtO6kG" />
133 134
          <xs:element minOccurs="0" name="PAGENUMBER" type="xs:int" />
135
          <xs:element minOccurs="0" name="REMARK" nillable="true" type="xs:string" />
134 136
          <xs:element minOccurs="0" name="SYMBOL_ID" nillable="true" type="xs:string" />
135 137
        </xs:sequence>
136 138
      </xs:extension>
......
141 143
    <xs:complexContent mixed="false">
142 144
      <xs:extension xmlns:q7="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q7:EntityObject">
143 145
        <xs:sequence>
146
          <xs:element minOccurs="0" name="CreateDate" nillable="true" type="xs:dateTime" />
144 147
          <xs:element minOccurs="0" name="DOCUMENT_ID" nillable="true" type="xs:string" />
145 148
          <xs:element minOccurs="0" name="DOCUMENT_NAME" nillable="true" type="xs:string" />
146 149
          <xs:element minOccurs="0" name="DOCUMENT_NO" nillable="true" type="xs:string" />
147 150
          <xs:element minOccurs="0" name="GROUP_NO" nillable="true" type="xs:string" />
148 151
          <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string" />
152
          <xs:element minOccurs="0" name="Link" nillable="true" type="xs:string" />
149 153
          <xs:element minOccurs="0" name="ORIGINAL_FILE" nillable="true" type="xs:string" />
150 154
          <xs:element minOccurs="0" name="PROJECT_NO" nillable="true" type="xs:string" />
151 155
          <xs:element minOccurs="0" name="RESULT" nillable="true" type="xs:string" />
......
170 174
          <xs:element minOccurs="0" name="NAME" nillable="true" type="xs:string" />
171 175
          <xs:element minOccurs="0" name="PASSWORD" nillable="true" type="xs:string" />
172 176
          <xs:element minOccurs="0" name="POSITION" nillable="true" type="xs:string" />
173
          <xs:element minOccurs="0" name="PROJECT_NO" nillable="true" type="xs:string" />
174 177
          <xs:element minOccurs="0" name="SIGN_INFO" nillable="true" type="tns:ArrayOfSIGN_INFO" />
175 178
        </xs:sequence>
176 179
      </xs:extension>
......
194 197
          <xs:element minOccurs="0" name="MEMBER_USER_ID" nillable="true" type="xs:string" />
195 198
          <xs:element minOccurs="0" name="MODIFY_DATE" nillable="true" type="xs:dateTime" />
196 199
          <xs:element minOccurs="0" name="SIGN_STR" nillable="true" type="xs:string" />
200
          <xs:element minOccurs="0" name="SIGN_STROKES" nillable="true" type="xs:string" />
197 201
        </xs:sequence>
198 202
      </xs:extension>
199 203
    </xs:complexContent>
KCOM/Connected Services/ServiceDeepView/ServiceDeepView917.xsd
864 864
      </xs:sequence>
865 865
    </xs:complexType>
866 866
  </xs:element>
867
  <xs:element name="SetSignData">
867
  <xs:element name="GetSignStrokes">
868 868
    <xs:complexType>
869 869
      <xs:sequence>
870 870
        <xs:element minOccurs="0" name="project_no" nillable="true" type="xs:string" />
871 871
        <xs:element minOccurs="0" name="user_id" nillable="true" type="xs:string" />
872
      </xs:sequence>
873
    </xs:complexType>
874
  </xs:element>
875
  <xs:element name="GetSignStrokesResponse">
876
    <xs:complexType>
877
      <xs:sequence>
878
        <xs:element minOccurs="0" name="GetSignStrokesResult" nillable="true" type="xs:string" />
879
      </xs:sequence>
880
    </xs:complexType>
881
  </xs:element>
882
  <xs:element name="SetSignData">
883
    <xs:complexType>
884
      <xs:sequence>
885
        <xs:element minOccurs="0" name="user_id" nillable="true" type="xs:string" />
872 886
        <xs:element minOccurs="0" name="SignStr" nillable="true" type="xs:string" />
887
        <xs:element minOccurs="0" name="CropX" type="xs:int" />
888
        <xs:element minOccurs="0" name="CropY" type="xs:int" />
889
        <xs:element minOccurs="0" name="CropWidth" type="xs:int" />
890
        <xs:element minOccurs="0" name="CropHeight" type="xs:int" />
873 891
      </xs:sequence>
874 892
    </xs:complexType>
875 893
  </xs:element>
......
880 898
      </xs:sequence>
881 899
    </xs:complexType>
882 900
  </xs:element>
901
  <xs:element name="SetSignStrokes">
902
    <xs:complexType>
903
      <xs:sequence>
904
        <xs:element minOccurs="0" name="user_id" nillable="true" type="xs:string" />
905
        <xs:element minOccurs="0" name="strokesData" nillable="true" type="xs:string" />
906
      </xs:sequence>
907
    </xs:complexType>
908
  </xs:element>
909
  <xs:element name="SetSignStrokesResponse">
910
    <xs:complexType>
911
      <xs:sequence>
912
        <xs:element minOccurs="0" name="SetSignStrokesResult" type="xs:int" />
913
      </xs:sequence>
914
    </xs:complexType>
915
  </xs:element>
883 916
  <xs:element name="GetProjectName">
884 917
    <xs:complexType>
885 918
      <xs:sequence>
KCOM/Controls/SignManager.xaml
5 5
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6 6
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
7 7
        xmlns:local="clr-namespace:KCOM.Controls" Background="White"
8
        mc:Ignorable="d" Height="450" Width="1000">
8
        mc:Ignorable="d" Height="350" Width="1000">
9 9
    <UserControl.Resources>
10 10
        <FontFamily x:Key="MayQueen">pack://application:,,,/Resources/#May Queen</FontFamily>
11 11
    </UserControl.Resources>
......
21 21
                <ColumnDefinition Width="Auto"/>
22 22
                <ColumnDefinition Width="Auto"/>
23 23
            </Grid.ColumnDefinitions>
24
            <StackPanel Orientation="Horizontal">
24
            <StackPanel Orientation="Horizontal" Visibility="Collapsed">
25 25
                <TextBlock Text="Input Signature as Text : " FontSize="14"/>
26 26
                <telerik:RadWatermarkTextBox x:Name="txtInput" WatermarkContent="Input Text" Width="150"/>
27
        </StackPanel>
27
            </StackPanel>
28 28
            <telerik:RadButton Margin="10,0,10,0" Grid.Column="2" Click="Reset_Click" telerik:StyleManager.Theme="Office2016">
29 29
                <StackPanel Orientation="Horizontal">
30 30
                    <Image Source="/KCOM;component/Resources/Images/MenuImage_new/Rotate_Minus.png" Width="16" Height="16"/>
......
45 45
            </Grid.RowDefinitions>
46 46
            <TextBlock Text="Draws a signature." IsHitTestVisible="False" Grid.RowSpan="2" VerticalAlignment="Center" HorizontalAlignment="Center" FontStyle="Italic" FontSize="50" FontWeight="Bold" Foreground="#FFB2B2B2"/>
47 47
            <TextBlock Text="{Binding Text, ElementName=txtInput, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" x:Name="txtSignStr" IsHitTestVisible="False" Grid.RowSpan="2" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="150" Foreground="Black" FontFamily="/KCOM;component/Resources/#May Queen"/>
48
            <InkCanvas Grid.RowSpan="2" x:Name="SignCanvas" Background="Transparent" SourceUpdated="SignCanvas_SourceUpdated" StrokeCollected="SignCanvas_StrokeCollected"/>
48
            <Canvas x:Name="editCanvas" Background="Transparent"   Margin="5,5" Height="220" ClipToBounds="True">
49
                <InkCanvas Grid.RowSpan="2" x:Name="SignCanvas" Height="220" VerticalAlignment="Stretch"  Background="Transparent" SourceUpdated="SignCanvas_SourceUpdated" StrokeCollected="SignCanvas_StrokeCollected" Width="{Binding ActualWidth, ElementName=editCanvas, Mode=OneWay}">
50
                    <InkCanvas.DefaultDrawingAttributes>
51
                        <DrawingAttributes Color="Black" Width="10" Height="10"/>
52
                    </InkCanvas.DefaultDrawingAttributes>
53
                </InkCanvas>
54
            </Canvas>
49 55
            <Rectangle Margin="10,10" Height="200" Stroke="#FF767676"/>
56
            <!--<Border Margin="10,10"  Width="200" Height="100" BorderThickness="1" BorderBrush="#FF767676"  VerticalAlignment="Top" HorizontalAlignment="Right">
57
                <Image x:Name="preview" Stretch="Fill"/>
58
            </Border>-->
50 59
        </Grid>
51 60
    </Grid>
52 61
</UserControl>
KCOM/Controls/SignManager.xaml.cs
1 1
using KCOM.Common;
2 2
using System;
3 3
using System.Collections.Generic;
4
using System.IO;
4 5
using System.Linq;
6
using System.Runtime.Serialization.Formatters.Binary;
5 7
using System.Text;
6 8
using System.Threading.Tasks;
7 9
using System.Windows;
8 10
using System.Windows.Controls;
9 11
using System.Windows.Data;
10 12
using System.Windows.Documents;
13
using System.Windows.Ink;
11 14
using System.Windows.Input;
12 15
using System.Windows.Media;
13 16
using System.Windows.Media.Imaging;
......
24 27
        public SignManager()
25 28
        {
26 29
            InitializeComponent();
30

  
31
            this.Loaded += SignManager_Loaded;
32
        }
33

  
34
        private async void SignManager_Loaded(object sender, RoutedEventArgs e)
35
        {
36
            var strokeData = await ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseTaskClient.GetSignStrokesAsync(App.ViewInfo.ProjectNO, App.ViewInfo.UserID);
37

  
38
            if(strokeData != null)
39
            {
40
                StringToStroke(strokeData);
41
            }
27 42
        }
28 43

  
29 44
        private void Reset_Click(object sender, RoutedEventArgs e)
......
36 51

  
37 52
        private async void Save_Click(object sender, RoutedEventArgs e)
38 53
        {
39
            var items = await ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseTaskClient.SetSignDataAsync(
40
                         App.UserID,"");
54
            //if (KCOM.VistaSecurity.IsAdmin())
55
            //{
56

  
57
            if (SignCanvas.Strokes.Count > 0)
58
            {
59

  
60
                var signImage = Convert.ToBase64String(SignatureToBitmapBytes());
61

  
62
                var pointes = SignCanvas.Strokes.Select(x => x.GetBounds());
63

  
64
                var _startX = pointes.Min(x => x.X);
65
                var _startY = pointes.Min(x => x.Y);
66

  
67
                var _actualWidth = pointes.Max(x => x.Right);
68
                var _actualHeight = pointes.Max(x => x.Bottom);
69

  
70
                var result = await ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseTaskClient.SetSignDataAsync(
71
                             App.ViewInfo.UserID, signImage, (int)_startX, (int)_startY, (int)_actualWidth, (int)_actualHeight);
72

  
73
                if (result > 0)
74
                {
75
                    var strokesData = Convert.ToBase64String(StrokesToString());
76

  
77
                    var result2 = await ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseTaskClient.SetSignStrokesAsync(
78
                                 App.ViewInfo.UserID,strokesData);
79

  
80
                    if (result2 > 0)
81
                    {
82
                        RadWindow.Alert(new DialogParameters()
83
                        {
84
                            Content = "Save Signature Completed."
85
                        });
86
                    }
87
                    //var signData = await ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseTaskClient.GetSignDataAsync(App.ViewInfo.ProjectNO, App.ViewInfo.UserID);
88

  
89
                    //SetPreview(signData);
90
                }
91
            };
92
            //}
93
            //else
94
            //{
95
            //    MessageBox.Show("어드민 권한 필요");
96
            //}
97
        }
98

  
99
        private void SetPreview(string imgStr)
100
        {
101
            byte[] imageBytes = System.Convert.FromBase64String(imgStr);
102

  
103
            BitmapImage returnImage = new BitmapImage();
104

  
105
            using (System.IO.MemoryStream stream = new System.IO.MemoryStream())
106
            {
107
                stream.WriteAsync(imageBytes, 0, imageBytes.Length);
108

  
109
                stream.Position = 0;
110
                System.Drawing.Image img = System.Drawing.Image.FromStream(stream);
111
                returnImage.BeginInit();
112
                System.IO.MemoryStream ms = new System.IO.MemoryStream();
113
                img.Save(ms, System.Drawing.Imaging.ImageFormat.Png);
114
                ms.Seek(0, System.IO.SeekOrigin.Begin);
115
                returnImage.StreamSource = ms;
116
                returnImage.EndInit();
117
                stream.Close();
118
            }
119
        }
120

  
121
        private byte[] SignatureToBitmapBytes()
122
        {
123
            RenderTargetBitmap rtb = new RenderTargetBitmap((int)SignCanvas.ActualWidth, (int)SignCanvas.ActualHeight, 96d, 96d, PixelFormats.Default);
124
            rtb.Render(SignCanvas);
125

  
126
            MemoryStream ms = new MemoryStream();
127
            System.Windows.Media.Imaging.PngBitmapEncoder encoder = new PngBitmapEncoder();
128
            BitmapFrame frame = BitmapFrame.Create(rtb);
129
            encoder.Frames.Add(frame);
130
            encoder.Save(ms);
131

  
132
            ms.Position = 0;
133

  
134
            byte[] bytes = new byte[ms.Length];
135
            ms.Read(bytes, 0, bytes.Length);
136

  
137
            return bytes;
138
        }
139

  
140
        private byte[] StrokesToString()
141
        {
142
            byte[] bytes = null;
143

  
144
            CustomStrokes customStrokes = new CustomStrokes();
145

  
146
            customStrokes.StrokeCollection = new Point[SignCanvas.Strokes.Count][];
147

  
148
            for (int i = 0; i < SignCanvas.Strokes.Count; i++)
149
            {
150
                customStrokes.StrokeCollection[i] = new Point[SignCanvas.Strokes[i].StylusPoints.Count];
151

  
152
                for (int j = 0; j < SignCanvas.Strokes[i].StylusPoints.Count; j++)
153
                {
154
                    customStrokes.StrokeCollection[i][j] = new Point();
155
                    customStrokes.StrokeCollection[i][j].X = SignCanvas.Strokes[i].StylusPoints[j].X;
156
                    customStrokes.StrokeCollection[i][j].Y = SignCanvas.Strokes[i].StylusPoints[j].Y;
157
                }
158
            }
159

  
160
            //Serialize
161
            using (MemoryStream ms = new MemoryStream())
162
            {
163
                BinaryFormatter bf = new BinaryFormatter();
164
                bf.Serialize(ms, customStrokes);
165

  
166
                ms.Position = 0;
167

  
168
                bytes = new byte[ms.Length];
169
                ms.Read(bytes, 0, bytes.Length);
170
            }
171

  
172
            return bytes;
173
        }
174

  
175
        private void StringToStroke(string strokesData)
176
        {
177
            try
178
            {
179
                
180
                //deserialize it
181
                BinaryFormatter bf = new BinaryFormatter();
182
                MemoryStream ms = new MemoryStream(Convert.FromBase64String(strokesData));
183

  
184
                CustomStrokes customStrokes = (CustomStrokes)bf.Deserialize(ms);
185

  
186
                //rebuilt it
187
                for (int i = 0; i < customStrokes.StrokeCollection.Length; i++)
188
                {
189
                    if (customStrokes.StrokeCollection[i] != null)
190
                    {
191
                        StylusPointCollection stylusCollection = new StylusPointCollection(customStrokes.StrokeCollection[i]);
192

  
193
                        Stroke stroke = new Stroke(stylusCollection);
194
                        StrokeCollection strokes = new StrokeCollection();
195
                        strokes.Add(stroke);
196

  
197
                        SignCanvas.Strokes.Add(strokes);
198
                    }
199
                }
200
            }
201
            catch (Exception ex)
202
            {
203
            }
41 204
        }
42 205

  
43 206
        private string GetSignData()
......
81 244
            }
82 245
        }
83 246
    }
247

  
248
    [Serializable]
249
    public sealed class CustomStrokes
250
    {
251
        public CustomStrokes() { }
252

  
253
        /// <summary>
254
        /// The first index is the stroke no.
255
        /// The second index is for the keep the 2D point.
256
        /// </summary>
257
        public Point[][] StrokeCollection;
258
    }
84 259
}
KCOM/Events/Implementation/TopMenuEvent.cs
1465 1465
        {
1466 1466
            SignManager signManager = new SignManager();
1467 1467

  
1468
            CheckPop = new RadWindow
1468
            RadWindow signManagerPop = new RadWindow
1469 1469
            {
1470 1470
                MinWidth = 1200,
1471 1471
                MinHeight = 500,
......
1476 1476
                //ResizeMode = System.Windows.ResizeMode.CanResizeWithGrip,
1477 1477
                ResizeMode = System.Windows.ResizeMode.CanResize,
1478 1478
                WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen,
1479
                IsTopmost = true,
1480 1479
            };
1481
            StyleManager.SetTheme(CheckPop, new Office2013Theme());
1482
            CheckPop.Closed += CheckPop_Closed;
1480
            StyleManager.SetTheme(signManagerPop, new Office2013Theme());
1483 1481

  
1484 1482
            //CheckPop.ShowDialog();
1485
            CheckPop.Show();
1483
            signManagerPop.ShowDialog();
1486 1484
        }
1487 1485

  
1488 1486
        private void OptionPop_Closed(object sender, WindowClosedEventArgs e)
KCOM/KCOM.csproj
597 597
    <Compile Include="Views\SplashScreenWindow.xaml.cs">
598 598
      <DependentUpon>SplashScreenWindow.xaml</DependentUpon>
599 599
    </Compile>
600
    <Compile Include="VistaSecurity.cs" />
600 601
    <Compile Include="Web References\Get_FinalImage\Reference.cs">
601 602
      <AutoGen>True</AutoGen>
602 603
      <DesignTime>True</DesignTime>
KCOM/Properties/app.manifest
16 16
            이전 버전과의 호환성을 위해 응용 프로그램에 가상화가 필요한 경우
17 17
            이 요소를 제거합니다.
18 18
-->
19
		  <!--<requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />-->
19 20
		  <requestedExecutionLevel  level="asInvoker" uiAccess="false" />
20 21
      </requestedPrivileges>
21 22
      <applicationRequestMinimum>
KCOM/Views/MainMenu.xaml.cs
4243 4243
                                    this.ParentOfType<MainWindow>().ChildrenOfType<RadToggleButton>().Where(data => data.IsChecked == true).FirstOrDefault().IsChecked = false;
4244 4244
                                    return;
4245 4245
                                }
4246
                                else
4247
                                {
4248
                                    if ( Application.Current.Resources.Keys.OfType<string>().Count(x => x == "UserSign") == 0)
4249
                                    {
4250
                                        Application.Current.Resources.Add("UserSign", _sign);
4251
                                    }
4252
                                    else
4253
                                    {
4254
                                        Application.Current.Resources["UserSign"] = _sign;
4255
                                    }
4256
                                }
4246 4257

  
4247 4258
                                if (currentControl is SignControl)
4248 4259
                                {
KCOM/VistaSecurity.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Text;
4
using System.Runtime.InteropServices;
5
using System.Diagnostics;
6
using System.Windows.Forms;
7
using System.Security.Principal;
8

  
9
namespace KCOM
10
{
11
    public static class VistaSecurity
12
    {
13
        [DllImport("user32")]
14
        public static extern UInt32 SendMessage(IntPtr hWnd, UInt32 msg, UInt32 wParam, UInt32 lParam);
15

  
16
        internal const int BCM_FIRST = 0x1600;
17
        internal const int BCM_SETSHIELD = (BCM_FIRST + 0x000C);
18

  
19
        static internal bool IsVistaOrHigher()
20
        {
21
            return Environment.OSVersion.Version.Major < 6;
22
        }
23

  
24
        /// <summary>
25
        /// Checks if the process is elevated
26
        /// </summary>
27
        /// <returns>If is elevated</returns>
28
        static internal bool IsAdmin()
29
        {
30
            WindowsIdentity id = WindowsIdentity.GetCurrent();
31
            WindowsPrincipal p = new WindowsPrincipal(id);
32
            return p.IsInRole(WindowsBuiltInRole.Administrator);
33
        }
34

  
35
        /// <summary>
36
        /// Add a shield icon to a button
37
        /// </summary>
38
        /// <param name="b">The button</param>
39
        static internal void AddShieldToButton(Button b)
40
        {
41
            b.FlatStyle = FlatStyle.System;
42
            SendMessage(b.Handle, BCM_SETSHIELD, 0, 0xFFFFFFFF);
43
        }
44

  
45
        /// <summary>
46
        /// Restart the current process with administrator credentials
47
        /// </summary>
48
        internal static void RestartElevated()
49
        {
50
            ProcessStartInfo startInfo = new ProcessStartInfo();
51
            startInfo.UseShellExecute = true;
52
            startInfo.WorkingDirectory = Environment.CurrentDirectory;
53
            startInfo.FileName = Application.ExecutablePath;
54
            startInfo.Verb = "runas";
55
            try
56
            {
57
                Process p = Process.Start(startInfo);
58
            }
59
            catch(System.ComponentModel.Win32Exception ex)
60
            {
61
                return; //If cancelled, do nothing
62
            }
63

  
64
            Application.Exit();
65
        }
66
    }
67
}
KCOMDataModel/DataModel/CIModel.Designer.cs
24 24
[assembly: EdmRelationshipAttribute("CIModel", "FK_MARKUPINFO_VERSIONMARKUPDATA", "MARKUP_INFO_VERSION", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(KCOMDataModel.DataModel.MARKUP_INFO_VERSION), "MARKUP_DATA", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(KCOMDataModel.DataModel.MARKUP_DATA), true)]
25 25
[assembly: EdmRelationshipAttribute("CIModel", "FK_MARKUPINFOMARKUPINFO_VERSION", "MARKUP_INFO", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(KCOMDataModel.DataModel.MARKUP_INFO), "MARKUP_INFO_VERSION", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(KCOMDataModel.DataModel.MARKUP_INFO_VERSION), true)]
26 26
[assembly: EdmRelationshipAttribute("CIModel", "FK_SIGNINFO_MEMBER", "MEMBER", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(KCOMDataModel.DataModel.MEMBER), "SIGN_INFO", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(KCOMDataModel.DataModel.SIGN_INFO), true)]
27
[assembly: EdmRelationshipAttribute("CIModel", "FK_MEMBER_DEPT_COLORINFO_MEMBER_DEPT_COLOR", "MEMBER_DEPT_COLOR", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(KCOMDataModel.DataModel.MEMBER_DEPT_COLOR), "MEMBER_DEPT_COLORINFO", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(KCOMDataModel.DataModel.MEMBER_DEPT_COLORINFO), true)]
28 27

  
29 28
#endregion
30 29

  
......
267 266
            }
268 267
        }
269 268
        private ObjectSet<CHECK_LIST_HISTORY> _CHECK_LIST_HISTORY;
270
    
271
        /// <summary>
272
        /// 사용 가능한 메타데이터 설명서가 없습니다.
273
        /// </summary>
274
        public ObjectSet<MEMBER_DEPT_COLOR> MEMBER_DEPT_COLOR
275
        {
276
            get
277
            {
278
                if ((_MEMBER_DEPT_COLOR == null))
279
                {
280
                    _MEMBER_DEPT_COLOR = base.CreateObjectSet<MEMBER_DEPT_COLOR>("MEMBER_DEPT_COLOR");
281
                }
282
                return _MEMBER_DEPT_COLOR;
283
            }
284
        }
285
        private ObjectSet<MEMBER_DEPT_COLOR> _MEMBER_DEPT_COLOR;
286
    
287
        /// <summary>
288
        /// 사용 가능한 메타데이터 설명서가 없습니다.
289
        /// </summary>
290
        public ObjectSet<MEMBER_DEPT_COLORINFO> MEMBER_DEPT_COLORINFO
291
        {
292
            get
293
            {
294
                if ((_MEMBER_DEPT_COLORINFO == null))
295
                {
296
                    _MEMBER_DEPT_COLORINFO = base.CreateObjectSet<MEMBER_DEPT_COLORINFO>("MEMBER_DEPT_COLORINFO");
297
                }
298
                return _MEMBER_DEPT_COLORINFO;
299
            }
300
        }
301
        private ObjectSet<MEMBER_DEPT_COLORINFO> _MEMBER_DEPT_COLORINFO;
302 269

  
303 270
        #endregion
304 271

  
......
399 366
        {
400 367
            base.AddObject("CHECK_LIST_HISTORY", cHECK_LIST_HISTORY);
401 368
        }
402
    
403
        /// <summary>
404
        /// MEMBER_DEPT_COLOR EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
405
        /// </summary>
406
        public void AddToMEMBER_DEPT_COLOR(MEMBER_DEPT_COLOR mEMBER_DEPT_COLOR)
407
        {
408
            base.AddObject("MEMBER_DEPT_COLOR", mEMBER_DEPT_COLOR);
409
        }
410
    
411
        /// <summary>
412
        /// MEMBER_DEPT_COLORINFO EntitySet에 새 개체를 추가하는 데 사용되지 않는 메서드입니다. 연결된 ObjectSet&lt;T&gt; 속성의 .Add 메서드를 대신 사용하십시오.
413
        /// </summary>
414
        public void AddToMEMBER_DEPT_COLORINFO(MEMBER_DEPT_COLORINFO mEMBER_DEPT_COLORINFO)
415
        {
416
            base.AddObject("MEMBER_DEPT_COLORINFO", mEMBER_DEPT_COLORINFO);
417
        }
418 369

  
419 370
        #endregion
420 371

  
......
2073 2024
        private global::System.String _PROJECT_NO;
2074 2025
        partial void OnPROJECT_NOChanging(global::System.String value);
2075 2026
        partial void OnPROJECT_NOChanged();
2027
    
2028
        /// <summary>
2029
        /// 사용 가능한 메타데이터 설명서가 없습니다.
2030
        /// </summary>
2031
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
2032
        [DataMemberAttribute()]
2033
        public global::System.String Link
2034
        {
2035
            get
2036
            {
2037
                return _Link;
2038
            }
2039
            set
2040
            {
2041
                OnLinkChanging(value);
2042
                ReportPropertyChanging("Link");
2043
                _Link = StructuralObject.SetValidValue(value, true);
2044
                ReportPropertyChanged("Link");
2045
                OnLinkChanged();
2046
            }
2047
        }
2048
        private global::System.String _Link;
2049
        partial void OnLinkChanging(global::System.String value);
2050
        partial void OnLinkChanged();
2051
    
2052
        /// <summary>
2053
        /// 사용 가능한 메타데이터 설명서가 없습니다.
2054
        /// </summary>
2055
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
2056
        [DataMemberAttribute()]
2057
        public Nullable<global::System.DateTime> CreateDate
2058
        {
2059
            get
2060
            {
2061
                return _CreateDate;
2062
            }
2063
            set
2064
            {
2065
                OnCreateDateChanging(value);
2066
                ReportPropertyChanging("CreateDate");
2067
                _CreateDate = StructuralObject.SetValidValue(value);
2068
                ReportPropertyChanged("CreateDate");
2069
                OnCreateDateChanged();
2070
            }
2071
        }
2072
        private Nullable<global::System.DateTime> _CreateDate;
2073
        partial void OnCreateDateChanging(Nullable<global::System.DateTime> value);
2074
        partial void OnCreateDateChanged();
2076 2075

  
2077 2076
        #endregion
2078 2077

  
......
2459 2458
        private global::System.String _SYMBOL_ID;
2460 2459
        partial void OnSYMBOL_IDChanging(global::System.String value);
2461 2460
        partial void OnSYMBOL_IDChanged();
2461
    
2462
        /// <summary>
2463
        /// 사용 가능한 메타데이터 설명서가 없습니다.
2464
        /// </summary>
2465
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
2466
        [DataMemberAttribute()]
2467
        public global::System.String REMARK
2468
        {
2469
            get
2470
            {
2471
                return _REMARK;
2472
            }
2473
            set
2474
            {
2475
                OnREMARKChanging(value);
2476
                ReportPropertyChanging("REMARK");
2477
                _REMARK = StructuralObject.SetValidValue(value, true);
2478
                ReportPropertyChanged("REMARK");
2479
                OnREMARKChanged();
2480
            }
2481
        }
2482
        private global::System.String _REMARK;
2483
        partial void OnREMARKChanging(global::System.String value);
2484
        partial void OnREMARKChanged();
2485
    
2486
        /// <summary>
2487
        /// 사용 가능한 메타데이터 설명서가 없습니다.
2488
        /// </summary>
2489
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
2490
        [DataMemberAttribute()]
2491
        public Nullable<global::System.DateTime> InsertTime
2492
        {
2493
            get
2494
            {
2495
                return _InsertTime;
2496
            }
2497
            set
2498
            {
2499
                OnInsertTimeChanging(value);
2500
                ReportPropertyChanging("InsertTime");
2501
                _InsertTime = StructuralObject.SetValidValue(value);
2502
                ReportPropertyChanged("InsertTime");
2503
                OnInsertTimeChanged();
2504
            }
2505
        }
2506
        private Nullable<global::System.DateTime> _InsertTime;
2507
        partial void OnInsertTimeChanging(Nullable<global::System.DateTime> value);
2508
        partial void OnInsertTimeChanged();
2462 2509

  
2463 2510
        #endregion
2464 2511

  
......
3274 3321
        private Nullable<global::System.Int32> _ISLICENSE;
3275 3322
        partial void OnISLICENSEChanging(Nullable<global::System.Int32> value);
3276 3323
        partial void OnISLICENSEChanged();
3277
    
3278
        /// <summary>
3279
        /// 사용 가능한 메타데이터 설명서가 없습니다.
3280
        /// </summary>
3281
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
3282
        [DataMemberAttribute()]
3283
        public global::System.String PROJECT_NO
3284
        {
3285
            get
3286
            {
3287
                return _PROJECT_NO;
3288
            }
3289
            set
3290
            {
3291
                OnPROJECT_NOChanging(value);
3292
                ReportPropertyChanging("PROJECT_NO");
3293
                _PROJECT_NO = StructuralObject.SetValidValue(value, true);
3294
                ReportPropertyChanged("PROJECT_NO");
3295
                OnPROJECT_NOChanged();
3296
            }
3297
        }
3298
        private global::System.String _PROJECT_NO;
3299
        partial void OnPROJECT_NOChanging(global::System.String value);
3300
        partial void OnPROJECT_NOChanged();
3301 3324

  
3302 3325
        #endregion
3303 3326

  
......
3333 3356
    /// <summary>
3334 3357
    /// 사용 가능한 메타데이터 설명서가 없습니다.
3335 3358
    /// </summary>
3336
    [EdmEntityTypeAttribute(NamespaceName="CIModel", Name="MEMBER_DEPT_COLOR")]
3337
    [Serializable()]
3338
    [DataContractAttribute(IsReference=true)]
3339
    public partial class MEMBER_DEPT_COLOR : EntityObject
3340
    {
3341
        #region 팩터리 메서드
3342
    
3343
        /// <summary>
3344
        /// 새 MEMBER_DEPT_COLOR 개체를 만듭니다.
3345
        /// </summary>
3346
        /// <param name="cOLORID">COLORID 속성의 초기 값입니다.</param>
3347
        /// <param name="dISPLAYCOLOR">DISPLAYCOLOR 속성의 초기 값입니다.</param>
3348
        public static MEMBER_DEPT_COLOR CreateMEMBER_DEPT_COLOR(global::System.Int32 cOLORID, global::System.String dISPLAYCOLOR)
3349
        {
3350
            MEMBER_DEPT_COLOR mEMBER_DEPT_COLOR = new MEMBER_DEPT_COLOR();
3351
            mEMBER_DEPT_COLOR.COLORID = cOLORID;
3352
            mEMBER_DEPT_COLOR.DISPLAYCOLOR = dISPLAYCOLOR;
3353
            return mEMBER_DEPT_COLOR;
3354
        }
3355

  
3356
        #endregion
3357

  
3358
        #region 기본 속성
3359
    
3360
        /// <summary>
3361
        /// 사용 가능한 메타데이터 설명서가 없습니다.
3362
        /// </summary>
3363
        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
3364
        [DataMemberAttribute()]
3365
        public global::System.Int32 COLORID
3366
        {
3367
            get
3368
            {
3369
                return _COLORID;
3370
            }
3371
            set
3372
            {
3373
                if (_COLORID != value)
3374
                {
3375
                    OnCOLORIDChanging(value);
3376
                    ReportPropertyChanging("COLORID");
3377
                    _COLORID = StructuralObject.SetValidValue(value);
3378
                    ReportPropertyChanged("COLORID");
3379
                    OnCOLORIDChanged();
3380
                }
3381
            }
3382
        }
3383
        private global::System.Int32 _COLORID;
3384
        partial void OnCOLORIDChanging(global::System.Int32 value);
3385
        partial void OnCOLORIDChanged();
3386
    
3387
        /// <summary>
3388
        /// 사용 가능한 메타데이터 설명서가 없습니다.
3389
        /// </summary>
3390
        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
3391
        [DataMemberAttribute()]
3392
        public global::System.String DEPARTMENT
3393
        {
3394
            get
3395
            {
3396
                return _DEPARTMENT;
3397
            }
3398
            set
3399
            {
3400
                OnDEPARTMENTChanging(value);
3401
                ReportPropertyChanging("DEPARTMENT");
3402
                _DEPARTMENT = StructuralObject.SetValidValue(value, true);
3403
                ReportPropertyChanged("DEPARTMENT");
3404
                OnDEPARTMENTChanged();
3405
            }
3406
        }
3407
        private global::System.String _DEPARTMENT;
3408
        partial void OnDEPARTMENTChanging(global::System.String value);
3409
        partial void OnDEPARTMENTChanged();
3410
    
3411
        /// <summary>
... 이 차이점은 표시할 수 있는 최대 줄수를 초과해서 이 차이점은 잘렸습니다.

내보내기 Unified diff

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