Пример #1
0
        public Person(string name, string sex, double ratio, int weight, int height, int old = -1)
        {
            this.Name   = name;
            this.Sex    = sex;
            this.Weight = weight;
            this.Height = height;
            this.Old    = old;
            this.Ratio  = ratio;

            this.Minuty = 0;

            this._Dranked       = new Dranked();
            this._Reduction     = new Reduction(this.GetPersonStats());
            this.Promile        = new Promile();
            this.HighestPromile = new Promile();
            this.AllowedPromile = new Promile();

            //this.Promile = ;
        }
Пример #2
0
 public Promile(Promile promile)
 {
     this.Value         = promile.Value;
     this.MinutesPassed = promile.MinutesPassed;
 }
Пример #3
0
 public Promile(Promile promile)
 {
     this.Value = promile.Value;
     this.MinutesPassed = promile.MinutesPassed;
 }