public void Initialize() { Title = "增加操作员"; _D_CZYNew = new VO_WF_CZYB(); _D_CZYNew.PZID = Guid.NewGuid().ToString(); this.StartEdit(D_CZYNew, "D_CZYNew"); }
public Tuple<VOX_SYS_HEAD, VOX_SYS_ERROR, VO_WF_CZYB> XTGL_CXDLCZY(VO_WF_CZYB vo_WF_CZYB) { var client = new ServiceClient(); var sysHead = new VOX_SYS_HEAD(0, String.Empty, true); var result = client.CallService<VOX_SYS_HEAD, VOX_SYS_ERROR, VO_WF_CZYB>(ServicePrifix + MethodBase.GetCurrentMethod().Name, sysHead, vo_WF_CZYB); return new Tuple<VOX_SYS_HEAD, VOX_SYS_ERROR, VO_WF_CZYB>(result.Item1, result.Item2, result.Item3 != null ? result.Item3[0] : null); }
//--------------操作管理 public Tuple<VOX_SYS_HEAD, VOX_SYS_ERROR, VO_WF_CZYB[]> XTGL_CXCZY(VO_WF_CZYB vo_WF_CZYB) { var client = new ServiceClient(); var sysHead = new VOX_SYS_HEAD(0, String.Empty, true); var result = client.CallService<VOX_SYS_HEAD, VOX_SYS_ERROR, VO_WF_CZYB>(ServicePrifix + MethodBase.GetCurrentMethod().Name, sysHead, vo_WF_CZYB); return result; }
public void Initialize(VO_WF_CZYB d_CZYOriginal) { Title = "修改操作员"; _D_CZYModify = d_CZYOriginal.Clone<VO_WF_CZYB>(); D_MM.Password = d_CZYOriginal.MM; D_MMX.Password = d_CZYOriginal.MM; D_ZTItems.Clear(); D_ZTItems.Add(new KeyValue<decimal, string>(0, "不可用")); D_ZTItems.Add(new KeyValue<decimal, string>(1, "可用")); D_ZTSelectedItem = D_ZTItems.FirstOrDefault(a => a.Key == d_CZYOriginal.DCZT); this.StartEdit(D_CZYModify, "D_CZYModify"); }
public VM_CZYGL() { D_QueryEntity = new VO_WF_CZYB(); }
public VM_MainFrame(FunctionInfo[] functions, VO_WF_CZYB vo_WF_CZYB) { this.Title = "工作流管理"; _Functions = functions; _D_CZY = vo_WF_CZYB; }
public VM_Login() { D_CZY = new VO_WF_CZYB(); D_CZY.CZYID = "SuperAdmin"; D_MM.Password = "******"; }
private void OpenMainFrame(FunctionInfo[] functions, VO_WF_CZYB vo_WF_CZYB) { this.HostWindow.Hide(); var v = new WX.WFA.MainFrame.W_MainFrame(); var vm = new WX.WFA.MainFrame.VM_MainFrame(functions, vo_WF_CZYB); Application.Current.MainWindow = v; v.DataContext = vm; vm.MainWindow = v; vm.InitializeSpecific(); v.WindowStartupLocation = WindowStartupLocation.CenterScreen; v.WindowState = WindowState.Maximized; v.Show(); }
public void Initialize() { Title = "增加操作员"; _D_CZYNew = new VO_WF_CZYB(); _D_CZYNew.CZYBH = Guid.NewGuid().ToString(); _D_CZYNew.PZID = Guid.NewGuid().ToString(); D_ZTItems.Clear(); D_ZTItems.Add(new KeyValue<decimal,string>(0,"不可用")); D_ZTItems.Add(new KeyValue<decimal, string>(1, "可用")); D_ZTSelectedItem = D_ZTItems[1]; this.StartEdit(D_CZYNew, "D_CZYNew"); }
public void Initialize(VO_WF_CZYB d_CZYOriginal) { Title = "修改操作员"; _D_CZYModify = d_CZYOriginal.Clone<VO_WF_CZYB>(); this.StartEdit(D_CZYModify, "D_CZYModify"); }