This commit is contained in:
parent
5922a64aeb
commit
e51bf6a585
|
@ -27,6 +27,7 @@ public class DeviceManager : MonoSingleton<DeviceManager>
|
||||||
public void GetSend2roomMsg(string data)
|
public void GetSend2roomMsg(string data)
|
||||||
{
|
{
|
||||||
data = data.Replace("send2room", "");
|
data = data.Replace("send2room", "");
|
||||||
|
Debug.LogError("设备..:" + data);
|
||||||
string[] info = data.Split(',');
|
string[] info = data.Split(',');
|
||||||
if (info.Length < 2) return;
|
if (info.Length < 2) return;
|
||||||
EquipmentCommon equipmentCommon = devices.Find(x => x.deviceID == info[1]);
|
EquipmentCommon equipmentCommon = devices.Find(x => x.deviceID == info[1]);
|
||||||
|
|
Loading…
Reference in New Issue