資源簡介
結合C#和運動控制,通過該實例能夠讓你簡單進行運動程序的編寫入門,該實例包含一個脈沖軸的來回控制;
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Threading.Tasks;
using?System.Windows.Forms;
using?csLTDMC;
namespace?定長運動_脈沖當量_
{
????public?partial?class?Form1?:?Form
????{
????????private?ushort?_CardID?=?0;
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????????short?num?=?LTDMC.dmc_board_init();//獲取卡數量
????????????if?(num?<=?0?||?num?>?8)
????????????{
????????????????MessageBox.Show(“初始卡失敗!“?“出錯“);
????????????}
????????????ushort?_num?=?0;
????????????ushort[]?cardids?=?new?ushort[8];
????????????uint[]?cardtypes?=?new?uint[8];
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????167??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\App.config
?????文件???????5660??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\Form1.cs
?????文件??????39544??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\Form1.Designer.cs
?????文件???????6011??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\Form1.resx
?????文件?????124861??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\LTDMC.cs
?????文件????????538??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\Program.cs
?????文件???????1390??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\Properties\AssemblyInfo.cs
?????文件???????2891??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\Properties\Resources.Designer.cs
?????文件???????5612??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\Properties\Resources.resx
?????文件???????1125??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\Properties\Settings.Designer.cs
?????文件????????249??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\Properties\Settings.settings
?????文件???????3940??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\定長運動(脈沖當量).csproj
?????文件????????949??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\定長運動(脈沖當量).sln
?????文件??????18944??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\定長運動(脈沖當量).suo
?????文件????????980??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量).sln
?????文件??????39936??2017-12-04?00:00??例1_定長運動(脈沖當量)\定長運動(脈沖當量).v11.suo
?????目錄??????????0??2019-05-10?15:33??例1_定長運動(脈沖當量)\定長運動(脈沖當量)\Properties
?????目錄??????????0??2019-05-13?10:59??例1_定長運動(脈沖當量)\定長運動(脈沖當量)
?????目錄??????????0??2019-05-10?15:33??例1_定長運動(脈沖當量)
-----------?---------??----------?-----??----
???????????????252797????????????????????19
評論
共有 條評論