public static Boolean UpdateDataloggerMapping(DataLoggerMapClass loggerObj) { Boolean flag = false; try { BALDataLogger objlogger = new BALDataLogger(); flag = objlogger.UpdateMapping(loggerObj); } catch (Exception ex) { throw; } return flag; }
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; } }
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; }
public static bool UpdateDataLogger(DataLoggerMaster Logger) { Boolean flag = false; try { Icontext objinter = new BALDataLogger(); flag = objinter.UpdateRecord(Logger); } catch (Exception ex) { throw; } return flag; }
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; } }
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; } }
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; } }
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; } }
public static Boolean CreateDataLogger(DataLoggerMaster logger) { Boolean flag = false; try { Icontext objtext = new BALDataLogger(); flag = objtext.CreateRecord(logger); } catch (Exception ex) { throw; } return flag; }