![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
repo time
Dependencies: mbed MAX14720 MAX30205 USBDevice
HspGuiSourceV301/HSPGui/DeviceDescriptions/RegisterBitDescriptions.cs@20:6d2af70c92ab, 2021-04-06 (annotated)
- Committer:
- darienf
- Date:
- Tue Apr 06 06:41:40 2021 +0000
- Revision:
- 20:6d2af70c92ab
another repo
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
darienf | 20:6d2af70c92ab | 1 | using System; |
darienf | 20:6d2af70c92ab | 2 | using System.Collections.Generic; |
darienf | 20:6d2af70c92ab | 3 | using System.Linq; |
darienf | 20:6d2af70c92ab | 4 | using System.Text; |
darienf | 20:6d2af70c92ab | 5 | |
darienf | 20:6d2af70c92ab | 6 | namespace HealthSensorPlatform.DeviceDescriptions |
darienf | 20:6d2af70c92ab | 7 | { |
darienf | 20:6d2af70c92ab | 8 | public class RegisterBitDescriptions |
darienf | 20:6d2af70c92ab | 9 | { |
darienf | 20:6d2af70c92ab | 10 | public List<RegisterBitDescription> list = new List<RegisterBitDescription>(); |
darienf | 20:6d2af70c92ab | 11 | public class RegisterBitDescription |
darienf | 20:6d2af70c92ab | 12 | { |
darienf | 20:6d2af70c92ab | 13 | public string bit { get; set; } |
darienf | 20:6d2af70c92ab | 14 | public string name { get; set; } |
darienf | 20:6d2af70c92ab | 15 | public string description { get; set; } |
darienf | 20:6d2af70c92ab | 16 | } |
darienf | 20:6d2af70c92ab | 17 | public void Add(string _bit, string _name, string _description) |
darienf | 20:6d2af70c92ab | 18 | { |
darienf | 20:6d2af70c92ab | 19 | list.Add(new RegisterBitDescription() { bit = _bit, name = _name, description = _description }); |
darienf | 20:6d2af70c92ab | 20 | } |
darienf | 20:6d2af70c92ab | 21 | } |
darienf | 20:6d2af70c92ab | 22 | } |