private OnPortRegistration ( uint portId, int register, |
||
portId | uint | |
register | int | |
args | ||
return | void |
void OnPortRegistration(uint portId, int register, IntPtr args)
{
if (PortChanged != null) {
PortReference port = MapPort (portId);
PortChanged (this,
new PortRegistrationEventArgs (port, register > 0 ? ChangeType.New : ChangeType.Deleted));
}
}