Exemple #1
0
        private void OnChangeGSMax(ChangeGSMaxType ChangeGSMax)
        {
            int senderIdx = FindComponentIndex(ChangeGSMax.component);

            if (senderIdx < 0)
            {
                throw new Exception("Unknown Canopy Component: " + Convert.ToString(ChangeGSMax.component));
            }
            ComponentData[senderIdx].Gsmax += ChangeGSMax.dlt;
        }
Exemple #2
0
 private void OnChangeGSMax(ChangeGSMaxType ChangeGSMax)
 {
     int senderIdx = FindComponentIndex(ChangeGSMax.component);
     if (senderIdx < 0)
     {
         throw new Exception("Unknown Canopy Component: " + Convert.ToString(ChangeGSMax.component));
     }
     ComponentData[senderIdx].Gsmax += ChangeGSMax.dlt;
 }