|
|
@ -545,7 +545,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
|
|
|
|
List<Step> lsSteps = new List<Step>();
|
|
|
|
List<Step> lsSteps = new List<Step>();
|
|
|
|
for (int i = 0; i < 10; i++)
|
|
|
|
for (int i = 0; i < 10; i++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var bytes = data.Skip(i * 10).Take(12).ToArray();
|
|
|
|
var bytes = data.Skip(i * 12).Take(12).ToArray();
|
|
|
|
Step step = new Step()
|
|
|
|
Step step = new Step()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
MixCode = byteTransform.TransInt16(bytes, 0),
|
|
|
|
MixCode = byteTransform.TransInt16(bytes, 0),
|
|
|
@ -582,7 +582,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
|
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < 10; i++)
|
|
|
|
for (int i = 0; i < 10; i++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var bytes = data.Skip(i * 10).Take(20).ToArray();
|
|
|
|
var bytes = data.Skip(i * 20).Take(20).ToArray();
|
|
|
|
MixStep step = new MixStep()
|
|
|
|
MixStep step = new MixStep()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|