Пример #1
0
 public static Boolean UpdateDataloggerMapping(DataLoggerMapClass loggerObj)
 {
     Boolean flag = false;
     try
     {
         BALDataLogger objlogger = new BALDataLogger();
         flag = objlogger.UpdateMapping(loggerObj);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Пример #2
0
 public static DataLoggerlist ViewDataLogger(String loggerId)
 {
     try
     {
         Icontext objinter = new BALDataLogger();
         DataLoggerlist logger = (DataLoggerlist)objinter.ViewRecord(Convert.ToInt64(loggerId));
         return logger;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Пример #3
0
 public static Boolean SaveMappingLoggerInProperty(List<Object> Logger)
 {
     Boolean flag = false;
     try
     {
         IListRecordInsert objtext = new BALDataLogger();
         flag = objtext.AddRecord(Logger);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Пример #4
0
 public static bool UpdateDataLogger(DataLoggerMaster Logger)
 {
     Boolean flag = false;
     try
     {
         Icontext objinter = new BALDataLogger();
         flag = objinter.UpdateRecord(Logger);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Пример #5
0
 public static DataLoggerMaster EditDataLogger(String LoggerID)
 {
     try
     {
         Icontext objinter = new BALDataLogger();
         DataLoggerMaster logger = (DataLoggerMaster)objinter.EditRecord(Convert.ToInt64(LoggerID));
         return logger;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Пример #6
0
 public static IEnumerable<DAL.DataLoggerlist> DataLoggerList(String Field, String Value)
 {
     try
     {
         ISearchResult objtext = new BALDataLogger();
         IEnumerable<DAL.DataLoggerlist> listRecord = (IEnumerable<DAL.DataLoggerlist>)objtext.SearchResultList(Field, Value);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Пример #7
0
 public static IEnumerable<DAL.DataLoggerlist> DataLoggerList(String UserType, String UserID, String RoleName, String ClientID)
 {
     try
     {
         IListView4 objtext = new BALDataLogger();
         IEnumerable<DAL.DataLoggerlist> listRecord = (IEnumerable<DAL.DataLoggerlist>)objtext.RecordList(UserType, UserID, RoleName, ClientID);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Пример #8
0
 public static IEnumerable<DAL.DataLoggerlist> DataLoggerList()
 {
     try
     {
         Icontext objtext = new BALDataLogger();
         IEnumerable<DAL.DataLoggerlist> listRecord = (IEnumerable<DAL.DataLoggerlist>)objtext.RecordList();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Пример #9
0
 public static Boolean CreateDataLogger(DataLoggerMaster logger)
 {
     Boolean flag = false;
     try
     {
         Icontext objtext = new BALDataLogger();
         flag = objtext.CreateRecord(logger);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }