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

            StationCommuniPortBinder.Bind(cp, hd);
        }