示例#1
0
        void _cpManager_RemovedCommuniPort(object sender, CommuniPortEventArgs e)
        {
            ICommuniPort cp = e.CommuniPort;

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

            StationCommuniPortBinder.Bind(cp, hd);
        }