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; }
public UpdateAll_uc(SrbOnelineMaster backlogic) { InitializeComponent(); this.backlogic = backlogic; timer = new Timer(); timer.Interval = 5000; timer.Tick += GotoUpdateByPowerOn_stop; }
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); }
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; }
public IBrain(SrbOnelineMaster f) { frame = f; }