1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
private void bw_DoWork(object sender, DoWorkEventArgs e)
{
// Run d'une commande USSD
//~~~~~~~~~~~~~~~~~~~~~~~~
if (strNomTache == "USSD")
{
FCT_EnvoiCmdUssd(strCmdUssd);
}
// Envoi d'un SMS de test
//~~~~~~~~~~~~~~~~~~~~~~~
else if (strNomTache == "SMS")
{
FCT_EnvoiMessage(strCmdShellSendSms);
}
// Récupération information Modem GSM
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
else if (strNomTache == "MODEM_INFOS")
{
FCT_Recuperation_InformationModem();
}
// Exécution d'une commande shell
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
else if (strNomTache == "SHELL_LINUX")
{
FCT_CmdLinuxShell(strCmdShellLinux);
}
// Importation configuration users
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
else if (strNomTache == "DOWNLOAD_USER")
{
FCT_DownloadUsers();
}
// Exportation données vers le SXFDR33
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
else if (strNomTache == "UPLOAD_USER")
{
FCT_UploadUsers();
}
} |
Partager