public void UpdataBjList() { _TargetBJList.Clear(); foreach (var bj in Constants.BJDict[typeof(T_BJ_Tip).Name]) { _TargetBJList.Add(bj); } foreach (var bj in Constants.BJDict[typeof(T_BJ_SampleRack).Name]) { _TargetBJList.Add(bj); } foreach (var bj in Constants.BJDict[typeof(T_BJ_DeepPlate).Name]) { _TargetBJList.Add(bj); } foreach (var bj in Constants.BJDict[typeof(T_BJ_AgentiaWarehouse).Name]) { _TargetBJList.Add(bj); } foreach (var bj in Constants.BJDict[typeof(T_BJ_GelSeat).Name]) { var bjj = (T_BJ_GelSeat)bj; if (bjj.Purpose == 4) { _TargetBJList.Add(bj); } } foreach (var bj in Constants.BJDict[typeof(T_BJ_Unload).Name]) { _TargetBJList.Add(bj); } }
public void Ok() { SecurityViewModel VM = IoC.Get <SecurityViewModel>(); var result = windowManager.ShowDialog(VM); if (result.HasValue && result.Value) { LotsResultList.Clear(); foreach (var item in ResultList) { if (item.IsSel) { LotsResultList.Add(item); } } if (TitleStr == "批量复核") { CheckReultList(VM.LoginID); } else if (TitleStr == "解除复核") { CancelReultList(VM.LoginID); } else if (TitleStr == "批量传输") { SendReultList(VM.LoginID); } } RequestClose(); }
public void UpdataBjList() { _TargetBJList.Clear(); foreach (var bj in Constants.BJDict[typeof(T_BJ_GelWarehouse).Name]) { _TargetBJList.Add(bj); } foreach (var bj in Constants.BJDict[typeof(T_BJ_GelSeat).Name]) { _TargetBJList.Add(bj); } foreach (var bj in Constants.BJDict[typeof(T_BJ_Scaner).Name].Where(item => (item as T_BJ_Scaner).Purpose == 1)) { _TargetBJList.Add(bj); } foreach (var bj in Constants.BJDict[typeof(T_BJ_Camera).Name]) { _TargetBJList.Add(bj); } foreach (var bj in Constants.BJDict[typeof(T_BJ_Centrifuge).Name].Where(item => (item as T_BJ_Centrifuge).Status == 1)) { _TargetBJList.Add(bj); } foreach (var bj in Constants.BJDict[typeof(T_BJ_WastedSeat).Name].Where(item => (item as T_BJ_WastedSeat).HandZ > 0)) { _TargetBJList.Add(bj); } }