xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 70KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-14
  • 語(yǔ)言: 其他
  • 標(biāo)簽: C#??

資源簡(jiǎn)介

串口實(shí)時(shí)圖像顯示溫度數(shù)據(jù),并且可以保存TXT文件,下位機(jī)使用的是ARM

資源截圖

代碼片段和文件信息

using?System;
using?Microsoft.Win32;
using?System.Collections.Generic;
using?System.IO.Ports;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Threading.Tasks;
using?System.Windows.Forms;
using?System.Text.Regularexpressions;
using?System.Windows.Forms.DataVisualization.Charting;
using?System.IO;

namespace?WindowsFormsApplication4
{
????public?partial?class?realchart?:?Form
????{
????????private?SerialPort?comm?=?new?SerialPort();
????????private?StringBuilder?builder?=?new?StringBuilder();//避免在事件處理方法中反復(fù)的創(chuàng)建,定義到外面。
????????private?long?received_count?=?0;//接收計(jì)數(shù)
????????private?bool?Listening?=?false;//是否沒(méi)有執(zhí)行完invoke相關(guān)操作
????????private?new?bool?Closing?=?false;//是否正在關(guān)閉串口,執(zhí)行Application.DoEvents,并阻止再次invoke
????????private?Queue?dataQueue?=?new?Queue(100);
????????private?int?num?=?5;//每次刪除增加幾個(gè)點(diǎn)
????????private?string?resultFile;
????????private?double?str;
????????private?string?string1;



????????public?realchart()
????????{
????????????InitializeComponent();
????????????System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls?=?false;//設(shè)置該屬性?為false
????????}
????????private?void?btnInit_Click(object?sender?EventArgs?e)
????????{
????????????//定義圖表區(qū)域??????????
????????????this.chart1.ChartAreas.Clear();
????????????ChartArea?chartArea1?=?new?ChartArea(“C1“);
????????????this.chart1.ChartAreas.Add(chartArea1);????????????//定義存儲(chǔ)和顯示點(diǎn)的容器?????
????????????this.chart1.Series.Clear();
????????????Series?series1?=?new?Series(“S1“);
????????????series1.ChartArea?=?“C1“;
????????????this.chart1.Series.Add(series1);
????????????//設(shè)置圖表顯示樣式?????????
????????????this.chart1.ChartAreas[0].AxisY.Minimum?=?0;
????????????this.chart1.ChartAreas[0].AxisY.Maximum?=?100;
????????????this.chart1.ChartAreas[0].AxisY.Interval?=?10;
????????????this.chart1.ChartAreas[0].AxisX.Interval?=?5;
????????????this.chart1.ChartAreas[0].AxisX.MajorGrid.LineColor?=?System.Drawing.Color.Silver;
????????????this.chart1.ChartAreas[0].AxisY.MajorGrid.LineColor?=?System.Drawing.Color.Silver;
????????????//設(shè)置標(biāo)題??????????
????????????this.chart1.titles.Clear();
????????????this.chart1.titles.Add(“S01“);
????????????this.chart1.titles[0].Text?=?“XXX顯示“;
????????????this.chart1.titles[0].ForeColor?=?Color.RoyalBlue;
????????????this.chart1.titles[0].Font?=?new?System.Drawing.Font(“Microsoft?Sans?Serif“?12F);
????????????//設(shè)置圖表顯示樣式????????????
????????????this.chart1.Series[0].Color?=?Color.Red;
????????????if?(rb2.Checked)
????????????{
????????????????this.chart1.titles[0].Text?=?string.Format(“溫度?{0}?顯示“?rb2.Text);
????????????????this.chart1.Series[0].ChartType?=?SeriesChartType.Line;
????????????}
????????????if?(rb1.Checked)
????????????{
????????????????this.chart1.titles[0].Text?=?string.Format(“溫度?{0}?顯示“?rb1.Text);
????????????????this.chart1.Series[0].ChartType?=?SeriesChartType.Spline;
????????????}
????????????thi

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

????..A..H.?????61440??2019-09-27?11:38??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\.vs\WindowsFormsApplication4\v14\.suo

?????文件????????189??2019-09-06?15:17??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\App.config

?????文件??????19968??2019-09-25?08:37??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.exe

?????文件????????189??2019-09-06?15:17??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.exe.config

?????文件??????30208??2019-09-25?08:37??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.pdb

?????文件??????22696??2019-09-27?11:37??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.vshost.exe

?????文件????????189??2019-09-06?15:17??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.vshost.exe.config

?????文件????????490??2018-09-15?15:29??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.vshost.exe.manifest

?????文件??????10240??2019-09-25?08:37??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\Form1.cs

?????文件??????17620??2019-09-24?10:35??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\Form1.Designer.cs

?????文件???????6384??2019-09-24?10:35??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\Form1.resx

?????文件???????1797??2019-09-16?08:35??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\obj\Debug\DesignTimeResolveAssemblyReferences.cache

?????文件???????7531??2019-09-12?16:20??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件??????????0??2019-09-06?15:17??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

?????文件??????????0??2019-09-06?15:17??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

?????文件??????????0??2019-09-06?15:17??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

?????文件???????5377??2019-09-27?11:37??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\obj\Debug\WindowsFormsApplication4.csproj.FileListAbsolute.txt

?????文件???????1012??2019-09-24?10:35??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\obj\Debug\WindowsFormsApplication4.csproj.GenerateResource.Cache

?????文件???????2559??2019-09-23?11:01??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\obj\Debug\WindowsFormsApplication4.csprojResolveAssemblyReference.cache

?????文件??????19968??2019-09-25?08:37??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\obj\Debug\WindowsFormsApplication4.exe

?????文件??????30208??2019-09-25?08:37??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\obj\Debug\WindowsFormsApplication4.pdb

?????文件????????180??2019-09-23?11:01??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\obj\Debug\WindowsFormsApplication4.Properties.Resources.resources

?????文件????????180??2019-09-24?10:35??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\obj\Debug\WindowsFormsApplication4.realchart.resources

?????文件????????540??2019-09-06?15:33??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\Program.cs

?????文件???????1370??2019-09-06?15:17??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\Properties\AssemblyInfo.cs

?????文件???????2861??2019-09-06?15:17??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\Properties\Resources.Designer.cs

?????文件???????5612??2019-09-06?15:17??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\Properties\Resources.resx

?????文件???????1111??2019-09-06?15:17??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\Properties\Settings.Designer.cs

?????文件????????249??2019-09-06?15:17??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\Properties\Settings.settings

?????文件???????4014??2019-09-06?15:33??上位機(jī)實(shí)時(shí)顯示?-1\WindowsFormsApplication4\WindowsFormsApplication4\WindowsFormsApplication4.csproj

............此處省略16個(gè)文件信息

評(píng)論

共有 條評(píng)論