Exemple #1
0
        /// <summary>
        /// Построение модели.
        /// </summary>
        /// <param name="sender">Отправитель события</param>
        /// <param name="e">Параметры</param>
        private void BuildVal_Click(object sender, EventArgs e)
        {
            {
                _inventorApi = new InventorApi();

                _thermosModel = new ThermosModel(_thermosProperties, _inventorApi);
                _thermosModel.Build();
            }
        }
Exemple #2
0
 /// <summary>
 /// Конструктор с входными параметрами модели.
 /// </summary>
 /// <param name="thermosProperties">Параметры модели</param>
 /// <param name="inventorApi"></param>
 public ThermosModel(ThermosProperties thermosProperties, InventorApi inventorApi)
 {
     _thermosProperties = thermosProperties;
     _api = inventorApi;
 }