using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
|
namespace IStation.Bimface
|
{
|
public class FileElementsGetRequest
|
{
|
public FileElementsGetRequest()
|
{
|
categoryId = null;
|
family = null;
|
familyType = null;
|
floor = null;
|
paginationContextId = null;
|
paginationNo = null;
|
paginationSize = null;
|
roomId = null;
|
roomToleranceXY = null;
|
roomToleranceZ = null;
|
specialty = null;
|
systemType = null;
|
}
|
|
|
/// <summary>
|
/// 【非必填】筛选条件构件类型id
|
/// </summary>
|
public string categoryId { get; set; }
|
|
/// <summary>
|
/// 【非必填】筛选条件族
|
/// </summary>
|
public string family { get; set; }
|
|
/// <summary>
|
/// 【非必填】筛选条件族类型
|
/// </summary>
|
public string familyType { get; set; }
|
|
/// <summary>
|
/// 【非必填】筛选条件楼层
|
/// </summary>
|
public string floor { get; set; }
|
|
/// <summary>
|
/// 【非必填】根据paginationContextId返回构件ID列表
|
/// </summary>
|
public string paginationContextId { get; set; }
|
|
/// <summary>
|
/// 【非必填】返回结果中paginationNo对应的页码构件ID项
|
/// </summary>
|
public int? paginationNo { get; set; }
|
|
/// <summary>
|
/// 【非必填】返回结果按照paginationSize分页
|
/// </summary>
|
public int? paginationSize { get; set; }
|
|
/// <summary>
|
/// 【非必填】筛选条件房间id
|
/// </summary>
|
public string roomId { get; set; }
|
|
/// <summary>
|
/// 【非必填】XY坐标轴方向对构件的筛选容忍度
|
/// </summary>
|
public RoomTolerance? roomToleranceXY { get; set; }
|
|
/// <summary>
|
/// 【非必填】Z坐标轴方向对构件的筛选容忍度
|
/// </summary>
|
public RoomTolerance? roomToleranceZ { get; set; }
|
|
/// <summary>
|
/// 【非必填】筛选条件专业
|
/// </summary>
|
public string specialty { get; set; }
|
|
/// <summary>
|
/// 【非必填】筛选条件系统类型
|
/// </summary>
|
public string systemType { get; set; }
|
|
/// <summary>
|
/// 获取JSON字典
|
/// </summary>
|
/// <returns></returns>
|
public virtual Dictionary<string, object> GetJsonDict()
|
{
|
var dic = new Dictionary<string, object>();
|
if (categoryId != null)
|
dic.Add("categoryId",categoryId);
|
if (family != null)
|
dic.Add("family", family);
|
if(familyType!=null)
|
dic.Add("familyType", familyType);
|
if (floor != null)
|
dic.Add("floor", floor);
|
if (paginationContextId != null)
|
dic.Add("paginationContextId", paginationContextId);
|
if (paginationNo != null)
|
dic.Add("paginationNo", paginationNo);
|
if (paginationSize != null)
|
dic.Add("paginationSize", paginationSize);
|
if (roomId != null)
|
dic.Add("roomId", roomId);
|
if (roomToleranceXY != null)
|
dic.Add("roomToleranceXY", roomToleranceXY);
|
if (roomToleranceZ != null)
|
dic.Add("roomToleranceZ", roomToleranceZ);
|
if (specialty != null)
|
dic.Add("specialty", specialty);
|
if (systemType != null)
|
dic.Add("systemType", systemType);
|
return dic;
|
}
|
|
|
|
|
|
|
}
|
}
|