Пример #1
0
        public M2_GroupInfos group_infos { get; set; }//分组数组

        /// <summary>
        /// 控件2数据初始化
        /// </summary>
        /// <param name="groupIds">groups/[group_id]</param>
        public M2(int[] groupIds)
        {
            group_infos = new M2_GroupInfos()
                {
                    groups = new List<Group>()
                };

            for (int i = 0; i < groupIds.Length; i++)
            {
                group_infos.groups.Add(new Group() { group_id = groupIds[i] });
            }
            base.eid = 2;
        }
Пример #2
0
        }                                             //分组数组

        /// <summary>
        /// 控件2数据初始化
        /// </summary>
        /// <param name="groupIds">groups/[group_id]</param>
        public M2(int[] groupIds)
        {
            group_infos = new M2_GroupInfos()
            {
                groups = new List <Group>()
            };

            for (int i = 0; i < groupIds.Length; i++)
            {
                group_infos.groups.Add(new Group()
                {
                    group_id = groupIds[i]
                });
            }
            base.eid = 2;
        }