| | |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Gs.DevApp.UserControl; |
| | | using MES.Service.Modes; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace Gs.DevApp.DevFrm |
| | | namespace Gs.DevApp.DevFrm.QC |
| | | { |
| | | public partial class Frm_IQCLookups : XtraForm |
| | | { |
| | | private List<FilterEntity> _filterList = new List<FilterEntity>(); |
| | | private readonly string _webServiceName = "MesSysLookupTypesManager/"; |
| | | private List<FilterEntity> _filterList = new List<FilterEntity>(); |
| | | |
| | | public Frm_IQCLookups() |
| | | { |
| | |
| | | return; |
| | | } |
| | | |
| | | gvMx1.CloseEditor(); |
| | | gvMx1.UpdateCurrentRow(); |
| | | |
| | | var lst = new List<MesSysLookups>(); |
| | | for (var i = 0; i < gvMx1.DataRowCount; i++) |
| | | { |
| | |
| | | if (row != null) |
| | | lst.Add(new MesSysLookups |
| | | { |
| | | Guid = row["Guid"].ToString().Length > 0 |
| | | ? Guid.Parse(row["Guid"].ToString()) |
| | | : Guid.Empty, |
| | | Guid = UtilityHelper.ToGuid(row["Guid"].ToString()), |
| | | LookupName = row["LookupName"].ToString(), |
| | | LookupValue = row["LookupValue"].ToString() |
| | | }); |
| | |
| | | |
| | | var _obj = new MesSysLookupTypes |
| | | { |
| | | Guid = lbGuid.Text.Trim().Length > 0 |
| | | ? Guid.Parse(lbGuid.Text.Trim()) |
| | | : Guid.Empty, |
| | | |
| | | Guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), |
| | | LookupTypeCode = txt_lookupTypeCode.Text, |
| | | LookupTypeName = txt_lookupTypeName.Text, |
| | | list = lst |