complete the check sim function

This commit is contained in:
2022-03-24 23:20:33 +01:00
parent 97f258a1b3
commit 94a602c791
19 changed files with 61 additions and 3312 deletions
+4 -1
View File
@@ -1,15 +1,17 @@
import logging
import sys
import params
from modems.ModemPool import ModemPool
from logs.AppLogging import init_logger
from logs.LogSender import LOG_SUBJECT_EVENT, TYPE_EVENT_RESET_ALL_SIM_CARDS
from main import card_pool, get_devices_ports
from wait_for_sms import start_waiting_sms
def read_all_the_phone_number():
params.oracle_log_sender.send_log(msg="SIM卡自检开始", subject=LOG_SUBJECT_EVENT, type=TYPE_EVENT_RESET_ALL_SIM_CARDS)
slot_number = 16
slot_number = 1
slot_sum = 27
params.firebase_store_manager.clear_all_sim_info()
for i in range(slot_number, slot_sum + 1):
@@ -24,4 +26,5 @@ def read_all_the_phone_number():
if __name__ == '__main__':
init_logger()
logger = logging.getLogger()
logger.addHandler(logging.StreamHandler(stream=sys.stdout))
read_all_the_phone_number()