Ejemplo n.º 1
0
 public static IEnumerable<DAL.DailyReadingList> PreviousMeterReadingList(String DeviceID, String MeterSerial)
 {
     try
        {
        IListRecordDisplay objtext = new BALDailyReading();
        IEnumerable<DAL.DailyReadingList> listRecord = (IEnumerable<DAL.DailyReadingList>)objtext.RecordList(DeviceID, MeterSerial);
        return listRecord;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
Ejemplo n.º 2
0
 public static IEnumerable<DAL.DailyReadingList> DailyRecordList(String Field, String value, String ToDate)
 {
     try
     {
         IListView objtext = new BALDailyReading();
         IEnumerable<DAL.DailyReadingList> listRecord = (IEnumerable<DAL.DailyReadingList>)objtext.RecordList(Field, value, ToDate);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Ejemplo n.º 3
0
 public static IEnumerable<DAL.DailyMeterMBUSDetails> GetDailyMeterMBUSDetails(String DeviceID, String Readingdate)
 {
     try
     {
       IRecordView2 objtext = new BALDailyReading();
       IEnumerable<DAL.DailyMeterMBUSDetails> listRecord = (IEnumerable<DAL.DailyMeterMBUSDetails>)objtext.RecordList(DeviceID, Readingdate);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Ejemplo n.º 4
0
 public static IEnumerable<DAL.DailyReadingList> ConsumerDailyRecordList(String ConsumerID, String ConsumerType)
 {
     try
     {
         IRecordList objtext = new BALDailyReading();
         IEnumerable<DAL.DailyReadingList> listRecord = (IEnumerable<DAL.DailyReadingList>)objtext.RecordList(ConsumerID, ConsumerType);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }