-
complex
Math class complex calculations. There main argument, the complex conjugate calculation. . .
- 2014-01-20 18:28:56下载
- 积分:1
-
ADC0832
说明: 单片机通过ADC0832在lcd1602显示电压数值。(The single chip computer displays the voltage value in LCD1602 by ADC0832.)
- 2019-02-21 22:53:13下载
- 积分:1
-
用PIC单片机pic16f161写的爆闪灯程序
想学习PIC单片机程序的,可以进来看看。PIC16F161
- 2022-11-22 15:40:03下载
- 积分:1
-
oled_spi
说明: ESP32使用SPI协议点亮SSD1306 OLED屏的库函数(Esp32 uses SPI protocol to lighten the library function of ssd1306 OLED screen)
- 2020-06-26 22:00:02下载
- 积分:1
-
PLC虚拟复卷机
模拟复卷机运动过程,可以通过界面操作或者串口通信对虚拟复卷机进行操作,使用的是松下MEWTOCOL通信协议,复卷机操作模式为泰德操作逻辑。运行后会在D盘根目录生成一个配置文件,可以通过配置文件对按钮触点编号、串口号及相应通道格式进行修改
- 2022-04-16 22:52:04下载
- 积分:1
-
C#使用微信模拟发送post消息请求
C#模拟发送post请求,使用微信模拟消息,Post请求模拟器。
WebClient wc = new WebClient();
wc.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
byte[] postdata = Encoding.UTF8.GetBytes(poststr);
byte[] responseData = wc.UploadData(textBox3.Text, "POST", postdata);//得到返回字符流
textBox2.Text = Encoding.UTF8.GetString(responseData);
- 2022-11-24 04:30:03下载
- 积分:1
-
gsoap2.8.54源码
gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码gsoap2.8.54源码
- 2022-03-29 15:21:48下载
- 积分:1
-
keyboard
实现的模拟键盘代码,模拟ps2协议,可以与计算机相连实现键盘的功能,在keil c下开发的。-89s51 achieved through keyboard simulation code, simulation ps2 agreement with the computer keyboard connected to the functions of the c Keil under development(Realize analog keyboard code, analog ps2 agreement, can realize the computer connected to the keyboard functions in keil c developed.-89s51 achieved through keyboard simulation code, simulation ps2 agreement with the computer keyboard connected to the functions of the c Keil under development)
- 2007-11-06 13:15:35下载
- 积分:1
-
HSMS-SECS.1.0.0.1
说明: HSMS demo tool
simulate hsms
- 2020-01-19 13:50:31下载
- 积分:1
-
EF Code First简介及一个入门级实例
一、EF Code First简介 EntityFramework 代码优先 二、EF Code First第一个简单实例 1、开发环境及数据库说明 开发环境:Visual Studio 2010 Ultimate sp1 Sql Server 2008 R2 数据库:Northwind 2、实例代码结构 结构说明: App:控制台应用程序 Data:数据访问 Domain:实体类 3、安装Entity Framework 在Visual Studio编辑器中点击Tools -> Library Package Manager -> Package Manager Console,在Package Manager Console窗口中执行下面语句,安装最新版Entity Framework。 PM> Install-Package EntityFramework App层和Data层分别添加对EntityFramework的引用: 在App层安装EntityFramework之后,将自动添加App.config和packages.config文件。 App.config配置Entity Framework版本信息及数据库连接信息,修改其中数据连接信息以适应本地实际环境。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 packages.config现实当前项目使用的package: 1 2 3 4 4、实例代码 Domain中Category.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace Northwind.Domain.Entities 7 { 8 public class Category 9 { 10 /// 11 /// 分类ID 12 /// 13 public int CategoryID { get; set; } 14 15 /// 16 /// 分类名称 17 /// 18 public string CategoryName { get; set; } 19 } 20 } Data中NorthwindContext.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 using System.Data.Entity; 7 8 using Northwind.Domain.Entities; 9 10 namespace Northwind.Data 11 { 12 public class NorthwindContext : DbContext 13 { 14 public DbSet Categories { get; set; } 15 } 16 } App中Program.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 using Northwind.Data; 7 using Northwind.Domain.Entities; 8 9 namespace Northwind.App 10 { 11 class Program 12 { 13 static void Main(string[] args) 14 { 15 Category c = new Category() { CategoryName = "电子数码" }; 16 17 using (NorthwindContext db = new NorthwindContext()) 18 { 19 db.Categories.Add(c); 20 db.SaveChanges(); 21 } 22 23 Console.WriteLine("Finish"); 24 Console.ReadKey(); 25 } 26 } 27 } 5、运行说明 由于在上面的数据库连接字符串中并未包含指定的数据库名称,运行成功之后,将在本地数据引擎中创建如下数据库和表: 数据库名称:Northwind.Data.NorthwindContext 表名称:Categories 6、示例代码附件
- 2014-04-22下载
- 积分:1