private List<DeviceSearchMapping> GetSocketCableStatus(int screenIndex, int senderIndex, int portIndex, int scannerIndex, int monitorCardIndex, int socketIndex) { List<DeviceSearchMapping> mapList = GetMonitorCardSearchMapping(screenIndex, senderIndex, portIndex, scannerIndex, monitorCardIndex); DeviceSearchMapping map = new DeviceSearchMapping(HWDeviceType.SocketOfMonitorCard, socketIndex); mapList.Add(map); return mapList; }
private List<DeviceSearchMapping> GetMonitorCardSearchMapping(int screenIndex, int senderIndex, int portIndex, int scannerIndex, int monitorCardIndex) { List<DeviceSearchMapping> mapList = GetScannerSearchMapping(screenIndex, senderIndex, portIndex, scannerIndex); DeviceSearchMapping map = new DeviceSearchMapping(HWDeviceType.MonitorCard, monitorCardIndex); mapList.Add(map); return mapList; }
private List<DeviceSearchMapping> GetSenderSearchMapping(int screenIndex, int senderIndex) { List<DeviceSearchMapping> mapList = new List<DeviceSearchMapping>(); DeviceSearchMapping map = new DeviceSearchMapping(HWDeviceType.Screen, screenIndex); mapList.Add(map); map = new DeviceSearchMapping(HWDeviceType.Sender, senderIndex); mapList.Add(map); return mapList; }
public object Clone() { DeviceSearchMapping data = new DeviceSearchMapping(); if (!this.CopyTo(data)) { return null; } return data; }