コード例 #1
0
ファイル: IFC O.cs プロジェクト: jddaigle/GeometryGymIFC
        protected override string BuildStringSTEP()
        {
            string str = base.BuildStringSTEP() + "," + ParserSTEP.LinkToString(mOwningUser) + "," + ParserSTEP.LinkToString(mOwningApplication) + ",";

            if (mState == IfcStateEnum.NA)
            {
                str += "$";
            }
            else
            {
                str += "." + mState.ToString() + ".";
            }
            return(str + ",." + (mDatabase.mRelease == ReleaseVersion.IFC2x3 && mChangeAction == IfcChangeActionEnum.NOTDEFINED ? IfcChangeActionEnum.NOCHANGE : mChangeAction).ToString() + ".," + ParserSTEP.IntOptionalToString(mLastModifiedDate) + ","
                   + ParserSTEP.LinkToString(mLastModifyingUser) + "," + ParserSTEP.LinkToString(mLastModifyingApplication) + "," + ParserSTEP.IntToString(mCreationDate));
        }
コード例 #2
0
 protected override string BuildStringSTEP(ReleaseVersion release)
 {
     return(mHourComponent + "," + mMinuteComponent + "," + ParserSTEP.DoubleToString(mSecondComponent) +
            (mZone == null ? ",$" : ",#" + mZone.StepId) + "," + ParserSTEP.IntOptionalToString(mDaylightSavingOffset));
 }
コード例 #3
0
        protected override string BuildStringSTEP(ReleaseVersion release)
        {
            string str = base.BuildStringSTEP(release) + ",#" + mOwningUser.Index + ",#" + mOwningApplication.Index + ",";

            if (mState == IfcStateEnum.NOTDEFINED)
            {
                str += "$";
            }
            else
            {
                str += "." + mState.ToString() + ".";
            }
            return(str + ",." + (release < ReleaseVersion.IFC4 && mChangeAction == IfcChangeActionEnum.NOTDEFINED ? IfcChangeActionEnum.NOCHANGE : mChangeAction).ToString() + ".," + ParserSTEP.IntOptionalToString(mLastModifiedDate) + ","
                   + ParserSTEP.ObjToLinkString(mLastModifyingUser) + "," + ParserSTEP.ObjToLinkString(mLastModifyingApplication) + "," + ParserSTEP.IntToString(mCreationDate));
        }
コード例 #4
0
ファイル: IFC L STEP.cs プロジェクト: xeolabs/GeometryGymIFC
 protected override string BuildStringSTEP(ReleaseVersion release)
 {
     return(base.BuildStringSTEP(release) + "," + mHourComponent + "," + mMinuteComponent + "," + ParserSTEP.DoubleToString(mSecondComponent) + "," + ParserSTEP.LinkToString(mZone) + "," + ParserSTEP.IntOptionalToString(mDaylightSavingOffset));
 }