hyzp_ybqx-Commit074:更新版本为1.4.10+20220104,将各个点位的编号都改为1-x,包括点位信息、点位视频、点位地图、LED信息等

This commit is contained in:
WinUser01
2022-01-04 11:05:36 +08:00
parent 568fc2e51b
commit a8f3a8f117
7 changed files with 23 additions and 13 deletions
+3 -2
View File
@@ -278,8 +278,9 @@ class _BasicMapState extends State<BasicMap> {
getStatisData(statisType: 'zptj', ip: listDwinfoGetList2[dwIndex]['dwip'])
.then((mapStatisData) async {
String title =
listDwinfoGetList2[dwIndex]["id"].toString() + '、' + listDwinfoGetList2[dwIndex]["dwmc"];
// String title =
// listDwinfoGetList2[dwIndex]["id"].toString() + '、' + listDwinfoGetList2[dwIndex]["dwmc"];
String title = (dwIndex + 1).toString() + '、' + listDwinfoGetList2[dwIndex]["dwmc"];
List listCoordinate = listDwinfoGetList2[dwIndex]["dwzb"].trim().split('|');
String content = listDwinfoGetList2[dwIndex]["dwms"] +
+6 -3
View File
@@ -34,9 +34,11 @@ Future getListBMFMarker({List listDwinfo}) async {
for (int i = 0; i < len; i++) {
BMFMarker marker = BMFMarker(
position: getBMFCoordinate(listDwinfo[i]["dwzb"]),
title: '${listDwinfo[i]["id"].toString()}、${listDwinfo[i]["dwmc"]}',
// title: '${listDwinfo[i]["id"].toString()}、${listDwinfo[i]["dwmc"]}',
title: '${(i + 1).toString()}、${listDwinfo[i]["dwmc"]}',
subtitle: 'test',
identifier: '${listDwinfo[i]["id"].toString()}、${listDwinfo[i]["dwmc"]}',
// identifier: '${listDwinfo[i]["id"].toString()}、${listDwinfo[i]["dwmc"]}',
identifier: '${(i + 1).toString()}、${listDwinfo[i]["dwmc"]}',
icon: 'assets/images/location.png',
/// 默认情况下, annotation view的中心位于annotation的坐标位置,
@@ -58,7 +60,8 @@ Future getListBMFMarker({List listDwinfo}) async {
g_listBMFMarker.add(marker);
g_listBMFText.add(BMFText(
text: '${listDwinfo[i]["id"].toString()}、${listDwinfo[i]["dwmc"]}',
// text: '${listDwinfo[i]["id"].toString()}、${listDwinfo[i]["dwmc"]}',
text: '${(i + 1).toString()}、${listDwinfo[i]["dwmc"]}',
//纬度偏移-上下 off_latitude, 经度偏移-左右 off_longitude
//已经在zoomLevel = 15时调整好定位标记与文本标记的相对位置
// ,当地图缩放时,会发生位置变化,必须使用 Provider 或者 EventBus 进行跟踪更新
+5 -2
View File
@@ -160,9 +160,12 @@ class _DwspPageState extends State<DwspGetList> {
child: ListTile(
//leading: new Icon(Icons.phone),
contentPadding: EdgeInsets.symmetric(horizontal: 15.0, vertical: 0),
title: Text(
"${listDwspGetList2[indexRecord]['id'].toString()}. ${listDwspGetList2[indexRecord]['dwmc']}",
title: Text("${(indexRecord + 1).toString()}. ${listDwspGetList2[indexRecord]['dwmc']}",
style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)),
// title: Text(
// "${listDwspGetList2[indexRecord]['id'].toString()}. ${listDwspGetList2[indexRecord]['dwmc']}",
// style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)),
// title: Text(
// "${listDwspGetList2[indexRecord]['dwbh'].toString()}. ${listDwspGetList2[indexRecord]['dwmc']}",
// style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)),
@@ -209,8 +209,8 @@ class _LedXsxxPageState extends State<LedXsxxContent> {
_listItems = ['全部']; //LED点位名称List,除第一项外,后面都按ID号排列
int len = listDwinfoGetList2.length;
for (int i = 0; i < len; i++) {
// _listItems.add('${i + 1}、${listDwinfoGetList2[i]['dwmc']}');
_listItems.add('${listDwinfoGetList2[i]['id']}、${listDwinfoGetList2[i]['dwmc']}');
_listItems.add('${i + 1}、${listDwinfoGetList2[i]['dwmc']}');
// _listItems.add('${listDwinfoGetList2[i]['id']}、${listDwinfoGetList2[i]['dwmc']}');
}
print('_listItems = $_listItems');
//兴文: I/flutter ( 7562): _listItems = [全部, 21、大礼村, 22、石海收费站, 23、高铁站, 24、温水溪, 25、古高路]
+4 -2
View File
@@ -131,8 +131,10 @@ class _SbglPageState extends State<DwxxGetList> {
// title: Text(
// "${listSbglGetList2[indexRecord]['dwbh'].toString()}. ${listSbglGetList2[indexRecord]['dwmc']}",
// style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)),
title: Text(
"${listSbglGetList2[indexRecord]['id'].toString()}. ${listSbglGetList2[indexRecord]['dwmc']}",
// title: Text(
// "${listSbglGetList2[indexRecord]['id'].toString()}. ${listSbglGetList2[indexRecord]['dwmc']}",
// style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)),
title: Text("${(indexRecord + 1).toString()}. ${listSbglGetList2[indexRecord]['dwmc']}",
style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)),
subtitle: Text(
'dwIP:${listSbglGetList2[indexRecord]['dwip']},${listSbglGetList2[indexRecord]['dwzt']}',