public void TestXBeeAddress16IsNotEqual() { var localAddress1 = new XBeeAddress16(0xFFFE); var localAddress2 = new XBeeAddress16(0xAABB); Assert.That(localAddress1.Equals(localAddress2), Is.False); }
public TxRequest(XBeeAddress64 destSerial, XBeeAddress16 destAddress, byte[] payload) : this(payload) { DestinationSerial = destSerial; DestinationAddress = destAddress; }
public void TestXBeeAddress16IsEqualObject() { var localAddress = new XBeeAddress16(0xAABB); Assert.That(localAddress.Equals(new Object()), Is.False); }
public void TestXBeeAddress16IsEqual() { var localAddress = new XBeeAddress16(0xFFFE); Assert.That(localAddress.Equals(XBeeAddress16.ZNET_BROADCAST), Is.True); }
/// <summary> /// TODO: Update Comments /// /// </summary> /// <param name="serialNumber" type="NETMF.OpenSource.XBee.Api.XBeeAddress64"> /// <para> /// /// </para> /// </param> /// <param name="networkAddress" type="NETMF.OpenSource.XBee.Api.XBeeAddress16"> /// <para> /// /// </para> /// </param> public NodeInfo(XBeeAddress64 serialNumber, XBeeAddress16 networkAddress) { NetworkAddress = networkAddress; SerialNumber = serialNumber; NodeIdentifier = string.Empty; }
public void TestXBeeAddress16IsEqualSame() { var localAddress = new XBeeAddress16(0xAABB); Assert.That(localAddress.Equals(localAddress), Is.True); }
public ExplicitTxRequest(XBeeAddress64 destSerial, XBeeAddress16 destAddress, byte[] payload, byte srcEndpoint, byte destEndpoint, ushort clusterId, ushort profileId) : this(payload, srcEndpoint, destEndpoint, clusterId, profileId) { DestinationSerial = destSerial; DestinationAddress = destAddress; }