Beispiel #1
0
        private void CasePLC_OnCallForwardTelegramReceived(object sender, CallForwardEventArgs e)
        {
            if (e._location == Pos1Name && theLift.Upper1Barcode != null && theLift.Upper1Barcode == e._barcode)
            {
                theLift.SendAwayPosition1();
            }

            if (e._location == Pos2Name && theLift.Upper2Barcode != null && theLift.Upper2Barcode == e._barcode)
            {
                theLift.SendAwayPosition2();
            }
        }
Beispiel #2
0
 protected virtual void CallForwardTelegramReceived(CallForwardEventArgs e)
 {
     OnCallForwardTelegramReceived?.Invoke(this, e);
 }