You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

33 lines
825 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Runtime.InteropServices;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using static HBLDevice.IceCream.MessageDefine;
  8. namespace HBLDevice.IceCream
  9. {
  10. [StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
  11. public class ICMSG_Heart_DW
  12. {
  13. public byte Header1;
  14. public byte Header2;
  15. public IC_CMD Cmd;
  16. public MORKI_MODE Mode;
  17. public byte CalcCode1 ;
  18. public byte CalcCode2 ;
  19. public ICMSG_Heart_DW()
  20. {
  21. Header1 = MessageDefine.HEADER1;
  22. Header2 = MessageDefine.HEADER2_DW;
  23. Cmd = IC_CMD.HEART;
  24. Mode = MORKI_MODE.未知;
  25. CalcCode1 = 0x00;
  26. CalcCode2 = 0x09;
  27. }
  28. }
  29. }