deleted db server temperorily
This commit is contained in:
parent
57d08a0516
commit
b0f353d572
|
@ -1,398 +0,0 @@
|
||||||
1,1,1657041650,880000,"B ",0.006000
|
|
||||||
1,1,1657041650,920000,"B ",0.006000
|
|
||||||
1,1,1657041650,960000,"B ",0.006000
|
|
||||||
1,1,1657041651,0,"B ",0.006000
|
|
||||||
1,1,1657041651,40000,"B ",0.006000
|
|
||||||
1,1,1657041651,80000,"B ",0.006000
|
|
||||||
1,1,1657041651,120000,"B ",0.006000
|
|
||||||
1,1,1657041651,160000,"B ",0.006000
|
|
||||||
1,1,1657041651,200000,"B ",0.006000
|
|
||||||
1,1,1657041651,240000,"B ",0.006000
|
|
||||||
1,1,1657041651,280000,"B ",0.006000
|
|
||||||
1,1,1657041651,320000,"B ",0.006000
|
|
||||||
1,1,1657041651,360000,"B ",0.006000
|
|
||||||
1,1,1657041651,400000,"B ",0.006000
|
|
||||||
1,1,1657041651,440000,"B ",0.006000
|
|
||||||
1,1,1657041651,480000,"B ",0.006000
|
|
||||||
1,1,1657041651,520000,"B ",0.006000
|
|
||||||
1,1,1657041651,560000,"B ",0.006000
|
|
||||||
1,1,1657041651,600000,"B ",0.006000
|
|
||||||
1,1,1657041651,640000,"B ",0.006000
|
|
||||||
1,1,1657041651,680000,"B ",0.006000
|
|
||||||
1,1,1657041651,720000,"B ",0.006000
|
|
||||||
1,1,1657041651,760000,"B ",0.006000
|
|
||||||
1,1,1657041651,800000,"B ",0.006000
|
|
||||||
1,1,1657041651,840000,"B ",0.006000
|
|
||||||
1,1,1657041651,880000,"B ",0.006000
|
|
||||||
1,1,1657041651,920000,"B ",0.006000
|
|
||||||
1,1,1657041651,960000,"B ",0.006000
|
|
||||||
1,1,1657041652,0,"B ",0.006000
|
|
||||||
1,1,1657041652,40000,"B ",0.006000
|
|
||||||
1,1,1657041652,80000,"B ",0.006000
|
|
||||||
1,1,1657041652,120000,"B ",0.006000
|
|
||||||
1,1,1657041652,160000,"B ",0.006000
|
|
||||||
1,1,1657041652,200000,"B ",0.006000
|
|
||||||
1,1,1657041652,240000,"B ",0.006000
|
|
||||||
1,1,1657041652,280000,"B ",0.006000
|
|
||||||
1,1,1657041652,320000,"B ",0.006000
|
|
||||||
1,1,1657041652,360000,"B ",0.006000
|
|
||||||
1,1,1657041652,400000,"B ",0.006000
|
|
||||||
1,1,1657041652,440000,"B ",0.006000
|
|
||||||
1,1,1657041652,480000,"B ",0.006000
|
|
||||||
1,1,1657041652,520000,"B ",0.006000
|
|
||||||
1,1,1657041652,560000,"B ",0.006000
|
|
||||||
1,1,1657041652,600000,"B ",0.006000
|
|
||||||
1,1,1657041652,640000,"B ",0.006000
|
|
||||||
1,1,1657041652,680000,"B ",0.006000
|
|
||||||
1,1,1657041652,720000,"B ",0.006000
|
|
||||||
1,1,1657041652,760000,"B ",0.006000
|
|
||||||
1,1,1657041652,800000,"B ",0.006000
|
|
||||||
1,1,1657041652,840000,"B ",0.006000
|
|
||||||
1,1,1657041652,880000,"B ",0.006000
|
|
||||||
1,1,1657041652,920000,"B ",0.006000
|
|
||||||
1,1,1657041652,960000,"B ",0.006000
|
|
||||||
1,1,1657041653,0,"B ",0.006000
|
|
||||||
1,1,1657041653,40000,"B ",0.006000
|
|
||||||
1,1,1657041653,80000,"B ",0.006000
|
|
||||||
1,1,1657041653,120000,"B ",0.006000
|
|
||||||
1,1,1657041653,160000,"B ",0.006000
|
|
||||||
1,1,1657041653,200000,"B ",0.006000
|
|
||||||
1,1,1657041653,240000,"B ",0.006000
|
|
||||||
1,1,1657041653,280000,"B ",0.006000
|
|
||||||
1,1,1657041653,320000,"B ",0.006000
|
|
||||||
1,1,1657041653,360000,"B ",0.006000
|
|
||||||
1,1,1657041653,400000,"B ",0.006000
|
|
||||||
1,1,1657041653,440000,"B ",0.006000
|
|
||||||
1,1,1657041653,480000,"B ",0.006000
|
|
||||||
1,1,1657041653,520000,"B ",0.006000
|
|
||||||
1,1,1657041653,560000,"B ",0.006000
|
|
||||||
1,1,1657041653,600000,"B ",0.006000
|
|
||||||
1,1,1657041653,640000,"B ",0.006000
|
|
||||||
1,1,1657041653,680000,"B ",0.006000
|
|
||||||
1,1,1657041653,720000,"B ",0.006000
|
|
||||||
1,1,1657041653,760000,"B ",0.006000
|
|
||||||
1,1,1657041653,800000,"B ",0.006000
|
|
||||||
1,1,1657041653,840000,"B ",0.006000
|
|
||||||
1,1,1657041653,880000,"B ",0.006000
|
|
||||||
1,1,1657041653,920000,"B ",0.006000
|
|
||||||
1,1,1657041653,960000,"B ",0.006000
|
|
||||||
1,1,1657041654,0,"B ",0.006000
|
|
||||||
1,1,1657041654,40000,"B ",0.006000
|
|
||||||
1,1,1657041654,80000,"B ",0.006000
|
|
||||||
1,1,1657041654,120000,"B ",0.006000
|
|
||||||
1,1,1657041654,160000,"B ",0.006000
|
|
||||||
1,1,1657041654,200000,"B ",0.006000
|
|
||||||
1,1,1657041654,240000,"B ",0.006000
|
|
||||||
1,1,1657041654,280000,"B ",0.006000
|
|
||||||
1,1,1657041654,320000,"B ",0.006000
|
|
||||||
1,1,1657041654,360000,"B ",0.006000
|
|
||||||
1,1,1657041654,400000,"B ",0.006000
|
|
||||||
1,1,1657041654,440000,"B ",0.006000
|
|
||||||
1,1,1657041654,480000,"B ",0.006000
|
|
||||||
1,1,1657041654,520000,"B ",0.006000
|
|
||||||
1,1,1657041654,560000,"B ",0.006000
|
|
||||||
1,1,1657041654,600000,"B ",0.006000
|
|
||||||
1,1,1657041654,640000,"B ",0.006000
|
|
||||||
1,1,1657041654,680000,"B ",0.006000
|
|
||||||
1,1,1657041654,720000,"B ",0.006000
|
|
||||||
1,1,1657041654,760000,"B ",0.006000
|
|
||||||
1,1,1657041654,800000,"B ",0.006000
|
|
||||||
1,1,1657041654,840000,"B ",0.006000
|
|
||||||
1,1,1657041654,880000,"B ",0.006000
|
|
||||||
1,1,1657041654,920000,"B ",0.006000
|
|
||||||
1,1,1657041654,960000,"B ",0.006000
|
|
||||||
1,1,1657041655,0,"B ",0.006000
|
|
||||||
1,1,1657041655,40000,"B ",0.006000
|
|
||||||
1,1,1657041655,80000,"B ",0.006000
|
|
||||||
1,1,1657041655,120000,"B ",0.006000
|
|
||||||
1,1,1657041655,160000,"B ",0.006000
|
|
||||||
1,1,1657041655,200000,"B ",0.006000
|
|
||||||
1,1,1657041655,240000,"B ",0.006000
|
|
||||||
1,1,1657041655,280000,"B ",0.006000
|
|
||||||
1,1,1657041655,320000,"B ",0.006000
|
|
||||||
1,1,1657041655,360000,"B ",0.006000
|
|
||||||
1,1,1657041655,400000,"B ",0.006000
|
|
||||||
1,1,1657041655,440000,"B ",0.006000
|
|
||||||
1,1,1657041655,480000,"B ",0.006000
|
|
||||||
1,1,1657041655,520000,"B ",0.006000
|
|
||||||
1,1,1657041655,560000,"B ",0.006000
|
|
||||||
1,1,1657041655,600000,"B ",0.006000
|
|
||||||
1,1,1657041655,640000,"B ",0.006000
|
|
||||||
1,1,1657041655,680000,"B ",0.006000
|
|
||||||
1,1,1657041655,720000,"B ",0.006000
|
|
||||||
1,1,1657041655,760000,"B ",0.006000
|
|
||||||
1,1,1657041655,800000,"B ",0.006000
|
|
||||||
1,1,1657041655,840000,"B ",0.006000
|
|
||||||
1,1,1657041655,880000,"B ",0.006000
|
|
||||||
1,1,1657041655,920000,"B ",0.006000
|
|
||||||
1,1,1657041655,960000,"B ",0.006000
|
|
||||||
1,1,1657041656,0,"B ",0.006000
|
|
||||||
1,1,1657041656,40000,"B ",0.006000
|
|
||||||
1,1,1657041656,80000,"B ",0.006000
|
|
||||||
1,1,1657041656,120000,"B ",0.006000
|
|
||||||
1,1,1657041656,160000,"B ",0.006000
|
|
||||||
1,1,1657041656,200000,"B ",0.006000
|
|
||||||
1,1,1657041656,240000,"B ",0.006000
|
|
||||||
1,1,1657041656,280000,"B ",0.006000
|
|
||||||
1,1,1657041656,320000,"B ",0.006000
|
|
||||||
1,1,1657041656,360000,"B ",0.006000
|
|
||||||
1,1,1657041656,400000,"B ",0.006000
|
|
||||||
1,1,1657041656,440000,"B ",0.006000
|
|
||||||
1,1,1657041656,480000,"B ",0.006000
|
|
||||||
1,1,1657041656,520000,"B ",0.006000
|
|
||||||
1,1,1657041656,560000,"B ",0.006000
|
|
||||||
1,1,1657041656,600000,"B ",0.006000
|
|
||||||
1,1,1657041656,640000,"B ",0.006000
|
|
||||||
1,1,1657041656,680000,"B ",0.006000
|
|
||||||
1,1,1657041656,720000,"B ",0.006000
|
|
||||||
1,1,1657041656,760000,"B ",0.006000
|
|
||||||
1,1,1657041656,800000,"B ",0.006000
|
|
||||||
1,1,1657041656,840000,"B ",0.006000
|
|
||||||
1,1,1657041656,880000,"B ",0.006000
|
|
||||||
1,1,1657041656,920000,"B ",0.006000
|
|
||||||
1,1,1657041656,960000,"B ",0.006000
|
|
||||||
1,1,1657041657,0,"B ",0.006000
|
|
||||||
1,1,1657041657,40000,"B ",0.006000
|
|
||||||
1,1,1657041657,80000,"B ",0.006000
|
|
||||||
1,1,1657041657,120000,"B ",0.006000
|
|
||||||
1,1,1657041657,160000,"B ",0.006000
|
|
||||||
1,1,1657041657,200000,"B ",0.006000
|
|
||||||
1,1,1657041657,240000,"B ",0.006000
|
|
||||||
1,1,1657041657,280000,"B ",0.006000
|
|
||||||
1,1,1657041657,320000,"B ",0.006000
|
|
||||||
1,1,1657041657,360000,"B ",0.006000
|
|
||||||
1,1,1657041657,400000,"B ",0.006000
|
|
||||||
1,1,1657041657,440000,"B ",0.006000
|
|
||||||
1,1,1657041657,480000,"B ",0.006000
|
|
||||||
1,1,1657041657,520000,"B ",0.006000
|
|
||||||
1,1,1657041657,560000,"B ",0.006000
|
|
||||||
1,1,1657041657,600000,"B ",0.006000
|
|
||||||
1,1,1657041657,640000,"B ",0.006000
|
|
||||||
1,1,1657041657,680000,"B ",0.006000
|
|
||||||
1,1,1657041657,720000,"B ",0.006000
|
|
||||||
1,1,1657041657,760000,"B ",0.006000
|
|
||||||
1,1,1657041657,800000,"B ",0.006000
|
|
||||||
1,1,1657041657,840000,"B ",0.006000
|
|
||||||
1,1,1657041657,880000,"B ",0.006000
|
|
||||||
1,1,1657041657,920000,"B ",0.006000
|
|
||||||
1,1,1657041657,960000,"B ",0.006000
|
|
||||||
1,1,1657041658,0,"B ",0.006000
|
|
||||||
1,1,1657041658,40000,"B ",0.006000
|
|
||||||
1,1,1657041658,80000,"B ",0.006000
|
|
||||||
1,1,1657041658,120000,"B ",0.006000
|
|
||||||
1,1,1657041658,160000,"B ",0.006000
|
|
||||||
1,1,1657041658,200000,"B ",0.006000
|
|
||||||
1,1,1657041658,240000,"B ",0.006000
|
|
||||||
1,1,1657041658,280000,"B ",0.006000
|
|
||||||
1,1,1657041658,320000,"B ",0.006000
|
|
||||||
1,1,1657041658,360000,"B ",0.006000
|
|
||||||
1,1,1657041658,400000,"B ",0.006000
|
|
||||||
1,1,1657041658,440000,"B ",0.006000
|
|
||||||
1,1,1657041658,480000,"B ",0.006000
|
|
||||||
1,1,1657041658,520000,"B ",0.006000
|
|
||||||
1,1,1657041658,560000,"B ",0.006000
|
|
||||||
1,1,1657041658,600000,"B ",0.006000
|
|
||||||
1,1,1657041658,640000,"B ",0.006000
|
|
||||||
1,1,1657041658,680000,"B ",0.006000
|
|
||||||
1,1,1657041658,720000,"B ",0.006000
|
|
||||||
1,1,1657041658,760000,"B ",0.006000
|
|
||||||
1,1,1657041658,800000,"B ",0.006000
|
|
||||||
1,1,1657041658,840000,"B ",0.006000
|
|
||||||
1,1,1657041658,880000,"B ",0.006000
|
|
||||||
1,1,1657041658,920000,"B ",0.006000
|
|
||||||
1,1,1657041658,960000,"B ",0.006000
|
|
||||||
1,1,1657041659,0,"B ",0.006000
|
|
||||||
1,1,1657041659,40000,"B ",0.006000
|
|
||||||
1,1,1657041659,80000,"B ",0.006000
|
|
||||||
1,1,1657041659,120000,"B ",0.006000
|
|
||||||
1,1,1657041659,160000,"B ",0.006000
|
|
||||||
1,1,1657041659,200000,"B ",0.006000
|
|
||||||
1,1,1657041659,240000,"B ",0.006000
|
|
||||||
1,1,1657041659,280000,"B ",0.006000
|
|
||||||
1,1,1657041659,320000,"B ",0.006000
|
|
||||||
1,1,1657041659,360000,"B ",0.006000
|
|
||||||
1,1,1657041659,400000,"B ",0.006000
|
|
||||||
1,1,1657041659,440000,"B ",0.006000
|
|
||||||
1,1,1657041659,480000,"B ",0.006000
|
|
||||||
1,1,1657041659,520000,"B ",0.006000
|
|
||||||
1,1,1657041659,560000,"B ",0.006000
|
|
||||||
1,1,1657041659,600000,"B ",0.006000
|
|
||||||
1,1,1657041659,640000,"B ",0.006000
|
|
||||||
1,1,1657041659,680000,"B ",0.006000
|
|
||||||
1,1,1657041659,720000,"B ",0.006000
|
|
||||||
1,1,1657041659,760000,"B ",0.006000
|
|
||||||
1,1,1657041659,800000,"B ",0.006000
|
|
||||||
1,1,1657041659,840000,"B ",0.006000
|
|
||||||
1,1,1657041659,880000,"B ",0.006000
|
|
||||||
1,1,1657041659,920000,"B ",0.006000
|
|
||||||
1,1,1657041659,960000,"B ",0.006000
|
|
||||||
1,1,1657041660,0,"B ",0.006000
|
|
||||||
1,1,1657041660,40000,"B ",0.006000
|
|
||||||
1,1,1657041660,80000,"B ",0.006000
|
|
||||||
1,1,1657041660,120000,"B ",0.006000
|
|
||||||
1,1,1657041660,160000,"B ",0.006000
|
|
||||||
1,1,1657041660,200000,"B ",0.006000
|
|
||||||
1,1,1657041660,240000,"B ",0.006000
|
|
||||||
1,1,1657041660,280000,"B ",0.006000
|
|
||||||
1,1,1657041660,320000,"B ",0.006000
|
|
||||||
1,1,1657041660,360000,"B ",0.006000
|
|
||||||
1,1,1657041660,400000,"B ",0.006000
|
|
||||||
1,1,1657041660,440000,"B ",0.006000
|
|
||||||
1,1,1657041660,480000,"B ",0.006000
|
|
||||||
1,1,1657041660,520000,"B ",0.006000
|
|
||||||
1,1,1657041660,560000,"B ",0.006000
|
|
||||||
1,1,1657041660,600000,"B ",0.006000
|
|
||||||
1,1,1657041660,640000,"B ",0.006000
|
|
||||||
1,1,1657041660,680000,"B ",0.006000
|
|
||||||
1,1,1657041660,720000,"B ",0.006000
|
|
||||||
1,1,1657041660,760000,"B ",0.006000
|
|
||||||
1,1,1657041660,800000,"B ",0.006000
|
|
||||||
1,1,1657041660,840000,"B ",0.006000
|
|
||||||
1,1,1657041660,880000,"B ",0.006000
|
|
||||||
1,1,1657041660,920000,"B ",0.006000
|
|
||||||
1,1,1657041660,960000,"B ",0.006000
|
|
||||||
1,1,1657041661,0,"B ",0.006000
|
|
||||||
1,1,1657041661,40000,"B ",0.006000
|
|
||||||
1,1,1657041661,80000,"B ",0.006000
|
|
||||||
1,1,1657041661,120000,"B ",0.006000
|
|
||||||
1,1,1657041661,160000,"B ",0.006000
|
|
||||||
1,1,1657041661,200000,"B ",0.006000
|
|
||||||
1,1,1657041661,240000,"B ",0.006000
|
|
||||||
1,1,1657041661,280000,"B ",0.006000
|
|
||||||
1,1,1657041661,320000,"B ",0.006000
|
|
||||||
1,1,1657041661,360000,"B ",0.006000
|
|
||||||
1,1,1657041661,400000,"B ",0.006000
|
|
||||||
1,1,1657041661,440000,"B ",0.006000
|
|
||||||
1,1,1657041661,480000,"B ",0.006000
|
|
||||||
1,1,1657041661,520000,"B ",0.006000
|
|
||||||
1,1,1657041661,560000,"B ",0.006000
|
|
||||||
1,1,1657041661,600000,"B ",0.006000
|
|
||||||
1,1,1657041661,640000,"B ",0.006000
|
|
||||||
1,1,1657041661,680000,"B ",0.006000
|
|
||||||
1,1,1657041661,720000,"B ",0.006000
|
|
||||||
1,1,1657041661,760000,"B ",0.006000
|
|
||||||
1,1,1657041661,800000,"B ",0.006000
|
|
||||||
1,1,1657041661,840000,"B ",0.006000
|
|
||||||
1,1,1657041661,880000,"B ",0.006000
|
|
||||||
1,1,1657041661,920000,"B ",0.006000
|
|
||||||
1,1,1657041661,960000,"B ",0.006000
|
|
||||||
1,1,1657041662,0,"B ",0.006000
|
|
||||||
1,1,1657041662,40000,"B ",0.006000
|
|
||||||
1,1,1657041662,80000,"B ",0.006000
|
|
||||||
1,1,1657041662,120000,"B ",0.006000
|
|
||||||
1,1,1657041662,160000,"B ",0.006000
|
|
||||||
1,1,1657041662,200000,"B ",0.006000
|
|
||||||
1,1,1657041662,240000,"B ",0.006000
|
|
||||||
1,1,1657041662,280000,"B ",0.006000
|
|
||||||
1,1,1657041662,320000,"B ",0.006000
|
|
||||||
1,1,1657041662,360000,"B ",0.006000
|
|
||||||
1,1,1657041662,400000,"B ",0.006000
|
|
||||||
1,1,1657041662,440000,"B ",0.006000
|
|
||||||
1,1,1657041662,480000,"B ",0.006000
|
|
||||||
1,1,1657041662,520000,"B ",0.006000
|
|
||||||
1,1,1657041662,560000,"B ",0.006000
|
|
||||||
1,1,1657041662,600000,"B ",0.006000
|
|
||||||
1,1,1657041662,640000,"B ",0.006000
|
|
||||||
1,1,1657041662,680000,"B ",0.006000
|
|
||||||
1,1,1657041662,720000,"B ",0.006000
|
|
||||||
1,1,1657041662,760000,"B ",0.006000
|
|
||||||
1,1,1657041662,800000,"B ",0.006000
|
|
||||||
1,1,1657041662,840000,"B ",0.006000
|
|
||||||
1,1,1657041662,880000,"B ",0.006000
|
|
||||||
1,1,1657041662,920000,"B ",0.006000
|
|
||||||
1,1,1657041662,960000,"B ",0.006000
|
|
||||||
1,1,1657041663,0,"B ",0.006000
|
|
||||||
1,1,1657041663,40000,"B ",0.006000
|
|
||||||
1,1,1657041663,80000,"B ",0.006000
|
|
||||||
1,1,1657041663,120000,"B ",0.006000
|
|
||||||
1,1,1657041663,160000,"B ",0.006000
|
|
||||||
1,1,1657041663,200000,"B ",0.006000
|
|
||||||
1,1,1657041663,240000,"B ",0.006000
|
|
||||||
1,1,1657041663,280000,"B ",0.006000
|
|
||||||
1,1,1657041663,320000,"B ",0.006000
|
|
||||||
1,1,1657041663,360000,"B ",0.006000
|
|
||||||
1,1,1657041663,400000,"B ",0.006000
|
|
||||||
1,1,1657041663,440000,"B ",0.006000
|
|
||||||
1,1,1657041663,480000,"B ",0.006000
|
|
||||||
1,1,1657041663,520000,"B ",0.006000
|
|
||||||
1,1,1657041663,560000,"B ",0.006000
|
|
||||||
1,1,1657041663,600000,"B ",0.006000
|
|
||||||
1,1,1657041663,640000,"B ",0.006000
|
|
||||||
1,1,1657041663,680000,"B ",0.006000
|
|
||||||
1,1,1657041663,720000,"B ",0.006000
|
|
||||||
1,1,1657041663,760000,"B ",0.006000
|
|
||||||
1,1,1657041663,800000,"B ",0.006000
|
|
||||||
1,1,1657041663,840000,"B ",0.006000
|
|
||||||
1,1,1657041663,880000,"B ",0.006000
|
|
||||||
1,1,1657041663,920000,"B ",0.006000
|
|
||||||
1,1,1657041663,960000,"B ",0.006000
|
|
||||||
1,1,1657041664,0,"B ",0.006000
|
|
||||||
1,1,1657041664,40000,"B ",0.006000
|
|
||||||
1,1,1657041664,80000,"B ",0.006000
|
|
||||||
1,1,1657041664,120000,"B ",0.006000
|
|
||||||
1,1,1657041664,160000,"B ",0.006000
|
|
||||||
1,1,1657041664,200000,"B ",0.006000
|
|
||||||
1,1,1657041664,240000,"B ",0.006000
|
|
||||||
1,1,1657041664,280000,"B ",0.006000
|
|
||||||
1,1,1657041664,320000,"B ",0.006000
|
|
||||||
1,1,1657041664,360000,"B ",0.006000
|
|
||||||
1,1,1657041664,400000,"B ",0.006000
|
|
||||||
1,1,1657041664,440000,"B ",0.006000
|
|
||||||
1,1,1657041664,480000,"B ",0.006000
|
|
||||||
1,1,1657041664,520000,"B ",0.006000
|
|
||||||
1,1,1657041664,560000,"B ",0.006000
|
|
||||||
1,1,1657041664,600000,"B ",0.006000
|
|
||||||
1,1,1657041664,640000,"B ",0.006000
|
|
||||||
1,1,1657041664,680000,"B ",0.006000
|
|
||||||
1,1,1657041664,720000,"B ",0.006000
|
|
||||||
1,1,1657041664,760000,"B ",0.006000
|
|
||||||
1,1,1657041664,800000,"B ",0.006000
|
|
||||||
1,1,1657041664,840000,"B ",0.006000
|
|
||||||
1,1,1657041664,880000,"B ",0.006000
|
|
||||||
1,1,1657041664,920000,"B ",0.006000
|
|
||||||
1,1,1657041664,960000,"B ",0.006000
|
|
||||||
1,1,1657041665,0,"B ",0.006000
|
|
||||||
1,1,1657041665,40000,"B ",0.006000
|
|
||||||
1,1,1657041665,80000,"B ",0.006000
|
|
||||||
1,1,1657041665,120000,"B ",0.006000
|
|
||||||
1,1,1657041665,160000,"B ",0.006000
|
|
||||||
1,1,1657041665,200000,"B ",0.006000
|
|
||||||
1,1,1657041665,240000,"B ",0.006000
|
|
||||||
1,1,1657041665,280000,"B ",0.006000
|
|
||||||
1,1,1657041665,320000,"B ",0.006000
|
|
||||||
1,1,1657041665,360000,"B ",0.006000
|
|
||||||
1,1,1657041665,400000,"B ",0.006000
|
|
||||||
1,1,1657041665,440000,"B ",0.006000
|
|
||||||
1,1,1657041665,480000,"B ",0.006000
|
|
||||||
1,1,1657041665,520000,"B ",0.006000
|
|
||||||
1,1,1657041665,560000,"B ",0.006000
|
|
||||||
1,1,1657041665,600000,"B ",0.006000
|
|
||||||
1,1,1657041665,640000,"B ",0.006000
|
|
||||||
1,1,1657041665,680000,"B ",0.006000
|
|
||||||
1,1,1657041665,720000,"B ",0.006000
|
|
||||||
1,1,1657041665,760000,"B ",0.006000
|
|
||||||
1,1,1657041665,800000,"B ",0.006000
|
|
||||||
1,1,1657041665,840000,"B ",0.006000
|
|
||||||
1,1,1657041665,880000,"B ",0.006000
|
|
||||||
1,1,1657041665,920000,"B ",0.006000
|
|
||||||
1,1,1657041665,960000,"B ",0.006000
|
|
||||||
1,1,1657041666,0,"B ",0.006000
|
|
||||||
1,1,1657041666,40000,"B ",0.006000
|
|
||||||
1,1,1657041666,80000,"B ",0.006000
|
|
||||||
1,1,1657041666,120000,"B ",0.006000
|
|
||||||
1,1,1657041666,160000,"B ",0.006000
|
|
||||||
1,1,1657041666,200000,"B ",0.006000
|
|
||||||
1,1,1657041666,240000,"B ",0.006000
|
|
||||||
1,1,1657041666,280000,"B ",0.006000
|
|
||||||
1,1,1657041666,320000,"B ",0.006000
|
|
||||||
1,1,1657041666,360000,"B ",0.006000
|
|
||||||
1,1,1657041666,400000,"B ",0.006000
|
|
||||||
1,1,1657041666,440000,"B ",0.006000
|
|
||||||
1,1,1657041666,480000,"B ",0.006000
|
|
||||||
1,1,1657041666,520000,"B ",0.006000
|
|
||||||
1,1,1657041666,560000,"B ",0.006000
|
|
||||||
1,1,1657041666,600000,"B ",0.006000
|
|
||||||
1,1,1657041666,640000,"B ",0.006000
|
|
||||||
1,1,1657041666,680000,"B ",0.006000
|
|
||||||
1,1,1657041666,720000,"B ",0.006000
|
|
||||||
1,1,1657041666,760000,"B ",0.006000
|
|
214
DBServer/Db.sql
214
DBServer/Db.sql
|
@ -1,214 +0,0 @@
|
||||||
-- =============================================================================
|
|
||||||
-- Db.sql (iPDC Data Structures for MySQL )
|
|
||||||
--
|
|
||||||
-- iPDC - Phasor Data Concentrator
|
|
||||||
--
|
|
||||||
-- Copyright (C) 2011 Nitesh Pandit
|
|
||||||
-- Copyright (C) 2011 Kedar V. Khandeparkar
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or
|
|
||||||
-- modify it under the terms of the GNU General Public License
|
|
||||||
-- as published by the Free Software Foundation; either version 2
|
|
||||||
-- of the License, or (at your option) any later version.
|
|
||||||
--
|
|
||||||
-- This program is distributed in the hope that it will be useful,
|
|
||||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
-- GNU General Public License for more details.
|
|
||||||
--
|
|
||||||
-- You should have received a copy of the GNU General Public License
|
|
||||||
-- along with this program; if not, write to the Free Software
|
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
--
|
|
||||||
-- Authors:
|
|
||||||
-- Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
|
|
||||||
-- Nitesh Pandit <panditnitesh@gmail.com>
|
|
||||||
--
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
|
|
||||||
-- First execute the following from the command prompt to create database:
|
|
||||||
-- mysql -uroot -p <"Db.sql"
|
|
||||||
|
|
||||||
-- The following statements are used to create a user with access to the database.
|
|
||||||
-- Be sure to change the username and password.
|
|
||||||
-- CREATE USER NewUser IDENTIFIED BY 'MyPassword';
|
|
||||||
-- GRANT SELECT, UPDATE, INSERT, DELETE ON iPDC.* TO NewUser;
|
|
||||||
|
|
||||||
SET default_storage_engine=INNODB;
|
|
||||||
CREATE DATABASE iPDC;
|
|
||||||
USE iPDC;
|
|
||||||
|
|
||||||
|
|
||||||
-- ============================================================================================
|
|
||||||
-- This creates Main Configuration Table,
|
|
||||||
-- This table stores MAIN CONFIGURATION details Like PDC_ID, SOC, TIME BASE, NO. OF PMU,
|
|
||||||
-- DATA Rate in iPDC Database
|
|
||||||
|
|
||||||
CREATE TABLE MAIN_CFG_TABLE(
|
|
||||||
PDC_ID INT NOT NULL,
|
|
||||||
SOC DECIMAL(10) NOT NULL,
|
|
||||||
FRACSEC DECIMAL(10) NOT NULL,
|
|
||||||
TIMEBASE DECIMAL(10) NOT NULL,
|
|
||||||
NUM_OF_PMU INT NOT NULL,
|
|
||||||
DATA_RATE INT DEFAULT 0,
|
|
||||||
PRIMARY KEY (PDC_ID ASC)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
-- ============================================================================================
|
|
||||||
-- This creates Sub Configuration Table,
|
|
||||||
-- This table stores Sub Configuration details Like PDC_ID, PMU_ID, SOC,Fraction of Second,
|
|
||||||
-- Station Name, No. of Analog channels, No. of Phasor channels in iPDC Database
|
|
||||||
|
|
||||||
CREATE TABLE SUB_CFG_TABLE(
|
|
||||||
|
|
||||||
PDC_ID INT NOT NULL,
|
|
||||||
PMU_ID INT NOT NULL,
|
|
||||||
SOC DECIMAL(10) NOT NULL,
|
|
||||||
FRACSEC DECIMAL(10) NOT NULL,
|
|
||||||
STN VARCHAR(40) NOT NULL,
|
|
||||||
PHNMR INT DEFAULT 0,
|
|
||||||
ANNMR INT DEFAULT 0,
|
|
||||||
DGNMR INT DEFAULT 0,
|
|
||||||
FNOM INT DEFAULT 0,
|
|
||||||
PRIMARY KEY (PMU_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PDC_ID) REFERENCES MAIN_CFG_TABLE (PDC_ID)
|
|
||||||
);
|
|
||||||
|
|
||||||
-- ============================================================================================
|
|
||||||
-- This creates Phasor channel information Table
|
|
||||||
-- This table stores details about phasor Configuration like PDC_ID, Phasor name, Phasor type,
|
|
||||||
-- Phasor units in iPDC Database
|
|
||||||
|
|
||||||
CREATE TABLE PHASOR (
|
|
||||||
|
|
||||||
PDC_ID INT NOT NULL,
|
|
||||||
PMU_ID INT NOT NULL,
|
|
||||||
PHASOR_NAMES VARCHAR(32) NOT NULL,
|
|
||||||
PHASOR_TYPE VARCHAR(3) NOT NULL,
|
|
||||||
PHUNITS FLOAT(20,6) DEFAULT 1.0,
|
|
||||||
PRIMARY KEY(PHASOR_NAMES,PDC_ID,PMU_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PDC_ID) REFERENCES MAIN_CFG_TABLE (PDC_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PMU_ID) REFERENCES SUB_CFG_TABLE (PMU_ID)
|
|
||||||
);
|
|
||||||
|
|
||||||
-- ============================================================================================
|
|
||||||
-- This creates ANALOG channel information Table
|
|
||||||
-- This table stores details about Analog Configuration like PDC_ID, Analog name, Analog type,
|
|
||||||
-- Analog units in iPDC Database
|
|
||||||
|
|
||||||
CREATE TABLE ANALOG (
|
|
||||||
PDC_ID INT NOT NULL,
|
|
||||||
PMU_ID INT NOT NULL,
|
|
||||||
ANALOG_NAMES VARCHAR(32) NOT NULL,
|
|
||||||
ANALOG_TYPE VARCHAR(6) NOT NULL,
|
|
||||||
ANUNITS FLOAT(20,6) DEFAULT 1.0,
|
|
||||||
PRIMARY KEY(ANALOG_NAMES,PDC_ID,PMU_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PDC_ID) REFERENCES MAIN_CFG_TABLE (PDC_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PMU_ID) REFERENCES SUB_CFG_TABLE (PMU_ID)
|
|
||||||
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
-- ============================================================================================
|
|
||||||
-- This creates Digital information Table
|
|
||||||
-- this table stores details about Digital channel Configuration like Digital Status word etc..
|
|
||||||
-- in iPDC Database
|
|
||||||
|
|
||||||
CREATE TABLE DIGITAL (
|
|
||||||
|
|
||||||
PDC_ID INT NOT NULL,
|
|
||||||
PMU_ID INT NOT NULL,
|
|
||||||
DIGITAL_NAMES VARCHAR(32) NOT NULL,
|
|
||||||
DIGITAL_WORD BIGINT NOT NULL,
|
|
||||||
PRIMARY KEY(DIGITAL_NAMES,PDC_ID,PMU_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PDC_ID) REFERENCES MAIN_CFG_TABLE (PDC_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PMU_ID) REFERENCES SUB_CFG_TABLE (PMU_ID)
|
|
||||||
);
|
|
||||||
|
|
||||||
-- ============================================================================================
|
|
||||||
-- This creates Phasor Data Table
|
|
||||||
-- this table stores measurements received from phasor data channel(s) in iPDC Database.
|
|
||||||
|
|
||||||
CREATE TABLE PHASOR_MEASUREMENTS (
|
|
||||||
PDC_ID INT NOT NULL,
|
|
||||||
PMU_ID INT NOT NULL,
|
|
||||||
SOC DECIMAL(10) NOT NULL,
|
|
||||||
FRACSEC DECIMAL(10) NOT NULL,
|
|
||||||
PHASOR_NAME VARCHAR(32) NOT NULL,
|
|
||||||
PHASOR_AMPLITUDE REAL NOT NULL,
|
|
||||||
PHASOR_ANGLE REAL NOT NULL,
|
|
||||||
CONSTRAINT FOREIGN KEY (PHASOR_NAME) REFERENCES PHASOR (PHASOR_NAMES),
|
|
||||||
CONSTRAINT FOREIGN KEY (PDC_ID) REFERENCES MAIN_CFG_TABLE (PDC_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PMU_ID) REFERENCES SUB_CFG_TABLE (PMU_ID)
|
|
||||||
);
|
|
||||||
|
|
||||||
-- ============================================================================================
|
|
||||||
-- This creates Analog Data Table in iPDC database,
|
|
||||||
-- this table stores measurements received from Analog data channel(s) in iPDC Database.
|
|
||||||
|
|
||||||
CREATE TABLE ANALOG_MEASUREMENTS (
|
|
||||||
PDC_ID INT NOT NULL,
|
|
||||||
PMU_ID INT NOT NULL,
|
|
||||||
SOC DECIMAL(10) NOT NULL,
|
|
||||||
FRACSEC DECIMAL(10) NOT NULL,
|
|
||||||
ANALOG_NAME VARCHAR(32) NOT NULL,
|
|
||||||
ANALOG_VALUE REAL NOT NULL,
|
|
||||||
CONSTRAINT FOREIGN KEY (ANALOG_NAME) REFERENCES ANALOG (ANALOG_NAMES),
|
|
||||||
CONSTRAINT FOREIGN KEY (PDC_ID) REFERENCES MAIN_CFG_TABLE (PDC_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PMU_ID) REFERENCES SUB_CFG_TABLE (PMU_ID)
|
|
||||||
|
|
||||||
);
|
|
||||||
|
|
||||||
-- ============================================================================================
|
|
||||||
-- This creates "Digital Measurements" Table
|
|
||||||
-- this table stores measurements received from Digital data channel in iPDC Database.
|
|
||||||
|
|
||||||
CREATE TABLE DIGITAL_MEASUREMENTS (
|
|
||||||
PDC_ID INT NOT NULL,
|
|
||||||
PMU_ID INT NOT NULL,
|
|
||||||
SOC DECIMAL(10) NOT NULL,
|
|
||||||
FRACSEC DECIMAL(10) NOT NULL,
|
|
||||||
DIGITAL_WORD INT NOT NULL,
|
|
||||||
CONSTRAINT FOREIGN KEY (PDC_ID) REFERENCES MAIN_CFG_TABLE (PDC_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PMU_ID) REFERENCES SUB_CFG_TABLE (PMU_ID)
|
|
||||||
|
|
||||||
);
|
|
||||||
|
|
||||||
-- ============================================================================================
|
|
||||||
-- This creates "Frequency Measurements" Table
|
|
||||||
-- This table stores Frequency measurements received from frequency data channel in iPDC
|
|
||||||
-- Database.
|
|
||||||
|
|
||||||
CREATE TABLE FREQUENCY_MEASUREMENTS (
|
|
||||||
PDC_ID INT NOT NULL,
|
|
||||||
PMU_ID INT NOT NULL,
|
|
||||||
SOC DECIMAL(10) NOT NULL,
|
|
||||||
FRACSEC DECIMAL(10) NOT NULL,
|
|
||||||
FREQ FLOAT (10, 8) NOT NULL,
|
|
||||||
DFREQ FLOAT (10, 8) NOT NULL,
|
|
||||||
PRIMARY KEY(SOC,FRACSEC,PDC_ID,PMU_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PDC_ID) REFERENCES MAIN_CFG_TABLE (PDC_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PMU_ID) REFERENCES SUB_CFG_TABLE (PMU_ID)
|
|
||||||
|
|
||||||
);
|
|
||||||
|
|
||||||
-- ============================================================================================
|
|
||||||
-- This creates Received frame Time Table
|
|
||||||
-- This table stores REceived frame time log in iPDC Database.
|
|
||||||
|
|
||||||
CREATE TABLE RECEIVED_FRAME_TIME (
|
|
||||||
PDC_ID INT NOT NULL,
|
|
||||||
PMU_ID INT NOT NULL,
|
|
||||||
FRAME_SOC DECIMAL(10) NOT NULL,
|
|
||||||
FRAME_FRACSEC DECIMAL(10) NOT NULL,
|
|
||||||
RECEIVE_SOC DECIMAL(10) NOT NULL,
|
|
||||||
RECEIVE_FRACSEC DECIMAL(10) NOT NULL,
|
|
||||||
TIME_DIFF DECIMAL(10) NOT NULL,
|
|
||||||
PRIMARY KEY(FRAME_SOC,FRAME_FRACSEC,PDC_ID,PMU_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PDC_ID) REFERENCES MAIN_CFG_TABLE (PDC_ID),
|
|
||||||
CONSTRAINT FOREIGN KEY (PMU_ID) REFERENCES SUB_CFG_TABLE (PMU_ID)
|
|
||||||
|
|
||||||
);
|
|
||||||
-- ============================================================================================
|
|
1285
DBServer/Doxyfile
1285
DBServer/Doxyfile
File diff suppressed because it is too large
Load Diff
|
@ -1,398 +0,0 @@
|
||||||
1,1,1657041650,880000,50.400002,0.000000
|
|
||||||
1,1,1657041650,920000,50.099998,0.000000
|
|
||||||
1,1,1657041650,960000,50.099998,0.000000
|
|
||||||
1,1,1657041651,0,50.400002,0.000000
|
|
||||||
1,1,1657041651,40000,50.400002,0.000000
|
|
||||||
1,1,1657041651,80000,50.200001,0.000000
|
|
||||||
1,1,1657041651,120000,50.500000,0.000000
|
|
||||||
1,1,1657041651,160000,50.400002,0.000000
|
|
||||||
1,1,1657041651,200000,50.500000,0.000000
|
|
||||||
1,1,1657041651,240000,50.299999,0.000000
|
|
||||||
1,1,1657041651,280000,50.299999,0.000000
|
|
||||||
1,1,1657041651,320000,50.099998,0.000000
|
|
||||||
1,1,1657041651,360000,50.500000,0.000000
|
|
||||||
1,1,1657041651,400000,50.200001,0.000000
|
|
||||||
1,1,1657041651,440000,50.500000,0.000000
|
|
||||||
1,1,1657041651,480000,50.099998,0.000000
|
|
||||||
1,1,1657041651,520000,50.500000,0.000000
|
|
||||||
1,1,1657041651,560000,50.500000,0.000000
|
|
||||||
1,1,1657041651,600000,50.200001,0.000000
|
|
||||||
1,1,1657041651,640000,50.099998,0.000000
|
|
||||||
1,1,1657041651,680000,50.500000,0.000000
|
|
||||||
1,1,1657041651,720000,50.200001,0.000000
|
|
||||||
1,1,1657041651,760000,50.500000,0.000000
|
|
||||||
1,1,1657041651,800000,50.200001,0.000000
|
|
||||||
1,1,1657041651,840000,50.500000,0.000000
|
|
||||||
1,1,1657041651,880000,50.200001,0.000000
|
|
||||||
1,1,1657041651,920000,50.299999,0.000000
|
|
||||||
1,1,1657041651,960000,50.500000,0.000000
|
|
||||||
1,1,1657041652,0,50.099998,0.000000
|
|
||||||
1,1,1657041652,40000,50.299999,0.000000
|
|
||||||
1,1,1657041652,80000,50.400002,0.000000
|
|
||||||
1,1,1657041652,120000,50.200001,0.000000
|
|
||||||
1,1,1657041652,160000,50.200001,0.000000
|
|
||||||
1,1,1657041652,200000,50.299999,0.000000
|
|
||||||
1,1,1657041652,240000,50.500000,0.000000
|
|
||||||
1,1,1657041652,280000,50.400002,0.000000
|
|
||||||
1,1,1657041652,320000,50.200001,0.000000
|
|
||||||
1,1,1657041652,360000,50.299999,0.000000
|
|
||||||
1,1,1657041652,400000,50.099998,0.000000
|
|
||||||
1,1,1657041652,440000,50.200001,0.000000
|
|
||||||
1,1,1657041652,480000,50.099998,0.000000
|
|
||||||
1,1,1657041652,520000,50.299999,0.000000
|
|
||||||
1,1,1657041652,560000,50.299999,0.000000
|
|
||||||
1,1,1657041652,600000,50.299999,0.000000
|
|
||||||
1,1,1657041652,640000,50.299999,0.000000
|
|
||||||
1,1,1657041652,680000,50.200001,0.000000
|
|
||||||
1,1,1657041652,720000,50.299999,0.000000
|
|
||||||
1,1,1657041652,760000,50.400002,0.000000
|
|
||||||
1,1,1657041652,800000,50.500000,0.000000
|
|
||||||
1,1,1657041652,840000,50.099998,0.000000
|
|
||||||
1,1,1657041652,880000,50.099998,0.000000
|
|
||||||
1,1,1657041652,920000,50.200001,0.000000
|
|
||||||
1,1,1657041652,960000,50.299999,0.000000
|
|
||||||
1,1,1657041653,0,50.500000,0.000000
|
|
||||||
1,1,1657041653,40000,50.200001,0.000000
|
|
||||||
1,1,1657041653,80000,50.099998,0.000000
|
|
||||||
1,1,1657041653,120000,50.500000,0.000000
|
|
||||||
1,1,1657041653,160000,50.400002,0.000000
|
|
||||||
1,1,1657041653,200000,50.299999,0.000000
|
|
||||||
1,1,1657041653,240000,50.099998,0.000000
|
|
||||||
1,1,1657041653,280000,50.400002,0.000000
|
|
||||||
1,1,1657041653,320000,50.299999,0.000000
|
|
||||||
1,1,1657041653,360000,50.400002,0.000000
|
|
||||||
1,1,1657041653,400000,50.400002,0.000000
|
|
||||||
1,1,1657041653,440000,50.400002,0.000000
|
|
||||||
1,1,1657041653,480000,50.200001,0.000000
|
|
||||||
1,1,1657041653,520000,50.500000,0.000000
|
|
||||||
1,1,1657041653,560000,50.099998,0.000000
|
|
||||||
1,1,1657041653,600000,50.099998,0.000000
|
|
||||||
1,1,1657041653,640000,50.200001,0.000000
|
|
||||||
1,1,1657041653,680000,50.200001,0.000000
|
|
||||||
1,1,1657041653,720000,50.200001,0.000000
|
|
||||||
1,1,1657041653,760000,50.200001,0.000000
|
|
||||||
1,1,1657041653,800000,50.200001,0.000000
|
|
||||||
1,1,1657041653,840000,50.299999,0.000000
|
|
||||||
1,1,1657041653,880000,50.099998,0.000000
|
|
||||||
1,1,1657041653,920000,50.400002,0.000000
|
|
||||||
1,1,1657041653,960000,50.500000,0.000000
|
|
||||||
1,1,1657041654,0,50.200001,0.000000
|
|
||||||
1,1,1657041654,40000,50.400002,0.000000
|
|
||||||
1,1,1657041654,80000,50.200001,0.000000
|
|
||||||
1,1,1657041654,120000,50.500000,0.000000
|
|
||||||
1,1,1657041654,160000,50.299999,0.000000
|
|
||||||
1,1,1657041654,200000,50.200001,0.000000
|
|
||||||
1,1,1657041654,240000,50.299999,0.000000
|
|
||||||
1,1,1657041654,280000,50.400002,0.000000
|
|
||||||
1,1,1657041654,320000,50.400002,0.000000
|
|
||||||
1,1,1657041654,360000,50.400002,0.000000
|
|
||||||
1,1,1657041654,400000,50.500000,0.000000
|
|
||||||
1,1,1657041654,440000,50.500000,0.000000
|
|
||||||
1,1,1657041654,480000,50.099998,0.000000
|
|
||||||
1,1,1657041654,520000,50.099998,0.000000
|
|
||||||
1,1,1657041654,560000,50.400002,0.000000
|
|
||||||
1,1,1657041654,600000,50.299999,0.000000
|
|
||||||
1,1,1657041654,640000,50.099998,0.000000
|
|
||||||
1,1,1657041654,680000,50.299999,0.000000
|
|
||||||
1,1,1657041654,720000,50.400002,0.000000
|
|
||||||
1,1,1657041654,760000,50.299999,0.000000
|
|
||||||
1,1,1657041654,800000,50.200001,0.000000
|
|
||||||
1,1,1657041654,840000,50.099998,0.000000
|
|
||||||
1,1,1657041654,880000,50.099998,0.000000
|
|
||||||
1,1,1657041654,920000,50.400002,0.000000
|
|
||||||
1,1,1657041654,960000,50.200001,0.000000
|
|
||||||
1,1,1657041655,0,50.200001,0.000000
|
|
||||||
1,1,1657041655,40000,50.500000,0.000000
|
|
||||||
1,1,1657041655,80000,50.299999,0.000000
|
|
||||||
1,1,1657041655,120000,50.299999,0.000000
|
|
||||||
1,1,1657041655,160000,50.500000,0.000000
|
|
||||||
1,1,1657041655,200000,50.200001,0.000000
|
|
||||||
1,1,1657041655,240000,50.299999,0.000000
|
|
||||||
1,1,1657041655,280000,50.200001,0.000000
|
|
||||||
1,1,1657041655,320000,50.500000,0.000000
|
|
||||||
1,1,1657041655,360000,50.299999,0.000000
|
|
||||||
1,1,1657041655,400000,50.200001,0.000000
|
|
||||||
1,1,1657041655,440000,50.200001,0.000000
|
|
||||||
1,1,1657041655,480000,50.299999,0.000000
|
|
||||||
1,1,1657041655,520000,50.400002,0.000000
|
|
||||||
1,1,1657041655,560000,50.099998,0.000000
|
|
||||||
1,1,1657041655,600000,50.500000,0.000000
|
|
||||||
1,1,1657041655,640000,50.099998,0.000000
|
|
||||||
1,1,1657041655,680000,50.500000,0.000000
|
|
||||||
1,1,1657041655,720000,50.500000,0.000000
|
|
||||||
1,1,1657041655,760000,50.099998,0.000000
|
|
||||||
1,1,1657041655,800000,50.200001,0.000000
|
|
||||||
1,1,1657041655,840000,50.099998,0.000000
|
|
||||||
1,1,1657041655,880000,50.400002,0.000000
|
|
||||||
1,1,1657041655,920000,50.099998,0.000000
|
|
||||||
1,1,1657041655,960000,50.299999,0.000000
|
|
||||||
1,1,1657041656,0,50.500000,0.000000
|
|
||||||
1,1,1657041656,40000,50.500000,0.000000
|
|
||||||
1,1,1657041656,80000,50.400002,0.000000
|
|
||||||
1,1,1657041656,120000,50.200001,0.000000
|
|
||||||
1,1,1657041656,160000,50.099998,0.000000
|
|
||||||
1,1,1657041656,200000,50.500000,0.000000
|
|
||||||
1,1,1657041656,240000,50.200001,0.000000
|
|
||||||
1,1,1657041656,280000,50.400002,0.000000
|
|
||||||
1,1,1657041656,320000,50.099998,0.000000
|
|
||||||
1,1,1657041656,360000,50.500000,0.000000
|
|
||||||
1,1,1657041656,400000,50.299999,0.000000
|
|
||||||
1,1,1657041656,440000,50.299999,0.000000
|
|
||||||
1,1,1657041656,480000,50.200001,0.000000
|
|
||||||
1,1,1657041656,520000,50.500000,0.000000
|
|
||||||
1,1,1657041656,560000,50.400002,0.000000
|
|
||||||
1,1,1657041656,600000,50.299999,0.000000
|
|
||||||
1,1,1657041656,640000,50.299999,0.000000
|
|
||||||
1,1,1657041656,680000,50.500000,0.000000
|
|
||||||
1,1,1657041656,720000,50.200001,0.000000
|
|
||||||
1,1,1657041656,760000,50.099998,0.000000
|
|
||||||
1,1,1657041656,800000,50.500000,0.000000
|
|
||||||
1,1,1657041656,840000,50.500000,0.000000
|
|
||||||
1,1,1657041656,880000,50.099998,0.000000
|
|
||||||
1,1,1657041656,920000,50.299999,0.000000
|
|
||||||
1,1,1657041656,960000,50.200001,0.000000
|
|
||||||
1,1,1657041657,0,50.200001,0.000000
|
|
||||||
1,1,1657041657,40000,50.099998,0.000000
|
|
||||||
1,1,1657041657,80000,50.200001,0.000000
|
|
||||||
1,1,1657041657,120000,50.400002,0.000000
|
|
||||||
1,1,1657041657,160000,50.400002,0.000000
|
|
||||||
1,1,1657041657,200000,50.099998,0.000000
|
|
||||||
1,1,1657041657,240000,50.400002,0.000000
|
|
||||||
1,1,1657041657,280000,50.400002,0.000000
|
|
||||||
1,1,1657041657,320000,50.400002,0.000000
|
|
||||||
1,1,1657041657,360000,50.200001,0.000000
|
|
||||||
1,1,1657041657,400000,50.099998,0.000000
|
|
||||||
1,1,1657041657,440000,50.099998,0.000000
|
|
||||||
1,1,1657041657,480000,50.400002,0.000000
|
|
||||||
1,1,1657041657,520000,50.500000,0.000000
|
|
||||||
1,1,1657041657,560000,50.400002,0.000000
|
|
||||||
1,1,1657041657,600000,50.099998,0.000000
|
|
||||||
1,1,1657041657,640000,50.500000,0.000000
|
|
||||||
1,1,1657041657,680000,50.400002,0.000000
|
|
||||||
1,1,1657041657,720000,50.299999,0.000000
|
|
||||||
1,1,1657041657,760000,50.400002,0.000000
|
|
||||||
1,1,1657041657,800000,50.500000,0.000000
|
|
||||||
1,1,1657041657,840000,50.099998,0.000000
|
|
||||||
1,1,1657041657,880000,50.400002,0.000000
|
|
||||||
1,1,1657041657,920000,50.500000,0.000000
|
|
||||||
1,1,1657041657,960000,50.400002,0.000000
|
|
||||||
1,1,1657041658,0,50.500000,0.000000
|
|
||||||
1,1,1657041658,40000,50.400002,0.000000
|
|
||||||
1,1,1657041658,80000,50.400002,0.000000
|
|
||||||
1,1,1657041658,120000,50.200001,0.000000
|
|
||||||
1,1,1657041658,160000,50.500000,0.000000
|
|
||||||
1,1,1657041658,200000,50.400002,0.000000
|
|
||||||
1,1,1657041658,240000,50.200001,0.000000
|
|
||||||
1,1,1657041658,280000,50.099998,0.000000
|
|
||||||
1,1,1657041658,320000,50.200001,0.000000
|
|
||||||
1,1,1657041658,360000,50.500000,0.000000
|
|
||||||
1,1,1657041658,400000,50.500000,0.000000
|
|
||||||
1,1,1657041658,440000,50.400002,0.000000
|
|
||||||
1,1,1657041658,480000,50.099998,0.000000
|
|
||||||
1,1,1657041658,520000,50.099998,0.000000
|
|
||||||
1,1,1657041658,560000,50.200001,0.000000
|
|
||||||
1,1,1657041658,600000,50.099998,0.000000
|
|
||||||
1,1,1657041658,640000,50.099998,0.000000
|
|
||||||
1,1,1657041658,680000,50.200001,0.000000
|
|
||||||
1,1,1657041658,720000,50.099998,0.000000
|
|
||||||
1,1,1657041658,760000,50.500000,0.000000
|
|
||||||
1,1,1657041658,800000,50.099998,0.000000
|
|
||||||
1,1,1657041658,840000,50.299999,0.000000
|
|
||||||
1,1,1657041658,880000,50.299999,0.000000
|
|
||||||
1,1,1657041658,920000,50.099998,0.000000
|
|
||||||
1,1,1657041658,960000,50.400002,0.000000
|
|
||||||
1,1,1657041659,0,50.200001,0.000000
|
|
||||||
1,1,1657041659,40000,50.099998,0.000000
|
|
||||||
1,1,1657041659,80000,50.200001,0.000000
|
|
||||||
1,1,1657041659,120000,50.400002,0.000000
|
|
||||||
1,1,1657041659,160000,50.400002,0.000000
|
|
||||||
1,1,1657041659,200000,50.500000,0.000000
|
|
||||||
1,1,1657041659,240000,50.099998,0.000000
|
|
||||||
1,1,1657041659,280000,50.200001,0.000000
|
|
||||||
1,1,1657041659,320000,50.200001,0.000000
|
|
||||||
1,1,1657041659,360000,50.400002,0.000000
|
|
||||||
1,1,1657041659,400000,50.299999,0.000000
|
|
||||||
1,1,1657041659,440000,50.299999,0.000000
|
|
||||||
1,1,1657041659,480000,50.200001,0.000000
|
|
||||||
1,1,1657041659,520000,50.200001,0.000000
|
|
||||||
1,1,1657041659,560000,50.299999,0.000000
|
|
||||||
1,1,1657041659,600000,50.099998,0.000000
|
|
||||||
1,1,1657041659,640000,50.299999,0.000000
|
|
||||||
1,1,1657041659,680000,50.099998,0.000000
|
|
||||||
1,1,1657041659,720000,50.299999,0.000000
|
|
||||||
1,1,1657041659,760000,50.400002,0.000000
|
|
||||||
1,1,1657041659,800000,50.200001,0.000000
|
|
||||||
1,1,1657041659,840000,50.400002,0.000000
|
|
||||||
1,1,1657041659,880000,50.200001,0.000000
|
|
||||||
1,1,1657041659,920000,50.400002,0.000000
|
|
||||||
1,1,1657041659,960000,50.299999,0.000000
|
|
||||||
1,1,1657041660,0,50.200001,0.000000
|
|
||||||
1,1,1657041660,40000,50.299999,0.000000
|
|
||||||
1,1,1657041660,80000,50.500000,0.000000
|
|
||||||
1,1,1657041660,120000,50.200001,0.000000
|
|
||||||
1,1,1657041660,160000,50.500000,0.000000
|
|
||||||
1,1,1657041660,200000,50.200001,0.000000
|
|
||||||
1,1,1657041660,240000,50.099998,0.000000
|
|
||||||
1,1,1657041660,280000,50.299999,0.000000
|
|
||||||
1,1,1657041660,320000,50.200001,0.000000
|
|
||||||
1,1,1657041660,360000,50.299999,0.000000
|
|
||||||
1,1,1657041660,400000,50.500000,0.000000
|
|
||||||
1,1,1657041660,440000,50.400002,0.000000
|
|
||||||
1,1,1657041660,480000,50.200001,0.000000
|
|
||||||
1,1,1657041660,520000,50.200001,0.000000
|
|
||||||
1,1,1657041660,560000,50.299999,0.000000
|
|
||||||
1,1,1657041660,600000,50.500000,0.000000
|
|
||||||
1,1,1657041660,640000,50.200001,0.000000
|
|
||||||
1,1,1657041660,680000,50.200001,0.000000
|
|
||||||
1,1,1657041660,720000,50.099998,0.000000
|
|
||||||
1,1,1657041660,760000,50.099998,0.000000
|
|
||||||
1,1,1657041660,800000,50.099998,0.000000
|
|
||||||
1,1,1657041660,840000,50.400002,0.000000
|
|
||||||
1,1,1657041660,880000,50.299999,0.000000
|
|
||||||
1,1,1657041660,920000,50.400002,0.000000
|
|
||||||
1,1,1657041660,960000,50.299999,0.000000
|
|
||||||
1,1,1657041661,0,50.200001,0.000000
|
|
||||||
1,1,1657041661,40000,50.500000,0.000000
|
|
||||||
1,1,1657041661,80000,50.299999,0.000000
|
|
||||||
1,1,1657041661,120000,50.500000,0.000000
|
|
||||||
1,1,1657041661,160000,50.200001,0.000000
|
|
||||||
1,1,1657041661,200000,50.200001,0.000000
|
|
||||||
1,1,1657041661,240000,50.200001,0.000000
|
|
||||||
1,1,1657041661,280000,50.400002,0.000000
|
|
||||||
1,1,1657041661,320000,50.200001,0.000000
|
|
||||||
1,1,1657041661,360000,50.200001,0.000000
|
|
||||||
1,1,1657041661,400000,50.500000,0.000000
|
|
||||||
1,1,1657041661,440000,50.400002,0.000000
|
|
||||||
1,1,1657041661,480000,50.200001,0.000000
|
|
||||||
1,1,1657041661,520000,50.099998,0.000000
|
|
||||||
1,1,1657041661,560000,50.299999,0.000000
|
|
||||||
1,1,1657041661,600000,50.299999,0.000000
|
|
||||||
1,1,1657041661,640000,50.500000,0.000000
|
|
||||||
1,1,1657041661,680000,50.400002,0.000000
|
|
||||||
1,1,1657041661,720000,50.400002,0.000000
|
|
||||||
1,1,1657041661,760000,50.500000,0.000000
|
|
||||||
1,1,1657041661,800000,50.099998,0.000000
|
|
||||||
1,1,1657041661,840000,50.500000,0.000000
|
|
||||||
1,1,1657041661,880000,50.099998,0.000000
|
|
||||||
1,1,1657041661,920000,50.400002,0.000000
|
|
||||||
1,1,1657041661,960000,50.400002,0.000000
|
|
||||||
1,1,1657041662,0,50.500000,0.000000
|
|
||||||
1,1,1657041662,40000,50.400002,0.000000
|
|
||||||
1,1,1657041662,80000,50.099998,0.000000
|
|
||||||
1,1,1657041662,120000,50.299999,0.000000
|
|
||||||
1,1,1657041662,160000,50.500000,0.000000
|
|
||||||
1,1,1657041662,200000,50.200001,0.000000
|
|
||||||
1,1,1657041662,240000,50.200001,0.000000
|
|
||||||
1,1,1657041662,280000,50.099998,0.000000
|
|
||||||
1,1,1657041662,320000,50.099998,0.000000
|
|
||||||
1,1,1657041662,360000,50.400002,0.000000
|
|
||||||
1,1,1657041662,400000,50.500000,0.000000
|
|
||||||
1,1,1657041662,440000,50.500000,0.000000
|
|
||||||
1,1,1657041662,480000,50.099998,0.000000
|
|
||||||
1,1,1657041662,520000,50.400002,0.000000
|
|
||||||
1,1,1657041662,560000,50.200001,0.000000
|
|
||||||
1,1,1657041662,600000,50.299999,0.000000
|
|
||||||
1,1,1657041662,640000,50.200001,0.000000
|
|
||||||
1,1,1657041662,680000,50.099998,0.000000
|
|
||||||
1,1,1657041662,720000,50.500000,0.000000
|
|
||||||
1,1,1657041662,760000,50.500000,0.000000
|
|
||||||
1,1,1657041662,800000,50.200001,0.000000
|
|
||||||
1,1,1657041662,840000,50.099998,0.000000
|
|
||||||
1,1,1657041662,880000,50.299999,0.000000
|
|
||||||
1,1,1657041662,920000,50.099998,0.000000
|
|
||||||
1,1,1657041662,960000,50.099998,0.000000
|
|
||||||
1,1,1657041663,0,50.200001,0.000000
|
|
||||||
1,1,1657041663,40000,50.500000,0.000000
|
|
||||||
1,1,1657041663,80000,50.099998,0.000000
|
|
||||||
1,1,1657041663,120000,50.400002,0.000000
|
|
||||||
1,1,1657041663,160000,50.400002,0.000000
|
|
||||||
1,1,1657041663,200000,50.500000,0.000000
|
|
||||||
1,1,1657041663,240000,50.400002,0.000000
|
|
||||||
1,1,1657041663,280000,50.200001,0.000000
|
|
||||||
1,1,1657041663,320000,50.099998,0.000000
|
|
||||||
1,1,1657041663,360000,50.099998,0.000000
|
|
||||||
1,1,1657041663,400000,50.200001,0.000000
|
|
||||||
1,1,1657041663,440000,50.099998,0.000000
|
|
||||||
1,1,1657041663,480000,50.099998,0.000000
|
|
||||||
1,1,1657041663,520000,50.400002,0.000000
|
|
||||||
1,1,1657041663,560000,50.099998,0.000000
|
|
||||||
1,1,1657041663,600000,50.099998,0.000000
|
|
||||||
1,1,1657041663,640000,50.500000,0.000000
|
|
||||||
1,1,1657041663,680000,50.099998,0.000000
|
|
||||||
1,1,1657041663,720000,50.299999,0.000000
|
|
||||||
1,1,1657041663,760000,50.400002,0.000000
|
|
||||||
1,1,1657041663,800000,50.500000,0.000000
|
|
||||||
1,1,1657041663,840000,50.200001,0.000000
|
|
||||||
1,1,1657041663,880000,50.400002,0.000000
|
|
||||||
1,1,1657041663,920000,50.099998,0.000000
|
|
||||||
1,1,1657041663,960000,50.400002,0.000000
|
|
||||||
1,1,1657041664,0,50.500000,0.000000
|
|
||||||
1,1,1657041664,40000,50.500000,0.000000
|
|
||||||
1,1,1657041664,80000,50.200001,0.000000
|
|
||||||
1,1,1657041664,120000,50.200001,0.000000
|
|
||||||
1,1,1657041664,160000,50.400002,0.000000
|
|
||||||
1,1,1657041664,200000,50.299999,0.000000
|
|
||||||
1,1,1657041664,240000,50.500000,0.000000
|
|
||||||
1,1,1657041664,280000,50.099998,0.000000
|
|
||||||
1,1,1657041664,320000,50.299999,0.000000
|
|
||||||
1,1,1657041664,360000,50.099998,0.000000
|
|
||||||
1,1,1657041664,400000,50.500000,0.000000
|
|
||||||
1,1,1657041664,440000,50.099998,0.000000
|
|
||||||
1,1,1657041664,480000,50.400002,0.000000
|
|
||||||
1,1,1657041664,520000,50.200001,0.000000
|
|
||||||
1,1,1657041664,560000,50.299999,0.000000
|
|
||||||
1,1,1657041664,600000,50.400002,0.000000
|
|
||||||
1,1,1657041664,640000,50.299999,0.000000
|
|
||||||
1,1,1657041664,680000,50.400002,0.000000
|
|
||||||
1,1,1657041664,720000,50.400002,0.000000
|
|
||||||
1,1,1657041664,760000,50.500000,0.000000
|
|
||||||
1,1,1657041664,800000,50.400002,0.000000
|
|
||||||
1,1,1657041664,840000,50.400002,0.000000
|
|
||||||
1,1,1657041664,880000,50.200001,0.000000
|
|
||||||
1,1,1657041664,920000,50.299999,0.000000
|
|
||||||
1,1,1657041664,960000,50.099998,0.000000
|
|
||||||
1,1,1657041665,0,50.500000,0.000000
|
|
||||||
1,1,1657041665,40000,50.200001,0.000000
|
|
||||||
1,1,1657041665,80000,50.200001,0.000000
|
|
||||||
1,1,1657041665,120000,50.500000,0.000000
|
|
||||||
1,1,1657041665,160000,50.099998,0.000000
|
|
||||||
1,1,1657041665,200000,50.099998,0.000000
|
|
||||||
1,1,1657041665,240000,50.200001,0.000000
|
|
||||||
1,1,1657041665,280000,50.299999,0.000000
|
|
||||||
1,1,1657041665,320000,50.400002,0.000000
|
|
||||||
1,1,1657041665,360000,50.500000,0.000000
|
|
||||||
1,1,1657041665,400000,50.500000,0.000000
|
|
||||||
1,1,1657041665,440000,50.400002,0.000000
|
|
||||||
1,1,1657041665,480000,50.500000,0.000000
|
|
||||||
1,1,1657041665,520000,50.500000,0.000000
|
|
||||||
1,1,1657041665,560000,50.099998,0.000000
|
|
||||||
1,1,1657041665,600000,50.400002,0.000000
|
|
||||||
1,1,1657041665,640000,50.400002,0.000000
|
|
||||||
1,1,1657041665,680000,50.299999,0.000000
|
|
||||||
1,1,1657041665,720000,50.200001,0.000000
|
|
||||||
1,1,1657041665,760000,50.299999,0.000000
|
|
||||||
1,1,1657041665,800000,50.400002,0.000000
|
|
||||||
1,1,1657041665,840000,50.299999,0.000000
|
|
||||||
1,1,1657041665,880000,50.200001,0.000000
|
|
||||||
1,1,1657041665,920000,50.200001,0.000000
|
|
||||||
1,1,1657041665,960000,50.099998,0.000000
|
|
||||||
1,1,1657041666,0,50.299999,0.000000
|
|
||||||
1,1,1657041666,40000,50.500000,0.000000
|
|
||||||
1,1,1657041666,80000,50.200001,0.000000
|
|
||||||
1,1,1657041666,120000,50.099998,0.000000
|
|
||||||
1,1,1657041666,160000,50.299999,0.000000
|
|
||||||
1,1,1657041666,200000,50.299999,0.000000
|
|
||||||
1,1,1657041666,240000,50.500000,0.000000
|
|
||||||
1,1,1657041666,280000,50.200001,0.000000
|
|
||||||
1,1,1657041666,320000,50.099998,0.000000
|
|
||||||
1,1,1657041666,360000,50.299999,0.000000
|
|
||||||
1,1,1657041666,400000,50.299999,0.000000
|
|
||||||
1,1,1657041666,440000,50.500000,0.000000
|
|
||||||
1,1,1657041666,480000,50.299999,0.000000
|
|
||||||
1,1,1657041666,520000,50.500000,0.000000
|
|
||||||
1,1,1657041666,560000,50.200001,0.000000
|
|
||||||
1,1,1657041666,600000,50.299999,0.000000
|
|
||||||
1,1,1657041666,640000,50.099998,0.000000
|
|
||||||
1,1,1657041666,680000,50.500000,0.000000
|
|
||||||
1,1,1657041666,720000,50.099998,0.000000
|
|
||||||
1,1,1657041666,760000,50.099998,0.000000
|
|
|
@ -1,70 +0,0 @@
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
# Makefile for building DBServer
|
|
||||||
|
|
||||||
# iPDC - Phasor Data Concentrator
|
|
||||||
#
|
|
||||||
# Copyright (C) 2011 Nitesh Pandit
|
|
||||||
# Copyright (C) 2011 Kedar V. Khandeparkar
|
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or
|
|
||||||
# modify it under the terms of the GNU General Public License
|
|
||||||
# as published by the Free Software Foundation; either version 2
|
|
||||||
# of the License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with this program; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
#
|
|
||||||
# Authors:
|
|
||||||
# Nitesh Pandit <panditnitesh@gmail.com>
|
|
||||||
# Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
|
|
||||||
#
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
SHELL = /bin/sh
|
|
||||||
prefix = /usr/local
|
|
||||||
includedir = /usr/src/include
|
|
||||||
|
|
||||||
INSTALL = /usr/bin/install -c
|
|
||||||
INSTALL_PREFIX = /usr/local
|
|
||||||
|
|
||||||
CC = gcc
|
|
||||||
LIBS = -lpthread -lm
|
|
||||||
LDLIBS=`mysql_config --cflags --libs`
|
|
||||||
CFLAGS=-Wall -g -fcommon `mysql_config --cflags --libs`
|
|
||||||
|
|
||||||
SOURCES = \
|
|
||||||
dbserver.c \
|
|
||||||
recreate.c recreate.h \
|
|
||||||
connections.c connections.h \
|
|
||||||
parser.c parser.h \
|
|
||||||
dallocate.c dallocate.h
|
|
||||||
|
|
||||||
OBJECTS = dbserver.c recreate.o connections.o parser.o dallocate.o
|
|
||||||
|
|
||||||
CLEAN_OBJECTS = recreate.o connections.o new_pmu_or_pdc.o parser.o dallocate.o cfg.bin
|
|
||||||
|
|
||||||
PROGRAM = DBServer
|
|
||||||
|
|
||||||
COMPILE = $(CC)
|
|
||||||
|
|
||||||
$(PROGRAM): $(OBJECTS)
|
|
||||||
$(CC) $(OBJECTS) $(LDLIBS) $(LIBS) -o $@
|
|
||||||
|
|
||||||
%.o: %.c
|
|
||||||
$(COMPILE) $(CFLAGS) -c -w $<
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f $(CLEAN_OBJECTS) $(PROGRAM)
|
|
||||||
|
|
||||||
install: $(PROGRAM)
|
|
||||||
cp -f $(PROGRAM) $(INSTALL_PREFIX)/bin/$(PROGRAM)
|
|
||||||
|
|
||||||
uninstall:
|
|
||||||
rm -f $(INSTALL_PREFIX)/bin/$(PROGRAM)
|
|
|
@ -1,398 +0,0 @@
|
||||||
1,1,1657041650,840000,"P1 ",3995.759521,0.001298
|
|
||||||
1,1,1657041650,880000,"P1 ",3996.003906,0.001375
|
|
||||||
1,1,1657041650,920000,"P1 ",3995.575928,0.001222
|
|
||||||
1,1,1657041650,960000,"P1 ",3994.415283,0.000901
|
|
||||||
1,1,1657041651,0,"P1 ",3994.110107,0.000917
|
|
||||||
1,1,1657041651,40000,"P1 ",3994.354492,0.000978
|
|
||||||
1,1,1657041651,80000,"P1 ",3994.231689,0.000795
|
|
||||||
1,1,1657041651,120000,"P1 ",3995.453857,0.001191
|
|
||||||
1,1,1657041651,160000,"P1 ",3994.109619,0.000795
|
|
||||||
1,1,1657041651,200000,"P1 ",3994.293213,0.000947
|
|
||||||
1,1,1657041651,240000,"P1 ",3994.781982,0.001039
|
|
||||||
1,1,1657041651,280000,"P1 ",3996.126221,0.001390
|
|
||||||
1,1,1657041651,320000,"P1 ",3994.232178,0.000932
|
|
||||||
1,1,1657041651,360000,"P1 ",3995.026367,0.001130
|
|
||||||
1,1,1657041651,400000,"P1 ",3995.209473,0.001100
|
|
||||||
1,1,1657041651,440000,"P1 ",3994.048828,0.000886
|
|
||||||
1,1,1657041651,480000,"P1 ",3994.170654,0.000779
|
|
||||||
1,1,1657041651,520000,"P1 ",3994.292969,0.000825
|
|
||||||
1,1,1657041651,560000,"P1 ",3995.454102,0.001268
|
|
||||||
1,1,1657041651,600000,"P1 ",3994.170654,0.000810
|
|
||||||
1,1,1657041651,640000,"P1 ",3994.292969,0.000856
|
|
||||||
1,1,1657041651,680000,"P1 ",3994.354004,0.000871
|
|
||||||
1,1,1657041651,720000,"P1 ",3995.454346,0.001314
|
|
||||||
1,1,1657041651,760000,"P1 ",3994.537354,0.000947
|
|
||||||
1,1,1657041651,800000,"P1 ",3995.209473,0.001100
|
|
||||||
1,1,1657041651,840000,"P1 ",3995.026855,0.001207
|
|
||||||
1,1,1657041651,880000,"P1 ",3994.476562,0.000993
|
|
||||||
1,1,1657041651,920000,"P1 ",3995.209473,0.001130
|
|
||||||
1,1,1657041651,960000,"P1 ",3994.598877,0.001039
|
|
||||||
1,1,1657041652,0,"P1 ",3994.904541,0.001161
|
|
||||||
1,1,1657041652,40000,"P1 ",3994.170654,0.000779
|
|
||||||
1,1,1657041652,80000,"P1 ",3995.820557,0.001329
|
|
||||||
1,1,1657041652,120000,"P1 ",3994.049072,0.000932
|
|
||||||
1,1,1657041652,160000,"P1 ",3994.048828,0.000856
|
|
||||||
1,1,1657041652,200000,"P1 ",3995.270752,0.001161
|
|
||||||
1,1,1657041652,240000,"P1 ",3994.721191,0.001085
|
|
||||||
1,1,1657041652,280000,"P1 ",3995.881348,0.001268
|
|
||||||
1,1,1657041652,320000,"P1 ",3994.721191,0.001131
|
|
||||||
1,1,1657041652,360000,"P1 ",3995.332031,0.001268
|
|
||||||
1,1,1657041652,400000,"P1 ",3995.759521,0.001314
|
|
||||||
1,1,1657041652,440000,"P1 ",3994.904053,0.001039
|
|
||||||
1,1,1657041652,480000,"P1 ",3995.698730,0.001344
|
|
||||||
1,1,1657041652,520000,"P1 ",3995.148926,0.001222
|
|
||||||
1,1,1657041652,560000,"P1 ",3994.293457,0.000993
|
|
||||||
1,1,1657041652,600000,"P1 ",3996.126221,0.001390
|
|
||||||
1,1,1657041652,640000,"P1 ",3995.942627,0.001298
|
|
||||||
1,1,1657041652,680000,"P1 ",3995.881348,0.001268
|
|
||||||
1,1,1657041652,720000,"P1 ",3995.514893,0.001207
|
|
||||||
1,1,1657041652,760000,"P1 ",3993.926514,0.000810
|
|
||||||
1,1,1657041652,800000,"P1 ",3993.926758,0.000840
|
|
||||||
1,1,1657041652,840000,"P1 ",3995.331299,0.001130
|
|
||||||
1,1,1657041652,880000,"P1 ",3995.209717,0.001161
|
|
||||||
1,1,1657041652,920000,"P1 ",3995.271240,0.001283
|
|
||||||
1,1,1657041652,960000,"P1 ",3994.354492,0.000978
|
|
||||||
1,1,1657041653,0,"P1 ",3994.843262,0.001115
|
|
||||||
1,1,1657041653,40000,"P1 ",3995.331787,0.001222
|
|
||||||
1,1,1657041653,80000,"P1 ",3996.125977,0.001375
|
|
||||||
1,1,1657041653,120000,"P1 ",3994.599121,0.001115
|
|
||||||
1,1,1657041653,160000,"P1 ",3995.209961,0.001207
|
|
||||||
1,1,1657041653,200000,"P1 ",3995.697998,0.001207
|
|
||||||
1,1,1657041653,240000,"P1 ",3995.820312,0.001237
|
|
||||||
1,1,1657041653,280000,"P1 ",3995.942627,0.001329
|
|
||||||
1,1,1657041653,320000,"P1 ",3994.598877,0.001069
|
|
||||||
1,1,1657041653,360000,"P1 ",3993.926514,0.000810
|
|
||||||
1,1,1657041653,400000,"P1 ",3993.926758,0.000871
|
|
||||||
1,1,1657041653,440000,"P1 ",3996.125977,0.001344
|
|
||||||
1,1,1657041653,480000,"P1 ",3994.415527,0.001008
|
|
||||||
1,1,1657041653,520000,"P1 ",3994.904785,0.001207
|
|
||||||
1,1,1657041653,560000,"P1 ",3996.003662,0.001329
|
|
||||||
1,1,1657041653,600000,"P1 ",3994.537598,0.001008
|
|
||||||
1,1,1657041653,640000,"P1 ",3995.453613,0.001176
|
|
||||||
1,1,1657041653,680000,"P1 ",3995.331787,0.001222
|
|
||||||
1,1,1657041653,720000,"P1 ",3996.064697,0.001313
|
|
||||||
1,1,1657041653,760000,"P1 ",3995.942383,0.001252
|
|
||||||
1,1,1657041653,800000,"P1 ",3994.965332,0.001100
|
|
||||||
1,1,1657041653,840000,"P1 ",3995.576416,0.001329
|
|
||||||
1,1,1657041653,880000,"P1 ",3994.537354,0.000917
|
|
||||||
1,1,1657041653,920000,"P1 ",3995.270996,0.001191
|
|
||||||
1,1,1657041653,960000,"P1 ",3995.637207,0.001252
|
|
||||||
1,1,1657041654,0,"P1 ",3995.942627,0.001298
|
|
||||||
1,1,1657041654,40000,"P1 ",3995.759033,0.001222
|
|
||||||
1,1,1657041654,80000,"P1 ",3994.720703,0.000978
|
|
||||||
1,1,1657041654,120000,"P1 ",3995.271240,0.001283
|
|
||||||
1,1,1657041654,160000,"P1 ",3994.048828,0.000856
|
|
||||||
1,1,1657041654,200000,"P1 ",3995.087646,0.001161
|
|
||||||
1,1,1657041654,240000,"P1 ",3994.720703,0.000978
|
|
||||||
1,1,1657041654,280000,"P1 ",3995.026855,0.001207
|
|
||||||
1,1,1657041654,320000,"P1 ",3994.170898,0.000840
|
|
||||||
1,1,1657041654,360000,"P1 ",3994.904541,0.001161
|
|
||||||
1,1,1657041654,400000,"P1 ",3995.637695,0.001344
|
|
||||||
1,1,1657041654,440000,"P1 ",3995.698242,0.001237
|
|
||||||
1,1,1657041654,480000,"P1 ",3994.721191,0.001085
|
|
||||||
1,1,1657041654,520000,"P1 ",3994.781982,0.001039
|
|
||||||
1,1,1657041654,560000,"P1 ",3994.599121,0.001115
|
|
||||||
1,1,1657041654,600000,"P1 ",3995.515381,0.001298
|
|
||||||
1,1,1657041654,640000,"P1 ",3994.904541,0.001161
|
|
||||||
1,1,1657041654,680000,"P1 ",3995.148926,0.001222
|
|
||||||
1,1,1657041654,720000,"P1 ",3995.454102,0.001237
|
|
||||||
1,1,1657041654,760000,"P1 ",3994.415527,0.001008
|
|
||||||
1,1,1657041654,800000,"P1 ",3994.354736,0.001054
|
|
||||||
1,1,1657041654,840000,"P1 ",3994.231934,0.000825
|
|
||||||
1,1,1657041654,880000,"P1 ",3995.698486,0.001329
|
|
||||||
1,1,1657041654,920000,"P1 ",3995.575928,0.001191
|
|
||||||
1,1,1657041654,960000,"P1 ",3994.354004,0.000886
|
|
||||||
1,1,1657041655,0,"P1 ",3995.270508,0.001115
|
|
||||||
1,1,1657041655,40000,"P1 ",3995.821045,0.001390
|
|
||||||
1,1,1657041655,80000,"P1 ",3995.698242,0.001283
|
|
||||||
1,1,1657041655,120000,"P1 ",3994.232422,0.001008
|
|
||||||
1,1,1657041655,160000,"P1 ",3994.415283,0.000901
|
|
||||||
1,1,1657041655,200000,"P1 ",3995.087891,0.001207
|
|
||||||
1,1,1657041655,240000,"P1 ",3994.110107,0.000947
|
|
||||||
1,1,1657041655,280000,"P1 ",3996.186768,0.001298
|
|
||||||
1,1,1657041655,320000,"P1 ",3995.026611,0.001176
|
|
||||||
1,1,1657041655,360000,"P1 ",3995.453857,0.001222
|
|
||||||
1,1,1657041655,400000,"P1 ",3995.209473,0.001100
|
|
||||||
1,1,1657041655,440000,"P1 ",3995.698486,0.001329
|
|
||||||
1,1,1657041655,480000,"P1 ",3994.476562,0.000963
|
|
||||||
1,1,1657041655,520000,"P1 ",3994.720703,0.001008
|
|
||||||
1,1,1657041655,560000,"P1 ",3995.209473,0.001130
|
|
||||||
1,1,1657041655,600000,"P1 ",3994.049072,0.000932
|
|
||||||
1,1,1657041655,640000,"P1 ",3995.698242,0.001237
|
|
||||||
1,1,1657041655,680000,"P1 ",3995.943115,0.001390
|
|
||||||
1,1,1657041655,720000,"P1 ",3995.332031,0.001268
|
|
||||||
1,1,1657041655,760000,"P1 ",3995.942383,0.001252
|
|
||||||
1,1,1657041655,800000,"P1 ",3994.781982,0.001039
|
|
||||||
1,1,1657041655,840000,"P1 ",3995.759521,0.001298
|
|
||||||
1,1,1657041655,880000,"P1 ",3994.598633,0.000978
|
|
||||||
1,1,1657041655,920000,"P1 ",3995.453613,0.001146
|
|
||||||
1,1,1657041655,960000,"P1 ",3995.148682,0.001176
|
|
||||||
1,1,1657041656,0,"P1 ",3995.576416,0.001329
|
|
||||||
1,1,1657041656,40000,"P1 ",3995.820312,0.001283
|
|
||||||
1,1,1657041656,80000,"P1 ",3995.637451,0.001314
|
|
||||||
1,1,1657041656,120000,"P1 ",3995.942383,0.001252
|
|
||||||
1,1,1657041656,160000,"P1 ",3994.538086,0.001100
|
|
||||||
1,1,1657041656,200000,"P1 ",3994.782227,0.001115
|
|
||||||
1,1,1657041656,240000,"P1 ",3994.659668,0.000963
|
|
||||||
1,1,1657041656,280000,"P1 ",3994.170898,0.000871
|
|
||||||
1,1,1657041656,320000,"P1 ",3995.454346,0.001314
|
|
||||||
1,1,1657041656,360000,"P1 ",3995.698242,0.001237
|
|
||||||
1,1,1657041656,400000,"P1 ",3994.598633,0.001008
|
|
||||||
1,1,1657041656,440000,"P1 ",3995.759033,0.001222
|
|
||||||
1,1,1657041656,480000,"P1 ",3994.109863,0.000886
|
|
||||||
1,1,1657041656,520000,"P1 ",3995.698242,0.001283
|
|
||||||
1,1,1657041656,560000,"P1 ",3994.171387,0.000978
|
|
||||||
1,1,1657041656,600000,"P1 ",3995.820312,0.001252
|
|
||||||
1,1,1657041656,640000,"P1 ",3994.231934,0.000871
|
|
||||||
1,1,1657041656,680000,"P1 ",3994.293213,0.000947
|
|
||||||
1,1,1657041656,720000,"P1 ",3996.065186,0.001405
|
|
||||||
1,1,1657041656,760000,"P1 ",3994.354248,0.000947
|
|
||||||
1,1,1657041656,800000,"P1 ",3994.659668,0.000993
|
|
||||||
1,1,1657041656,840000,"P1 ",3995.942627,0.001329
|
|
||||||
1,1,1657041656,880000,"P1 ",3994.476562,0.000993
|
|
||||||
1,1,1657041656,920000,"P1 ",3995.454102,0.001268
|
|
||||||
1,1,1657041656,960000,"P1 ",3994.781982,0.001039
|
|
||||||
1,1,1657041657,0,"P1 ",3995.514648,0.001161
|
|
||||||
1,1,1657041657,40000,"P1 ",3996.065186,0.001405
|
|
||||||
1,1,1657041657,80000,"P1 ",3994.232178,0.000932
|
|
||||||
1,1,1657041657,120000,"P1 ",3995.942627,0.001298
|
|
||||||
1,1,1657041657,160000,"P1 ",3995.270996,0.001191
|
|
||||||
1,1,1657041657,200000,"P1 ",3994.781982,0.001069
|
|
||||||
1,1,1657041657,240000,"P1 ",3995.575928,0.001222
|
|
||||||
1,1,1657041657,280000,"P1 ",3995.454346,0.001314
|
|
||||||
1,1,1657041657,320000,"P1 ",3994.659424,0.000947
|
|
||||||
1,1,1657041657,360000,"P1 ",3994.415283,0.000932
|
|
||||||
1,1,1657041657,400000,"P1 ",3994.110107,0.000947
|
|
||||||
1,1,1657041657,440000,"P1 ",3996.308838,0.001313
|
|
||||||
1,1,1657041657,480000,"P1 ",3995.881836,0.001375
|
|
||||||
1,1,1657041657,520000,"P1 ",3995.088135,0.001237
|
|
||||||
1,1,1657041657,560000,"P1 ",3995.210205,0.001253
|
|
||||||
1,1,1657041657,600000,"P1 ",3995.087891,0.001207
|
|
||||||
1,1,1657041657,640000,"P1 ",3995.209473,0.001100
|
|
||||||
1,1,1657041657,680000,"P1 ",3994.110107,0.000947
|
|
||||||
1,1,1657041657,720000,"P1 ",3994.537354,0.000947
|
|
||||||
1,1,1657041657,760000,"P1 ",3995.026855,0.001207
|
|
||||||
1,1,1657041657,800000,"P1 ",3995.576172,0.001237
|
|
||||||
1,1,1657041657,840000,"P1 ",3995.697998,0.001207
|
|
||||||
1,1,1657041657,880000,"P1 ",3994.660400,0.001146
|
|
||||||
1,1,1657041657,920000,"P1 ",3995.393066,0.001237
|
|
||||||
1,1,1657041657,960000,"P1 ",3994.171143,0.000947
|
|
||||||
1,1,1657041658,0,"P1 ",3996.003906,0.001359
|
|
||||||
1,1,1657041658,40000,"P1 ",3995.698242,0.001283
|
|
||||||
1,1,1657041658,80000,"P1 ",3995.881836,0.001375
|
|
||||||
1,1,1657041658,120000,"P1 ",3994.048828,0.000886
|
|
||||||
1,1,1657041658,160000,"P1 ",3994.232422,0.000978
|
|
||||||
1,1,1657041658,200000,"P1 ",3994.720703,0.001008
|
|
||||||
1,1,1657041658,240000,"P1 ",3995.515137,0.001253
|
|
||||||
1,1,1657041658,280000,"P1 ",3995.209961,0.001207
|
|
||||||
1,1,1657041658,320000,"P1 ",3993.926514,0.000810
|
|
||||||
1,1,1657041658,360000,"P1 ",3994.598633,0.000978
|
|
||||||
1,1,1657041658,400000,"P1 ",3995.881348,0.001268
|
|
||||||
1,1,1657041658,440000,"P1 ",3995.392822,0.001207
|
|
||||||
1,1,1657041658,480000,"P1 ",3994.415283,0.000932
|
|
||||||
1,1,1657041658,520000,"P1 ",3994.170898,0.000871
|
|
||||||
1,1,1657041658,560000,"P1 ",3993.927002,0.000917
|
|
||||||
1,1,1657041658,600000,"P1 ",3994.598389,0.000932
|
|
||||||
1,1,1657041658,640000,"P1 ",3994.476318,0.000932
|
|
||||||
1,1,1657041658,680000,"P1 ",3995.698486,0.001329
|
|
||||||
1,1,1657041658,720000,"P1 ",3995.575928,0.001191
|
|
||||||
1,1,1657041658,760000,"P1 ",3994.965332,0.001100
|
|
||||||
1,1,1657041658,800000,"P1 ",3994.660156,0.001100
|
|
||||||
1,1,1657041658,840000,"P1 ",3995.881348,0.001268
|
|
||||||
1,1,1657041658,880000,"P1 ",3995.087646,0.001161
|
|
||||||
1,1,1657041658,920000,"P1 ",3993.865723,0.000825
|
|
||||||
1,1,1657041658,960000,"P1 ",3994.537354,0.000947
|
|
||||||
1,1,1657041659,0,"P1 ",3994.109863,0.000886
|
|
||||||
1,1,1657041659,40000,"P1 ",3994.354248,0.000947
|
|
||||||
1,1,1657041659,80000,"P1 ",3995.393311,0.001298
|
|
||||||
1,1,1657041659,120000,"P1 ",3994.965088,0.001039
|
|
||||||
1,1,1657041659,160000,"P1 ",3994.476318,0.000917
|
|
||||||
1,1,1657041659,200000,"P1 ",3994.537842,0.001054
|
|
||||||
1,1,1657041659,240000,"P1 ",3995.759277,0.001268
|
|
||||||
1,1,1657041659,280000,"P1 ",3995.942627,0.001298
|
|
||||||
1,1,1657041659,320000,"P1 ",3996.248047,0.001344
|
|
||||||
1,1,1657041659,360000,"P1 ",3994.598877,0.001039
|
|
||||||
1,1,1657041659,400000,"P1 ",3994.781982,0.001039
|
|
||||||
1,1,1657041659,440000,"P1 ",3993.987549,0.000810
|
|
||||||
1,1,1657041659,480000,"P1 ",3995.026367,0.001100
|
|
||||||
1,1,1657041659,520000,"P1 ",3996.247803,0.001329
|
|
||||||
1,1,1657041659,560000,"P1 ",3995.515381,0.001298
|
|
||||||
1,1,1657041659,600000,"P1 ",3994.904053,0.001039
|
|
||||||
1,1,1657041659,640000,"P1 ",3993.865723,0.000886
|
|
||||||
1,1,1657041659,680000,"P1 ",3995.881836,0.001375
|
|
||||||
1,1,1657041659,720000,"P1 ",3995.881836,0.001375
|
|
||||||
1,1,1657041659,760000,"P1 ",3996.125732,0.001329
|
|
||||||
1,1,1657041659,800000,"P1 ",3994.781982,0.001039
|
|
||||||
1,1,1657041659,840000,"P1 ",3995.759521,0.001314
|
|
||||||
1,1,1657041659,880000,"P1 ",3995.026367,0.001130
|
|
||||||
1,1,1657041659,920000,"P1 ",3994.476562,0.000963
|
|
||||||
1,1,1657041659,960000,"P1 ",3993.987793,0.000871
|
|
||||||
1,1,1657041660,0,"P1 ",3995.515137,0.001253
|
|
||||||
1,1,1657041660,40000,"P1 ",3995.576172,0.001237
|
|
||||||
1,1,1657041660,80000,"P1 ",3994.171143,0.000902
|
|
||||||
1,1,1657041660,120000,"P1 ",3995.881592,0.001313
|
|
||||||
1,1,1657041660,160000,"P1 ",3996.125732,0.001329
|
|
||||||
1,1,1657041660,200000,"P1 ",3995.759521,0.001314
|
|
||||||
1,1,1657041660,240000,"P1 ",3994.843506,0.001146
|
|
||||||
1,1,1657041660,280000,"P1 ",3995.453613,0.001146
|
|
||||||
1,1,1657041660,320000,"P1 ",3994.170898,0.000840
|
|
||||||
1,1,1657041660,360000,"P1 ",3995.943115,0.001405
|
|
||||||
1,1,1657041660,400000,"P1 ",3993.865723,0.000825
|
|
||||||
1,1,1657041660,440000,"P1 ",3994.599121,0.001115
|
|
||||||
1,1,1657041660,480000,"P1 ",3995.087402,0.001115
|
|
||||||
1,1,1657041660,520000,"P1 ",3995.943115,0.001390
|
|
||||||
1,1,1657041660,560000,"P1 ",3996.125977,0.001344
|
|
||||||
1,1,1657041660,600000,"P1 ",3994.110107,0.000947
|
|
||||||
1,1,1657041660,640000,"P1 ",3994.170654,0.000779
|
|
||||||
1,1,1657041660,680000,"P1 ",3994.782471,0.001146
|
|
||||||
1,1,1657041660,720000,"P1 ",3994.599121,0.001115
|
|
||||||
1,1,1657041660,760000,"P1 ",3995.698242,0.001237
|
|
||||||
1,1,1657041660,800000,"P1 ",3995.026855,0.001222
|
|
||||||
1,1,1657041660,840000,"P1 ",3994.415771,0.001039
|
|
||||||
1,1,1657041660,880000,"P1 ",3994.415771,0.001070
|
|
||||||
1,1,1657041660,920000,"P1 ",3995.759766,0.001375
|
|
||||||
1,1,1657041660,960000,"P1 ",3994.965576,0.001146
|
|
||||||
1,1,1657041661,0,"P1 ",3995.759033,0.001222
|
|
||||||
1,1,1657041661,40000,"P1 ",3995.637451,0.001298
|
|
||||||
1,1,1657041661,80000,"P1 ",3995.332031,0.001268
|
|
||||||
1,1,1657041661,120000,"P1 ",3994.476807,0.001039
|
|
||||||
1,1,1657041661,160000,"P1 ",3996.003906,0.001375
|
|
||||||
1,1,1657041661,200000,"P1 ",3994.537598,0.001008
|
|
||||||
1,1,1657041661,240000,"P1 ",3995.881348,0.001283
|
|
||||||
1,1,1657041661,280000,"P1 ",3995.392578,0.001161
|
|
||||||
1,1,1657041661,320000,"P1 ",3994.599121,0.001115
|
|
||||||
1,1,1657041661,360000,"P1 ",3994.292969,0.000886
|
|
||||||
1,1,1657041661,400000,"P1 ",3995.636963,0.001222
|
|
||||||
1,1,1657041661,440000,"P1 ",3994.659668,0.000993
|
|
||||||
1,1,1657041661,480000,"P1 ",3995.332031,0.001253
|
|
||||||
1,1,1657041661,520000,"P1 ",3994.782471,0.001146
|
|
||||||
1,1,1657041661,560000,"P1 ",3994.048828,0.000856
|
|
||||||
1,1,1657041661,600000,"P1 ",3995.392822,0.001207
|
|
||||||
1,1,1657041661,640000,"P1 ",3994.659668,0.000993
|
|
||||||
1,1,1657041661,680000,"P1 ",3994.965332,0.001100
|
|
||||||
1,1,1657041661,720000,"P1 ",3994.354492,0.000978
|
|
||||||
1,1,1657041661,760000,"P1 ",3995.270508,0.001115
|
|
||||||
1,1,1657041661,800000,"P1 ",3994.781982,0.001069
|
|
||||||
1,1,1657041661,840000,"P1 ",3994.109619,0.000795
|
|
||||||
1,1,1657041661,880000,"P1 ",3995.149170,0.001237
|
|
||||||
1,1,1657041661,920000,"P1 ",3995.576416,0.001329
|
|
||||||
1,1,1657041661,960000,"P1 ",3996.126221,0.001390
|
|
||||||
1,1,1657041662,0,"P1 ",3995.575928,0.001191
|
|
||||||
1,1,1657041662,40000,"P1 ",3994.170898,0.000840
|
|
||||||
1,1,1657041662,80000,"P1 ",3995.515137,0.001253
|
|
||||||
1,1,1657041662,120000,"P1 ",3995.209473,0.001130
|
|
||||||
1,1,1657041662,160000,"P1 ",3994.476074,0.000886
|
|
||||||
1,1,1657041662,200000,"P1 ",3995.393311,0.001298
|
|
||||||
1,1,1657041662,240000,"P1 ",3996.125977,0.001344
|
|
||||||
1,1,1657041662,280000,"P1 ",3994.843018,0.001024
|
|
||||||
1,1,1657041662,320000,"P1 ",3994.415771,0.001070
|
|
||||||
1,1,1657041662,360000,"P1 ",3994.415039,0.000871
|
|
||||||
1,1,1657041662,400000,"P1 ",3995.454102,0.001268
|
|
||||||
1,1,1657041662,440000,"P1 ",3993.926514,0.000810
|
|
||||||
1,1,1657041662,480000,"P1 ",3995.209473,0.001100
|
|
||||||
1,1,1657041662,520000,"P1 ",3994.598389,0.000932
|
|
||||||
1,1,1657041662,560000,"P1 ",3995.209473,0.001130
|
|
||||||
1,1,1657041662,600000,"P1 ",3996.004395,0.001420
|
|
||||||
1,1,1657041662,640000,"P1 ",3994.415283,0.000901
|
|
||||||
1,1,1657041662,680000,"P1 ",3995.087891,0.001207
|
|
||||||
1,1,1657041662,720000,"P1 ",3995.087891,0.001207
|
|
||||||
1,1,1657041662,760000,"P1 ",3994.537354,0.000947
|
|
||||||
1,1,1657041662,800000,"P1 ",3995.270996,0.001191
|
|
||||||
1,1,1657041662,840000,"P1 ",3994.660400,0.001146
|
|
||||||
1,1,1657041662,880000,"P1 ",3994.231934,0.000825
|
|
||||||
1,1,1657041662,920000,"P1 ",3994.476318,0.000932
|
|
||||||
1,1,1657041662,960000,"P1 ",3994.171143,0.000947
|
|
||||||
1,1,1657041663,0,"P1 ",3994.231934,0.000871
|
|
||||||
1,1,1657041663,40000,"P1 ",3994.232178,0.000901
|
|
||||||
1,1,1657041663,80000,"P1 ",3994.659668,0.000993
|
|
||||||
1,1,1657041663,120000,"P1 ",3994.537598,0.001008
|
|
||||||
1,1,1657041663,160000,"P1 ",3994.293457,0.000993
|
|
||||||
1,1,1657041663,200000,"P1 ",3994.415771,0.001039
|
|
||||||
1,1,1657041663,240000,"P1 ",3994.476807,0.001039
|
|
||||||
1,1,1657041663,280000,"P1 ",3994.659424,0.000947
|
|
||||||
1,1,1657041663,320000,"P1 ",3994.415527,0.001008
|
|
||||||
1,1,1657041663,360000,"P1 ",3995.270752,0.001161
|
|
||||||
1,1,1657041663,400000,"P1 ",3994.598389,0.000932
|
|
||||||
1,1,1657041663,440000,"P1 ",3994.109619,0.000795
|
|
||||||
1,1,1657041663,480000,"P1 ",3995.576416,0.001329
|
|
||||||
1,1,1657041663,520000,"P1 ",3995.209717,0.001161
|
|
||||||
1,1,1657041663,560000,"P1 ",3994.904541,0.001161
|
|
||||||
1,1,1657041663,600000,"P1 ",3996.125977,0.001375
|
|
||||||
1,1,1657041663,640000,"P1 ",3996.065186,0.001405
|
|
||||||
1,1,1657041663,680000,"P1 ",3995.026367,0.001130
|
|
||||||
1,1,1657041663,720000,"P1 ",3995.576172,0.001268
|
|
||||||
1,1,1657041663,760000,"P1 ",3995.271240,0.001237
|
|
||||||
1,1,1657041663,800000,"P1 ",3994.659912,0.001024
|
|
||||||
1,1,1657041663,840000,"P1 ",3995.942383,0.001252
|
|
||||||
1,1,1657041663,880000,"P1 ",3994.965820,0.001192
|
|
||||||
1,1,1657041663,920000,"P1 ",3994.049072,0.000932
|
|
||||||
1,1,1657041663,960000,"P1 ",3995.881836,0.001375
|
|
||||||
1,1,1657041664,0,"P1 ",3994.415527,0.000963
|
|
||||||
1,1,1657041664,40000,"P1 ",3995.087402,0.001085
|
|
||||||
1,1,1657041664,80000,"P1 ",3994.354248,0.000917
|
|
||||||
1,1,1657041664,120000,"P1 ",3994.110352,0.000963
|
|
||||||
1,1,1657041664,160000,"P1 ",3994.843262,0.001100
|
|
||||||
1,1,1657041664,200000,"P1 ",3994.904541,0.001176
|
|
||||||
1,1,1657041664,240000,"P1 ",3994.843506,0.001146
|
|
||||||
1,1,1657041664,280000,"P1 ",3995.820312,0.001237
|
|
||||||
1,1,1657041664,320000,"P1 ",3995.698242,0.001237
|
|
||||||
1,1,1657041664,360000,"P1 ",3993.804688,0.000825
|
|
||||||
1,1,1657041664,400000,"P1 ",3995.942383,0.001252
|
|
||||||
1,1,1657041664,440000,"P1 ",3995.576416,0.001329
|
|
||||||
1,1,1657041664,480000,"P1 ",3995.942383,0.001252
|
|
||||||
1,1,1657041664,520000,"P1 ",3996.247803,0.001329
|
|
||||||
1,1,1657041664,560000,"P1 ",3995.515381,0.001298
|
|
||||||
1,1,1657041664,600000,"P1 ",3995.637695,0.001344
|
|
||||||
1,1,1657041664,640000,"P1 ",3993.865723,0.000856
|
|
||||||
1,1,1657041664,680000,"P1 ",3994.292969,0.000856
|
|
||||||
1,1,1657041664,720000,"P1 ",3994.354004,0.000886
|
|
||||||
1,1,1657041664,760000,"P1 ",3993.743652,0.000840
|
|
||||||
1,1,1657041664,800000,"P1 ",3996.247803,0.001329
|
|
||||||
1,1,1657041664,840000,"P1 ",3994.415527,0.001008
|
|
||||||
1,1,1657041664,880000,"P1 ",3994.232422,0.001008
|
|
||||||
1,1,1657041664,920000,"P1 ",3994.476807,0.001070
|
|
||||||
1,1,1657041664,960000,"P1 ",3995.454102,0.001268
|
|
||||||
1,1,1657041665,0,"P1 ",3994.109619,0.000795
|
|
||||||
1,1,1657041665,40000,"P1 ",3994.232178,0.000932
|
|
||||||
1,1,1657041665,80000,"P1 ",3994.048828,0.000825
|
|
||||||
1,1,1657041665,120000,"P1 ",3994.721191,0.001131
|
|
||||||
1,1,1657041665,160000,"P1 ",3995.209473,0.001130
|
|
||||||
1,1,1657041665,200000,"P1 ",3995.270752,0.001161
|
|
||||||
1,1,1657041665,240000,"P1 ",3995.637451,0.001314
|
|
||||||
1,1,1657041665,280000,"P1 ",3995.514893,0.001207
|
|
||||||
1,1,1657041665,320000,"P1 ",3995.698242,0.001237
|
|
||||||
1,1,1657041665,360000,"P1 ",3995.332031,0.001268
|
|
||||||
1,1,1657041665,400000,"P1 ",3994.782471,0.001161
|
|
||||||
1,1,1657041665,440000,"P1 ",3995.942627,0.001329
|
|
||||||
1,1,1657041665,480000,"P1 ",3993.865723,0.000886
|
|
||||||
1,1,1657041665,520000,"P1 ",3995.026367,0.001100
|
|
||||||
1,1,1657041665,560000,"P1 ",3994.843506,0.001146
|
|
||||||
1,1,1657041665,600000,"P1 ",3995.942383,0.001252
|
|
||||||
1,1,1657041665,640000,"P1 ",3995.088135,0.001237
|
|
||||||
1,1,1657041665,680000,"P1 ",3995.576172,0.001237
|
|
||||||
1,1,1657041665,720000,"P1 ",3995.148682,0.001146
|
|
||||||
1,1,1657041665,760000,"P1 ",3995.087158,0.001069
|
|
||||||
1,1,1657041665,800000,"P1 ",3995.942627,0.001329
|
|
||||||
1,1,1657041665,840000,"P1 ",3995.943115,0.001405
|
|
||||||
1,1,1657041665,880000,"P1 ",3995.148926,0.001222
|
|
||||||
1,1,1657041665,920000,"P1 ",3995.820312,0.001283
|
|
||||||
1,1,1657041665,960000,"P1 ",3995.331543,0.001146
|
|
||||||
1,1,1657041666,0,"P1 ",3995.148926,0.001192
|
|
||||||
1,1,1657041666,40000,"P1 ",3994.354004,0.000840
|
|
||||||
1,1,1657041666,80000,"P1 ",3994.660400,0.001146
|
|
||||||
1,1,1657041666,120000,"P1 ",3994.354004,0.000871
|
|
||||||
1,1,1657041666,160000,"P1 ",3995.209717,0.001161
|
|
||||||
1,1,1657041666,200000,"P1 ",3994.170898,0.000840
|
|
||||||
1,1,1657041666,240000,"P1 ",3994.781738,0.001008
|
|
||||||
1,1,1657041666,280000,"P1 ",3995.148926,0.001222
|
|
||||||
1,1,1657041666,320000,"P1 ",3994.110352,0.000963
|
|
||||||
1,1,1657041666,360000,"P1 ",3995.576416,0.001329
|
|
||||||
1,1,1657041666,400000,"P1 ",3995.698242,0.001283
|
|
||||||
1,1,1657041666,440000,"P1 ",3994.720703,0.000978
|
|
||||||
1,1,1657041666,480000,"P1 ",3995.821045,0.001390
|
|
||||||
1,1,1657041666,520000,"P1 ",3995.148682,0.001176
|
|
||||||
1,1,1657041666,560000,"P1 ",3994.660156,0.001100
|
|
||||||
1,1,1657041666,600000,"P1 ",3995.881348,0.001283
|
|
||||||
1,1,1657041666,640000,"P1 ",3994.476074,0.000886
|
|
||||||
1,1,1657041666,680000,"P1 ",3995.698242,0.001283
|
|
||||||
1,1,1657041666,720000,"P1 ",3994.659912,0.001024
|
|
|
@ -1,398 +0,0 @@
|
||||||
1,1,1657041650,880000,1657041650,880385,385
|
|
||||||
1,1,1657041650,920000,1657041650,920803,803
|
|
||||||
1,1,1657041650,960000,1657041650,961026,1026
|
|
||||||
1,1,1657041651,0,1657041651,1038,1038
|
|
||||||
1,1,1657041651,40000,1657041651,40772,772
|
|
||||||
1,1,1657041651,80000,1657041651,80650,650
|
|
||||||
1,1,1657041651,120000,1657041651,120590,590
|
|
||||||
1,1,1657041651,160000,1657041651,160639,639
|
|
||||||
1,1,1657041651,200000,1657041651,200644,644
|
|
||||||
1,1,1657041651,240000,1657041651,240673,673
|
|
||||||
1,1,1657041651,280000,1657041651,280682,682
|
|
||||||
1,1,1657041651,320000,1657041651,320720,720
|
|
||||||
1,1,1657041651,360000,1657041651,360638,638
|
|
||||||
1,1,1657041651,400000,1657041651,400630,630
|
|
||||||
1,1,1657041651,440000,1657041651,440695,695
|
|
||||||
1,1,1657041651,480000,1657041651,480704,704
|
|
||||||
1,1,1657041651,520000,1657041651,520670,670
|
|
||||||
1,1,1657041651,560000,1657041651,561026,1026
|
|
||||||
1,1,1657041651,600000,1657041651,601031,1031
|
|
||||||
1,1,1657041651,640000,1657041651,640596,596
|
|
||||||
1,1,1657041651,680000,1657041651,680637,637
|
|
||||||
1,1,1657041651,720000,1657041651,720672,672
|
|
||||||
1,1,1657041651,760000,1657041651,760687,687
|
|
||||||
1,1,1657041651,800000,1657041651,800702,702
|
|
||||||
1,1,1657041651,840000,1657041651,840667,667
|
|
||||||
1,1,1657041651,880000,1657041651,880593,593
|
|
||||||
1,1,1657041651,920000,1657041651,920727,727
|
|
||||||
1,1,1657041651,960000,1657041651,960833,833
|
|
||||||
1,1,1657041652,0,1657041652,652,652
|
|
||||||
1,1,1657041652,40000,1657041652,40957,957
|
|
||||||
1,1,1657041652,80000,1657041652,81033,1033
|
|
||||||
1,1,1657041652,120000,1657041652,121162,1162
|
|
||||||
1,1,1657041652,160000,1657041652,161194,1194
|
|
||||||
1,1,1657041652,200000,1657041652,200802,802
|
|
||||||
1,1,1657041652,240000,1657041652,240728,728
|
|
||||||
1,1,1657041652,280000,1657041652,280980,980
|
|
||||||
1,1,1657041652,320000,1657041652,321182,1182
|
|
||||||
1,1,1657041652,360000,1657041652,360960,960
|
|
||||||
1,1,1657041652,400000,1657041652,401137,1137
|
|
||||||
1,1,1657041652,440000,1657041652,440841,841
|
|
||||||
1,1,1657041652,480000,1657041652,481201,1201
|
|
||||||
1,1,1657041652,520000,1657041652,520792,792
|
|
||||||
1,1,1657041652,560000,1657041652,560853,853
|
|
||||||
1,1,1657041652,600000,1657041652,600959,959
|
|
||||||
1,1,1657041652,640000,1657041652,641064,1064
|
|
||||||
1,1,1657041652,680000,1657041652,680774,774
|
|
||||||
1,1,1657041652,720000,1657041652,720885,885
|
|
||||||
1,1,1657041652,760000,1657041652,760959,959
|
|
||||||
1,1,1657041652,800000,1657041652,800960,960
|
|
||||||
1,1,1657041652,840000,1657041652,841134,1134
|
|
||||||
1,1,1657041652,880000,1657041652,880842,842
|
|
||||||
1,1,1657041652,920000,1657041652,920964,964
|
|
||||||
1,1,1657041652,960000,1657041652,960970,970
|
|
||||||
1,1,1657041653,0,1657041653,1038,1038
|
|
||||||
1,1,1657041653,40000,1657041653,40969,969
|
|
||||||
1,1,1657041653,80000,1657041653,80964,964
|
|
||||||
1,1,1657041653,120000,1657041653,121187,1187
|
|
||||||
1,1,1657041653,160000,1657041653,160868,868
|
|
||||||
1,1,1657041653,200000,1657041653,200809,809
|
|
||||||
1,1,1657041653,240000,1657041653,240864,864
|
|
||||||
1,1,1657041653,280000,1657041653,280839,839
|
|
||||||
1,1,1657041653,320000,1657041653,320952,952
|
|
||||||
1,1,1657041653,360000,1657041653,361174,1174
|
|
||||||
1,1,1657041653,400000,1657041653,401188,1188
|
|
||||||
1,1,1657041653,440000,1657041653,440963,963
|
|
||||||
1,1,1657041653,480000,1657041653,481136,1136
|
|
||||||
1,1,1657041653,520000,1657041653,521185,1185
|
|
||||||
1,1,1657041653,560000,1657041653,560974,974
|
|
||||||
1,1,1657041653,600000,1657041653,601049,1049
|
|
||||||
1,1,1657041653,640000,1657041653,640935,935
|
|
||||||
1,1,1657041653,680000,1657041653,680718,718
|
|
||||||
1,1,1657041653,720000,1657041653,720961,961
|
|
||||||
1,1,1657041653,760000,1657041653,761141,1141
|
|
||||||
1,1,1657041653,800000,1657041653,801150,1150
|
|
||||||
1,1,1657041653,840000,1657041653,840964,964
|
|
||||||
1,1,1657041653,880000,1657041653,881141,1141
|
|
||||||
1,1,1657041653,920000,1657041653,921137,1137
|
|
||||||
1,1,1657041653,960000,1657041653,961005,1005
|
|
||||||
1,1,1657041654,0,1657041654,977,977
|
|
||||||
1,1,1657041654,40000,1657041654,40984,984
|
|
||||||
1,1,1657041654,80000,1657041654,81131,1131
|
|
||||||
1,1,1657041654,120000,1657041654,121132,1132
|
|
||||||
1,1,1657041654,160000,1657041654,161108,1108
|
|
||||||
1,1,1657041654,200000,1657041654,200798,798
|
|
||||||
1,1,1657041654,240000,1657041654,240944,944
|
|
||||||
1,1,1657041654,280000,1657041654,280989,989
|
|
||||||
1,1,1657041654,320000,1657041654,321120,1120
|
|
||||||
1,1,1657041654,360000,1657041654,360972,972
|
|
||||||
1,1,1657041654,400000,1657041654,401186,1186
|
|
||||||
1,1,1657041654,440000,1657041654,440974,974
|
|
||||||
1,1,1657041654,480000,1657041654,481186,1186
|
|
||||||
1,1,1657041654,520000,1657041654,521150,1150
|
|
||||||
1,1,1657041654,560000,1657041654,560986,986
|
|
||||||
1,1,1657041654,600000,1657041654,600965,965
|
|
||||||
1,1,1657041654,640000,1657041654,640962,962
|
|
||||||
1,1,1657041654,680000,1657041654,680721,721
|
|
||||||
1,1,1657041654,720000,1657041654,721120,1120
|
|
||||||
1,1,1657041654,760000,1657041654,761143,1143
|
|
||||||
1,1,1657041654,800000,1657041654,800993,993
|
|
||||||
1,1,1657041654,840000,1657041654,840810,810
|
|
||||||
1,1,1657041654,880000,1657041654,881183,1183
|
|
||||||
1,1,1657041654,920000,1657041654,921149,1149
|
|
||||||
1,1,1657041654,960000,1657041654,961146,1146
|
|
||||||
1,1,1657041655,0,1657041655,1048,1048
|
|
||||||
1,1,1657041655,40000,1657041655,40746,746
|
|
||||||
1,1,1657041655,80000,1657041655,81134,1134
|
|
||||||
1,1,1657041655,120000,1657041655,120852,852
|
|
||||||
1,1,1657041655,160000,1657041655,160962,962
|
|
||||||
1,1,1657041655,200000,1657041655,200753,753
|
|
||||||
1,1,1657041655,240000,1657041655,240639,639
|
|
||||||
1,1,1657041655,280000,1657041655,281009,1009
|
|
||||||
1,1,1657041655,320000,1657041655,321146,1146
|
|
||||||
1,1,1657041655,360000,1657041655,361160,1160
|
|
||||||
1,1,1657041655,400000,1657041655,400766,766
|
|
||||||
1,1,1657041655,440000,1657041655,440653,653
|
|
||||||
1,1,1657041655,480000,1657041655,480615,615
|
|
||||||
1,1,1657041655,520000,1657041655,520699,699
|
|
||||||
1,1,1657041655,560000,1657041655,560692,692
|
|
||||||
1,1,1657041655,600000,1657041655,600677,677
|
|
||||||
1,1,1657041655,640000,1657041655,640642,642
|
|
||||||
1,1,1657041655,680000,1657041655,680635,635
|
|
||||||
1,1,1657041655,720000,1657041655,720664,664
|
|
||||||
1,1,1657041655,760000,1657041655,760956,956
|
|
||||||
1,1,1657041655,800000,1657041655,800962,962
|
|
||||||
1,1,1657041655,840000,1657041655,840810,810
|
|
||||||
1,1,1657041655,880000,1657041655,880904,904
|
|
||||||
1,1,1657041655,920000,1657041655,920825,825
|
|
||||||
1,1,1657041655,960000,1657041655,960958,958
|
|
||||||
1,1,1657041656,0,1657041656,1191,1191
|
|
||||||
1,1,1657041656,40000,1657041656,40931,931
|
|
||||||
1,1,1657041656,80000,1657041656,81052,1052
|
|
||||||
1,1,1657041656,120000,1657041656,121131,1131
|
|
||||||
1,1,1657041656,160000,1657041656,161208,1208
|
|
||||||
1,1,1657041656,200000,1657041656,200836,836
|
|
||||||
1,1,1657041656,240000,1657041656,240958,958
|
|
||||||
1,1,1657041656,280000,1657041656,280826,826
|
|
||||||
1,1,1657041656,320000,1657041656,320648,648
|
|
||||||
1,1,1657041656,360000,1657041656,360705,705
|
|
||||||
1,1,1657041656,400000,1657041656,400408,408
|
|
||||||
1,1,1657041656,440000,1657041656,440656,656
|
|
||||||
1,1,1657041656,480000,1657041656,480798,798
|
|
||||||
1,1,1657041656,520000,1657041656,521136,1136
|
|
||||||
1,1,1657041656,560000,1657041656,560936,936
|
|
||||||
1,1,1657041656,600000,1657041656,601144,1144
|
|
||||||
1,1,1657041656,640000,1657041656,640966,966
|
|
||||||
1,1,1657041656,680000,1657041656,680963,963
|
|
||||||
1,1,1657041656,720000,1657041656,721128,1128
|
|
||||||
1,1,1657041656,760000,1657041656,761148,1148
|
|
||||||
1,1,1657041656,800000,1657041656,800389,389
|
|
||||||
1,1,1657041656,840000,1657041656,840651,651
|
|
||||||
1,1,1657041656,880000,1657041656,880275,275
|
|
||||||
1,1,1657041656,920000,1657041656,920389,389
|
|
||||||
1,1,1657041656,960000,1657041656,960738,738
|
|
||||||
1,1,1657041657,0,1657041657,659,659
|
|
||||||
1,1,1657041657,40000,1657041657,40883,883
|
|
||||||
1,1,1657041657,80000,1657041657,80839,839
|
|
||||||
1,1,1657041657,120000,1657041657,121165,1165
|
|
||||||
1,1,1657041657,160000,1657041657,161154,1154
|
|
||||||
1,1,1657041657,200000,1657041657,200870,870
|
|
||||||
1,1,1657041657,240000,1657041657,240973,973
|
|
||||||
1,1,1657041657,280000,1657041657,280995,995
|
|
||||||
1,1,1657041657,320000,1657041657,321192,1192
|
|
||||||
1,1,1657041657,360000,1657041657,360991,991
|
|
||||||
1,1,1657041657,400000,1657041657,401144,1144
|
|
||||||
1,1,1657041657,440000,1657041657,441147,1147
|
|
||||||
1,1,1657041657,480000,1657041657,480838,838
|
|
||||||
1,1,1657041657,520000,1657041657,520786,786
|
|
||||||
1,1,1657041657,560000,1657041657,560806,806
|
|
||||||
1,1,1657041657,600000,1657041657,600789,789
|
|
||||||
1,1,1657041657,640000,1657041657,640775,775
|
|
||||||
1,1,1657041657,680000,1657041657,680696,696
|
|
||||||
1,1,1657041657,720000,1657041657,720840,840
|
|
||||||
1,1,1657041657,760000,1657041657,761080,1080
|
|
||||||
1,1,1657041657,800000,1657041657,800828,828
|
|
||||||
1,1,1657041657,840000,1657041657,841151,1151
|
|
||||||
1,1,1657041657,880000,1657041657,881149,1149
|
|
||||||
1,1,1657041657,920000,1657041657,921155,1155
|
|
||||||
1,1,1657041657,960000,1657041657,961143,1143
|
|
||||||
1,1,1657041658,0,1657041658,868,868
|
|
||||||
1,1,1657041658,40000,1657041658,40971,971
|
|
||||||
1,1,1657041658,80000,1657041658,81149,1149
|
|
||||||
1,1,1657041658,120000,1657041658,120856,856
|
|
||||||
1,1,1657041658,160000,1657041658,161162,1162
|
|
||||||
1,1,1657041658,200000,1657041658,200834,834
|
|
||||||
1,1,1657041658,240000,1657041658,240826,826
|
|
||||||
1,1,1657041658,280000,1657041658,280912,912
|
|
||||||
1,1,1657041658,320000,1657041658,321145,1145
|
|
||||||
1,1,1657041658,360000,1657041658,360844,844
|
|
||||||
1,1,1657041658,400000,1657041658,401149,1149
|
|
||||||
1,1,1657041658,440000,1657041658,441051,1051
|
|
||||||
1,1,1657041658,480000,1657041658,481204,1204
|
|
||||||
1,1,1657041658,520000,1657041658,521216,1216
|
|
||||||
1,1,1657041658,560000,1657041658,560808,808
|
|
||||||
1,1,1657041658,600000,1657041658,600804,804
|
|
||||||
1,1,1657041658,640000,1657041658,640370,370
|
|
||||||
1,1,1657041658,680000,1657041658,680646,646
|
|
||||||
1,1,1657041658,720000,1657041658,720546,546
|
|
||||||
1,1,1657041658,760000,1657041658,761027,1027
|
|
||||||
1,1,1657041658,800000,1657041658,800822,822
|
|
||||||
1,1,1657041658,840000,1657041658,841063,1063
|
|
||||||
1,1,1657041658,880000,1657041658,880979,979
|
|
||||||
1,1,1657041658,920000,1657041658,921140,1140
|
|
||||||
1,1,1657041658,960000,1657041658,961202,1202
|
|
||||||
1,1,1657041659,0,1657041659,820,820
|
|
||||||
1,1,1657041659,40000,1657041659,40704,704
|
|
||||||
1,1,1657041659,80000,1657041659,80883,883
|
|
||||||
1,1,1657041659,120000,1657041659,121132,1132
|
|
||||||
1,1,1657041659,160000,1657041659,161143,1143
|
|
||||||
1,1,1657041659,200000,1657041659,200780,780
|
|
||||||
1,1,1657041659,240000,1657041659,240976,976
|
|
||||||
1,1,1657041659,280000,1657041659,280807,807
|
|
||||||
1,1,1657041659,320000,1657041659,320951,951
|
|
||||||
1,1,1657041659,360000,1657041659,360856,856
|
|
||||||
1,1,1657041659,400000,1657041659,401203,1203
|
|
||||||
1,1,1657041659,440000,1657041659,441135,1135
|
|
||||||
1,1,1657041659,480000,1657041659,481162,1162
|
|
||||||
1,1,1657041659,520000,1657041659,521209,1209
|
|
||||||
1,1,1657041659,560000,1657041659,561206,1206
|
|
||||||
1,1,1657041659,600000,1657041659,601136,1136
|
|
||||||
1,1,1657041659,640000,1657041659,641151,1151
|
|
||||||
1,1,1657041659,680000,1657041659,680730,730
|
|
||||||
1,1,1657041659,720000,1657041659,720970,970
|
|
||||||
1,1,1657041659,760000,1657041659,760306,306
|
|
||||||
1,1,1657041659,800000,1657041659,800855,855
|
|
||||||
1,1,1657041659,840000,1657041659,841151,1151
|
|
||||||
1,1,1657041659,880000,1657041659,880984,984
|
|
||||||
1,1,1657041659,920000,1657041659,920387,387
|
|
||||||
1,1,1657041659,960000,1657041659,960683,683
|
|
||||||
1,1,1657041660,0,1657041660,743,743
|
|
||||||
1,1,1657041660,40000,1657041660,40747,747
|
|
||||||
1,1,1657041660,80000,1657041660,80827,827
|
|
||||||
1,1,1657041660,120000,1657041660,121158,1158
|
|
||||||
1,1,1657041660,160000,1657041660,161145,1145
|
|
||||||
1,1,1657041660,200000,1657041660,201156,1156
|
|
||||||
1,1,1657041660,240000,1657041660,240961,961
|
|
||||||
1,1,1657041660,280000,1657041660,280958,958
|
|
||||||
1,1,1657041660,320000,1657041660,321198,1198
|
|
||||||
1,1,1657041660,360000,1657041660,360963,963
|
|
||||||
1,1,1657041660,400000,1657041660,401186,1186
|
|
||||||
1,1,1657041660,440000,1657041660,440918,918
|
|
||||||
1,1,1657041660,480000,1657041660,481146,1146
|
|
||||||
1,1,1657041660,520000,1657041660,521191,1191
|
|
||||||
1,1,1657041660,560000,1657041660,561198,1198
|
|
||||||
1,1,1657041660,600000,1657041660,601194,1194
|
|
||||||
1,1,1657041660,640000,1657041660,641145,1145
|
|
||||||
1,1,1657041660,680000,1657041660,680684,684
|
|
||||||
1,1,1657041660,720000,1657041660,720986,986
|
|
||||||
1,1,1657041660,760000,1657041660,761144,1144
|
|
||||||
1,1,1657041660,800000,1657041660,801119,1119
|
|
||||||
1,1,1657041660,840000,1657041660,841151,1151
|
|
||||||
1,1,1657041660,880000,1657041660,881195,1195
|
|
||||||
1,1,1657041660,920000,1657041660,920763,763
|
|
||||||
1,1,1657041660,960000,1657041660,960735,735
|
|
||||||
1,1,1657041661,0,1657041661,664,664
|
|
||||||
1,1,1657041661,40000,1657041661,40638,638
|
|
||||||
1,1,1657041661,80000,1657041661,80728,728
|
|
||||||
1,1,1657041661,120000,1657041661,120825,825
|
|
||||||
1,1,1657041661,160000,1657041661,160890,890
|
|
||||||
1,1,1657041661,200000,1657041661,200878,878
|
|
||||||
1,1,1657041661,240000,1657041661,240803,803
|
|
||||||
1,1,1657041661,280000,1657041661,280803,803
|
|
||||||
1,1,1657041661,320000,1657041661,320821,821
|
|
||||||
1,1,1657041661,360000,1657041661,360838,838
|
|
||||||
1,1,1657041661,400000,1657041661,400890,890
|
|
||||||
1,1,1657041661,440000,1657041661,440881,881
|
|
||||||
1,1,1657041661,480000,1657041661,480866,866
|
|
||||||
1,1,1657041661,520000,1657041661,520843,843
|
|
||||||
1,1,1657041661,560000,1657041661,560996,996
|
|
||||||
1,1,1657041661,600000,1657041661,601163,1163
|
|
||||||
1,1,1657041661,640000,1657041661,641142,1142
|
|
||||||
1,1,1657041661,680000,1657041661,680666,666
|
|
||||||
1,1,1657041661,720000,1657041661,720995,995
|
|
||||||
1,1,1657041661,760000,1657041661,760998,998
|
|
||||||
1,1,1657041661,800000,1657041661,801157,1157
|
|
||||||
1,1,1657041661,840000,1657041661,841040,1040
|
|
||||||
1,1,1657041661,880000,1657041661,880983,983
|
|
||||||
1,1,1657041661,920000,1657041661,921031,1031
|
|
||||||
1,1,1657041661,960000,1657041661,960990,990
|
|
||||||
1,1,1657041662,0,1657041662,1143,1143
|
|
||||||
1,1,1657041662,40000,1657041662,40984,984
|
|
||||||
1,1,1657041662,80000,1657041662,81164,1164
|
|
||||||
1,1,1657041662,120000,1657041662,121214,1214
|
|
||||||
1,1,1657041662,160000,1657041662,160973,973
|
|
||||||
1,1,1657041662,200000,1657041662,200972,972
|
|
||||||
1,1,1657041662,240000,1657041662,240862,862
|
|
||||||
1,1,1657041662,280000,1657041662,280817,817
|
|
||||||
1,1,1657041662,320000,1657041662,320714,714
|
|
||||||
1,1,1657041662,360000,1657041662,360821,821
|
|
||||||
1,1,1657041662,400000,1657041662,401095,1095
|
|
||||||
1,1,1657041662,440000,1657041662,440818,818
|
|
||||||
1,1,1657041662,480000,1657041662,480686,686
|
|
||||||
1,1,1657041662,520000,1657041662,520701,701
|
|
||||||
1,1,1657041662,560000,1657041662,560681,681
|
|
||||||
1,1,1657041662,600000,1657041662,600722,722
|
|
||||||
1,1,1657041662,640000,1657041662,640665,665
|
|
||||||
1,1,1657041662,680000,1657041662,680683,683
|
|
||||||
1,1,1657041662,720000,1657041662,720939,939
|
|
||||||
1,1,1657041662,760000,1657041662,760830,830
|
|
||||||
1,1,1657041662,800000,1657041662,800991,991
|
|
||||||
1,1,1657041662,840000,1657041662,840978,978
|
|
||||||
1,1,1657041662,880000,1657041662,881002,1002
|
|
||||||
1,1,1657041662,920000,1657041662,921038,1038
|
|
||||||
1,1,1657041662,960000,1657041662,960898,898
|
|
||||||
1,1,1657041663,0,1657041663,357,357
|
|
||||||
1,1,1657041663,40000,1657041663,40703,703
|
|
||||||
1,1,1657041663,80000,1657041663,80270,270
|
|
||||||
1,1,1657041663,120000,1657041663,120535,535
|
|
||||||
1,1,1657041663,160000,1657041663,160692,692
|
|
||||||
1,1,1657041663,200000,1657041663,200764,764
|
|
||||||
1,1,1657041663,240000,1657041663,240976,976
|
|
||||||
1,1,1657041663,280000,1657041663,280938,938
|
|
||||||
1,1,1657041663,320000,1657041663,321126,1126
|
|
||||||
1,1,1657041663,360000,1657041663,360980,980
|
|
||||||
1,1,1657041663,400000,1657041663,400765,765
|
|
||||||
1,1,1657041663,440000,1657041663,440449,449
|
|
||||||
1,1,1657041663,480000,1657041663,480648,648
|
|
||||||
1,1,1657041663,520000,1657041663,520824,824
|
|
||||||
1,1,1657041663,560000,1657041663,560659,659
|
|
||||||
1,1,1657041663,600000,1657041663,600698,698
|
|
||||||
1,1,1657041663,640000,1657041663,640802,802
|
|
||||||
1,1,1657041663,680000,1657041663,680732,732
|
|
||||||
1,1,1657041663,720000,1657041663,720797,797
|
|
||||||
1,1,1657041663,760000,1657041663,760823,823
|
|
||||||
1,1,1657041663,800000,1657041663,800808,808
|
|
||||||
1,1,1657041663,840000,1657041663,840800,800
|
|
||||||
1,1,1657041663,880000,1657041663,880789,789
|
|
||||||
1,1,1657041663,920000,1657041663,920802,802
|
|
||||||
1,1,1657041663,960000,1657041663,960792,792
|
|
||||||
1,1,1657041664,0,1657041664,1150,1150
|
|
||||||
1,1,1657041664,40000,1657041664,40801,801
|
|
||||||
1,1,1657041664,80000,1657041664,80816,816
|
|
||||||
1,1,1657041664,120000,1657041664,120789,789
|
|
||||||
1,1,1657041664,160000,1657041664,160779,779
|
|
||||||
1,1,1657041664,200000,1657041664,200699,699
|
|
||||||
1,1,1657041664,240000,1657041664,240710,710
|
|
||||||
1,1,1657041664,280000,1657041664,280730,730
|
|
||||||
1,1,1657041664,320000,1657041664,320831,831
|
|
||||||
1,1,1657041664,360000,1657041664,360776,776
|
|
||||||
1,1,1657041664,400000,1657041664,401208,1208
|
|
||||||
1,1,1657041664,440000,1657041664,440926,926
|
|
||||||
1,1,1657041664,480000,1657041664,480795,795
|
|
||||||
1,1,1657041664,520000,1657041664,520811,811
|
|
||||||
1,1,1657041664,560000,1657041664,560791,791
|
|
||||||
1,1,1657041664,600000,1657041664,600811,811
|
|
||||||
1,1,1657041664,640000,1657041664,640777,777
|
|
||||||
1,1,1657041664,680000,1657041664,680699,699
|
|
||||||
1,1,1657041664,720000,1657041664,720779,779
|
|
||||||
1,1,1657041664,760000,1657041664,760778,778
|
|
||||||
1,1,1657041664,800000,1657041664,801143,1143
|
|
||||||
1,1,1657041664,840000,1657041664,840846,846
|
|
||||||
1,1,1657041664,880000,1657041664,880913,913
|
|
||||||
1,1,1657041664,920000,1657041664,920986,986
|
|
||||||
1,1,1657041664,960000,1657041664,961161,1161
|
|
||||||
1,1,1657041665,0,1657041665,1208,1208
|
|
||||||
1,1,1657041665,40000,1657041665,40982,982
|
|
||||||
1,1,1657041665,80000,1657041665,81198,1198
|
|
||||||
1,1,1657041665,120000,1657041665,121147,1147
|
|
||||||
1,1,1657041665,160000,1657041665,160979,979
|
|
||||||
1,1,1657041665,200000,1657041665,201050,1050
|
|
||||||
1,1,1657041665,240000,1657041665,240989,989
|
|
||||||
1,1,1657041665,280000,1657041665,280970,970
|
|
||||||
1,1,1657041665,320000,1657041665,321213,1213
|
|
||||||
1,1,1657041665,360000,1657041665,361003,1003
|
|
||||||
1,1,1657041665,400000,1657041665,401137,1137
|
|
||||||
1,1,1657041665,440000,1657041665,441223,1223
|
|
||||||
1,1,1657041665,480000,1657041665,481222,1222
|
|
||||||
1,1,1657041665,520000,1657041665,521041,1041
|
|
||||||
1,1,1657041665,560000,1657041665,560964,964
|
|
||||||
1,1,1657041665,600000,1657041665,601208,1208
|
|
||||||
1,1,1657041665,640000,1657041665,641233,1233
|
|
||||||
1,1,1657041665,680000,1657041665,680716,716
|
|
||||||
1,1,1657041665,720000,1657041665,721169,1169
|
|
||||||
1,1,1657041665,760000,1657041665,761209,1209
|
|
||||||
1,1,1657041665,800000,1657041665,801031,1031
|
|
||||||
1,1,1657041665,840000,1657041665,840763,763
|
|
||||||
1,1,1657041665,880000,1657041665,880750,750
|
|
||||||
1,1,1657041665,920000,1657041665,920792,792
|
|
||||||
1,1,1657041665,960000,1657041665,960816,816
|
|
||||||
1,1,1657041666,0,1657041666,812,812
|
|
||||||
1,1,1657041666,40000,1657041666,40789,789
|
|
||||||
1,1,1657041666,80000,1657041666,80805,805
|
|
||||||
1,1,1657041666,120000,1657041666,121155,1155
|
|
||||||
1,1,1657041666,160000,1657041666,161160,1160
|
|
||||||
1,1,1657041666,200000,1657041666,201032,1032
|
|
||||||
1,1,1657041666,240000,1657041666,241004,1004
|
|
||||||
1,1,1657041666,280000,1657041666,280989,989
|
|
||||||
1,1,1657041666,320000,1657041666,320897,897
|
|
||||||
1,1,1657041666,360000,1657041666,360310,310
|
|
||||||
1,1,1657041666,400000,1657041666,400688,688
|
|
||||||
1,1,1657041666,440000,1657041666,441162,1162
|
|
||||||
1,1,1657041666,480000,1657041666,481150,1150
|
|
||||||
1,1,1657041666,520000,1657041666,521148,1148
|
|
||||||
1,1,1657041666,560000,1657041666,560984,984
|
|
||||||
1,1,1657041666,600000,1657041666,601148,1148
|
|
||||||
1,1,1657041666,640000,1657041666,641182,1182
|
|
||||||
1,1,1657041666,680000,1657041666,680739,739
|
|
||||||
1,1,1657041666,720000,1657041666,720966,966
|
|
||||||
1,1,1657041666,760000,1657041666,761309,1309
|
|
|
@ -1,145 +0,0 @@
|
||||||
/* -----------------------------------------------------------------------------
|
|
||||||
* db.c & iPDC_DB_Queries
|
|
||||||
*
|
|
||||||
* iPDC - Phasor Data Concentrator
|
|
||||||
*
|
|
||||||
* Copyright (C) 2011 Nitesh Pandit
|
|
||||||
* Copyright (C) 2011 Kedar V. Khandeparkar
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
|
|
||||||
* Nitesh Pandit <panditnitesh@gmail.com>
|
|
||||||
*
|
|
||||||
* ----------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************** Begin of db.c *******************************************************/
|
|
||||||
|
|
||||||
#include <mysql.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
main() { /* Simple C program that connects to MySQL Database server*/
|
|
||||||
|
|
||||||
MYSQL *conn;
|
|
||||||
MYSQL_RES *res;
|
|
||||||
MYSQL_ROW row;
|
|
||||||
|
|
||||||
char *server = "localhost";
|
|
||||||
char *user = "root";
|
|
||||||
char *password = "root"; /* set me first */
|
|
||||||
char *database = "test";
|
|
||||||
|
|
||||||
conn = mysql_init(NULL);
|
|
||||||
|
|
||||||
/* Connect to database */
|
|
||||||
if (!mysql_real_connect(conn, server,
|
|
||||||
user, password, database, 0, NULL, 0)) {
|
|
||||||
fprintf(stderr, "%s\n", mysql_error(conn));
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
char cmd[40];
|
|
||||||
int i=2;
|
|
||||||
sprintf(cmd, "select * from student");
|
|
||||||
|
|
||||||
/* send SQL query */
|
|
||||||
if (mysql_query(conn, cmd)) {
|
|
||||||
fprintf(stderr, "%s\n", mysql_error(conn));
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
res = mysql_use_result(conn);
|
|
||||||
|
|
||||||
/* output table name */
|
|
||||||
printf("Data in student:\n");
|
|
||||||
while ((row = mysql_fetch_row(res)) != NULL)
|
|
||||||
printf("%s \n", row[0]);
|
|
||||||
/* close connection */
|
|
||||||
mysql_free_result(res);
|
|
||||||
mysql_close(conn);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************** Begins of iPDC_DB_Queries *******************************************************/
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
ANALOG
|
|
||||||
ANALOG_MEASUREMENTS
|
|
||||||
DIGITAL
|
|
||||||
DIGITAL_MEASUREMENTS
|
|
||||||
FREQUENCY_MEASUREMENTS
|
|
||||||
MAIN_CFG_TABLE
|
|
||||||
PHASOR
|
|
||||||
PHASOR_MEASUREMENTS
|
|
||||||
REVEIVED_FRAME_TIME
|
|
||||||
SUB_CFG_TABLE
|
|
||||||
|
|
||||||
|
|
||||||
----CFG
|
|
||||||
|
|
||||||
SELECT * FROM MAIN_CFG_TABLE;
|
|
||||||
SELECT * FROM SUB_CFG_TABLE;
|
|
||||||
SELECT * FROM PHASOR;
|
|
||||||
SELECT * FROM ANALOG;
|
|
||||||
SELECT * FROM DIGITAL;
|
|
||||||
|
|
||||||
SELECT * from PHASOR_MEASUREMENTS WHERE SOC = (SELECT MAX(SOC) FROM PHASOR_MEASUREMENTS);
|
|
||||||
|
|
||||||
delete from MAIN_CFG_TABLE;
|
|
||||||
delete from SUB_CFG_TABLE;
|
|
||||||
delete from PHASOR;
|
|
||||||
delete from ANALOG;
|
|
||||||
delete from DIGITAL;
|
|
||||||
delete from PHASOR_MEASUREMENTS;
|
|
||||||
delete from FREQUENCY_MEASUREMENTS;
|
|
||||||
delete from ANALOG_MEASUREMENTS;
|
|
||||||
delete from DIGITAL_MEASUREMENTS;
|
|
||||||
delete from REVEIVED_FRAME_TIME;
|
|
||||||
|
|
||||||
----DATA
|
|
||||||
|
|
||||||
SELECT * FROM PHASOR_MEASUREMENTS ;
|
|
||||||
SELECT * FROM FREQUENCY_MEASUREMENTS;
|
|
||||||
SELECT * FROM ANALOG_MEASUREMENTS;
|
|
||||||
SELECT * FROM DIGITAL_MEASUREMENTS;
|
|
||||||
SELECT * FROM REVEIVED_FRAME_TIME;
|
|
||||||
|
|
||||||
SELECT COUNT(*) FROM PHASOR_MEASUREMENTS ;
|
|
||||||
SELECT COUNT(*) FROM FREQUENCY_MEASUREMENTS;
|
|
||||||
SELECT COUNT(*) FROM ANALOG_MEASUREMENTS;
|
|
||||||
SELECT COUNT(*) FROM DIGITAL_MEASUREMENTS;
|
|
||||||
|
|
||||||
// To verify the number of frames received per second from PMU Simulator.
|
|
||||||
SELECT COUNT(*) from PHASOR_MEASUREMENTS WHERE SOC = (SELECT MAX(SOC)-n FROM PHASOR_MEASUREMENTS);
|
|
||||||
SELECT COUNT(*) from ANALOG_MEASUREMENTS WHERE SOC = (SELECT MAX(SOC)-n FROM ANALOG_MEASUREMENTS);
|
|
||||||
|
|
||||||
----DROP TABLE
|
|
||||||
|
|
||||||
drop table MAIN_CFG_TABLE;
|
|
||||||
drop table SUB_CFG_TABLE;
|
|
||||||
drop table PHASOR;
|
|
||||||
drop table ANALOG;
|
|
||||||
drop table DIGITAL;
|
|
||||||
drop table PHASOR_MEASUREMENTS;
|
|
||||||
drop table FREQUENCY_MEASUREMENTS;
|
|
||||||
drop table ANALOG_MEASUREMENTS;
|
|
||||||
drop table DIGITAL_MEASUREMENTS;
|
|
||||||
drop table REVEIVED_FRAME_TIME;
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**************************************** End of File *******************************************************/
|
|
BIN
DBServer/cfg.bin
BIN
DBServer/cfg.bin
Binary file not shown.
|
@ -1,271 +0,0 @@
|
||||||
/* -----------------------------------------------------------------------------
|
|
||||||
* connections.c
|
|
||||||
*
|
|
||||||
* iPDC - Phasor Data Concentrator
|
|
||||||
*
|
|
||||||
* Copyright (C) 2011 Nitesh Pandit
|
|
||||||
* Copyright (C) 2011 Kedar V. Khandeparkar
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* Nitesh Pandit <panditnitesh@gmail.com>
|
|
||||||
* Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
|
|
||||||
*
|
|
||||||
* ----------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
/* Functions defined in connections.c */
|
|
||||||
/* -----------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
/* 1. void setup() */
|
|
||||||
/* 2. void* DB_udp() */
|
|
||||||
/* 3. void* DB_udphandler(void * udp_BUF) */
|
|
||||||
/* 4. void DB_process_UDP(char* udp_BUF) */
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <arpa/inet.h>
|
|
||||||
#include <sys/wait.h>
|
|
||||||
#include <signal.h>
|
|
||||||
#include <pthread.h>
|
|
||||||
#include "connections.h"
|
|
||||||
#include "parser.h"
|
|
||||||
#include "global.h"
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
/* global variables */
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
|
|
||||||
pthread_mutex_t mutex_on_buffer;
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
/* FUNCTION setup(): */
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
void setup(){
|
|
||||||
|
|
||||||
printf("Entering DBServer setup()\n");
|
|
||||||
|
|
||||||
/* MySQL data base parameters */
|
|
||||||
server = "localhost";
|
|
||||||
user = "root";
|
|
||||||
password = "root"; /* Change this password value, if not the same in your case? */
|
|
||||||
database = "iPDC";
|
|
||||||
|
|
||||||
/* MySQL data base connection */
|
|
||||||
conn_data = mysql_init(NULL);
|
|
||||||
conn_cfg = mysql_init(NULL);
|
|
||||||
|
|
||||||
if(conn_data == NULL) {
|
|
||||||
|
|
||||||
printf("No sufficient memory\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(conn_cfg == NULL) {
|
|
||||||
|
|
||||||
printf("No sufficient memory\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Connect to database */
|
|
||||||
if (!mysql_real_connect(conn_data, server,
|
|
||||||
user, password, database, 0, NULL, 0)) {
|
|
||||||
|
|
||||||
fprintf(stderr, "%s\n", mysql_error(conn_data));
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!mysql_real_connect(conn_cfg, server,
|
|
||||||
user, password, database, 0, NULL, 0)) {
|
|
||||||
|
|
||||||
fprintf(stderr, "%s\n", mysql_error(conn_cfg));
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Create UDP socket and bind to port */
|
|
||||||
int yes;
|
|
||||||
if ((DB_sockfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1) {
|
|
||||||
|
|
||||||
perror("socket");
|
|
||||||
exit(1);
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
printf("DB Socket:Sucessfully created\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (setsockopt(DB_sockfd,SOL_SOCKET,SO_REUSEADDR,&yes,sizeof(int)) == -1) {
|
|
||||||
perror("setsockopt");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
DB_server_addr.sin_family = AF_INET; // host byte order
|
|
||||||
DB_server_addr.sin_port = htons(DBPORT); // short, network byte order
|
|
||||||
DB_server_addr.sin_addr.s_addr = INADDR_ANY; // automatically fill with my IP
|
|
||||||
memset(&(DB_server_addr.sin_zero),'\0', 8); // zero the rest of the struct
|
|
||||||
|
|
||||||
if (bind(DB_sockfd, (struct sockaddr *)&DB_server_addr,
|
|
||||||
sizeof(DB_server_addr)) == -1) {
|
|
||||||
perror("bind");
|
|
||||||
exit(1);
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
printf("DB Socket Bind :Sucessfull\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
printf("\nDB Server Listening on port %d\n",DBPORT);
|
|
||||||
|
|
||||||
DB_addr_len = sizeof(struct sockaddr);
|
|
||||||
|
|
||||||
DB_udp();
|
|
||||||
mysql_close(conn_cfg);
|
|
||||||
mysql_close(conn_data);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
/* FUNCTION udp(): */
|
|
||||||
/* It creates a Pthread for each received UDP data. */
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
void DB_udp(){
|
|
||||||
|
|
||||||
// UDP threads are created for each received UDP message in 'detached' mode. Thus allowing any number of threads to be created.
|
|
||||||
int err;
|
|
||||||
pthread_attr_t attr;
|
|
||||||
pthread_attr_init(&attr);
|
|
||||||
|
|
||||||
if((err = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED))) { // In the detached state, the thread resources are
|
|
||||||
// immediately freed when it terminates, but
|
|
||||||
perror(strerror(err)); // pthread_join(3) cannot be used to synchronize
|
|
||||||
exit(1); // on the thread termination.
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if((err = pthread_attr_setschedpolicy(&attr,SCHED_FIFO))) { // Shed policy = SCHED_FIFO (realtime, first-in first-out)
|
|
||||||
|
|
||||||
perror(strerror(err));
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* UDP data Received */
|
|
||||||
while(1) {
|
|
||||||
|
|
||||||
if ((numbytes = recvfrom(DB_sockfd,buffer, MAXBUFLEN-1, 0,(struct sockaddr *)&their_addr, (socklen_t *)&DB_addr_len)) == -1) {
|
|
||||||
// Main if
|
|
||||||
perror("recvfrom");
|
|
||||||
exit(1);
|
|
||||||
|
|
||||||
} else { /* New datagram has been received */
|
|
||||||
|
|
||||||
pthread_t t;
|
|
||||||
int tt;
|
|
||||||
unsigned char *udp_BUF;
|
|
||||||
udp_BUF = malloc(MAXBUFLEN*sizeof(unsigned char));
|
|
||||||
|
|
||||||
if(!udp_BUF) {
|
|
||||||
|
|
||||||
printf("No space for udp_BUF\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
printf("UDP Server got packet from %s\n",inet_ntoa(their_addr.sin_addr));
|
|
||||||
printf("packet is %d bytes long.\n",numbytes);
|
|
||||||
buffer[numbytes] = '\0';
|
|
||||||
|
|
||||||
/* Copy the udp_buf data to a local variable */
|
|
||||||
pthread_mutex_lock(&mutex_on_buffer);
|
|
||||||
copy_cbyc(udp_BUF,buffer,MAXBUFLEN);
|
|
||||||
memset(buffer, '\0', MAXBUFLEN);
|
|
||||||
pthread_mutex_unlock(&mutex_on_buffer);
|
|
||||||
|
|
||||||
/* Creates a new thread for each received UDP message */
|
|
||||||
if((tt = pthread_create(&t,&attr,DB_udphandler,(void *)udp_BUF))) {
|
|
||||||
|
|
||||||
perror(strerror(tt));
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
} // Main if ends
|
|
||||||
|
|
||||||
} // while ends
|
|
||||||
|
|
||||||
pthread_attr_destroy(&attr);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
/* FUNCTION udphandler(): */
|
|
||||||
/* It internally calls process_UDP(). */
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
void* DB_udphandler(void * udp_BUF) {
|
|
||||||
|
|
||||||
DB_process_UDP((unsigned char*)udp_BUF);
|
|
||||||
|
|
||||||
free((unsigned char*)udp_BUF);
|
|
||||||
|
|
||||||
pthread_exit(NULL); /* Exit the thread once the task is done. */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
/* FUNCTION process_UDP(): */
|
|
||||||
/* This function Processes the frames as per their type(command, data, config). */
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
void DB_process_UDP(unsigned char* udp_BUF){
|
|
||||||
|
|
||||||
int stat_status,i;
|
|
||||||
unsigned char c = udp_BUF[1];
|
|
||||||
c <<= 1;
|
|
||||||
c >>= 5;
|
|
||||||
if(c == 0x00){ /* If data frame */
|
|
||||||
|
|
||||||
printf("\nData frame reveived\n");
|
|
||||||
stat_status = dataparser(udp_BUF);
|
|
||||||
printf("Return from Data Parser\n");
|
|
||||||
|
|
||||||
} else if(c == 0x03) { /* If configuration frame */
|
|
||||||
|
|
||||||
printf("\nConfiguration frame reveived\n");
|
|
||||||
cfgparser(udp_BUF);
|
|
||||||
printf("Return from CFG\n");
|
|
||||||
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
printf("Erroneous frame\n");
|
|
||||||
|
|
||||||
}
|
|
||||||
fflush(stdout);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************** End of File *******************************************************/
|
|
|
@ -1,57 +0,0 @@
|
||||||
/* -----------------------------------------------------------------------------
|
|
||||||
* connections.h
|
|
||||||
*
|
|
||||||
* iPDC - Phasor Data Concentrator
|
|
||||||
*
|
|
||||||
* Copyright (C) 2011 Nitesh Pandit
|
|
||||||
* Copyright (C) 2011 Kedar V. Khandeparkar
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* Nitesh Pandit <panditnitesh@gmail.com>
|
|
||||||
* Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
|
|
||||||
*
|
|
||||||
* ----------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <signal.h>
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
/* global variable */
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
|
|
||||||
#define DBPORT 9000
|
|
||||||
#define MAXBUFLEN 2000
|
|
||||||
|
|
||||||
int DB_sockfd; //socket descriptor
|
|
||||||
struct sockaddr_in DB_server_addr,their_addr;
|
|
||||||
int DB_addr_len,numbytes;
|
|
||||||
unsigned char buffer[MAXBUFLEN];
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
/* Function prototypes */
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
|
|
||||||
void setup();
|
|
||||||
|
|
||||||
void DB_udp();
|
|
||||||
|
|
||||||
void* DB_udphandler(void * udp_BUF);
|
|
||||||
|
|
||||||
void DB_process_UDP(unsigned char* udp_BUF);
|
|
||||||
|
|
||||||
/**************************************** End of File *******************************************************/
|
|
|
@ -1,112 +0,0 @@
|
||||||
/* -----------------------------------------------------------------------------
|
|
||||||
* dallocate.c
|
|
||||||
*
|
|
||||||
* iPDC - Phasor Data Concentrator
|
|
||||||
*
|
|
||||||
* Copyright (C) 2011 Nitesh Pandit
|
|
||||||
* Copyright (C) 2011 Kedar V. Khandeparkar
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* Nitesh Pandit <panditnitesh@gmail.com>
|
|
||||||
* Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
|
|
||||||
*
|
|
||||||
* ----------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include "parser.h"
|
|
||||||
#include "dallocate.h"
|
|
||||||
#include "global.h"
|
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------------------ */
|
|
||||||
/* Functions defined in dallocate.c */
|
|
||||||
/* ------------------------------------------------------------------------------------ */
|
|
||||||
|
|
||||||
/* 1. void free_cfgframe_object(struct cfg_frame *cfg) */
|
|
||||||
/* 2. void free_2darray(char** array, int x) */
|
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------------------ */
|
|
||||||
|
|
||||||
|
|
||||||
/* -------------------------------------------------------------*/
|
|
||||||
/* FUNCTION free_cfgframe_object(): */
|
|
||||||
/* It frees memory allocated to cfg objects. */
|
|
||||||
/* ------------------------------------------------------------ */
|
|
||||||
|
|
||||||
void free_cfgframe_object(struct cfg_frame *cfg) {
|
|
||||||
|
|
||||||
int j = 0;
|
|
||||||
struct dgnames *t_dgnames,*r_dgnames;
|
|
||||||
printf("Inside free_cfgframe_object()\n");
|
|
||||||
|
|
||||||
while(j<cfg->num_pmu) {
|
|
||||||
|
|
||||||
if(cfg->pmu[j]->phnmr != 0)
|
|
||||||
free_2darray(cfg->pmu[j]->cnext->phnames,cfg->pmu[j]->phnmr);
|
|
||||||
if(cfg->pmu[j]->annmr != 0)
|
|
||||||
free_2darray(cfg->pmu[j]->cnext->angnames,cfg->pmu[j]->annmr);
|
|
||||||
|
|
||||||
if(cfg->pmu[j]->dgnmr != 0) {
|
|
||||||
|
|
||||||
t_dgnames = cfg->pmu[j]->cnext->first;
|
|
||||||
while(t_dgnames != NULL) {
|
|
||||||
|
|
||||||
r_dgnames = t_dgnames->dg_next;
|
|
||||||
free_2darray(t_dgnames->dgn,16);
|
|
||||||
t_dgnames = r_dgnames;
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if(cfg->pmu[j]->dgnmr != 0)
|
|
||||||
free_2darray(cfg->pmu[j]->dgunit,cfg->pmu[j]->dgnmr);
|
|
||||||
|
|
||||||
j++;
|
|
||||||
} // End of While
|
|
||||||
|
|
||||||
free(cfg);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* -------------------------------------------------------------*/
|
|
||||||
/* FUNCTION free_2darray: */
|
|
||||||
/* It frees memory allocated to 2D Arrays. */
|
|
||||||
/* -------------------------------------------------------------*/
|
|
||||||
|
|
||||||
void free_2darray_l(long int **array, int x){
|
|
||||||
|
|
||||||
int i;
|
|
||||||
for(i=0; i<x; i++)
|
|
||||||
free(array[i]);
|
|
||||||
free(array);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* -------------------------------------------------------------*/
|
|
||||||
/* FUNCTION free_2darray: */
|
|
||||||
/* It frees memory allocated to 2D Arrays. */
|
|
||||||
/* -------------------------------------------------------------*/
|
|
||||||
|
|
||||||
void free_2darray(unsigned char **array, int x){
|
|
||||||
|
|
||||||
int i;
|
|
||||||
for(i=0; i<x; i++)
|
|
||||||
free(array[i]);
|
|
||||||
free(array);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************** End of File *******************************************************/
|
|
|
@ -1,37 +0,0 @@
|
||||||
/* -----------------------------------------------------------------------------
|
|
||||||
* dallocate.h
|
|
||||||
*
|
|
||||||
* iPDC - Phasor Data Concentrator
|
|
||||||
*
|
|
||||||
* Copyright (C) 2011 Nitesh Pandit
|
|
||||||
* Copyright (C) 2011 Kedar V. Khandeparkar
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* Nitesh Pandit <panditnitesh@gmail.com>
|
|
||||||
* Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
|
|
||||||
*
|
|
||||||
* ----------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
void free_cfgframe_object(struct cfg_frame *cfg); // Frees memory allocated to cfg objects
|
|
||||||
|
|
||||||
void free_2darray_l(long int** array, int x); // frees memory allocated to 2D arrays
|
|
||||||
|
|
||||||
void free_2darray(unsigned char** array, int x); // frees memory allocated to 2D arrays
|
|
||||||
|
|
||||||
/**************************************** End of File *******************************************************/
|
|
||||||
|
|
|
@ -1,52 +0,0 @@
|
||||||
/* -----------------------------------------------------------------------------
|
|
||||||
* dbserver.c
|
|
||||||
*
|
|
||||||
* iPDC - Phasor Data Concentrator
|
|
||||||
*
|
|
||||||
* Copyright (C) 2011 Nitesh Pandit
|
|
||||||
* Copyright (C) 2011 Kedar V. Khandeparkar
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* Nitesh Pandit <panditnitesh@gmail.com>
|
|
||||||
* Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
|
|
||||||
*
|
|
||||||
* ----------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <signal.h>
|
|
||||||
#include <sys/ipc.h>
|
|
||||||
#include <sys/shm.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include "connections.h"
|
|
||||||
#include "parser.h"
|
|
||||||
#include "recreate.h"
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
/* main program starts here */
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
|
|
||||||
int main(void) {
|
|
||||||
|
|
||||||
system("clear");
|
|
||||||
recreate_cfg_objects() ;
|
|
||||||
setup();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************** End of File *******************************************************/
|
|
|
@ -1,59 +0,0 @@
|
||||||
/* -----------------------------------------------------------------------------
|
|
||||||
* global.h
|
|
||||||
*
|
|
||||||
* iPDC - Phasor Data Concentrator
|
|
||||||
*
|
|
||||||
* Copyright (C) 2011 Nitesh Pandit
|
|
||||||
* Copyright (C) 2011 Kedar V. Khandeparkar
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* Nitesh Pandit <panditnitesh@gmail.com>
|
|
||||||
* Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
|
|
||||||
*
|
|
||||||
* ----------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
#include <mysql.h>
|
|
||||||
#include <pthread.h>
|
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
/* Database variables */
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
|
|
||||||
char *server;
|
|
||||||
char *user;
|
|
||||||
char *password ;
|
|
||||||
char *database ;
|
|
||||||
int BUFF_LEN;
|
|
||||||
|
|
||||||
MYSQL *conn_data; // Connection to database for data insertion
|
|
||||||
MYSQL *conn_cfg; // Connection to database for cfg insertion
|
|
||||||
|
|
||||||
pthread_mutex_t mutex_cfg; // To lock cfg objects
|
|
||||||
pthread_mutex_t mutex_file; // To lock cfg.txt
|
|
||||||
pthread_mutex_t mutex_MYSQL_CONN_ON_DATA; // To lock 'conn_data' connection for DATA insertion
|
|
||||||
pthread_mutex_t mutex_MYSQL_CONN_ON_CFG; // To lock 'conn_cfg' connection for CFG insertion
|
|
||||||
|
|
||||||
pthread_mutex_t mutex_phasor_buffer;
|
|
||||||
char *phasorBuff;
|
|
||||||
char *frequencyBuff;
|
|
||||||
char *digitalBuff;
|
|
||||||
char *analogBuff;
|
|
||||||
char *delayBuff;
|
|
||||||
|
|
||||||
/**************************************** End of File *******************************************************/
|
|
1837
DBServer/parser.c
1837
DBServer/parser.c
File diff suppressed because it is too large
Load Diff
|
@ -1,137 +0,0 @@
|
||||||
/* -----------------------------------------------------------------------------
|
|
||||||
* parser.h
|
|
||||||
*
|
|
||||||
* iPDC - Phasor Data Concentrator
|
|
||||||
*
|
|
||||||
* Copyright (C) 2011 Nitesh Pandit
|
|
||||||
* Copyright (C) 2011 Kedar V. Khandeparkar
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* Nitesh Pandit <panditnitesh@gmail.com>
|
|
||||||
* Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
|
|
||||||
*
|
|
||||||
* ----------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
#define MAXBUFLEN 2000
|
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
/* Data Structure prototypes */
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
/* Configuartion Frame Data Structure */
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
|
|
||||||
struct cfg_frame {
|
|
||||||
|
|
||||||
unsigned int framesize;
|
|
||||||
unsigned int idcode;
|
|
||||||
unsigned long int soc;
|
|
||||||
unsigned long int fracsec;
|
|
||||||
unsigned long int time_base;
|
|
||||||
unsigned int num_pmu;
|
|
||||||
struct for_each_pmu **pmu;
|
|
||||||
unsigned int data_rate;
|
|
||||||
struct cfg_frame *cfgnext;
|
|
||||||
|
|
||||||
}*cfgfirst;
|
|
||||||
|
|
||||||
|
|
||||||
struct for_each_pmu{
|
|
||||||
|
|
||||||
unsigned char stn[17];
|
|
||||||
unsigned int idcode;
|
|
||||||
char data_format[3];
|
|
||||||
struct format *fmt;
|
|
||||||
unsigned int phnmr;
|
|
||||||
unsigned int annmr;
|
|
||||||
unsigned int dgnmr;
|
|
||||||
struct channel_names *cnext;
|
|
||||||
float **phunit;
|
|
||||||
float **anunit;
|
|
||||||
unsigned char **dgunit;
|
|
||||||
unsigned int fnom;
|
|
||||||
unsigned int cfg_cnt;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct channel_names {
|
|
||||||
|
|
||||||
unsigned char **phnames;
|
|
||||||
unsigned char **angnames;
|
|
||||||
unsigned char **phtypes;
|
|
||||||
unsigned char **antypes;
|
|
||||||
struct dgnames *first;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct dgnames {
|
|
||||||
|
|
||||||
unsigned char **dgn; // Stores 16 digital names for each word
|
|
||||||
struct dgnames *dg_next;
|
|
||||||
};
|
|
||||||
|
|
||||||
// This struct is added to help find out whether the measurements are floating/fixed, polar/rectangular .
|
|
||||||
struct format{
|
|
||||||
|
|
||||||
unsigned int freq;
|
|
||||||
unsigned int analog;
|
|
||||||
unsigned char phasor;
|
|
||||||
unsigned char polar;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct DataBuff{
|
|
||||||
|
|
||||||
unsigned char *data;
|
|
||||||
unsigned int type;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
/* Function prototypes */
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
void cfgparser(unsigned char []);
|
|
||||||
|
|
||||||
void cfginsert(struct cfg_frame *);
|
|
||||||
|
|
||||||
int dataparser(unsigned char data[]);
|
|
||||||
|
|
||||||
char* hexTobin(char s);
|
|
||||||
|
|
||||||
int check_statword(unsigned char stat[]);
|
|
||||||
|
|
||||||
void remove_old_cfg(int idcode,unsigned char frame[]);
|
|
||||||
|
|
||||||
unsigned int to_intconvertor(unsigned char array[]);
|
|
||||||
|
|
||||||
unsigned int to_intconvertor1(unsigned char array[]); //Added by gopal -- to_intconvertor1
|
|
||||||
|
|
||||||
unsigned long int to_long_int_convertor(unsigned char * array);
|
|
||||||
|
|
||||||
unsigned long int to_long_int_convertor1(unsigned char * array); //Added by gopal -- to_long_int_convertor1
|
|
||||||
|
|
||||||
float decode_ieee_single(const void *v);
|
|
||||||
|
|
||||||
void copy_cbyc(unsigned char dst[],unsigned char *s,int size);
|
|
||||||
|
|
||||||
int ncmp_cbyc(unsigned char dst[],unsigned char src[],int size);
|
|
||||||
|
|
||||||
void* dataWriteInFile(void * temp_buff);
|
|
||||||
|
|
||||||
/**************************************** End of File *******************************************************/
|
|
|
@ -1,645 +0,0 @@
|
||||||
/* -----------------------------------------------------------------------------
|
|
||||||
* recreate.c
|
|
||||||
*
|
|
||||||
* iPDC - Phasor Data Concentrator
|
|
||||||
*
|
|
||||||
* Copyright (C) 2011 Nitesh Pandit
|
|
||||||
* Copyright (C) 2011 Kedar V. Khandeparkar
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* Nitesh Pandit <panditnitesh@gmail.com>
|
|
||||||
* Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
|
|
||||||
*
|
|
||||||
* ----------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <pthread.h>
|
|
||||||
#include "parser.h"
|
|
||||||
#include "global.h"
|
|
||||||
#include "recreate.h"
|
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------*/
|
|
||||||
/* Functions defined in recreate.c */
|
|
||||||
/* ---------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
/* 1. recreate_cfg_objects() */
|
|
||||||
/* 2. void init_cfgparser() */
|
|
||||||
|
|
||||||
/* -------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
/* FUNCTION recreate_cfg_objects(): */
|
|
||||||
/* It re-creates Configuration Objects from file cfg.bin if the ./server */
|
|
||||||
/* program is stopped abruptly. It internally calls init_cfgparser() */
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
void recreate_cfg_objects(){
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
/* Initialize Global Mutex Variable from global.h */
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
|
|
||||||
pthread_mutex_init(&mutex_file, NULL);
|
|
||||||
pthread_mutex_init(&mutex_cfg, NULL);
|
|
||||||
pthread_mutex_init(&mutex_MYSQL_CONN_ON_DATA, NULL);
|
|
||||||
pthread_mutex_init(&mutex_MYSQL_CONN_ON_CFG, NULL);
|
|
||||||
pthread_mutex_init(&mutex_phasor_buffer,NULL);
|
|
||||||
|
|
||||||
BUFF_LEN = 25000;
|
|
||||||
phasorBuff = malloc(BUFF_LEN*sizeof(unsigned char));
|
|
||||||
frequencyBuff = malloc(BUFF_LEN*sizeof(unsigned char));
|
|
||||||
analogBuff = malloc(BUFF_LEN*sizeof(unsigned char));
|
|
||||||
digitalBuff = malloc(BUFF_LEN*sizeof(unsigned char));
|
|
||||||
delayBuff = malloc(BUFF_LEN*sizeof(unsigned char));
|
|
||||||
|
|
||||||
memset(phasorBuff,'\0',BUFF_LEN);
|
|
||||||
memset(frequencyBuff,'\0',BUFF_LEN);
|
|
||||||
memset(analogBuff,'\0',BUFF_LEN);
|
|
||||||
memset(digitalBuff,'\0',BUFF_LEN);
|
|
||||||
memset(delayBuff,'\0',BUFF_LEN);
|
|
||||||
|
|
||||||
static const char filename[] = "cfg.bin";
|
|
||||||
|
|
||||||
FILE *file = fopen (filename,"rb");
|
|
||||||
unsigned char *line,frame_len[2];
|
|
||||||
unsigned int framesize;
|
|
||||||
unsigned long fileLen;
|
|
||||||
|
|
||||||
if (file != NULL) {
|
|
||||||
|
|
||||||
//Get file length
|
|
||||||
fseek(file, 0, SEEK_END);
|
|
||||||
fileLen = ftell(file);
|
|
||||||
fseek(file, 0, SEEK_SET);
|
|
||||||
printf("FILE LEN LEFT %ld\n",fileLen);
|
|
||||||
printf("Creating objects for entries in cfg.bin\n");
|
|
||||||
|
|
||||||
while (fileLen != 0) /* Till the EOF */{
|
|
||||||
|
|
||||||
fseek (file,2 ,SEEK_CUR);
|
|
||||||
fread(frame_len, sizeof(unsigned char),2, file);
|
|
||||||
fseek (file,-4 ,SEEK_CUR);
|
|
||||||
|
|
||||||
framesize = to_intconvertor(frame_len);
|
|
||||||
line = malloc(framesize*sizeof(unsigned char));
|
|
||||||
memset(line,'\0',sizeof(line));
|
|
||||||
fread(line, sizeof(unsigned char),framesize,file);
|
|
||||||
init_cfgparser(line);
|
|
||||||
free(line);
|
|
||||||
fileLen -= framesize;
|
|
||||||
}
|
|
||||||
fclose (file);
|
|
||||||
|
|
||||||
} else {
|
|
||||||
perror (filename); /* why didn't the file open? */
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
/* FUNCTION init_cfgparser(): */
|
|
||||||
/* It is called by recreate_cfg_object() to read the file `cfg.bin` */
|
|
||||||
/* and create cfg objects in the memory */
|
|
||||||
/* ---------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
void init_cfgparser(unsigned char st[]){
|
|
||||||
|
|
||||||
unsigned char *s;
|
|
||||||
int cfglen = 0;
|
|
||||||
int i,j,k,dgchannels, phtype, antype;
|
|
||||||
struct cfg_frame *cfg;
|
|
||||||
struct channel_names *cn;
|
|
||||||
unsigned long int l_phunit,l_anunit;
|
|
||||||
|
|
||||||
unsigned char *sync,*frame_size,*idcode_h,*soc,*fracsec,*time_base,*num_pmu,*stn,*idcode_l,*format,*phnmr,*annmr,*dgnmr;
|
|
||||||
unsigned char *fnom,*cfg_cnt,*data_rate,*buf;
|
|
||||||
|
|
||||||
sync = malloc(3*sizeof(unsigned char));
|
|
||||||
frame_size = malloc(3*sizeof(unsigned char));
|
|
||||||
idcode_h= malloc(3*sizeof(unsigned char));
|
|
||||||
soc = malloc(5*sizeof(unsigned char));
|
|
||||||
fracsec = malloc(5*sizeof(unsigned char));
|
|
||||||
time_base = malloc(5*sizeof(unsigned char));
|
|
||||||
num_pmu = malloc(3*sizeof(unsigned char));
|
|
||||||
stn = malloc(17*sizeof(unsigned char));
|
|
||||||
idcode_l = malloc(3*sizeof(unsigned char));
|
|
||||||
format = malloc(5*sizeof(unsigned char));
|
|
||||||
phnmr = malloc(3*sizeof(unsigned char));
|
|
||||||
annmr = malloc(3*sizeof(unsigned char));
|
|
||||||
dgnmr = malloc(3*sizeof(unsigned char));
|
|
||||||
|
|
||||||
fnom = malloc(3*sizeof(unsigned char));
|
|
||||||
cfg_cnt = malloc(3*sizeof(unsigned char));
|
|
||||||
data_rate = malloc(3*sizeof(unsigned char));
|
|
||||||
buf = malloc(9*sizeof(unsigned char));
|
|
||||||
|
|
||||||
memset(sync,'\0',3);
|
|
||||||
memset(frame_size,'\0',3);
|
|
||||||
memset(idcode_h,'\0',3);
|
|
||||||
memset(soc,'\0',3);
|
|
||||||
memset(fracsec,'\0',5);
|
|
||||||
memset(time_base,'\0',5);
|
|
||||||
memset(num_pmu,'\0',3);
|
|
||||||
memset(stn,'\0',17);
|
|
||||||
memset(idcode_l,'\0',3);
|
|
||||||
memset(format,'\0',3);
|
|
||||||
memset(phnmr,'\0',3);
|
|
||||||
memset(annmr,'\0',3);
|
|
||||||
memset(dgnmr,'\0',3);
|
|
||||||
|
|
||||||
memset(fnom,'\0',3);
|
|
||||||
memset(cfg_cnt ,'\0',3);
|
|
||||||
memset(data_rate,'\0',3);
|
|
||||||
memset(buf,'\0',9);
|
|
||||||
|
|
||||||
|
|
||||||
/******************** PARSING BEGINGS *******************/
|
|
||||||
|
|
||||||
pthread_mutex_lock(&mutex_file);
|
|
||||||
|
|
||||||
cfg = malloc(sizeof(struct cfg_frame));
|
|
||||||
if(!cfg) {
|
|
||||||
printf("No enough memory for cfg\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
printf("Inside INIT cfgparser()\n");
|
|
||||||
s = st;
|
|
||||||
|
|
||||||
//Copy sync word to file
|
|
||||||
copy_cbyc (sync,s,2);
|
|
||||||
sync[2] = '\0';
|
|
||||||
s = s + 2;
|
|
||||||
|
|
||||||
// Separate the FRAME SIZE
|
|
||||||
copy_cbyc (frame_size,(unsigned char *)s,2);
|
|
||||||
frame_size[2]='\0';
|
|
||||||
cfg->framesize = to_intconvertor(frame_size);
|
|
||||||
printf("FRAME SIZE %d\n",cfg->framesize);
|
|
||||||
s = s + 2;
|
|
||||||
cfglen += 2;
|
|
||||||
|
|
||||||
//SEPARATE IDCODE
|
|
||||||
copy_cbyc (idcode_h,(unsigned char *)s,2);
|
|
||||||
idcode_h[2] = '\0';
|
|
||||||
cfg->idcode = to_intconvertor(idcode_h);
|
|
||||||
printf("ID Code %d\n",cfg->idcode);
|
|
||||||
s = s + 2;
|
|
||||||
cfglen += 2;
|
|
||||||
|
|
||||||
//SEPARATE SOC
|
|
||||||
copy_cbyc (soc,(unsigned char *)s,4);
|
|
||||||
soc[4] = '\0';
|
|
||||||
sscanf((unsigned int *)soc,"%x", (unsigned int *)&cfg->soc);
|
|
||||||
printf("SOC %ld\n",cfg->soc);
|
|
||||||
s =s + 4;
|
|
||||||
cfglen += 4;
|
|
||||||
|
|
||||||
//SEPARATE FRACSEC
|
|
||||||
copy_cbyc (fracsec,(unsigned char *)s,4);
|
|
||||||
fracsec[4] = '\0';
|
|
||||||
cfg->fracsec = to_long_int_convertor(fracsec);
|
|
||||||
printf("FracSec %ld\n",cfg->fracsec);
|
|
||||||
s = s + 4;
|
|
||||||
cfglen += 4;
|
|
||||||
|
|
||||||
//SEPARATE TIMEBASE
|
|
||||||
copy_cbyc (time_base,(unsigned char *)s,4);
|
|
||||||
time_base[4]='\0';
|
|
||||||
cfg->time_base = to_long_int_convertor(time_base);
|
|
||||||
printf("Time Base %ld\n",cfg->time_base);
|
|
||||||
s = s + 4;
|
|
||||||
cfglen += 4;
|
|
||||||
|
|
||||||
//SEPARATE PMU NUM
|
|
||||||
copy_cbyc (num_pmu,(unsigned char *)s,2);
|
|
||||||
num_pmu[2] = '\0';
|
|
||||||
cfg->num_pmu = to_intconvertor(num_pmu);
|
|
||||||
printf("Number of PMU's %d\n",cfg->num_pmu);
|
|
||||||
s = s + 2;
|
|
||||||
cfglen += 2;
|
|
||||||
|
|
||||||
// Allocate Memeory For Each PMU
|
|
||||||
cfg->pmu = malloc(cfg->num_pmu* sizeof(struct for_each_pmu *));
|
|
||||||
if(!cfg->pmu) {
|
|
||||||
printf("Not enough memory pmu[][]\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i = 0; i < cfg->num_pmu; i++) {
|
|
||||||
cfg->pmu[i] = malloc(sizeof(struct for_each_pmu));
|
|
||||||
}
|
|
||||||
|
|
||||||
j = 0;
|
|
||||||
|
|
||||||
///WHILE EACH PMU IS HANDLED
|
|
||||||
while(j<cfg->num_pmu) {
|
|
||||||
|
|
||||||
//SEPARATE STATION NAME
|
|
||||||
memset(cfg->pmu[j]->stn,'\0',17);
|
|
||||||
copy_cbyc (cfg->pmu[j]->stn,(unsigned char *)s,16);
|
|
||||||
cfg->pmu[j]->stn[16] = '\0';
|
|
||||||
|
|
||||||
printf("STATION NAME %s\n",cfg->pmu[j]->stn);
|
|
||||||
s = s + 16;
|
|
||||||
cfglen += 16;
|
|
||||||
|
|
||||||
//SEPARATE IDCODE
|
|
||||||
copy_cbyc (idcode_l,(unsigned char *)s,2);
|
|
||||||
idcode_l[2]='\0';
|
|
||||||
cfg->pmu[j]->idcode = to_intconvertor(idcode_l);
|
|
||||||
printf("ID Code %d\n",cfg->pmu[j]->idcode);
|
|
||||||
s = s + 2;
|
|
||||||
cfglen += 2;
|
|
||||||
|
|
||||||
//SEPARATE DATA FORMAT
|
|
||||||
copy_cbyc ((unsigned char *)cfg->pmu[j]->data_format,(unsigned char *)s,2);
|
|
||||||
cfg->pmu[j]->data_format[2]='\0';
|
|
||||||
s = s + 2;
|
|
||||||
cfglen += 2;
|
|
||||||
|
|
||||||
unsigned char hex = cfg->pmu[j]->data_format[1];
|
|
||||||
hex <<= 4;
|
|
||||||
|
|
||||||
// Extra field has been added to identify polar,rectangular,floating/fixed point
|
|
||||||
cfg->pmu[j]->fmt = malloc(sizeof(struct format));
|
|
||||||
if((hex & 0x80) == 0x80) cfg->pmu[j]->fmt->freq = 1; else cfg->pmu[j]->fmt->freq = 0;
|
|
||||||
if((hex & 0x40) == 0x40 ) cfg->pmu[j]->fmt->analog = 1; else cfg->pmu[j]->fmt->analog = 0;
|
|
||||||
if((hex & 0x20) == 0x20) cfg->pmu[j]->fmt->phasor = 1; else cfg->pmu[j]->fmt->phasor = 0;
|
|
||||||
if((hex & 0x10) == 0x10) cfg->pmu[j]->fmt->polar = 1; else cfg->pmu[j]->fmt->polar = 0;
|
|
||||||
|
|
||||||
//SEPARATE PHASORS
|
|
||||||
copy_cbyc (phnmr,(unsigned char *)s,2);
|
|
||||||
phnmr[2]='\0';
|
|
||||||
cfg->pmu[j]->phnmr = to_intconvertor(phnmr);
|
|
||||||
printf("Phasors %d\n",cfg->pmu[j]->phnmr);
|
|
||||||
s = s + 2;
|
|
||||||
cfglen += 2;
|
|
||||||
|
|
||||||
//SEPARATE ANALOGS
|
|
||||||
copy_cbyc (annmr,(unsigned char *)s,2);
|
|
||||||
annmr[2]='\0';
|
|
||||||
cfg->pmu[j]->annmr = to_intconvertor(annmr);
|
|
||||||
printf("Analogs %d\n",cfg->pmu[j]->annmr);
|
|
||||||
s = s + 2;
|
|
||||||
cfglen += 2;
|
|
||||||
|
|
||||||
//SEPARATE DIGITALS
|
|
||||||
copy_cbyc (dgnmr,(unsigned char *)s,2);
|
|
||||||
dgnmr[2]='\0';
|
|
||||||
cfg->pmu[j]->dgnmr = to_intconvertor(dgnmr);
|
|
||||||
printf("Digitals %d\n",cfg->pmu[j]->dgnmr);
|
|
||||||
s = s + 2;
|
|
||||||
cfglen += 2;
|
|
||||||
|
|
||||||
cn = malloc(sizeof(struct channel_names));
|
|
||||||
cn->first = NULL;
|
|
||||||
|
|
||||||
////SEPARATE PHASOR NAMES
|
|
||||||
if(cfg->pmu[j]->phnmr != 0){
|
|
||||||
cn->phtypes = malloc((cfg->pmu[j]->phnmr) * sizeof(unsigned char*));
|
|
||||||
cn->phnames = malloc((cfg->pmu[j]->phnmr) * sizeof(char*));
|
|
||||||
if(!cn->phnames) {
|
|
||||||
printf("Not enough memory cfg->pmu[j]->cn->phnames[][]\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i = 0; i < cfg->pmu[j]->phnmr; i++) {
|
|
||||||
|
|
||||||
cn->phnames[i] = malloc(17*sizeof(char));
|
|
||||||
memset(cn->phnames[i],'\0',17);
|
|
||||||
cn->phtypes[i] = malloc(2*sizeof(unsigned char));
|
|
||||||
memset(cn->phtypes[i],'\0',2);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
cfg->pmu[j]->phunit = malloc(cfg->pmu[j]->phnmr*sizeof(float*));
|
|
||||||
if(!cfg->pmu[j]->phunit) {
|
|
||||||
printf("Not enough memory cfg.pmu[j]->phunit[][]\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i = 0; i < cfg->pmu[j]->phnmr; i++) {
|
|
||||||
cfg->pmu[j]->phunit[i] = malloc(sizeof(float));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
i = 0;//Index for PHNAMES
|
|
||||||
while(i<cfg->pmu[j]->phnmr){
|
|
||||||
|
|
||||||
copy_cbyc (cn->phnames[i],(unsigned char *)s,16);
|
|
||||||
cn->phnames[i][16] = '\0';
|
|
||||||
printf("Phnames %s\n",cn->phnames[i]);
|
|
||||||
s = s + 16;
|
|
||||||
cfglen += 16;
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//SEPARATE ANALOG NAMES
|
|
||||||
if(cfg->pmu[j]->annmr != 0){
|
|
||||||
cn->antypes = malloc((cfg->pmu[j]->annmr)*sizeof(unsigned char*));
|
|
||||||
cn->angnames = malloc((cfg->pmu[j]->annmr)*sizeof(char*));
|
|
||||||
if(!cn->angnames) {
|
|
||||||
|
|
||||||
printf("Not enough memory cfg->pmu[j]->cn->phnames[][]\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i = 0; i < cfg->pmu[j]->annmr; i++) {
|
|
||||||
|
|
||||||
cn->angnames[i] = malloc(17*sizeof(char));
|
|
||||||
memset(cn->angnames[i],'\0',17);
|
|
||||||
cn->antypes[i] = malloc(5*sizeof(unsigned char));
|
|
||||||
memset(cn->antypes[i],'\0',5);
|
|
||||||
}
|
|
||||||
|
|
||||||
cfg->pmu[j]->anunit = malloc(cfg->pmu[j]->annmr*sizeof(float*));
|
|
||||||
if(!cfg->pmu[j]->anunit) {
|
|
||||||
printf("Not enough memory cfg.pmu[j]->anunit[][]\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i = 0; i < cfg->pmu[j]->annmr; i++) {
|
|
||||||
cfg->pmu[j]->anunit[i] = malloc(sizeof(float));
|
|
||||||
}
|
|
||||||
|
|
||||||
i = 0;//Index for ANGNAMES
|
|
||||||
|
|
||||||
while(i<cfg->pmu[j]->annmr){
|
|
||||||
copy_cbyc (cn->angnames[i],(unsigned char *)s,16);
|
|
||||||
cn->angnames[i][16]='\0';
|
|
||||||
printf("ANGNAMES %s\n",cn->angnames[i]);
|
|
||||||
s = s + 16;
|
|
||||||
cfglen += 16;
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if(cfg->pmu[j]->dgnmr != 0){
|
|
||||||
|
|
||||||
cfg->pmu[j]->dgunit = malloc(cfg->pmu[j]->dgnmr*sizeof(char*));
|
|
||||||
if(!cfg->pmu[j]->dgunit) {
|
|
||||||
|
|
||||||
printf("Not enough memory cfg->pmu[j]->dgunit[][]\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i = 0; i < cfg->pmu[j]->dgnmr; i++) {
|
|
||||||
|
|
||||||
cfg->pmu[j]->dgunit[i] = malloc(5);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
int di; //Index for number of dgwords
|
|
||||||
struct dgnames *q;
|
|
||||||
i = 0;
|
|
||||||
|
|
||||||
while(i < cfg->pmu[j]->dgnmr) {
|
|
||||||
|
|
||||||
struct dgnames *temp1 = malloc(sizeof(struct dgnames));
|
|
||||||
temp1->dgn = malloc(16*sizeof(unsigned char *));
|
|
||||||
if(!temp1->dgn) {
|
|
||||||
|
|
||||||
printf("Not enough memory temp1->dgn\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (di = 0; di < 16; di++) {
|
|
||||||
|
|
||||||
temp1->dgn[di] = malloc(17*sizeof(unsigned char));
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
temp1->dg_next = NULL;
|
|
||||||
|
|
||||||
for(dgchannels = 0;dgchannels < 16;dgchannels++){
|
|
||||||
|
|
||||||
memset(temp1->dgn[dgchannels],'\0',16);
|
|
||||||
copy_cbyc (temp1->dgn[dgchannels],(unsigned char *)s,16);
|
|
||||||
temp1->dgn[dgchannels][16] = '\0';
|
|
||||||
s += 16;
|
|
||||||
cfglen += 16;
|
|
||||||
k = 0;
|
|
||||||
printf("%s\n",temp1->dgn[dgchannels]);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(cn->first == NULL){
|
|
||||||
cn->first = q = temp1;
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
while(q->dg_next!=NULL){
|
|
||||||
q = q->dg_next;
|
|
||||||
}
|
|
||||||
q->dg_next = temp1;
|
|
||||||
}
|
|
||||||
|
|
||||||
i++;
|
|
||||||
} //DGWORD WHILE ENDS
|
|
||||||
|
|
||||||
cfg->pmu[j]->cnext = cn;//Assign to pointers
|
|
||||||
|
|
||||||
///PHASOR FACTORS
|
|
||||||
if(cfg->pmu[j]->phnmr != 0){
|
|
||||||
|
|
||||||
i = 0;
|
|
||||||
while(i < cfg->pmu[j]->phnmr){ //Separate the Phasor conversion factors
|
|
||||||
|
|
||||||
memset(buf,'\0',9);
|
|
||||||
copy_cbyc (buf,(unsigned char *)s,1);
|
|
||||||
buf[1] = '\0';
|
|
||||||
s = s + 1;
|
|
||||||
cfglen += 1;
|
|
||||||
phtype = to_intconvertor1(buf);
|
|
||||||
copy_cbyc (buf,(unsigned char *)s,3);
|
|
||||||
buf[3] = '\0';
|
|
||||||
s = s + 3;
|
|
||||||
cfglen += 3;
|
|
||||||
l_phunit = to_long_int_convertor1(buf);
|
|
||||||
|
|
||||||
if (phtype == 0)
|
|
||||||
{
|
|
||||||
cfg->pmu[j]->cnext->phtypes[i] = "V";
|
|
||||||
|
|
||||||
if (cfg->pmu[j]->fmt->phasor == 0)
|
|
||||||
{
|
|
||||||
*cfg->pmu[j]->phunit[i] = l_phunit * 1e-5;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
*cfg->pmu[j]->phunit[i] = 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (phtype == 1)
|
|
||||||
{
|
|
||||||
cfg->pmu[j]->cnext->phtypes[i] = "I";
|
|
||||||
|
|
||||||
if (cfg->pmu[j]->fmt->phasor == 0)
|
|
||||||
{
|
|
||||||
*cfg->pmu[j]->phunit[i] = l_phunit * 1e-5;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
*cfg->pmu[j]->phunit[i] = 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
perror("Invalid first byte in PHUNIT - probably error in PMU");
|
|
||||||
}
|
|
||||||
|
|
||||||
printf("Phasor Factor %d = %f\n",i,*cfg->pmu[j]->phunit[i]);
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
}//if for PHASOR Factors ends
|
|
||||||
|
|
||||||
//ANALOG FACTORS
|
|
||||||
if(cfg->pmu[j]->annmr != 0){
|
|
||||||
|
|
||||||
i=0;
|
|
||||||
while(i<cfg->pmu[j]->annmr){ //Separate the Phasor conversion factors
|
|
||||||
|
|
||||||
memset(buf,'\0',9);
|
|
||||||
copy_cbyc (buf,(unsigned char *)s,1);
|
|
||||||
buf[1] = '\0';
|
|
||||||
s = s + 1;
|
|
||||||
cfglen += 1;
|
|
||||||
|
|
||||||
antype = to_intconvertor1(buf);
|
|
||||||
switch(antype)
|
|
||||||
{
|
|
||||||
case 0 : cfg->pmu[j]->cnext->antypes[i] = "POW";
|
|
||||||
break;
|
|
||||||
case 1 : cfg->pmu[j]->cnext->antypes[i] = "RMS";
|
|
||||||
break;
|
|
||||||
case 2 : cfg->pmu[j]->cnext->antypes[i] = "PEAK";
|
|
||||||
break;
|
|
||||||
default: perror("Invalid first byte in ANUNIT?");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
copy_cbyc (buf,(unsigned char *)s,3);
|
|
||||||
buf[3] = '\0';
|
|
||||||
s = s + 3;
|
|
||||||
cfglen += 3;
|
|
||||||
l_anunit = to_long_int_convertor1(buf);
|
|
||||||
|
|
||||||
if (cfg->pmu[j]->fmt->analog == 0)
|
|
||||||
{
|
|
||||||
*cfg->pmu[j]->anunit[i] = l_anunit * 1e-5; // Assumed factor of 1e5 in iPDC
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
*cfg->pmu[j]->anunit[i] = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
printf("Analog Factor %d = %f\n",i,*cfg->pmu[j]->anunit[i]);
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
|
|
||||||
} // if for ANALOG FActtors ends
|
|
||||||
|
|
||||||
///INCOMPLETE
|
|
||||||
if(cfg->pmu[j]->dgnmr != 0){
|
|
||||||
|
|
||||||
i = 0;
|
|
||||||
while(i < cfg->pmu[j]->dgnmr ){ //Separate the Phasor conversion factors
|
|
||||||
|
|
||||||
copy_cbyc(cfg->pmu[j]->dgunit[i],s,4);
|
|
||||||
cfg->pmu[j]->dgunit[i][4] = '\0';
|
|
||||||
printf("DGWORD %s\n",cfg->pmu[j]->dgunit[i]);
|
|
||||||
s += 4;
|
|
||||||
cfglen += 4;
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
} //if for Digital Words FActtors ends
|
|
||||||
|
|
||||||
copy_cbyc (fnom,(unsigned char *)s,2);
|
|
||||||
fnom[2]='\0';
|
|
||||||
cfg->pmu[j]->fnom = to_intconvertor(fnom);
|
|
||||||
printf("FREQUENCY %d\n",cfg->pmu[j]->fnom);
|
|
||||||
s = s + 2;
|
|
||||||
cfglen += 2;
|
|
||||||
|
|
||||||
copy_cbyc (cfg_cnt,(unsigned char *)s,2);
|
|
||||||
cfg_cnt[2] = '\0';
|
|
||||||
cfg->pmu[j]->cfg_cnt = to_intconvertor(cfg_cnt);
|
|
||||||
printf("CFG CHANGE COUNT %d\n",cfg->pmu[j]->cfg_cnt);
|
|
||||||
s = s + 2;
|
|
||||||
cfglen += 2;
|
|
||||||
j++;
|
|
||||||
}//While for PMU number ends
|
|
||||||
|
|
||||||
copy_cbyc (data_rate,(unsigned char *)s,2);
|
|
||||||
data_rate[2] = '\0';
|
|
||||||
cfg->data_rate = to_intconvertor(data_rate);
|
|
||||||
printf("Data Rate %d\n",cfg->data_rate);
|
|
||||||
s += 2;
|
|
||||||
cfglen += 2;
|
|
||||||
cfg->cfgnext = NULL;
|
|
||||||
|
|
||||||
// Adjust the configuration object pointers
|
|
||||||
// Lock the mutex_cfg
|
|
||||||
pthread_mutex_lock(&mutex_cfg);
|
|
||||||
|
|
||||||
if (cfgfirst == NULL) { // Main if
|
|
||||||
|
|
||||||
cfgfirst = cfg;
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
struct cfg_frame *temp_cfg = cfgfirst;
|
|
||||||
|
|
||||||
//Check if the configuration frame already exists
|
|
||||||
while(temp_cfg->cfgnext != NULL){
|
|
||||||
|
|
||||||
temp_cfg = temp_cfg->cfgnext;
|
|
||||||
|
|
||||||
}// While ends
|
|
||||||
temp_cfg->cfgnext = cfg;
|
|
||||||
|
|
||||||
} //Main if
|
|
||||||
|
|
||||||
pthread_mutex_unlock(&mutex_cfg);
|
|
||||||
pthread_mutex_unlock(&mutex_file);
|
|
||||||
|
|
||||||
free(sync);
|
|
||||||
free(frame_size);
|
|
||||||
free(idcode_h);
|
|
||||||
free(soc);
|
|
||||||
free(fracsec);
|
|
||||||
free(time_base);
|
|
||||||
free(num_pmu);
|
|
||||||
free(stn);
|
|
||||||
free(idcode_l);
|
|
||||||
free(format);
|
|
||||||
free(phnmr);
|
|
||||||
free(annmr);
|
|
||||||
free(dgnmr);
|
|
||||||
free(fnom);
|
|
||||||
free(cfg_cnt);
|
|
||||||
free(data_rate);
|
|
||||||
free(buf);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************************************** End of File *******************************************************/
|
|
|
@ -1,38 +0,0 @@
|
||||||
/* -----------------------------------------------------------------------------
|
|
||||||
* recreate.c
|
|
||||||
*
|
|
||||||
* iPDC - Phasor Data Concentrator
|
|
||||||
*
|
|
||||||
* Copyright (C) 2011 Nitesh Pandit
|
|
||||||
* Copyright (C) 2011 Kedar V. Khandeparkar
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* Nitesh Pandit <panditnitesh@gmail.com>
|
|
||||||
* Kedar V. Khandeparkar <kedar.khandeparkar@gmail.com>
|
|
||||||
*
|
|
||||||
* ----------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
/* Function prototypes */
|
|
||||||
/* ---------------------------------------------------------------- */
|
|
||||||
|
|
||||||
void recreate_cfg_objects();
|
|
||||||
|
|
||||||
void init_cfgparser(unsigned char []);
|
|
||||||
|
|
||||||
/**************************************** End of File *******************************************************/
|
|
Loading…
Reference in New Issue