91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.33MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2024-01-28
  • 語言: C#
  • 標簽:

資源簡介

利用C#實現自己的導航地圖,還可以顯示圖像,調用百度地圖API,顯示實時軌跡

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.Security.Permissions;
using?System.Collections;
using?System.Data.SqlClient;
using?System.Linq;
using?System.Threading.Tasks;
using?System.IO.Ports;//串口操作命名空間
using?System.IO;//數據流
using?System.Threading;//線程操作命名空間
using?System.Text.Regularexpressions;
using?Camera_NET;

namespace?_001
{???
????????[PermissionSet(SecurityAction.Demand?Name?=?“FullTrust“)]
????????[System.Runtime.InteropServices.ComVisibleAttribute(true)]?
????public?partial?class?Form1?:?Form
????{
?????????public?CameraChoice?_CameraChoice?=?new?CameraChoice();

????????private?SerialPort?comm?=?new?SerialPort();
????????public?StringBuilder?builder?=?new?StringBuilder();//避免在事件處理方法中反復的創建,定義到外面。?????
????????private?long?received_count?=?0;//接收計數?????

????????//數據庫索引值
????????public?int?index?=?0;
????????public?int?index1?=?1;
????????public?int?index2?=?0;
????????//模擬數據;
????????double?vx=0?;
????????double?vy?=0;
????????????//消息隊列
????????????Queue?ax=new?Queue();
????????????Queue?ay=new?Queue?();
????????????//處理
????????????double?avx?=?0;
????????????double?avy?=?0;
????????????double?avz?=?0;
????????????double?avv?=?0;
????????????//
????????????bool?fag?=?false;
????????public?Form1()
????????{?
???
????????????InitializeComponent();
????????}
????????private?void?Form1_Load_1(object?sender?EventArgs?e)
????????{??????????
????????????string?str_url?=?Application.StartupPath?+?“\\map.html“;
????????????Uri?url?=?new?Uri(str_url);
????????????webBrowser1.Url?=?url;
????????????webBrowser1.objectForscripting?=?this;
????????????timer1.Enabled?=?true;
????????????string[]?ports?=?SerialPort.GetPortNames();
????????????Array.Sort(ports);
????????????toolStripComboBoxportname.Items.AddRange(ports);
????????????toolStripComboBoxportname.SelectedIndex?=?toolStripComboBoxportname.Items.Count?>?0???0?:?-1;
????????????toolStripComboBoxbaudrate.Items.Add(“4800“);
????????????toolStripComboBoxbaudrate.Items.Add(“9600“);
????????????toolStripComboBoxbaudrate.Items.Add(“19200“);
????????????toolStripComboBoxbaudrate.Items.Add(“38400“);
????????????toolStripComboBoxbaudrate.Items.Add(“57600“);
????????????toolStripComboBoxbaudrate.Items.Add(“115200“);
????????????toolStripComboBoxbaudrate.Items.Add(“115200“);
????????????toolStripComboBoxbaudrate.SelectedIndex?=?toolStripComboBoxbaudrate.Items.IndexOf(“9600“);//初始化SerialPort對象?

????????????//初始化SerialPort對象?????
????????????comm.NewLine?=?“/r/n“;
????????????//添加事件注冊?????
????????????comm.DataReceived?+=?comm_DataReceived;
????????????//?Get?List?of?devices?(cameras)
????????????_CameraChoice.UpdateDeviceList();

????????????//?To?get?an?example?of?camera?and?resolution?change?look?at?other?code?samples?
????????????if?(_CameraChoice.Devices.Count?>?0)
????????????{
?????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????4530??2017-09-15?23:52??代碼\001\001.csproj

?????文件????????187??2017-09-04?22:55??代碼\001\App.config

?????文件??????92160??2017-09-23?18:13??代碼\001\bin\Debug\001.exe

?????文件????????187??2017-09-04?22:55??代碼\001\bin\Debug\001.exe.config

?????文件??????32256??2017-09-23?18:13??代碼\001\bin\Debug\001.pdb

?????文件??????24224??2017-09-23?18:15??代碼\001\bin\Debug\001.vshost.exe

?????文件????????187??2017-09-04?22:55??代碼\001\bin\Debug\001.vshost.exe.config

?????文件????????490??2017-03-19?05:00??代碼\001\bin\Debug\001.vshost.exe.manifest

?????文件??????49152??2017-09-23?18:13??代碼\001\bin\Debug\Camera_NET.dll

?????文件??????93696??2017-09-23?18:13??代碼\001\bin\Debug\Camera_NET.pdb

?????文件???????1563??2017-09-09?01:13??代碼\001\bin\Debug\convertor.js

?????文件???????6716??2017-09-09?03:56??代碼\001\bin\Debug\CurveLine.js

?????文件?????430080??2017-09-23?18:13??代碼\001\bin\Debug\DirectShowLib-2010.dll

?????文件?????122368??2017-09-23?18:13??代碼\001\bin\Debug\DirectShowLib-2010.pdb

?????文件??????18729??2014-01-14?16:43??代碼\001\bin\Debug\DistanceTool_min.js

?????文件???????1213??2014-01-14?16:43??代碼\001\bin\Debug\DrawingManager_min.css

?????文件??????15908??2014-01-14?16:43??代碼\001\bin\Debug\DrawingManager_min.js

?????文件????????612??2017-09-05?17:04??代碼\001\bin\Debug\FE68CD.xml

?????文件??????16837??2017-09-11?18:20??代碼\001\bin\Debug\GeoUtils.js

?????文件??????59326??2014-01-14?14:27??代碼\001\bin\Debug\jquery-1.3.2.min.js

?????文件??????17192??2017-09-23?14:38??代碼\001\bin\Debug\map.html

?????文件??????11046??2017-09-08?23:52??代碼\001\bin\Debug\MapWrapper.js

?????文件??????25896??2014-01-14?14:27??代碼\001\bin\Debug\png-0003.png

?????文件??????26515??2014-01-14?14:27??代碼\001\bin\Debug\png-0004.png

?????文件??????25723??2014-01-14?14:27??代碼\001\bin\Debug\png-0005.png

?????文件???????1114??2017-09-19?02:45??代碼\001\bin\Debug\st.jpg

?????文件??????49152??2017-09-23?18:13??代碼\001\Camera_Net\bin\Debug\Camera_NET.dll

?????文件??????93696??2017-09-23?18:13??代碼\001\Camera_Net\bin\Debug\Camera_NET.pdb

?????文件?????430080??2017-09-23?18:13??代碼\001\Camera_Net\bin\Debug\DirectShowLib-2010.dll

?????文件?????122368??2017-09-23?18:13??代碼\001\Camera_Net\bin\Debug\DirectShowLib-2010.pdb

............此處省略157個文件信息

評論

共有 條評論

相關資源