Normal
I seem to have a crude solution to test now.A channel will over-write existing if and only if its signal strength surpasses a threshold:[CODE=csharp] exists = true; dbChannel = null; if (RemoteControl.Instance.SignalLevel(_cardNumber) >= 40) { // add new strong channel dbChannel = layer.AddNewChannel(channel.Name, channel.LogicalChannelNumber); } else { dbChannel = currentDetail.ReferencedChannel(); }[/CODE]Just testing it now.
I seem to have a crude solution to test now.
A channel will over-write existing if and only if its signal strength surpasses a threshold:
[CODE=csharp]
exists = true;
dbChannel = null;
if (RemoteControl.Instance.SignalLevel(_cardNumber) >= 40)
{
// add new strong channel
dbChannel = layer.AddNewChannel(channel.Name, channel.LogicalChannelNumber);
} else
dbChannel = currentDetail.ReferencedChannel();
}
[/CODE]
Just testing it now.