개정판 74abcf6f
sign manager 추가
Change-Id: Ia511ce9bf05e3a238353a549118d3b29ab673aa0
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) { |
내보내기 Unified diff