Esempio n. 1
0
        void _cpManager_RemovedCommuniPort(object sender, CommuniPortEventArgs e)
        {
            ICommuniPort cp = e.CommuniPort;

            StationCommuniPortBinder.Unbind(cp, GetHardware());
        }
Esempio n. 2
0
 void _cpManager_AddedCommuniPort(object sender, CommuniPortEventArgs e)
 {
     StationCommuniPortBinder.Bind(e.CommuniPort, this.GetHardware());
 }
Esempio n. 3
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void ProcessDetermined(ICommuniPort cp)
        {
            Hardware hd = this.GetHardware();

            StationCommuniPortBinder.Bind(cp, hd);
        }