Beispiel #1
0
        /// <summary>
        /// Adds the paddock.
        /// </summary>
        /// <param name="paddId">The padd identifier.</param>
        /// <param name="paddName">Name of the padd.</param>
        public void AddPaddock(int paddId, string paddName)
        {
            int idx = Paddocks.Length;

            Array.Resize(ref Paddocks, idx + 1);
            Paddocks[idx]          = new PaddockInfo();
            Paddocks[idx].Name     = paddName.ToLower();
            Paddocks[idx].PaddId   = paddId;
            Paddocks[idx].SupptFed = new TSupplementRation();
        }
Beispiel #2
0
 /// <summary>
 /// Adds the paddock.
 /// </summary>
 /// <param name="paddId">The padd identifier.</param>
 /// <param name="paddName">Name of the padd.</param>
 public void AddPaddock(int paddId, string paddName)
 {
     int idx = Paddocks.Length;
     Array.Resize(ref Paddocks, idx + 1);
     Paddocks[idx] = new PaddockInfo();
     Paddocks[idx].Name = paddName.ToLower();
     Paddocks[idx].PaddId = paddId;
     Paddocks[idx].SupptFed = new TSupplementRation();
 }