コード例 #1
0
        public static EnableDisableMachineBiz CreateInstance()
        {
            if (_ObjBiz == null)
                _ObjBiz = new EnableDisableMachineBiz();

            return _ObjBiz;
        }
コード例 #2
0
        public static EnableDisableMachineBiz CreateInstance()
        {
            if (_ObjBiz == null)
            {
                _ObjBiz = new EnableDisableMachineBiz();
            }

            return(_ObjBiz);
        }
コード例 #3
0
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     try
     {   
         _EnableMachineBiz = EnableDisableMachineBiz.CreateInstance();               
         lstMachineDetails.Items.Clear();
         _ListActiveMachines = _EnableMachineBiz.GetActiveMachine().ToList();
         lstMachineDetails.ItemsSource = _ListActiveMachines;
         BarPosNumber = _ListActiveMachines[0].BarPosNumber;
     }           
     catch (Exception ex)
     {
         ExceptionManager.Publish(ex);
     }
 }