public static async Task ClearSimulationDataAsync() { if (haveCredentials) { await BaseDB.RecreateDB("sds"); await BaseDB.RecreateDB("rcs"); await BaseDB.RecreateDB("ccs"); } else { if (SDSStore != null) { await SDSStore.ClearAsync(false); } if (RCSStore != null) { await RCSStore.ClearAsync(false); } if (CCSStore != null) { await CCSStore.ClearAsync(false); } } }