コード例 #1
0
ファイル: CMLoad_12.cs プロジェクト: 777ondro/sw-en
 public CMLoad_12(float fF,
     CMember member_aux,
     EMLoadTypeDistr mLoadTypeDistr,
     EMLoadType mLoadType,
     EMLoadDirPCC1 eDirPPC,
     bool bIsDislayed,
     int fTime)
 {
     FF = fF;
     Member = member_aux;
     MLoadTypeDistr = mLoadTypeDistr;
     MLoadType = mLoadType;
     EDirPPC = eDirPPC;
     BIsDisplayed = bIsDislayed;
     FTime = fTime;
 }
コード例 #2
0
ファイル: CMLoad_21.cs プロジェクト: 777ondro/sw-en
        public CMLoad_21(float fq,
            CMember member_aux,
            EMLoadTypeDistr mLoadTypeDistr,
            EMLoadType mLoadType,
            EMLoadDirPCC1 eDirPPC,
            bool bIsDislayed,
            int fTime)
        {
            Fq = fq;
            Member = member_aux;
            MLoadTypeDistr = mLoadTypeDistr;
            MLoadType = mLoadType;
            EDirPPC = eDirPPC;
            BIsDisplayed = bIsDislayed;
            FTime = fTime;

            // Set Load Model "material" Color and Opacity - default
            m_Color = Color.FromRgb(200, 20, 20);
            m_Material.Brush = new SolidColorBrush(m_Color);
            m_Material.Brush.Opacity = m_fOpacity = 0.9f;
        }