ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

IfcRecurrencePattern

2022-07-19 08:32:26  阅读:167  来源: 互联网

标签:OPTIONAL interval specified IfcInteger position IfcRecurrencePattern


IfcRecurrencePattern

实体定义

IfcRecurrencePattern根据定期重复定义重复时间段,例如一周中的每个星期一,或一个月中的每个第三个星期二。其余属性(如DayComponent、Position和Interval)的填充取决于指定的递归类型。

 

IfcRecurrencePattern支持通过类型定义(IfcRecurrencePattern.RecurrenceType)区分的各种重复模式,类型定义是提供给定值含义所必需的。它可以通过指定的IfcTimePeriod实例进一步受到适用时间的约束,从而为每个适用的天、周或月启用时间段,例如7:00到12:00以及13:00到17:00。

 

IFC4中的新实体。

 

 

Attribute definitions

#AttributeTypeCardinalityDescriptionC
1 RecurrenceType IfcRecurrenceTypeEnum [1:1] Defines the recurrence type that gives meaning to the used attributes and decides about possible attribute combinations, i.e. what attributes are needed to fully describe the pattern type. X
2 DayComponent IfcDayInMonthNumber S[1:?] The position of the specified day in a month. X
3 WeekdayComponent IfcDayInWeekNumber S[1:?] The weekday name of the specified day in a week. X
4 MonthComponent IfcMonthInYearNumber S[1:?] The position of the specified month in a year. X
5 Position IfcInteger [0:1] The position of the specified component, e.g. the 3rd (position=3) Tuesday (weekday component) in a month. A negative position value is used to define the last position of the component (-1), the next to last position (-2) etc. X
6 Interval IfcInteger [0:1] An interval can be given according to the pattern type. An interval value of 2 can for instance every two days, weeks, months, years. An empty interval value is regarded as 1. The used interval values should be in a reasonable range, e.g. not 0 or <0. X
7 Occurrences IfcInteger [0:1] Defines the number of occurrences of this pattern, e.g. a weekly event might be defined to occur 5 times before it stops. X
8 TimePeriods IfcTimePeriod L[1:?] List of time periods that are defined by a start and end time of the recurring element (day). The order of the list should reflect the sequence of the time periods. X
 

 

 

 

 

 

 

Attribute inheritance

#AttributeTypeCardinalityDescriptionC
IfcRecurrencePattern
1 RecurrenceType IfcRecurrenceTypeEnum [1:1] Defines the recurrence type that gives meaning to the used attributes and decides about possible attribute combinations, i.e. what attributes are needed to fully describe the pattern type. X
2 DayComponent IfcDayInMonthNumber S[1:?] The position of the specified day in a month. X
3 WeekdayComponent IfcDayInWeekNumber S[1:?] The weekday name of the specified day in a week. X
4 MonthComponent IfcMonthInYearNumber S[1:?] The position of the specified month in a year. X
5 Position IfcInteger [0:1] The position of the specified component, e.g. the 3rd (position=3) Tuesday (weekday component) in a month. A negative position value is used to define the last position of the component (-1), the next to last position (-2) etc. X
6 Interval IfcInteger [0:1] An interval can be given according to the pattern type. An interval value of 2 can for instance every two days, weeks, months, years. An empty interval value is regarded as 1. The used interval values should be in a reasonable range, e.g. not 0 or <0. X
7 Occurrences IfcInteger [0:1] Defines the number of occurrences of this pattern, e.g. a weekly event might be defined to occur 5 times before it stops. X
8 TimePeriods IfcTimePeriod L[1:?] List of time periods that are defined by a start and end time of the recurring element (day). The order of the list should reflect the sequence of the time periods. X
 

 

 

 

EXPRESS Specification

ENTITY IfcRecurrencePattern;
  RecurrenceType : IfcRecurrenceTypeEnum;
  DayComponent : OPTIONAL SET [1:?] OF IfcDayInMonthNumber;
  WeekdayComponent : OPTIONAL SET [1:?] OF IfcDayInWeekNumber;
  MonthComponent : OPTIONAL SET [1:?] OF IfcMonthInYearNumber;
  Position : OPTIONAL IfcInteger;
  Interval : OPTIONAL IfcInteger;
  Occurrences : OPTIONAL IfcInteger;
  TimePeriods : OPTIONAL LIST [1:?] OF IfcTimePeriod;
END_ENTITY;

 

 

 

#######################

标签:OPTIONAL,interval,specified,IfcInteger,position,IfcRecurrencePattern
来源: https://www.cnblogs.com/herd/p/16492684.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有