hyzp_ybqx-Commit048:已经可以显示LED信息,已经可以实现LED点位信息的切换
This commit is contained in:
@@ -213,11 +213,12 @@ class _LedXsxxPageState extends State<LedXsxxContent> {
|
|||||||
_listItems.add('${listDwinfoGetList2[i]['id']}、${listDwinfoGetList2[i]['dwmc']}');
|
_listItems.add('${listDwinfoGetList2[i]['id']}、${listDwinfoGetList2[i]['dwmc']}');
|
||||||
}
|
}
|
||||||
print('_listItems = $_listItems');
|
print('_listItems = $_listItems');
|
||||||
|
//兴文: I/flutter ( 7562): _listItems = [全部, 21、大礼村, 22、石海收费站, 23、高铁站, 24、温水溪, 25、古高路]
|
||||||
|
|
||||||
//获取指定id的LED记录数据返回 _mapGetLedXsxxGetData
|
//获取指定id的LED记录数据返回 _mapGetLedXsxxGetData
|
||||||
// _mapGetLedXsxxGetData = await getLedXsxxGetData(id: widget.id, theSbgllx: widget.sbgllx);
|
// _mapGetLedXsxxGetData = await getLedXsxxGetData(id: widget.id, theSbgllx: widget.sbgllx);
|
||||||
_mapGetLedXsxxGetData =
|
_mapGetLedXsxxGetData = await getLedXsxxGetData(
|
||||||
await getLedXsxxGetData(id: listDwinfoGetList2[0]['id'], theSbgllx: widget.sbgllx);
|
id: listDwinfoGetList2[widget.id - 1]['id'], theSbgllx: widget.sbgllx);
|
||||||
//printWrapped('_mapGetLedXsxxGetData = ${_mapGetLedXsxxGetData}');
|
//printWrapped('_mapGetLedXsxxGetData = ${_mapGetLedXsxxGetData}');
|
||||||
//_mapGetLedXsxxGetData = {
|
//_mapGetLedXsxxGetData = {
|
||||||
// "id": 1,
|
// "id": 1,
|
||||||
|
|||||||
@@ -911,7 +911,6 @@ class _Page1_WorksState extends State<Page1_Works>
|
|||||||
int defauld_led_id = 1;
|
int defauld_led_id = 1;
|
||||||
switch (qxdm) {
|
switch (qxdm) {
|
||||||
case 511528: // 兴文县
|
case 511528: // 兴文县
|
||||||
//defauld_led_id = 3;
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user