public SimulationProperty(string nodeName, SimGroupManager groupManager, OtherSubSysInterface subSys) : this() { this.m_SimGroupManager = groupManager; this.m_otherSubSysInterface = subSys; this.m_SimGroupName = nodeName; this.Init(); }
public SimulationFrmUIModel(SimGroupManager groupManager, OtherSubSysInterface subSys, SimGroup simGroup) { this.m_GroupManager = groupManager; this.m_otherSubSysInterface = subSys; this.m_simGroup = simGroup; this.Init(); }
public SimulationFrmControl(SimGroupManager groupManager, OtherSubSysInterface subSys, SimGroup simGroup, FormOpenType frmType) { if (frmType == FormOpenType.New) { simGroup.GroupName = this.GenerateNewName(); } this.m_GroupManager = groupManager; this.m_FrmUIModel = new SimulationFrmUIModel(this.m_GroupManager, subSys, simGroup); }
public SimulationContextMenuView(TreeNode node, OtherSubSysInterface subSys, UserInformationInMap userInfo, SimGroupManager groupManager, IApplicationContext appContext) { this.components = null; this.simGroupIndex = 0; this.isfirst = true; this.FT = FieldType.State; this.DT = DisplayType.DiscreteValues; this.calculatFlag = false; this.isFirstAddGroup = false; this.m_SubSysInterface = subSys; this.m_UserInfo = userInfo; this.m_SimGroupManager = groupManager; this.m_ParentNode = node; this.AppContext = appContext; this.InitializeComponent(); this.Init(); }
private void Init() { this.InitMenuItemOperations(); this.InitNodeOperations(); this.m_SubSysInterface = new OtherSubSysInterface(); this.m_UserInfo = new UserInformationInMap(this.m_SubSysInterface, this.m_AppContext); this.m_SimGroupManager = new SimGroupManager(this.m_SubSysInterface); this.m_ExportManager = new ExportManager(this.m_AppContext, this.m_SimGroupManager, this.m_SubSysInterface); }
public void Dispose(bool disposing) { if (!this.m_Disposed) { if (disposing) { this.m_SubSysInterface = null; this.m_UserInfo = null; } if (this.m_SimGroupManager != null) { this.StopCaculateAndDeleteTempFiles(); this.m_SimGroupManager = null; } } this.m_Disposed = true; }