示例#1
0
 void _cpManager_AddedCommuniPort(object sender, CommuniPortEventArgs e)
 {
     StationCommuniPortBinder.Bind(e.CommuniPort, this.GetHardware());
 }
示例#2
0
 void _cpManager_ClosedCommuniPort(object sender, CommuniPortEventArgs e)
 {
     // do nothing
     //
 }
示例#3
0
        void _cpManager_ReceivedCommuniPort(object sender, CommuniPortEventArgs e)
        {
            ICommuniPort cp = e.CommuniPort;

            ProcessReceived(cp);
        }
示例#4
0
 void _cpManager_DeterminedCommuniPort(object sender, CommuniPortEventArgs e)
 {
     ProcessDetermined(e.CommuniPort);
 }
示例#5
0
        void _cpManager_RemovedCommuniPort(object sender, CommuniPortEventArgs e)
        {
            ICommuniPort cp = e.CommuniPort;

            StationCommuniPortBinder.Unbind(cp, GetHardware());
        }