Exemple #1
0
        private void onLoadData()
        {
            decimal tempBalance;

            WsdlRepository.GetOperatorShiftCheckpoints(StationRepository.LocationID, Int16.Parse(StationRepository.GetUid(ChangeTracker.CurrentUser).account_id), out tempBalance);
            Balance = tempBalance;
            OnPropertyChanged("Balance");
            osd = WsdlRepository.GetOperatorShiftReport(StationRepository.LocationID, Int16.Parse(StationRepository.GetUid(ChangeTracker.CurrentUser).account_id));
            OnPropertyChanged("osd");
        }
 private void CurrentShiftReport()
 {
     try
     {
         osd = WsdlRepository.GetOperatorShiftReport(StationRepository.LocationID, Int16.Parse(StationRepository.GetUid(ChangeTracker.CurrentUser).account_id));
         OnPropertyChanged("osd");
     }
     catch (Exception ex)
     {
     }
 }
 private void onLoadData()
 {
     try
     {
         decimal tempBalance;
         WsdlRepository.GetOperatorShiftCheckpoints(StationRepository.LocationID, Int16.Parse(StationRepository.GetUid(ChangeTracker.CurrentUser).account_id), out tempBalance, false);
         //Balance = tempBalance;
         osd     = WsdlRepository.GetOperatorShiftReport(StationRepository.LocationID, Int16.Parse(StationRepository.GetUid(ChangeTracker.CurrentUser).account_id));
         Balance = osd.balance;
         OnPropertyChanged("osd");
     }
     catch (FaultException <HubServiceException> e)
     {
         Log.Error(e.Message, e);
     }
 }