//JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET:
//ORIGINAL LINE: @Override public void statusUpdateOccurred(final jpos.events.StatusUpdateEvent e)
        public override void statusUpdateOccurred(StatusUpdateEvent e)
        {
            Activity.runOnUiThread(() =>
            {
                deviceMessagesTextView.append("SUE: " + getSUEMessage(e.Status) + "\n");
                scroll();
            });
        }
Beispiel #2
0
        public override void statusUpdateOccurred(StatusUpdateEvent e)
        {
            Fragment fragment = Fragment;

            if (fragment is POSPrinterFragment)
            {
                ((StatusUpdateListener)fragment).statusUpdateOccurred(e);
            }
        }
//JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET:
//ORIGINAL LINE: @Override public void statusUpdateOccurred(final jpos.events.StatusUpdateEvent e)
		public override void statusUpdateOccurred(StatusUpdateEvent e)
		{
			Activity.runOnUiThread(() =>
			{

				deviceMessagesTextView.append("SUE: " + getSUEMessage(e.Status) + "\n");
				scroll();
			});
		}
Beispiel #4
0
        public override void statusUpdateOccurred(StatusUpdateEvent e)
        {
            string text = "Status Update Event: ";

            switch (e.Status)
            {
            case CashDrawerConst.CASH_SUE_DRAWERCLOSED:
                text += "Drawer Closed\n";
                break;

            case CashDrawerConst.CASH_SUE_DRAWEROPEN:
                text += "Drawer Opened\n";
                break;

            default:
                text += "Unknown Status: " + e.Status + "\n";
                break;
            }
            deviceMessagesTextView.append(text);
        }
		public override void statusUpdateOccurred(StatusUpdateEvent e)
		{
			string text = "Status Update Event: ";
			switch (e.Status)
			{
			case CashDrawerConst.CASH_SUE_DRAWERCLOSED:
				text += "Drawer Closed\n";
				break;

			case CashDrawerConst.CASH_SUE_DRAWEROPEN:
				text += "Drawer Opened\n";
				break;

			default:
				text += "Unknown Status: " + e.Status + "\n";
				break;
			}
			deviceMessagesTextView.append(text);
		}
		public override void statusUpdateOccurred(StatusUpdateEvent e)
		{
			Fragment fragment = Fragment;
			if (fragment is POSPrinterFragment)
			{
				((StatusUpdateListener) fragment).statusUpdateOccurred(e);
			}
		}