public void ShowModuleState() { if (projectProxy != null) { cpu = projectProxy.FindCPU("VPLC1"); ModuleState = cpu.ShowModuleState(); Controls.Add(ModuleState); var metainfos1 = TiaStarter.m_ViewApplicationContext.GetGlobalSingletonCache_MetaInfo(); var metainfos2 = TiaStarter.m_ViewApplicationContext.GetSingletonCache_MetaInfo(); var metainfos3 = TiaStarter.m_ViewApplicationContext.GetNonSingletonCache_MetaInfo(); var metainfos4 = TiaStarter.m_BusinessLogicApplicationContext.GetGlobalSingletonCache_MetaInfo(); var metainfos5 = TiaStarter.m_BusinessLogicApplicationContext.GetSingletonCache_MetaInfo(); var metainfos6 = TiaStarter.m_BusinessLogicApplicationContext.GetNonSingletonCache_MetaInfo(); Console.WriteLine("O"); } }
public void LoadOB1() { cpu = projectProxy.FindCPU("216889CPU"); pl = projectProxy.BlockServiceProxy.FindBlockByAddress(cpu, BlockType.FC, 2012)[0]; graph = projectProxy.BlockServiceProxy.FindBlockByAddress(cpu, BlockType.FB, 2010)[0]; }
public void LoadVatTable() { cpu = projectProxy.FindCPU("216889CPU"); graph = projectProxy.BlockServiceProxy.FindBlockByAddress(cpu, BlockType.FB, 2010)[0]; }