예제 #1
0
 public scanNodeState(SrbOnelineMaster frame = null)
 {
     this.backlogic = frame;
     InitializeComponent();
     this.scanPB.ForeColor = SRB.Frame.support.Color_BackGround;
     this.scanPB.BackColor = SRB.Frame.support.Color_red;
 }
예제 #2
0
 public UpdateAll_uc(SrbOnelineMaster backlogic)
 {
     InitializeComponent();
     this.backlogic = backlogic;
     timer          = new Timer();
     timer.Interval = 5000;
     timer.Tick    += GotoUpdateByPowerOn_stop;
 }
예제 #3
0
        private static void Main(string[] args)
        {
            // SRB.Frame.ByteArrayExpand.test_byte_array_handle();
            Process cp;

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            cp = Process.GetCurrentProcess();
            cp.PriorityClass = ProcessPriorityClass.High;
            cp.PriorityClass = ProcessPriorityClass.RealTime;

            SRB.Frame.Node.specializer = new Specializer();
            SrbOnelineMaster main_srb = new SrbOnelineMaster();

            Application.Run(main_srb.Nodes_form);
        }
예제 #4
0
        public MainForm(SrbOnelineMaster pa)
        {
            InitializeComponent();
            nodesTable.BackColor      = support.Color_BackGround;
            frameCounterFLP.BackColor = support.Color_BackGround;
            // this.BackColor = support.Color_HighLight;

            frameCounterFLP.Refresh();
            backlogic = pa;
            setPortState();
            brainRunStateUpdate();
            // cycleSet(this, null);
            System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();

            VersionLAB.Text = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString() + " " +
                              global::SRB_CTR.Properties.Resources.VersionType;

            frameCounterFLP.SizeChanged += FrameCounterFLP_SizeChanged;
            mainSC.SplitterDistance      = frameCounterFLP.Size.Height + 4;
        }
예제 #5
0
 public IBrain(SrbOnelineMaster f)
 {
     frame = f;
 }