LED顯示屏通過網(wǎng)線集中接入到一臺控制端電腦,在電腦端已有第三方的車站發(fā)車信息數(shù)據(jù)管理軟件,把發(fā)車信息信息寫入到一個數(shù)據(jù)庫中。然后再在該電腦安裝我方定制的數(shù)據(jù)轉發(fā)程序,定時從這個數(shù)據(jù)庫中讀出發(fā)車信息,進行必要的數(shù)據(jù)處理后送相應的顯示屏顯示。
軟件對接
發(fā)車數(shù)據(jù)管理軟件提供所有的發(fā)車信息,保存在數(shù)據(jù)庫中需要提供數(shù)據(jù)庫文件所在路徑,賬號和密碼權限,數(shù)據(jù)庫表結構和訪問語句。我方的轉發(fā)軟件實時讀取這個數(shù)據(jù)庫文件,當發(fā)車信息有變化,轉發(fā)軟件通過局域網(wǎng)把數(shù)據(jù)轉發(fā)到led顯示屏異步控制卡上顯示,或者在電腦界面上同步把視頻數(shù)據(jù)送到同步顯示屏上顯示。
硬件控制
1)25塊車位指示屏(448*32,F(xiàn)3.75雙色),用網(wǎng)絡N1卡25塊;
2)3塊半戶外顯示屏(P10單紅色,)用網(wǎng)絡S卡3塊;
3)4塊室內門口長條屏(1152*96點工3塊,576*96共計1塊),網(wǎng)絡S卡7塊;
4)票價信息、發(fā)車信息(1152*352點共計2塊)。用同步卡方案。
布線示意圖
讀取數(shù)據(jù)庫操作
用pubuser這個用戶
select t.endstation as "終點站",
t.fromdate as "發(fā)車時間",
t.rideplace as "發(fā)車卡位",
t.operateclass as "狀態(tài)"
from ptr_pbschedule t sjkyz
select infostr from ledinfo SJKYZ
select t.terminal as "終點站",
t.ridetime as "發(fā)車時間",
t.fare as "執(zhí)行價",
t.maxfare as "上限價",
t.distance as "里程",
t.buslevel as "車型",
t.leaveseats as "余票",
t.busstatu as "班次狀態(tài)"
from gdhkmacbuslist t Pubuser
select t.endstation as "終點站",
t.fromdate as "發(fā)車時間",
t.bustablet as "車牌",
from ptr_pbschedule t
上表中,rideplace為上車卡位
select t.endstation as "終點站",
t.fromdate as "發(fā)車時間",
t.rideplace as "發(fā)車卡位",
t.operateclass as "狀態(tài)"
from ptr_pbschedule t SJKYZ pubuser
select banciming,shijian,zhuangtai,chukou1,chehao,wandian from ptr_tmpyinhu
開發(fā)周期
- 雙方工程師約定好共享數(shù)據(jù)庫必要資料格式后30天內開發(fā)出程序;
- 然后根據(jù)使用情況修改測試,30天內正式使用。