12345678910111213141516171819202122 |
- using Blue;
- /// <summary>
- /// Immersal设置命令
- /// 传入 id、projectId、location
- /// </summary>
- public class ImmersalSetLocalCommand : ICommand
- {
- public int id;
- public int projectId;
- public bool location;
- public ImmersalSetLocalCommand(int id,int projectId,bool location)
- {
- this.id = id;
- this.projectId = projectId;
- this.location = location;
- }
- public void OnExcute()
- {
- this.GetService<IImmersalLocationService>().Set(id,projectId,location);
- }
- }
|