예제 #1
0
 public void updateRecord(int id, string state, int btid)
 {
     IDBattery dbBattery = new DBattery();
     dbBattery.updateRecord(id, state, btid);
 }
예제 #2
0
 public MBattery getRecord(int id, Boolean getAssociation)
 {
     IDBattery dbBattery = new DBattery();
     return dbBattery.getRecord(id, true);
 }
예제 #3
0
 public List<MBattery> getAllRecord(Boolean getAssociation)
 {
     IDBattery dbBattery = new DBattery();
     return dbBattery.getAllRecord(true);
 }
예제 #4
0
 public List<string> getAllInfo()
 {
     IDBattery dbBattery = new DBattery();
     return dbBattery.getAllInfo();
 }
예제 #5
0
 public void deleteRecord(int id)
 {
     IDBattery dbBattery = new DBattery();
     dbBattery.deleteRecord(id);
 }
예제 #6
0
 public int addNewRecord(string state, int btid)
 {
     IDBattery dbBattery = new DBattery();
     int id = dbBattery.addNewRecord(state, btid);
     return id;
 }