Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. public class Value
  2. {
  3. protected Value(string name, double divider = 1.0)
  4. {
  5. Name = name;
  6. Divider = divider;
  7. }
  8.  
  9. protected readonly string[] ValuesDependentOnG = {"axis_x", "axis_y",
  10. "axis_z", "gir_x", "gir_y", "gir_z"};
  11.  
  12. protected const int SizeOfIntValue = sizeof(int);
  13. protected const int SizeOfPhysValue = sizeof(double);
  14.  
  15. public readonly string Name;
  16. public readonly double Divider;
  17. public int IntValue { get; protected set; }
  18. public double PhysValue { get; protected set; }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement