Calculate checksum for Laboratory Information System (LIS) frames

后端 未结 3 1371
走了就别回头了
走了就别回头了 2020-12-29 08:30

I\'m developing an instrument driver for a Laboratory Information System. I want to know how to calculate the checksum of a frame.

Explanation of the checksum algorit

3条回答
  •  温柔的废话
    2020-12-29 09:10

    private bool CheckChecksum(string data)
    {
       bool isValid =false
    
       byte[] byteToCalculate = Encoding.ASCII.GetBytes(dataToCalculate);
       int checkSum = 0;
       for ( int i=i i

提交回复
热议问题