This commit is contained in:
Михаил Капелько
2024-01-18 18:46:09 +03:00
parent a7f5161e5e
commit 496c34a89f
3 changed files with 21 additions and 9 deletions

View File

@@ -33,7 +33,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate
/**/print("ИГР App.didFLWO")
//testMic1()
testMic2()
//testMic2()
testMic2_id("1")
return true
}
@@ -57,7 +58,18 @@ class AppDelegate: UIResponder, UIApplicationDelegate
DispatchQueue.main.asyncAfter(deadline: .now() + 6) {
Bus.send(Mic.K.activityDate, Date() + 7)
}
}
// "1"
func testMic2_id(_ id: String) {
DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 2)
}
DispatchQueue.main.asyncAfter(deadline: .now() + 5) {
Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 2)
}
DispatchQueue.main.asyncAfter(deadline: .now() + 6) {
Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 3)
}
}
}