示例#1
0
 private void SaveForces()
 {
     foreach (var force in Forces.Where(force => force.Changed))
     {
         force.SaveChanges();
     }
 }
示例#2
0
        //public ISteelMaterial Material { get; set; }


        public List <IMemberForce> GetForce(string LoadCaseName)
        {
            var f = Forces.Where(a => a.LoadCaseName == LoadCaseName).ToList();

            if (f == null)
            {
                throw new Exception("Member force for load combination not found");
            }

            return(f);
        }