| | |
| | | /// <param name="addLine">是否添加底线</param>
|
| | | private void AddRowLayout(Safeguard.ZoneDeviceListData sensorInfo, bool addLine)
|
| | | {
|
| | | CommonDevice device = HdlDeviceCommonLogic.Current.GetDevice(sensorInfo.MacAddr, sensorInfo.Epoint);
|
| | | CommonDevice device = Common.LocalDevice.Current.GetDevice(sensorInfo.MacAddr, sensorInfo.Epoint);
|
| | | if (device == null)
|
| | | {
|
| | | return;
|
| | |
| | | private List<CommonDevice> GetCanAddSensorDevice()
|
| | | {
|
| | | List<CommonDevice> listNew = new List<CommonDevice>();
|
| | | List<CommonDevice> listDevices = HdlDeviceCommonLogic.Current.listAllDevice;
|
| | | List<CommonDevice> listDevices = Common.LocalDevice.Current.listAllDevice;
|
| | | foreach (CommonDevice device in listDevices)
|
| | | {
|
| | | //只要传感器
|