Пример #1
0
 public FrmBehaelter()
 {
     InitializeComponent();
     frm_Mng         = ClsFormularManager.CreateInstance();
     glb_plc         = ClsPLC.CreateInstance();
     glb_DataBinding = ClsDataBinding.CreateInstance();
 }
Пример #2
0
 public FrmPara()
 {
     InitializeComponent();
     m_glb_FormularManager = ClsFormularManager.CreateInstance();
     m_glb_FormularManager.FormularAdd(this, this.Name.ToString());
     m_glb_PLC         = ClsPLC.CreateInstance();
     m_glb_DataBinding = ClsDataBinding.CreateInstance();
 }
Пример #3
0
        public FrmRelease()
        {
            InitializeComponent();
            this.Width            = 1024;
            this.Height           = 768;
            this.Text             = "Freigaben";
            this.FormBorderStyle  = System.Windows.Forms.FormBorderStyle.FixedDialog;
            m_Releases            = new Dictionary <string, string>();
            m_glb_FormularManager = ClsFormularManager.CreateInstance();
            m_glb_FormularManager.FormularAdd(this, this.Name.ToString());
            m_glb_PLC         = ClsPLC.CreateInstance();
            m_glb_DataBinding = ClsDataBinding.CreateInstance();

            this.CreateTabControl();
            this.CreatePage();
            this.CreateSymbols();
        }
Пример #4
0
        public FrmService()
        {
            InitializeComponent();
            this.m_glb_FormularManager = ClsFormularManager.CreateInstance();
            this.m_glb_FormularManager.FormularAdd(this, this.Name.ToString());
            this.m_glb_PLC         = ClsPLC.CreateInstance();
            this.m_glb_DataBinding = ClsDataBinding.CreateInstance();
            this.m_Services        = new Dictionary <string, string>();
            this.m_TabInfo         = new Dictionary <string, int>();
            this.m_Symboldaten     = new List <DatenService>();
            this.m_GroupBoxDaten   = new List <GroupBox>();

            this.LoadPlc();
            this.CreatePageControl();
            this.CreateTabControl();
            this.CreateSymbole();
        }
Пример #5
0
        public frmMainScreen()
        {
            InitializeComponent();
            FuncGeneral.Start();

            glb_DataBinding = ClsDataBinding.CreateInstance();
            frmMng          = ClsFormularManager.CreateInstance();
            frmMng.AddButton(BtnStyle.btg_Para, "FrmPara");
            frmMng.AddButton(BtnStyle.btg_Service, "FrmService");
            frmMng.AddButton(BtnStyle.btg_Freigabe, "FrmRelease");
            frmMng.AddButton(BtnStyle.btg_Error, "FrmError");
            frmMng.AddBitButtonCloseAll();


            glb_plc = ClsPLC.CreateInstance();

            helperMakroControl = new HelperMakroControl();
            helperLibNoDave    = new HelperLibNoDave(this);
        }
Пример #6
0
        public FrmDatenlogger()
        {
            InitializeComponent();
            glb_DataBinding = ClsDataBinding.CreateInstance();
            frmMng          = ClsFormularManager.CreateInstance();
            glb_plc         = ClsPLC.CreateInstance();

            sqlHelper = new SQLHelper(m_ConnectionString);
            FuncGeneral.Start();
            this.ShowClose = true;
            this.LoadPlc();
            this.BindConrols();

            glb_plc.IP   = "10.100.72.125";
            glb_plc.Rack = 0;
            glb_plc.Slot = 2;

            glb_plc.Open();
            glb_plc.Read();

            this.CreateListView();
        }
Пример #7
0
 public HelperLibNoDave(frmMainScreen Frm)
 {
     glb_plc         = ClsPLC.CreateInstance();
     glb_DataBinding = ClsDataBinding.CreateInstance();
     this.m_Form     = Frm;
 }