Exemplo n.º 1
0
 public ClassBaseWorkZone(string ZoneName)
 {
     Name           = ZoneName;
     asyncReset     = DoReset;
     asyncMotorMove = ActionMotorMove;
     //GetProdParameter();
     CommonFunction.SysPublisher.subscribeMeToSystemEvents(this);
 }
Exemplo n.º 2
0
        private void MotorMoveAsyncReturn(IAsyncResult result)
        {
            AsyncActionMotorMove handler = (AsyncActionMotorMove)((AsyncResult)result).AsyncDelegate;
            ErrorInfoWithPause   res     = handler.EndInvoke(result);

            if (res != null)
            {
                ClassErrorHandle.ShowError(this.Name, res);
            }
        }