代码如下:
TSM.Model model = new TSM.Model();
if(model.GetConnectionStatus())
{
ModelInfo modelInfo = model.GetInfo();
MessageBox.Show(modelInfo.ModelPath);
// model.CommitChanges();
}
运行结果如下: