Пример #1
0
        /// <summary>
        /// Watcher Signal Base
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Watcher_Signal(object sender, HardwareEvent hardwareEvent)
        {
            // Print Job Event
            PrintJobEvent printJobEvent = new PrintJobEvent {
                // Set Data
                Base = hardwareEvent.Base
            };

            // Signal Start
            OnSignal(sender, printJobEvent);
        }
Пример #2
0
 /// <summary>
 /// Print Job Event
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnSignal(object sender, PrintJobEvent printJobEvent)
 {
     // Signal Handler
     Signal?.Invoke(this, printJobEvent);
 }