Esempio n. 1
0
        public override void AddPlanActionItem(PlanActionArgument item)
        {
            if (m_actionArgumentList == null)
            {
                m_actionArgumentList = new List <BroadcastAudioArgument>();
            }
            var arg = JsonConvert.DeserializeObject <BroadcastAudioArgument>(item.Argument);

            m_actionArgumentList.Add(arg);
            SoundLightAction.UpdateActionArgument(PlanId, arg); //暂时加上,到时动作可单独运行时,将注释当前动作
        }
Esempio n. 2
0
        public override void AddPlanActionItem(PlanActionArgument argument)
        {
            if (m_actionArgumentList == null)
            {
                m_actionArgumentList = new List <PushTextArgument>();
            }

            var arg = JsonConvert.DeserializeObject <PushTextArgument>(argument.Argument);

            m_actionArgumentList.Add(arg);
            //m_actionArgumentList.Add(JsonConvert.DeserializeObject<PushTextArgument>(argument.Argument));
            SoundLightAction.UpdateActionArgument(PlanId, arg); //暂时加上,到时动作可单独运行时,将注释当前动作
        }