Ejemplo n.º 1
0
        public IReturnType Calculate(Objects.ValidSetOfTouchPoints set)
        {
            TouchActions actions = new TouchActions();

            foreach (var item in set)
            {
                TouchActionInfo info = new TouchActionInfo()
                {
                    Action = item.Action,
                    TouchDeviceId = item.TouchDeviceId
                };
                actions.Add(info);
            }

            return actions;
        }