| | |
| | | try |
| | | { |
| | | var faceIdList = Send.Current.GetListHomeFace(device.deviceId, true); |
| | | |
| | | |
| | | CommonMethod.Current.MainThread(() => |
| | | { |
| | | loading.Hide(); |
| | | string stateValue=btnState.Tag==null?"":btnState.Tag.ToString(); |
| | | string stateValue = btnState.Tag == null ? "" : btnState.Tag.ToString(); |
| | | PublicInterface publicInterface = new PublicInterface(); |
| | | publicInterface.MultiSelectShow(this, faceIdList, device.name, stateValue, (indexeList) => |
| | | { |
| | |
| | | string tag = string.Empty; |
| | | //数据封装 |
| | | AddDictionary("open_type", "1", "integer"); |
| | | for (int indexe = 0; indexe < indexeList.Count; indexe++) |
| | | for (int i = 0; i < indexeList.Count; i++) |
| | | { |
| | | if (indexe > faceIdList.Count) |
| | | |
| | | if (i > faceIdList.Count) |
| | | { |
| | | continue; |
| | | } |
| | | var indexe = indexeList[i]; |
| | | var face = faceIdList[indexe]; |
| | | AddDictionary("user_id", face.userId, "string"); |
| | | s += face.userName; |
| | |
| | | dicSateteList.Clear(); |
| | | string s = string.Empty; |
| | | string tag = string.Empty; |
| | | for (int indexe = 0; indexe < indexeList.Count; indexe++) |
| | | for (int i = 0; i < indexeList.Count; i++) |
| | | { |
| | | if (indexe > faceIdList.Count) |
| | | if (i > faceIdList.Count) |
| | | { |
| | | continue; |
| | | } |
| | | var indexe = indexeList[i]; |
| | | var face = faceIdList[indexe]; |
| | | |
| | | //数据封装<高胜说萤石那边是推送用户名> |
| | | AddDictionary("open_user", face.userName, "string"); |
| | | s += face.userName; |