Example #1
0
 public SHAClasses(SHAClasses classes, byte criticalPoints)
 {
     Name        = classes.Name;
     Comment     = classes.Comment;
     direction   = classes.Direction;
     totalPoints = criticalPoints;
 }
Example #2
0
        public void CreateСongruenceRule(string name, string decription, SHAClasses classes, byte minPoints)
        {
            var class1 = new Classes()
            {
                Points     = minPoints,
                SHAClasses = classes
            };
            var rule = CongruenceRule.CreateСongruenceRule(name, decription, class1, minPoints);

            congruenceRules.Add(rule);
        }