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

This commit is contained in:
WinUser01
2021-12-31 11:04:09 +08:00
parent abc724bc4d
commit 2ebb6f9136
@@ -316,7 +316,11 @@ 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: {
updateLedData(
id: _modifyAll ? -1 : listDwinfoGetList2[widget.id - 1]['id'],
theSbgllx: 'led_update',
map: {
'xsnr': _ledMessage, 'xsnr': _ledMessage,
'xsts': _xsts, 'xsts': _xsts,
'stime': _startTime, 'stime': _startTime,