RunDataForm.cs 745 B

12345678910111213141516171819202122232425262728293031
  1. using PlcUiControl;
  2. using PlcUiForm;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel;
  6. using System.Data;
  7. using System.Drawing;
  8. using System.Linq;
  9. using System.Text;
  10. using System.Threading.Tasks;
  11. using System.Windows.Forms;
  12. using YangjieTester.Properties;
  13. using static System.Windows.Forms.VisualStyles.VisualStyleElement;
  14. namespace YangjieTester.主界面
  15. {
  16. [FormDescriptionAttribute("当前生产数据")]
  17. public partial class RunDataForm : PlcBaseForm
  18. {
  19. public RunDataForm()
  20. {
  21. InitializeComponent();
  22. }
  23. private void timer1_Tick(object sender, EventArgs e)
  24. {
  25. lblCurrentBatchID.Text = AppSession.CurrentBatch.BatchID;
  26. }
  27. }
  28. }