SpeechCacheEntry.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using Speech.text;
  5. using System.Fire.Serialize.Annotations;
  6. namespace Speech {
  7. [SerializeHeaderInfo("SCE$", "1.0", VersionType.Bit16 |VersionType.Major | VersionType.Minor)]
  8. public class SpeechCacheEntry {
  9. private string _file;
  10. private DateTime _time;
  11. private DateTime _lastAccess;
  12. private string _text;
  13. private eMood _mood;
  14. public string File {
  15. get {
  16. return this._file;
  17. }
  18. set {
  19. this._file = value;
  20. }
  21. }
  22. public DateTime Time {
  23. get {
  24. return this._time;
  25. }
  26. set {
  27. this._time = value;
  28. }
  29. }
  30. public DateTime LastAccess {
  31. get {
  32. return this._lastAccess;
  33. }
  34. set {
  35. this._lastAccess = value;
  36. }
  37. }
  38. public string Text {
  39. get {
  40. return this._text;
  41. }
  42. set {
  43. this._text = value;
  44. }
  45. }
  46. public eMood Mood {
  47. get {
  48. return this._mood;
  49. }
  50. set {
  51. this._mood = value;
  52. }
  53. }
  54. }
  55. }