public static void RemoveDeviceRF(DeviceRF deviceRF)
 {
     using (IDbConnection cnn = new SQLiteConnection(LoadConnectionString()))
     {
         cnn.Execute("DELETE FROM RF_DEVICE WHERE IP=@IP", deviceRF);
     }
 }
 public static void SaveDeviceRF(DeviceRF deviceRF)
 {
     using (IDbConnection cnn = new SQLiteConnection(LoadConnectionString()))
     {
         cnn.Execute("INSERT INTO RF_DEVICE (IP,GATE,CLASS,STATUS) VALUES (@IP, @GATE, @CLASS,@STATUS)", deviceRF);
     }
 }