Esempio n. 1
0
 public PublicGraphs()
 {
     InitializeComponent();
     AdChart.Init("AD " + EmVerif.Core.Script.PublicConfig.AdChNum + "Ch", EmVerif.Core.Script.PublicConfig.AdChNum);
     PwmChart.Init("PWM " + EmVerif.Core.Script.PublicConfig.PwmChNum + "Ch", EmVerif.Core.Script.PublicConfig.PwmChNum);
     SpioutChart.Init("SPIOut " + EmVerif.Core.Script.PublicConfig.SpioutChNum + "Ch", EmVerif.Core.Script.PublicConfig.SpioutChNum);
 }
Esempio n. 2
0
 public void Set(IReadOnlyList <double> inAdDataList, IReadOnlyList <double> inPwmDataList, IReadOnlyList <double> inSpioutDataList)
 {
     lock (_dataLock)
     {
         AdChart.SetData(inAdDataList);
         PwmChart.SetData(inPwmDataList);
         SpioutChart.SetData(inSpioutDataList);
     }
 }
Esempio n. 3
0
 public void UpdateGraphs()
 {
     lock (_dataLock)
     {
         AdChart.UpdateDataForSync();
         PwmChart.UpdateDataForSync();
         SpioutChart.UpdateDataForSync();
     }
     AdChart.UpdateChart();
     PwmChart.UpdateChart();
     SpioutChart.UpdateChart();
 }