DownloadCommand.cs 443 B

12345678910111213141516171819
  1. using Blue;
  2. /// <summary>
  3. /// 下载移动场景的Postion、Rotatiuon
  4. /// </summary>
  5. public class DownloadCommand : ICommand
  6. {
  7. private string Url;
  8. private int projectID;
  9. public DownloadCommand(string Url ,int projectID)
  10. {
  11. this.Url = Url;
  12. this.projectID = projectID;
  13. }
  14. public void OnExcute()
  15. {
  16. this.GetService<IUpOrDownloadService>().GetScenePosRot(Url,projectID);
  17. }
  18. }