This commit is contained in:
账号名 2023-11-23 14:27:10 +08:00
parent 5922a64aeb
commit e51bf6a585
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ public class DeviceManager : MonoSingleton<DeviceManager>
public void GetSend2roomMsg(string data)
{
data = data.Replace("send2room", "");
Debug.LogError("设备..:" + data);
string[] info = data.Split(',');
if (info.Length < 2) return;
EquipmentCommon equipmentCommon = devices.Find(x => x.deviceID == info[1]);