PointPosRotUploadCommand.cs 465 B

12345678910111213141516171819
  1. using Blue;
  2. /// <summary>
  3. /// 上传移动场景的Pos、Rot
  4. /// </summary>
  5. public class PointPosRotUploadCommand : ICommand
  6. {
  7. private string Url;
  8. private string JsonString;
  9. public PointPosRotUploadCommand(string Url, string JsonString)
  10. {
  11. this.Url = Url;
  12. this.JsonString = JsonString;
  13. }
  14. public void OnExcute()
  15. {
  16. this.GetService<IUpOrDownloadService>().UploadScenePosRot(Url,JsonString);
  17. }
  18. }