123456789101112131415161718192021222324 |
- using Blue;
- public class DownloadFileCommand : ICommand
- {
- private string url;
- private string fileType;
- private int projectID;
- public DownloadFileCommand(string url,string fileType,int projectID)
- {
- this.url = url;
- this.fileType = fileType;
- this.projectID = projectID;
- }
- public void OnExcute()
- {
- this.TriggerEvent<DownLoadMapFileEvent>(new DownLoadMapFileEvent()
- {
- Url = url,
- FileType = fileType,
- ProjectID = projectID
- });
- }
- }
|