⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 16巡检仪.searchresults

📁 16路巡检仪 该仪表采用c语言编写
💻 SEARCHRESULTS
📖 第 1 页 / 共 5 页
字号:
KEYdeal.c:												kr=3;
KEYdeal.c:												kr=3;
KEYdeal.c:												kr=2;
KEYdeal.c:												kr=2;
KEYdeal.c:												kr=2;
KEYdeal.c:												kr=2;
KEYdeal.c:												kr=2;
KEYdeal.c:												kr=3;
KEYdeal.c:												kr=2;
KEYdeal.c:			flashByteR(LEDbuf, kr, leng, 4);
VFdeal.c:	bit		kr1=1;
VFdeal.c:					default:kr1=0;
VFdeal.c:			if(kr1!=0)
---- kt Matches (6 in 2 files) ----
KEYdeal.c:	bit	kt=1;
KEYdeal.c:						default:kt=0;
KEYdeal.c:						default:kt=0;
KEYdeal.c:						default:kt=0;
KEYdeal.c:		if(kt!=0)
Reg51.h (c:\documents and settings\administrator\桌面\16路巡检仪):Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
---- leng Matches (57 in 1 files) ----
KEYdeal.c:	uint	leng,sysleng,funleng,temp;
KEYdeal.c:	sysleng=wk*16;
KEYdeal.c:	funleng=wt*16;
KEYdeal.c:												leng=0;
KEYdeal.c:												leng=4;
KEYdeal.c:											//	leng=96+portl;
KEYdeal.c:												leng=8;
KEYdeal.c:												leng=12;
KEYdeal.c:												leng=4;
KEYdeal.c:												leng=20;
KEYdeal.c:												leng=24+sysleng;
KEYdeal.c:												leng=28+sysleng;
KEYdeal.c:												leng=32+sysleng;
KEYdeal.c:												leng=36+sysleng;
KEYdeal.c:												leng=16;
KEYdeal.c:												leng=284+funleng;
KEYdeal.c:												leng=288+funleng;
KEYdeal.c:												leng=292+funleng;
KEYdeal.c:												leng=296+funleng;
KEYdeal.c:												leng=300+funleng;
KEYdeal.c:												leng=280;
KEYdeal.c:												leng=36;
KEYdeal.c:												leng=40;
KEYdeal.c:												leng=44;
KEYdeal.c:												leng=48;
KEYdeal.c:												leng=52;
KEYdeal.c:												leng=56;
KEYdeal.c:												leng=32;
KEYdeal.c:												leng=64;
KEYdeal.c:												leng=68;
KEYdeal.c:												leng=72;
KEYdeal.c:												leng=76;
KEYdeal.c:												leng=80;
KEYdeal.c:												leng=84+portl;
KEYdeal.c:												leng=88+portl;
KEYdeal.c:												leng=92+portl;
KEYdeal.c:												leng=96+portl;
KEYdeal.c:												leng=32;
KEYdeal.c:												leng=4;
KEYdeal.c:												leng=16;
KEYdeal.c:												leng=280;
KEYdeal.c:												leng=16;
KEYdeal.c:												leng=280;
KEYdeal.c:												leng=32;
KEYdeal.c:												leng=4;
KEYdeal.c:			flashByteR(LEDbuf, kr, leng, 4);
---- pp Matches (18 in 2 files) ----
float to HEX.c:uchar	pp;
float to HEX.c:			pp=0;
float to HEX.c:			pp=1;
float to HEX.c:			pp=2;
float to HEX.c:			pp=3;
float to HEX.c:			pp=3;
float to HEX.c:			pp=3;
float to HEX.c:			pp=3;
float to HEX.c:			pp=0;
LEDdeal.c:extern	uchar	pp;
LEDdeal.c:							if(pp==1)
LEDdeal.c:							else if(pp==2)
LEDdeal.c:							else if(pp==3)
LEDdeal.c:							pp=0;
LEDdeal.c:							if(pp==1)
LEDdeal.c:							else if(pp==2)
LEDdeal.c:							else if(pp==3)
LEDdeal.c:							pp=0;
---- pp Matches (18 in 2 files) ----
float to HEX.c:uchar	pp;
float to HEX.c:			pp=0;
float to HEX.c:			pp=1;
float to HEX.c:			pp=2;
float to HEX.c:			pp=3;
float to HEX.c:			pp=3;
float to HEX.c:			pp=3;
float to HEX.c:			pp=3;
float to HEX.c:			pp=0;
LEDdeal.c:extern	uchar	pp;
LEDdeal.c:							if(pp==1)
LEDdeal.c:							else if(pp==2)
LEDdeal.c:							else if(pp==3)
LEDdeal.c:							pp=0;
LEDdeal.c:							if(pp==1)
LEDdeal.c:							else if(pp==2)
LEDdeal.c:							else if(pp==3)
LEDdeal.c:							pp=0;
---- TMing1 Matches (6 in 2 files) ----
Inttrup.c:extern	uchar	keyn,Chose,TMing1;
Inttrup.c:				TMing1++;
Inttrup.c:				TMing1=0;
KEYdeal.c:uchar	keyn=0,TMing1=0;
KEYdeal.c:						case zcdisplay:		if(TMing1>20)
KEYdeal.c:												TMing1=0;
---- Sampldata Matches (12 in 3 files) ----
Inttrup.c:extern	uint	Sampldata1;
KEYdeal.c:	temp=Sampldata-SampldataG;
VFdeal.c:uint	Sampldata1=0;
VFdeal.c:				X=(Sampldata-SampldataG)*100.0/VR[VFport-1];
VFdeal.c:				X=(Sampldata-SampldataG)*280.98/AR[VFport-1];
VFdeal.c:				X=(Sampldata-SampldataG)*5.0/VR[VFport-1];
VFdeal.c:				X=(Sampldata-SampldataG)*20.0/IR[VFport-1];
---- cytwo Matches (7 in 2 files) ----
Inttrup.c:extern	bit	cytwo;
Inttrup.c:					{	if(cytwo==1)
Inttrup.c:				if(cytwo==0)
Sysint.c:bit		cytwo=0;
Sysint.c:				if(cytwo==0)
Sysint.c:						cytwo=1;
Sysint.c:						cytwo=0;
---- vfcy Matches (4 in 2 files) ----
Inttrup.c:bit		vfcy;
VFdeal.c:extern	bit	vfcy,vfmark;
VFdeal.c:	if(vfcy==1)							//采集完一路  采集下一路
VFdeal.c:			vfcy=0;
---- tt Matches (30 in 5 files) ----
Flash.c:	uchar tt=0;
Flash.c:		if((ty*4)==512*tt)
Flash.c:			tt++;
Head.h:#define  	settime			4		//设置LED刷新时间
Head.h:#define		settime			4
Hex to bcd.ASM:;					程序来源: http://www.yymcu.com
Hex to bcd.ASM:;					欢迎防问: http://www.yymcu.com
Inttrup.c:uchar	count,kcout,jitter,jiasu,KEYbuf[4],VFnowt,Refreshtime=settime,countt=1;
Inttrup.c:uchar	tt=0;
Inttrup.c:			Refreshtime=settime;		//重装刷新时间
Inttrup.c:				tt=0;
Inttrup.c:			{	jitter++;				//判断键盘是否有没按下
Inttrup.c:				jitter=0;				//无键盘按下
Inttrup.c:			if(jitter==30)				//给键盘赋值
Inttrup.c:					jitter=0;	
Inttrup.c:					tt++;
Inttrup.c:					if(tt>=8)
Inttrup.c:							tt=0;
KEYdeal.c:	float	adatt;
KEYdeal.c:		{	adatt=dotdat[dot[wk]];
KEYdeal.c:													rangeL[wk]+=adatt;
KEYdeal.c:													rangeH[wk]+=adatt;
KEYdeal.c:													warmH[wt]+=adatt;
KEYdeal.c:													warmL[wt]+=adatt;
KEYdeal.c:													rangeL[wk]-=adatt;
KEYdeal.c:													rangeH[wk]-=adatt;
KEYdeal.c:													warmH[wt]-=adatt;
KEYdeal.c:													warmL[wt]-=adatt;
---- port Matches (71 in 6 files) ----
Deal.c:	switch(typdat[VFport])						//选择输入类型
Deal.c:				if(typdat[VFport]<=11)	//热电偶
Deal.c:						PV[VFport]=temp1[0]+temp1[1]*X+temp1[2]*X*X+temp1[3]*X*X*X+temp1[4]*X*X*X*X;//计算采样值
Deal.c:				else if(typdat[VFport]<=13)
Deal.c:						PV[VFport]=pvdat[3]/VR[VFport]*(rangeH[VFport]-rangeL[VFport])+rangeL[VFport];
Deal.c:				else if(typdat[VFport]<=16)
Deal.c:						PV[VFport]=pvdat[3]/IR[VFport]*(rangeH[VFport]-rangeL[VFport])+rangeL[VFport];		
Inttrup.c:extern	uchar	keyn,Chose,TMing1,VFport;
KEYdeal.c:extern	uchar	xdata	port;
KEYdeal.c:{	uchar 	kr,portl,wk,wt;
KEYdeal.c:	portl=(port-1)*12;
KEYdeal.c:												leng=96+portl;
KEYdeal.c:												leng=84+portl;
KEYdeal.c:												leng=88+portl;
KEYdeal.c:												leng=92+portl;
KEYdeal.c:												leng=96+portl;
KEYdeal.c:						case		jianyan5:	if(port<road)
KEYdeal.c:													port++;
KEYdeal.c:												Hex2Bcd(port,si);
KEYdeal.c:						case		jianyan6:	AR[port-1]=temp;
KEYdeal.c:						case		jianyan7:	temp=pvdat1[port-1]<<8|pvdat11[port-1]-pvdat3[port-1]<<8|pvdat33[port-1];
KEYdeal.c:												IR[port-1]=temp;
KEYdeal.c:												Hex2Bcd(IR[port-1],si);
KEYdeal.c:						case		jianyan8:	VR[port]=temp;
KEYdeal.c:						case		jianyan5:	if(port>1)
KEYdeal.c:													port--;
KEYdeal.c:												Hex2Bcd(port,si);
KEYdeal.c:						case		jianyan6:	AR[port-1]=temp;
KEYdeal.c:						case		jianyan7:	IR[port-1]=temp;
KEYdeal.c:												Hex2Bcd(IR[port-1],si);
KEYdeal.c:						case		jianyan8:	VR[port-1]=temp;
KEYdeal.c:												Hex2Bcd(VR[port-1],si);
LEDdeal.c:uchar	VFport1=1;
LEDdeal.c:								{	if(VFport1<16)
LEDdeal.c:										VFport1++;
LEDdeal.c:										VFport1=1;
LEDdeal.c:								{	if(VFport1<16)
LEDdeal.c:										VFport1++;
LEDdeal.c:										VFport1=1;
LEDdeal.c:							floatToBCD(PV[VFport1-1], LEDbuf1);
LEDdeal.c:							Hex2Bcd((int)VFport1,LEDbuf1);
Sysint.c:extern	uchar	xdata	port;
Sysint.c:extern	uchar	VFport,VFnowt;
Sysint.c:  	VFstart(VFport);
VFdeal.c:extern	uchar	xdata	collt,port,	typdat[16];
VFdeal.c:uchar	VFport=0;
VFdeal.c:			if(typdat[VFport]<=11)
VFdeal.c:			if(typdat[VFport]<=8)
VFdeal.c:				X=pvdat[4]*100.0/VR[VFport]
VFdeal.c:			else if(typdat[VFport]<=11)
VFdeal.c:				X=pvdat[4]*280.98/AR[VFport];
VFdeal.c:			else if(typdat[VFport]<=13)	
VFdeal.c:				X=pvdat[4]*5.0/VR[VFport];
VFdeal.c:			else if(typdat[VFport]<=16)	
VFdeal.c:				X=pvdat[4]*20.0/IR[VFport];
VFdeal.c:		if((VFport<15)&&(dt==1))
VFdeal.c:			VFport++;
VFdeal.c:			VFport=0;
VFdeal.c:		VFstart(VFport);
---- port Matches (69 in 6 files) ----
Deal.c:	switch(typdat[VFport])						//选择输入类型
Deal.c:				if(typdat[VFport]<=11)	//热电偶
Deal.c:						PV[VFport]=temp1[0]+temp1[1]*X+temp1[2]*X*X+temp1[3]*X*X*X+temp1[4]*X*X*X*X;//计算采样值
Deal.c:				else if(typdat[VFport]<=13)
Deal.c:						PV[VFport]=pvdat[3]/VR[VFport]*(rangeH[VFport]-rangeL[VFport])+rangeL[VFport];
Deal.c:				else if(typdat[VFport]<=16)
Deal.c:						PV[VFport]=pvdat[3]/IR[VFport]*(rangeH[VFport]-rangeL[VFport])+rangeL[VFport];		
Inttrup.c:extern	uchar	keyn,Chose,TMing1,VFport;
KEYdeal.c:extern	uchar	xdata	port;
KEYdeal.c:{	uchar 	kr,portl,wk,wt;
KEYdeal.c:	portl=VFport*12;
KEYdeal.c:												leng=96+portl;
KEYdeal.c:												leng=84+portl;
KEYdeal.c:												leng=88+portl;
KEYdeal.c:												leng=92+portl;
KEYdeal.c:												leng=96+portl;
KEYdeal.c:						case		jianyan5:	if(VFport<15)
KEYdeal.c:													VFport++;
KEYdeal.c:												Hex2Bcd(VFport,si);
KEYdeal.c:													AR[VFport]=pvdat[3];
KEYdeal.c:													Hex2Bcd(AR[VFport],si);
KEYdeal.c:													IR[VFport]=pvdat[3];
KEYdeal.c:													Hex2Bcd(IR[VFport],si);
KEYdeal.c:													VR[VFport]=pvdat[3];
KEYdeal.c:													Hex2Bcd(VR[VFport],si);
KEYdeal.c:						case		jianyan5:	if(port>1)
KEYdeal.c:													port--;
KEYdeal.c:												Hex2Bcd(port,si);
KEYdeal.c:						case		jianyan6:	AR[port-1]=temp;
KEYdeal.c:						case		jianyan7:	IR[port-1]=temp;
KEYdeal.c:												Hex2Bcd(IR[port-1],si);
KEYdeal.c:						case		jianyan8:	VR[port-1]=temp;
KEYdeal.c:												Hex2Bcd(VR[port-1],si);
LEDdeal.c:uchar	VFport1=1;
LEDdeal.c:								{	if(VFport1<16)
LEDdeal.c:										VFport1++;
LEDdeal.c:										VFport1=1;
LEDdeal.c:								{	if(VFport1<16)
LEDdeal.c:										VFport1++;
LEDdeal.c:										VFport1=1;
LEDdeal.c:							floatToBCD(PV[VFport1-1], LEDbuf1);
LEDdeal.c:							Hex2Bcd((int)VFport1,LEDbuf1);
Sysint.c:extern	uchar	xdata	port;
Sysint.c:extern	uchar	VFport,VFnowt;
Sysint.c:  	VFstart(VFport);
VFdeal.c:extern	uchar	xdata	collt,port,	typdat[16];
VFdeal.c:uchar	VFport=0;
VFdeal.c:			if(typdat[VFport]<=11)
VFdeal.c:			if(typdat[VFport]<=8)
VFdeal.c:				X=pvdat[4]*100.0/VR[VFport]
VFdeal.c:			else if(typdat[VFport]<=11)
VFdeal.c:				X=pvdat[4]*280.98/AR[VFport];
VFdeal.c:			else if(typdat[VFport]<=13)	
VFdeal.c:				X=pvdat[4]*5.0/VR[VFport];
VFdeal.c:			else if(typdat[VFport]<=16)	
VFdeal.c:				X=pvdat[4]*20.0/IR[VFport];
VFdeal.c:		if((VFport<15)&&(dt==1))
VFdeal.c:			VFport++;
VFdeal.c:			VFport=0;
VFdeal.c:		VFstart(VFport);
---- pvdat Matches (36 in 3 files) ----
Deal.c:						PV[VFport]=pvdat[3]/VR[VFport]*(rangeH[VFport]-rangeL[VFport])+rangeL[VFport];
Deal.c:						PV[VFport]=pvdat[3]/IR[VFport]*(rangeH[VFport]-rangeL[VFport])+rangeL[VFport];		
KEYdeal.c:uchar	xdata	pvdat1[16],pvdat11[16],pvdat2[16],pvdat22[16],pvdat3[16],pvdat33[16];
KEYdeal.c:extern	uint	pvdat[4];
KEYdeal.c:													t0=pvdat[3];
KEYdeal.c:													mv=pvdat[3];
KEYdeal.c:													bsdatH=pvdat[3];
KEYdeal.c:													bsdatL=pvdat[3];
KEYdeal.c:													AR[VFport]=pvdat[3];
KEYdeal.c:													IR[VFport]=pvdat[3];
KEYdeal.c:													VR[VFport]=pvdat[3];
KEYdeal.c:													t0=pvdat[3];
KEYdeal.c:													mv=pvdat[3];
KEYdeal.c:													bsdatH=pvdat[3];
KEYdeal.c:													bsdatL=pvdat[3];
KEYdeal.c:													AR[VFport]=pvdat[3];
KEYdeal.c:													IR[VFport]=pvdat[3];
KEYdeal.c:													VR[VFport]=pvdat[3];
VFdeal.c:uint	xdata	pvdat[4];

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -