ProximaPM.cs 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. namespace DB_Proxima;
  2. public class PM : GeneralDB
  3. {
  4. public PM(Guid guid, DateTime dateTime)
  5. {
  6. this.UID = guid;
  7. this.Time = dateTime;
  8. }
  9. public APC? APC { get; set; }
  10. public Shutter? Shutter { get; set; }
  11. public APCVATGV? APCVATGV { get; set; }
  12. public LeakCheck? LeakCheck { get; set; }
  13. public BoatElevatorServo? BoatElevatorServo { get; set; }
  14. public BoatRotationServo? BoatRotationServo { get; set; }
  15. public Recipe? RecipeInfo { get; set; }
  16. public BufferServo? BufferServo { get; set; }
  17. //FS VG PG PS
  18. public DataCollection<float>? ValueSensor { get; set; }
  19. //Sensor..
  20. public DataCollection<bool>? StatusSensor { get; set; }
  21. public DataCollection<float>? AOValue { get; set; }
  22. public DataCollection<FFU>? FFU { get; set; }
  23. public DataCollection<MFC>? MFC { get; set; }
  24. public DataCollection<BufferFoup>? BufferFoup { get; set; }
  25. // ..Enable
  26. public DataCollection<PairValue<bool>>? AVValve { get; set; }
  27. public DataCollection<PairValue<float>>? GaslineHeater { get; set; }
  28. }
  29. public class APC : IBasicInfo
  30. {
  31. public Guid UID { get; set; }
  32. public DateTime Time { get; set; }
  33. public string? Name { get; set; }
  34. public bool IsError { get; set; }
  35. public float HomingStatus { get; set; }
  36. public float Interlock1 { get; set; }
  37. public float Interlock2 { get; set; }
  38. public float Interlock3 { get; set; }
  39. public float InterlockConstantOfInterlock3 { get; set; }
  40. public float ModeFeedback { get; set; }
  41. public float ModeSetPoint { get; set; }
  42. public float P1SensorOffsetSetting { get; set; }
  43. public float PositionFeedback { get; set; }
  44. public float PositionSetPoint { get; set; }
  45. public float PosMonOffsetSetting { get; set; }
  46. public float Pressure1Feedback { get; set; }
  47. public float Pressure2Feedback { get; set; }
  48. public float PressureSetPoint { get; set; }
  49. public float SelectedControllerFeedback { get; set; }
  50. public float SlowRateSetPoint { get; set; }
  51. public float SlowVacuumModeSetting { get; set; }
  52. public float ValveStatusThreshold { get; set; }
  53. }
  54. public class APCVATGV : IBasicInfo
  55. {
  56. public Guid UID { get; set; }
  57. public DateTime Time { get; set; }
  58. public string? Name { get; set; }
  59. public bool IsError { get; set; }
  60. public float InterlockConstantOfInterlock3 { get; set; }
  61. public float ModeSetPoint { get; set; }
  62. public float P1SensorOffsetSetting { get; set; }
  63. public float PositionFeedback { get; set; }
  64. public float PositionSetPoint { get; set; }
  65. public float PosMonOffsetSetting { get; set; }
  66. public float Pressure1Feedback { get; set; }
  67. public float Pressure2Feedback { get; set; }
  68. public float PressureSetPoint { get; set; }
  69. public float SlowRateSetPoint { get; set; }
  70. public float SlowVacuumModeSetting { get; set; }
  71. public float ValveStatusThreshold { get; set; }
  72. }
  73. public class Recipe : IBasicInfo
  74. {
  75. public Guid UID { get; set; }
  76. public DateTime Time { get; set; }
  77. public string? Name { get; set; }
  78. public bool IsError { get; set; }
  79. public bool IsExecuteSubRecipe { get; set; }
  80. public bool IsInMaintainMode { get; set; }
  81. public bool IsLooping { get; set; }
  82. public bool IsOnline { get; set; }
  83. public bool IsProcessing { get; set; }
  84. public float DG1 { get; set; }
  85. public float MP21_PS { get; set; }
  86. public float NewShowTime { get; set; }
  87. public bool RecipeHold { get; set; }
  88. public bool RecipeHolded { get; set; }
  89. public float RecipeHoldTime { get; set; }
  90. public float RecipeStepElapseTime { get; set; }
  91. public float RecipeStepNumber { get; set; }
  92. public float RecipeStepTime { get; set; }
  93. public float RecipeTotalElapseTime { get; set; }
  94. public float RecipeTotalTime { get; set; }
  95. public bool RecipeWait { get; set; }
  96. public float SubRecipeCurrentLoopCount { get; set; }
  97. public float SubRecipeLoopCount { get; set; }
  98. }
  99. public class BoatElevatorServo : IBasicInfo
  100. {
  101. public Guid UID { get; set; }
  102. public DateTime Time { get; set; }
  103. public string? Name { get; set; }
  104. public bool AtHomePosition { get; set; }
  105. public bool AtPosition1 { get; set; }
  106. public bool AtPosition2 { get; set; }
  107. public bool AtPosition3 { get; set; }
  108. public float CurrentPosition { get; set; }
  109. public float CurrentSpeed { get; set; }
  110. public bool IsAlarm { get; set; }
  111. public bool IsMoving { get; set; }
  112. public bool IsReady { get; set; }
  113. public bool IsServoOn { get; set; }
  114. public float TargetPosition { get; set; }
  115. public float TargetPositionFb { get; set; }
  116. }
  117. public class BoatRotationServo : IBasicInfo
  118. {
  119. public Guid UID { get; set; }
  120. public DateTime Time { get; set; }
  121. public string? Name { get; set; }
  122. public bool AtHomePosition { get; set; }
  123. public float CurrentSpeed { get; set; }
  124. public bool IsAlarm { get; set; }
  125. public bool IsHomeDone { get; set; }
  126. public bool IsHoming { get; set; }
  127. public bool IsMoving { get; set; }
  128. public bool IsReady { get; set; }
  129. }
  130. public class BufferServo : IBasicInfo
  131. {
  132. public Guid UID { get; set; }
  133. public DateTime Time { get; set; }
  134. public string? Name { get; set; }
  135. public float CurrentPosition { get; set; }
  136. public float CurrentSpeed { get; set; }
  137. public float CurrentTorque { get; set; }
  138. public bool IsAlarm { get; set; }
  139. public bool IsInPosition { get; set; }
  140. public bool IsMotorRun { get; set; }
  141. public bool IsReady { get; set; }
  142. public bool IsServoOn { get; set; }
  143. public bool IsServoOnBufferAxis { get; set; }
  144. public float TargetPosition { get; set; }
  145. }
  146. public class LeakCheck : IBasicInfo
  147. {
  148. public Guid UID { get; set; }
  149. public DateTime Time { get; set; }
  150. public string? Name { get; set; }
  151. public float LeakCheckActualLeak { get; set; }
  152. public float LeakCheckBasePressure { get; set; }
  153. public float LeakCheckBasePressureLimit { get; set; }
  154. public float LeakCheckCheckTime { get; set; }
  155. public float LeakCheckDelayElapseTime { get; set; }
  156. public float LeakCheckDelayMonitorPressure { get; set; }
  157. public float LeakCheckDelayStartPressure { get; set; }
  158. public float LeakCheckDelayTime { get; set; }
  159. public float LeakCheckElapseTime { get; set; }
  160. public float LeakCheckHighLimit { get; set; }
  161. public float LeakCheckLeakLimit { get; set; }
  162. public float LeakCheckLowLimit { get; set; }
  163. public float LeakCheckMonitorPressure { get; set; }
  164. public float LeakCheckRetryCurrentCount { get; set; }
  165. public float LeakCheckRetryLimit { get; set; }
  166. public float LeakCheckStartPressure { get; set; }
  167. }
  168. public class Shutter : IBasicInfo
  169. {
  170. public Guid UID { get; set; }
  171. public DateTime Time { get; set; }
  172. public string? Name { get; set; }
  173. public bool DiClose { get; set; }
  174. public bool DiOpen { get; set; }
  175. public bool DoClose { get; set; }
  176. public bool DoOpen { get; set; }
  177. }
  178. public class BufferFoup : IBasicInfo
  179. {
  180. public Guid UID { get; set; }
  181. public DateTime Time { get; set; }
  182. public string? Name { get; set; }
  183. public float N2Flow { get; set; }
  184. public float N2Pressure { get; set; }
  185. }
  186. public class FFU : IBasicInfo
  187. {
  188. public Guid UID { get; set; }
  189. public DateTime Time { get; set; }
  190. public string? Name { get; set; }
  191. public float? CurrentSpeed { get; set; }
  192. public bool? IsSwitch { get; set; }
  193. public float? SetSpeed { get; set; }
  194. }
  195. public class MFC : IBasicInfo
  196. {
  197. public Guid UID { get; set; }
  198. public DateTime Time { get; set; }
  199. public string? Name { get; set; }
  200. public float Feedback { get; set; }
  201. public float LastSetPoint { get; set; }
  202. public float MFCUnitEnum { get; set; }
  203. }
  204. public class GaslineHeater : IBasicInfo
  205. {
  206. public Guid UID { get; set; }
  207. public DateTime Time { get; set; }
  208. public string? Name { get; set; }
  209. public float TempFeedback { get; set; }
  210. public float TempSetPoint { get; set; }
  211. }
  212. public class IoValve : IBasicInfo
  213. {
  214. public Guid UID { get; set; }
  215. public DateTime Time { get; set; }
  216. public string? Name { get; set; }
  217. public bool Status { get; set; }
  218. public bool SetPoint { get; set; }
  219. }
  220. public class AvValue : IBasicInfo
  221. {
  222. public Guid UID { get; set; }
  223. public DateTime Time { get; set; }
  224. public string? Name { get; set; }
  225. public bool Feedback { get; set; }
  226. public bool SetPoint { get; set; }
  227. public bool VirtualStatus { get; set; }
  228. }
  229. public interface IBasicInfo
  230. {
  231. public Guid UID { get; set; }
  232. public DateTime Time { get; set; }
  233. public string? Name { get; set; }
  234. }