This commit is contained in:
parent
978b70d201
commit
86968b959b
|
@ -27,7 +27,7 @@ public class DeviceManager : MonoSingleton<DeviceManager>
|
||||||
public void GetSend2roomMsg(string data)
|
public void GetSend2roomMsg(string data)
|
||||||
{
|
{
|
||||||
string[] info = data.Split(',');
|
string[] info = data.Split(',');
|
||||||
EquipmentCommon equipmentCommon = devices.Find(x => x.deviceID == info[1]);
|
EquipmentCommon equipmentCommon = devices.Find(x => x.deviceID == info[0]);
|
||||||
if (equipmentCommon)
|
if (equipmentCommon)
|
||||||
{
|
{
|
||||||
equipmentCommon.ReceivingPositionAngle(info);
|
equipmentCommon.ReceivingPositionAngle(info);
|
||||||
|
|
Loading…
Reference in New Issue