Exemple #1
0
 public dtoCriterion(long id, String name, int display)
     : base()
 {
     Id             = id;
     DisplayOrder   = display;
     Name           = name;
     WeightSettings = new lm.Comol.Core.Dss.Domain.Templates.dtoItemWeightSettings();
     MethodSettings = new lm.Comol.Core.Dss.Domain.Templates.dtoItemMethodSettings();
 }
Exemple #2
0
        public dtoItemWeightSettings Copy()
        {
            dtoItemWeightSettings dto = new dtoItemWeightSettings();

            dto.IdRatingValue          = IdRatingValue;
            dto.IdRatingValueEnd       = IdRatingValueEnd;
            dto.Weight                 = Weight;
            dto.WeightFuzzy            = WeightFuzzy;
            dto.IsFuzzyWeight          = IsFuzzyWeight;
            dto.RatingType             = RatingType;
            dto.FuzzyMeWeights         = FuzzyMeWeights;
            dto.ManualWeights          = ManualWeights;
            dto.IsValidFuzzyMeWeights  = IsValidFuzzyMeWeights;
            dto.UseFatherManualWeights = UseFatherManualWeights;
            dto.Error = Error;
            return(dto);
        }
Exemple #3
0
        public static dtoItemWeightSettings Create(ItemWeightSettings item, Boolean useFatherManualWeights, DssError error)
        {
            dtoItemWeightSettings dto = new dtoItemWeightSettings();

            dto.IdRatingValue          = item.IdRatingValue;
            dto.IdRatingValueEnd       = item.IdRatingValueEnd;
            dto.Weight                 = item.Weight;
            dto.WeightFuzzy            = item.WeightFuzzy;
            dto.IsFuzzyWeight          = item.IsFuzzyWeight;
            dto.RatingType             = item.RatingType;
            dto.FuzzyMeWeights         = item.FuzzyMeWeights;
            dto.ManualWeights          = item.ManualWeights;
            dto.IsValidFuzzyMeWeights  = item.IsValidFuzzyMeWeights;
            dto.UseFatherManualWeights = useFatherManualWeights;
            dto.Error = error;

            return(dto);
        }
Exemple #4
0
 public dtoCriterion()
     : base()
 {
     WeightSettings = new lm.Comol.Core.Dss.Domain.Templates.dtoItemWeightSettings();
     MethodSettings = new lm.Comol.Core.Dss.Domain.Templates.dtoItemMethodSettings();
 }