RevitCmdExecutor.cs 933 B

1234567891011121314151617181920212223242526272829303132
  1. /* ==============================================================================
  2. * 功能描述:RevitCmdExecutor
  3. * 创 建 者:Garrett
  4. * 创建日期:2019/4/16 11:46:37
  5. * ==============================================================================*/
  6. using System;
  7. using System.Collections.Generic;
  8. using System.Windows.Forms;
  9. namespace Client.Start
  10. {
  11. /// <summary>
  12. /// RevitCmdExecutor
  13. /// </summary>
  14. public class RevitCmdExecutor : IRevitCommandExcutor
  15. {
  16. public string ExecuteCmd(string revitCmd, string param, HashSet<string> filePathList)
  17. {
  18. //由revitCmd生成实体类
  19. //实体类传入参数、参考楼层列表
  20. //执行方法,返回执行结果
  21. Console.WriteLine("准备执行命令");
  22. string msg = null;
  23. MessageBox.Show("命令执行完成 ");
  24. return msg;
  25. }
  26. }
  27. }