hyzp_ybqx-Commit053:已经实现LED更新功能

master
WinUser01 4 years ago
parent abc724bc4d
commit 2ebb6f9136

@ -316,12 +316,16 @@ class _LedXsxxPageState extends State<LedXsxxContent> {
//updateLedData({@required int id, @required String theSbgllx, @required Map map}) //updateLedData({@required int id, @required String theSbgllx, @required Map map})
//_modifyAll = true; //id = -1 //_modifyAll = true; //id = -1
updateLedData(id: _modifyAll ? -1 : widget.id, theSbgllx: 'led_update', map: { // updateLedData(id: _modifyAll ? -1 : widget.id, theSbgllx: 'led_update', map: {
'xsnr': _ledMessage, updateLedData(
'xsts': _xsts, id: _modifyAll ? -1 : listDwinfoGetList2[widget.id - 1]['id'],
'stime': _startTime, theSbgllx: 'led_update',
'etime': _endTime, map: {
}); 'xsnr': _ledMessage,
'xsts': _xsts,
'stime': _startTime,
'etime': _endTime,
});
Navigator.pop(context); Navigator.pop(context);
}, },
), ),

Loading…
Cancel
Save