using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IStation.Bimface { /// /// 批量获取构件属性的请求参数 /// public class ElementPropertyFilterRequest { /// /// 【必填】构建ID数组。例如: [ "313154", "313047" ] /// public List elementIds { get; set; } /// /// 【非必填】过来条件 /// public List filter { get; set; } public virtual Dictionary GetJsonDict() { var dic = new Dictionary(); dic.Add("elementIds",elementIds); if (filter != null) dic.Add("filter",filter); return dic; } } public class GroupAndKeysPair { /// /// 分组名称。例如:default、shape、size /// public string group { get; set; } /// /// 关键字数组。例如: [ "length", "width", "a" ] /// public List keys { get; set; } } }