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

📄 wtx801.c

📁 泵站系统屏与屏之间的通信
💻 C
📖 第 1 页 / 共 2 页
字号:
			case 75:	//南宁众诚科技PKL-II型励磁,广西水源洞水电站				res=pthread_create(&thread_a[k-1], NULL, Thread_ZCKJ, (void *)(&iPort[k-1]));					break;			case 76:	//南宁众诚科技SCZ系列直流,广西水源洞水电站				res=pthread_create(&thread_a[k-1], NULL, Thread_ZCKJSCZ, (void *)(&iPort[k-1]));					break;			case 77:	//宜昌能达PCC_STD励磁,甘肃石门坪水电站				res=pthread_create(&thread_a[k-1], NULL, Thread_PCC_STD, (void *)(&iPort[k-1]));					break;			case 78:	//四川鲍尔TCM100温度巡检,CCM规约,甘肃石门坪水电站				res=pthread_create(&thread_a[k-1], NULL, Thread_TCM100_CCM, (void *)(&iPort[k-1]));					break;			case 79:	//华能励磁  PWL-2A微机励磁系统				res=pthread_create(&thread_a[k-1], NULL, Thread_PWL2A, (void *)(&iPort[k-1]));					break;			case 80:	//WP系列仪表 西安江河				res=pthread_create(&thread_a[k-1], NULL, Thread_WP, (void *)(&iPort[k-1]));					break;			case 81:	//WBL型励磁装置 长江控制设备研究所				res=pthread_create(&thread_a[k-1], NULL, Thread_WBL, (void *)(&iPort[k-1]));					break;			case 82:	//永州电器控制设备公司TKL-PLC励磁装置,河南盘石头水电站				res=pthread_create(&thread_a[k-1], NULL, Thread_TKL, (void *)(&iPort[k-1]));					break;			case 83:	//SWP福建温度巡检装置,四川金子滩水电站				res=pthread_create(&thread_a[k-1], NULL, Thread_SWP, (void *)(&iPort[k-1]));					break;			case 84:	//许继WZCK-12(许继规约)				res=pthread_create(&thread_a[k-1], NULL, Thread_WZCK12, (void *)(&iPort[k-1]));				break;			case 85:	//武水励磁,广西隆林布东水电站,主动上送方式				res=pthread_create(&thread_a[k-1], NULL, Thread_WSLC, (void *)(&iPort[k-1]));					break;			case 86:	//保定华源消谐HYR-3,广西隆林布东水电站				res=pthread_create(&thread_a[k-1], NULL, Thread_HYR3, (void *)(&iPort[k-1]));					break;			case 87:	//天津科音PMC调速器				res=pthread_create(&thread_a[k-1], NULL, Thread_PMCTSQ, (void *)(&iPort[k-1]));				break;			case 88:	//四川鲍尔FSX210六位数显水位仪				res=pthread_create(&thread_a[k-1], NULL, Thread_FSX210, (void *)(&iPort[k-1]));				break;			case 89:	//MK3红相电度表				res=pthread_create(&thread_a[k-1], NULL, Thread_MK3, (void *)(&iPort[k-1]));				break;			case 90:	//麦克测控仪				res=pthread_create(&thread_a[k-1], NULL, Thread_MKCKY, (void *)(&iPort[k-1]));				break;			case 91:	//高低压气机(DVP系列PLC)  MODBUS ASCII规约				res=pthread_create(&thread_a[k-1], NULL, Thread_DVP, (void *)(&iPort[k-1]));					break;			case 92:	//SWP系列单显四报警控制仪				res=pthread_create(&thread_a[k-1], NULL, Thread_SWPC804, (void *)(&iPort[k-1]));					break;			case 93:     //S7200 PLC(MODBUS规约)				res=pthread_create(&thread_a[k-1], NULL, Thread_S7200, (void *)(&iPort[k-1]));				break;			case 94:     //浙江三辰直流(MODBUS规约)				res=pthread_create(&thread_a[k-1], NULL, Thread_SCZL, (void *)(&iPort[k-1]));				break;			case 95:     //天津阀门厂ZGQ-80/DN600重锤球阀(MODBUS规约)				res=pthread_create(&thread_a[k-1], NULL, Thread_TJQF, (void *)(&iPort[k-1]));				break;			case 96:     //四川西河水电站PCC调速器(MODBUS规约)				res=pthread_create(&thread_a[k-1], NULL, Thread_XHPCC, (void *)(&iPort[k-1]));				break;			case 97:	//泰坦直流(MODBUS规约)				res=pthread_create(&thread_a[k-1], NULL, Thread_TITANS, (void *)(&iPort[k-1]));				break;			case 98:	//广东牛歧水电站巡检仪				res=pthread_create(&thread_a[k-1], NULL, Thread_NQXJY, (void *)(&iPort[k-1]));				break;			case 99:    //兰吉尔FFC电表处理器,102规约				res=pthread_create(&thread_a[k-1], NULL, Thread_DDB102, (void *)(&iPort[k-1]));				break;			case 100:	//云南拉木甲水电站,广西玉林调速器				res=pthread_create(&thread_a[k-1], NULL, Thread_GXYLTSQ, (void *)(&iPort[k-1]));				break;			case 101:	//云南拉木甲水电站,南宁锐科励磁				res=pthread_create(&thread_a[k-1], NULL, Thread_FKL, (void *)(&iPort[k-1]));				break;			case 102:	//杭州三和励磁,湖南土木溪				res=pthread_create(&thread_a[k-1], NULL, Thread_KLLC, (void *)(&iPort[k-1]));				break;			case 103:	//杭州三和调速器,湖南土木溪				res=pthread_create(&thread_a[k-1], NULL, Thread_YWTTSQ, (void *)(&iPort[k-1]));				break;			case 104:	//北京司南电动机保护  CAN转485				res=pthread_create(&thread_a[k-1], NULL, Thread_SNDDJ, (void *)(&iPort[k-1]));				break;			case 105:	//ION 7500,7600 and 8000 Series Meter				res=pthread_create(&thread_a[k-1], NULL, Thread_PML7500, (void *)(&iPort[k-1]));				break;			case 106:	//武汉洪山电工励磁,问答式,陕西1#、2#水电站				res=pthread_create(&thread_a[k-1], NULL, Thread_HSLC, (void *)(&iPort[k-1]));				break;			case 107:	//安徽凯立消谐装置,云南云锡集团  MODBUS规约				res=pthread_create(&thread_a[k-1], NULL, Thread_KLXHG, (void *)(&iPort[k-1]));				break;			case 108:	//昆明建隆中机直流(FX-1N),云南云锡集团  FX1N规约				res=pthread_create(&thread_a[k-1], NULL, Thread_FX1N_ZL, (void *)(&iPort[k-1]));				break;
			case 109:	//虹润温度巡检
				res=pthread_create(&thread_a[k-1], NULL, Thread_HRWDXJ, (void *)(&iPort[k-1]));
				break;
			case 110:	//天传所调速器modbus规约,甘肃洞巴水电站
				res=pthread_create(&thread_a[k-1], NULL, Thread_TCSTSQ, (void *)(&iPort[k-1]));
				break;
			case 111://SWL-2 励磁装置(NEW,发送时多出3个FF是复位,防止通讯异常)
				res=pthread_create(&thread_a[k-1], NULL, Thread_SWL2NEW, (void *)(&iPort[k-1]));
				break;
			case 112:	//北京华星小电流ML-2000、消弧消谐XX-2000A(modbus规约)
				res=pthread_create(&thread_a[k-1], NULL, Thread_BJHX, (void *)(&iPort[k-1]));
				break;
			case 113:	//江阴表计PD194E、CD194E系列多功能电力仪表,modbus规约
				res=pthread_create(&thread_a[k-1], NULL, Thread_PD194E, (void *)(&iPort[k-1]));
				break;
			case 114:	//武汉三联FX2N系列调速器,湖南联运水电站
				res=pthread_create(&thread_a[k-1], NULL, Thread_WHSLFX2N, (void *)(&iPort[k-1]));
				break;
			case 115:	//SID-2X同期选线装置,山东莱钢银山型钢公司
				res=pthread_create(&thread_a[k-1], NULL, Thread_SID2X, (void *)(&iPort[k-1]));
				break;
			case 116:	//上海华明主变调节控制器HMK7,山东莱钢银山型钢公司
				res=pthread_create(&thread_a[k-1], NULL, Thread_HMK7, (void *)(&iPort[k-1]));
				break;
			case 117:	//天水直流,modbus规约,和平水电站
				res=pthread_create(&thread_a[k-1], NULL, Thread_TSZL, (void *)(&iPort[k-1]));
				break;
			case 118:	//天津科音PMC调速器(青海才塘水电站)
				res=pthread_create(&thread_a[k-1], NULL, Thread_QHCTTSQ, (void *)(&iPort[k-1]));
				break;
			case 119:	//许继100保护
				res=pthread_create(&thread_a[k-1], NULL, Thread_XJ100BH, (void *)(&iPort[k-1]));
				break;
			case 120:	//云南普仕河二级水电站调速器
				res=pthread_create(&thread_a[k-1], NULL, Thread_PSHTSQ, (void *)(&iPort[k-1]));
				break;
			case 121:	//东大金智MFC2000快切装置(MODBUS规约)
				res=pthread_create(&thread_a[k-1], NULL, Thread_MFC2000, (void *)(&iPort[k-1]));
				break;
			case 122:	//WJE-31低周解列装置(MODBUS规约)
				res=pthread_create(&thread_a[k-1], NULL, Thread_WJE31, (void *)(&iPort[k-1]));
				break;
			case 123:	//JWSX微机消弧消谐选线综合装置(MODBUS规约)
				res=pthread_create(&thread_a[k-1], NULL, Thread_JWSX, (void *)(&iPort[k-1]));
				break;
			case 124:	//南瑞保护103规约
				res=pthread_create(&thread_a[k-1], NULL, Thread_NRBH, (void *)(&iPort[k-1]));
				break;
			case 125:	//哈尔滨九洲电气HJZ-MC-Ⅳ型监控装置
				res=pthread_create(&thread_a[k-1], NULL, Thread_HJZMC, (void *)(&iPort[k-1]));
				break;
			case 126:	//哈尔滨九洲电气BPD电池巡检仪及IPD接地巡检仪
				res=pthread_create(&thread_a[k-1], NULL, Thread_HJZ, (void *)(&iPort[k-1]));
				break;
			case 127:   //重庆瑞源一川调速器(MODBUS规约,小干溪水电站)	
				res=pthread_create(&thread_a[k-1], NULL, Thread_RYYCTSQ, (void *)(&iPort[k-1]));
				break;
			case 128:	//石家庄通合电子JK001G直流屏(小干溪水电站)
				res=pthread_create(&thread_a[k-1], NULL, Thread_JK001G, (void *)(&iPort[k-1]));
				break;
			case 129:	//贵州鲍尔TDS5000仪表(小干溪水电站)
				res=pthread_create(&thread_a[k-1], NULL, Thread_TDS5000_GZ, (void *)(&iPort[k-1]));	
				break;
			case 130:	//陆水励磁SWL-II型励磁MODBUS协议(四川赵家山水电站)
				res=pthread_create(&thread_a[k-1], NULL, Thread_SWL_MODBUS, (void *)(&iPort[k-1]));	
				break;
			case 131:	//天传所调速器(2006.6)  三菱FX2N可编程控制器 遥测遥信分开查询
				res=pthread_create(&thread_a[k-1], NULL, Thread_TCTSQ06, (void *)(&iPort[k-1]));	
				break;
			case 132:	//重庆速达调速器,FX2N系列
				res=pthread_create(&thread_a[k-1], NULL, Thread_CQSDFX2N, (void *)(&iPort[k-1]));	
				break;
			case 133:	//SWP系列16路巡检仪,测量值四字节浮点数表示
				res=pthread_create(&thread_a[k-1], NULL, Thread_SWP16, (void *)(&iPort[k-1]));	
				break;
			case 134:	//天津阀门厂ZGQ-64/650重锤球阀,云南隔界河水电站
				res=pthread_create(&thread_a[k-1], NULL, Thread_ZGQ, (void *)(&iPort[k-1]));	
				break;
			case 135:	//杭州西湖电力电子公司FKL-2W-33型励磁系统,云南隔界河水电站
				res=pthread_create(&thread_a[k-1], NULL, Thread_FKL2W33, (void *)(&iPort[k-1]));	
				break;
			case 136:	//丹东华通测控公司PDM810测量表,广东蓝口水电站
				res=pthread_create(&thread_a[k-1], NULL, Thread_PDM810, (void *)(&iPort[k-1]));	
				break;
			case 137:	//ABB PLC,江苏华夏备自投,广东蓝口水电站
				res=pthread_create(&thread_a[k-1], NULL, Thread_AC3150, (void *)(&iPort[k-1]));	
				break;
			case 138:	//湖南紫光电池巡检,广东省蓝口水电站
				res=pthread_create(&thread_a[k-1], NULL, Thread_ZL3096, (void *)(&iPort[k-1]));	
				break;
			case 139:	//河北雅达电量综合仪表YD2100,广东省蓝口水电站
				res=pthread_create(&thread_a[k-1], NULL, Thread_YD2100, (void *)(&iPort[k-1]));	
				break;
			case 140:   //WP-D8系列温度巡检仪单输入通道数显仪WP-8K-51T08E830W
				res=pthread_create(&thread_a[k-1], NULL, Thread_WP8K, (void *)(&iPort[k-1]));
				break;
			case 141:   //GPS2000,湖南修山水电站(接收GPS主动上送的校时信息,在同步时给WTX校时)
				res=pthread_create(&thread_a[k-1], NULL, Thread_GPS2000, (void *)(&iPort[k-1]));
				break;
			case 142:   //ccm通讯---PLC-III流量水头装置,广东蓝口水电站
				res=pthread_create(&thread_a[k-1], NULL, Thread_PLCIII_CCM, (void *)(&iPort[k-1]));
				break;
			case 143:   //AD-XMD多路巡检控制仪,四川 石棉 大泥口水电站
				res=pthread_create(&thread_a[k-1], NULL, Thread_ADXMD, (void *)(&iPort[k-1]));
				break;
			case 144:   //通过串口CDT规约上送调度,CDT从站,山西阳泉煤业
				res=pthread_create(&thread_a[k-1], NULL, Thread_CDT_Slave, (void *)(&iPort[k-1]));
				break;
			case 145:	//汾河二库水电站,西南水电控制设备厂励磁
				res=pthread_create(&thread_a[k-1], NULL, Thread_XNSDLC, (void *)(&iPort[k-1]));
				break;
			case 146:	//汾河二库水电站,西南水电控制设备厂调速器
				res=pthread_create(&thread_a[k-1], NULL, Thread_XNSDTSQ, (void *)(&iPort[k-1]));
				break;
			case 147:    //北京清大高新直流系统 CDT(山西阳泉煤业有限责任公司瓦斯利用发电站-神堂嘴)
				res=pthread_create(&thread_a[k-1], NULL, Thread_RD200A, (void *)(&iPort[k-1]));	
				break;
			case 148:    //保定华源HYX800SG(山西阳泉煤业有限责任公司瓦斯利用发电站-煤气公司)
				res=pthread_create(&thread_a[k-1], NULL, Thread_HYX800, (void *)(&iPort[k-1]));	
				break;
			case 149:    //塞尔瑟斯电力工程公司温控仪SAIL-GF40212R020(舒姑角水电站综自系统)
				res=pthread_create(&thread_a[k-1], NULL, Thread_SAIL_FG, (void *)(&iPort[k-1]));
				break;
			case 150:	//AB PLC,DF1规约,四川阿色水电站
				res=pthread_create(&thread_a[k-1], NULL, Thread_ABPLC, (void *)(&iPort[k-1]));	
				break;
			case 151:    //珠海一多ED9800智能操控装置(刚果单装置工程)
				res=pthread_create(&thread_a[k-1], NULL, Thread_ED9800, (void *)(&iPort[k-1]));	
				break;
			case 152:    //安科瑞表计(MODBUS规约)  ACRXXXE、ACRXXXEK
				res=pthread_create(&thread_a[k-1], NULL, Thread_ACR, (void *)(&iPort[k-1]));
				break;
			case 153:	//MLS196-H型小电流接地选线装置(仿DISA规约)
				res=pthread_create(&thread_a[k-1], NULL, Thread_MLS196H, (void *)(&iPort[k-1]));	
				break;
			default ://备用,把线程退出				res=pthread_create(&thread_a[k-1], NULL, Thread_NoUse, (void *)(&iPort[k-1]));				break;			}			break;		}		if (res != 0)	printf("create Thread%d failed; res = %d\n", k, res);	}	for( k= 1; k <= MaxThread ; k++ )	{			res = pthread_join(thread_a[k-1], &retval[k-1]);		if (res != 0)	printf("join Thread%d failed; res = %d\n", k, res);	}	return 0;}

⌨️ 快捷键说明

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