Master.cs 815 B

123456789101112131415161718192021222324252627282930313233
  1. namespace Easychart.Finance.DataProvider
  2. {
  3. using System;
  4. public class Master
  5. {
  6. public byte CT_v2_8_flag;
  7. public byte file_num;
  8. public byte[] file_type;
  9. public float first_date;
  10. public byte flag;
  11. public short ida_time;
  12. public string issue_name;
  13. public float last_date;
  14. public byte num_fields;
  15. public byte rec_len;
  16. public byte[] reserved1;
  17. public byte reserved2;
  18. public byte reserved3;
  19. public byte reserved4;
  20. public string symbol;
  21. public MetaStockTimeFrame time_frame;
  22. public Master()
  23. {
  24. byte[] buffer = new byte[2];
  25. buffer[0] = 0x65;
  26. this.file_type = buffer;
  27. this.reserved1 = new byte[2];
  28. }
  29. }
  30. }