Exemple #1
0
 /// <summary>
 /// 发送网络模块时间同步命令
 /// </summary>
 public void SetNetworkModuleSyncTime()
 {
     try
     {
         INetworkModuleService NetworkModuleService = ServiceFactory.Create <INetworkModuleService>();
         NetworkModuleService.SetNetworkModuleSyncTime();
         MessageBox.Show("发送网络模块时间同步成功!");
     }
     catch (Exception ex)
     {
         Basic.Framework.Logging.LogHelper.Error(ex);
         MessageBox.Show("发送网络模块时间同步失败,详细查看日志!");
     }
 }
Exemple #2
0
 public BasicResponse SetNetworkModuleSyncTime()
 {
     return(_NetworkModuleService.SetNetworkModuleSyncTime());
 }