public void GetCommandForRecordModel() { var builder = new DgiBuilder(model, data, null /*TODO*/, null /*TODO*/); var command = builder.BuildDgi(model.Records.Skip(1).First()); Assert.AreEqual("020121701F5A0898765432105432105F3401015F25031407015F24031806305F28020250", command); }
public void GetCommandForTagModel() { var builder = new DgiBuilder(model, data, null /*TODO*/, null /*TODO*/); var command = builder.BuildDgi(tagModel); Assert.AreEqual("6F3E8407F04341454E4201A5335008454E534942414E4B8701015F2D046672656E9F1101019F121042414E4B204F4620454E53494341454EBF0C059F4D020B05", command); }
public void GetCommandForValuesSequenceModel() { var builder = new DgiBuilder(model, data, null /*TODO*/, null /*TODO*/); var command = builder.BuildDgi(model.Gpo); Assert.AreEqual("91041282024400940C080101011001010018010301", command); }