12345678910111213141516171819202122232425262728 |
- using Blue;
- using UnityEngine;
- namespace GHZLangChao
- {
- public class DeviceDetailsUpdataDataCommand : ICommand
- {
- private DeviceParameters DeviceParameter;
- private Transform currentPos;
- private DataItem item;
- public DeviceDetailsUpdataDataCommand(DeviceParameters DeviceParameter,Transform currentPos,DataItem item)
- {
- this.DeviceParameter = DeviceParameter;
- this.currentPos = currentPos;
- this.item = item;
- }
- public void OnExcute()
- {
- this.SendEvent(new DeviceDetailsUpdataDataEvent()
- {
- DeviceParameter = this.DeviceParameter,
- currentPos = this.currentPos,
- item = this.item
- });
- }
- }
- }
|