| | |
| | | var bList = bindTargetsFromMutilfunctionPanelList[key]; |
| | | foreach (var bDev in bList) |
| | | { |
| | | if (curBindType == 0) |
| | | { |
| | | if (bDev.KeyEpoint >= 32 && bDev.KeyEpoint <= 51) |
| | | { |
| | | tempList.Add(bDev); |
| | | } |
| | | } |
| | | |
| | | var device = LocalDevice.Current.GetDevice(bDev.BindMacAddr, bDev.BindEpoint); |
| | | if (device == null) |
| | | { |
| | |
| | | } |
| | | switch (curBindType) |
| | | { |
| | | case 0: |
| | | if (bDev.KeyEpoint >= 32 && bDev.KeyEpoint <= 51) |
| | | { |
| | | tempList.Add(bDev); |
| | | } |
| | | break; |
| | | case 1: |
| | | if (bDev.KeyEpoint >= 52 && bDev.KeyEpoint <= 61) |
| | | { |
| | |
| | | var bList = bindTargetsFromMutilfunctionPanelList[key]; |
| | | foreach (var bDev in bList) |
| | | { |
| | | if (curBindType == 0) |
| | | { |
| | | if (bDev.KeyEpoint >= 32 && bDev.KeyEpoint <= 51) |
| | | { |
| | | tempList.Remove(bDev.KeyEpoint); |
| | | } |
| | | } |
| | | |
| | | var device = LocalDevice.Current.GetDevice(bDev.BindMacAddr, bDev.BindEpoint); |
| | | if (device == null) |
| | | { |
| | |
| | | } |
| | | switch (curBindType) |
| | | { |
| | | case 0: |
| | | if (bDev.KeyEpoint >= 32 && bDev.KeyEpoint <= 51) |
| | | { |
| | | tempList.Remove(bDev.KeyEpoint); |
| | | } |
| | | break; |
| | | case 1: |
| | | case 2: |
| | | if (bDev.KeyEpoint >= 52 && bDev.KeyEpoint <= 61) |