public SHAClasses(SHAClasses classes, byte criticalPoints) { Name = classes.Name; Comment = classes.Comment; direction = classes.Direction; totalPoints = criticalPoints; }
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); }