|
|
@ -105,6 +105,66 @@ namespace DataBlockHelper.DBHelpers
|
|
|
|
return ls;
|
|
|
|
return ls;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<bool> ReadReadyG1 => ReadReady(94);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<bool> ReadReadyG2 => ReadReady(96);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<bool> ReadReadyG3 => ReadReady(98);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<bool> ReadReadyG4 => ReadReady(100);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<bool> ReadReadyG5 => ReadReady(102);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<bool> ReadReadyG6 => ReadReady(104);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<bool> ReadReadyG7 => ReadReady(106);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<bool> ReadReadyG8 => ReadReady(108);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool ReadReadyM1 => ReadReadyM(110);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool ReadReadyM2 => ReadReadyM(112);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool ReadReadyM3 => ReadReadyM(114);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool ReadReadyM4 => ReadReadyM(116);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool ReadReadyM5 => ReadReadyM(118);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool ReadReadyM6 => ReadReadyM(120);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool ReadReadyM7 => ReadReadyM(122);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool ReadReadyM8 => ReadReadyM(124);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//94
|
|
|
|
|
|
|
|
public List<bool> ReadReady(int start)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
var first = bytes.Skip(start).Take(1).First();
|
|
|
|
|
|
|
|
List<bool> ls = new List<bool>(3);
|
|
|
|
|
|
|
|
var pd = first.GetBit(3);
|
|
|
|
|
|
|
|
var cw = first.GetBit(4);
|
|
|
|
|
|
|
|
var hw = first.GetBit(5);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ls.Add(pd);
|
|
|
|
|
|
|
|
ls.Add(cw);
|
|
|
|
|
|
|
|
ls.Add(hw);
|
|
|
|
|
|
|
|
return ls;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool ReadReadyM(int start)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
var first = bytes.Skip(start).Take(1).First();
|
|
|
|
|
|
|
|
return first.GetBit(1);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|