示例#1
0
        private System.IAsyncResult OnBeginClockIn(object[] inValues, System.AsyncCallback callback, object asyncState)
        {
            string employeePinCode = ((string)(inValues[0]));

            IManage.Core.IManageClockService.ClockInOut clockInOut = ((IManage.Core.IManageClockService.ClockInOut)(inValues[1]));
            return(((IManage.Core.IManageClockService.IClockService)(this)).BeginClockIn(employeePinCode, clockInOut, callback, asyncState));
        }
示例#2
0
 public System.IAsyncResult BeginClockIn(string employeePinCode, IManage.Core.IManageClockService.ClockInOut clockInOut, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[2];
     _args[0] = employeePinCode;
     _args[1] = clockInOut;
     System.IAsyncResult _result = base.BeginInvoke("ClockIn", _args, callback, asyncState);
     return(_result);
 }
示例#3
0
 public void ClockInAsync(string employeePinCode, IManage.Core.IManageClockService.ClockInOut clockInOut, object userState)
 {
     if ((this.onBeginClockInDelegate == null))
     {
         this.onBeginClockInDelegate = new BeginOperationDelegate(this.OnBeginClockIn);
     }
     if ((this.onEndClockInDelegate == null))
     {
         this.onEndClockInDelegate = new EndOperationDelegate(this.OnEndClockIn);
     }
     if ((this.onClockInCompletedDelegate == null))
     {
         this.onClockInCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnClockInCompleted);
     }
     base.InvokeAsync(this.onBeginClockInDelegate, new object[] {
         employeePinCode,
         clockInOut
     }, this.onEndClockInDelegate, this.onClockInCompletedDelegate, userState);
 }
示例#4
0
 public void ClockInAsync(string employeePinCode, IManage.Core.IManageClockService.ClockInOut clockInOut)
 {
     this.ClockInAsync(employeePinCode, clockInOut, null);
 }
示例#5
0
 System.IAsyncResult IManage.Core.IManageClockService.IClockService.BeginClockIn(string employeePinCode, IManage.Core.IManageClockService.ClockInOut clockInOut, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginClockIn(employeePinCode, clockInOut, callback, asyncState));
 }