AccidentCasesObj.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <?php
  2. namespace common\util;
  3. use common\models\AccidentCases;
  4. /**
  5. * Class AccidentCasesObj
  6. * @package common\util
  7. * @property int $id
  8. * @property string|null $title 案例名称
  9. * @property int|null $level 事件性质(等级)
  10. * @property array|null $type_base 事件类型—基本选项
  11. * @property array|null $type_first 事件类型-一级字段
  12. * @property array|null $type_second 事件类型-二级字段
  13. * @property array|null $type_third 事件类型-三级字段
  14. * @property array|null $type_extra 事件类型—复合选项
  15. * @property array $duty_category 责任专业—事件归因
  16. * @property array $duty_reason 责任专业—原因
  17. * @property int|null $start_time 发生时间(具体日期、时间)
  18. * @property int|null $elimination_time 故障/外部影响消除时间
  19. * @property int|null $recovery_time 运营基本恢复时间
  20. * @property int|null $day_type 日期特征
  21. * @property int|null $time_type 时间特征
  22. * @property int|null $line 所属线路
  23. * @property int|null $automation_level 自动化程度
  24. * @property int|null $signal_supplier 信号供应商
  25. * @property int|null $train_number 车号
  26. * @property int|null $train_group 列车编组
  27. * @property int|null $train_model 列车型号
  28. * @property string|null $position_start 车站进站位置(起始位置)
  29. * @property string|null $position_end 车站进站位置(终止位置)
  30. * @property int|null $no_parking_area 车站进站位置(终止位置)
  31. * @property string|null $position_no_parking_area 车站进站位置(终止位置)
  32. * @property string|null $position 发生位置
  33. * @property string $position_base_first 发生位置-基本分类
  34. * @property int|null $position_base_second 发生位置-基本分类-二级字段
  35. * @property int|null $position_extra_first 发生位置-派生
  36. * @property int|null $position_extra_second 发生位置-派生-二级字段
  37. * @property int|null $substation_type 变电站类型
  38. * @property int|null $headway 行车间隔
  39. * @property int|null $online_trains_number 在线列车数
  40. * @property int|null $incidence 影响范围
  41. * @property int|null $affect_trains_number 直接影响列车数
  42. * @property int|null $emergency_duration 故障持续时长
  43. * @property int|null $operation_duration 运营事件持续时长(分钟)
  44. * @property int|null $maximum_delay 最大晚点
  45. * @property int|null $train_delayed_two_minutes 2分钟晚点列次
  46. * @property int|null $train_delayed_five_minutes 5分钟晚点列次
  47. * @property int|null $get_off_trains_number 清客列次
  48. * @property int|null $skip_stop_trains_number 跳停列次
  49. * @property int|null $handle_person_dispatch 路网调度
  50. * @property int|null $handle_person_leader 班组长(1人)
  51. * @property int|null $handle_person_principal 运营正职(1人)
  52. * @property int|null $handle_person_principal_device 设备正职(1人)
  53. * @property int|null $handle_person_deputy 运营副职(可多人)
  54. * @property int|null $handle_person_deputy_device 设备副职(可多人)
  55. * @property int|null $command_area 指挥区域
  56. * @property int|null $team_serial_number 班组序号
  57. * @property int|null $delete_time 数据删除时间
  58. * @property string|null $images 事件图片(封面图片)
  59. * @property string|null $images_add 事件图片(额外)
  60. * @property string|null $images_duibi 事件图片(对比)
  61. * @property int $status 事件图片(对比)
  62. * @property AccidentCasesScoreObj $totalScore 总分
  63. * @property String create_by 创建人工号
  64. * @property String create_name 创建人姓名
  65. * @property String create_remark 创建人备注
  66. * @property array check_list 可审核人列表 默认为空则所有审核人都能看到,不为空则只有指定人可以审核
  67. * @property array check_name_list 可审核人姓名列表
  68. * @property String check_by 审核人
  69. * @property String check_name 审核人姓名
  70. * @property String check_remark 审核人备注
  71. */
  72. class AccidentCasesObj
  73. {
  74. public int $id;
  75. public string $title;
  76. public int $level;
  77. public array $type_base;
  78. public array $type_first;
  79. public array $type_second;
  80. public array $type_third;
  81. public array $type_extra;
  82. public array $duty_category;
  83. public array $duty_reason;
  84. public int $start_time;
  85. public int $elimination_time;
  86. public int $recovery_time;
  87. public int $day_type;
  88. public int $time_type;
  89. public int $line;
  90. public int|null $automation_level;
  91. public int|null $signal_supplier;
  92. public int|null $train_number;
  93. public int|null $train_group;
  94. public int|null $train_model;
  95. public string|null $position_start;
  96. public string|null $position_end;
  97. public int|null $no_parking_area;
  98. public string|null $position_no_parking_area;
  99. public string|null $position;
  100. public string $position_base_first;
  101. public array $position_base_second;
  102. public int|string $position_extra_first;
  103. public array $position_extra_second;
  104. public array $substation_type;
  105. public int|null $headway;
  106. public int|null $online_trains_number;
  107. public int|null $incidence;
  108. public int|null $affect_trains_number;
  109. public int|null $emergency_duration;
  110. public int|null $operation_duration;
  111. public int|null $maximum_delay;
  112. public int|null $train_delayed_two_minutes;
  113. public int|null $train_delayed_five_minutes;
  114. public int|null $get_off_trains_number;
  115. public int|null $skip_stop_trains_number;
  116. public string|null $handle_person_dispatch;
  117. public string|null $handle_person_leader;
  118. public string|null $handle_person_principal;
  119. public string|null $handle_person_principal_device;
  120. public string|null $handle_person_deputy;
  121. public string|null $handle_person_deputy_device;
  122. public int|null $command_area;
  123. public int|null $team_serial_number;
  124. public int|null $delete_time;
  125. public string|null $images;
  126. public string|null $images_add;
  127. public string|null $images_duibi;
  128. public string|null $update_time;
  129. public int $status;
  130. public ?AccidentCasesScoreObj $totalScore;
  131. public string $create_by;
  132. public string $create_name;
  133. public string $create_remark;
  134. public array $check_list;
  135. public array $check_name_list;
  136. public string $check_by;
  137. public string $check_name;
  138. public string $check_remark;
  139. /**
  140. * AccidentCasesObj constructor.
  141. * @param AccidentCases $AccidentCases
  142. */
  143. public function __construct(AccidentCases $AccidentCases)
  144. {
  145. $this->id = $AccidentCases->id;
  146. $this->title = $AccidentCases->title;
  147. $this->level = $AccidentCases->level;
  148. $this->type_base = $AccidentCases->type_base;
  149. $this->type_first = $AccidentCases->type_first;
  150. $this->type_second = $AccidentCases->type_second;
  151. $this->type_third = $AccidentCases->type_third;
  152. $this->type_extra = $AccidentCases->type_extra;
  153. $this->duty_category = $AccidentCases->duty_category;
  154. $this->duty_reason = $AccidentCases->duty_reason;
  155. $this->start_time = $AccidentCases->start_time;
  156. $this->elimination_time = $AccidentCases->elimination_time;
  157. $this->recovery_time = $AccidentCases->recovery_time;
  158. $this->day_type = $AccidentCases->day_type;
  159. $this->time_type = $AccidentCases->time_type;
  160. $this->line = $AccidentCases->line;
  161. $this->automation_level = $AccidentCases->automation_level;
  162. $this->signal_supplier = $AccidentCases->signal_supplier;
  163. $this->train_number = $AccidentCases->train_number;
  164. $this->train_group = $AccidentCases->train_group;
  165. $this->train_model = $AccidentCases->train_model;
  166. $this->position_start = $AccidentCases->position_start;
  167. $this->position_end = $AccidentCases->position_end;
  168. $this->no_parking_area = $AccidentCases->no_parking_area;
  169. $this->position_no_parking_area = $AccidentCases->position_no_parking_area;
  170. $this->position = $AccidentCases->position;
  171. $this->position_base_first = $AccidentCases->position_base_first;
  172. $this->position_base_second = $AccidentCases->position_base_second;
  173. $this->position_extra_first = $AccidentCases->position_extra_first;
  174. $this->position_extra_second = $AccidentCases->position_extra_second;
  175. $this->signal_concentration_station = $AccidentCases->signal_concentration_station;// 信号集中站/区域站
  176. $this->fault_switch_number = $AccidentCases->fault_switch_number; //故障道岔编号
  177. $this->foreign_body_location = $AccidentCases->foreign_body_location; //异物位置
  178. $this->power_supply_zoning = $AccidentCases->power_supply_zoning; //供电分区
  179. $this->substation_in_the_fault_section = $AccidentCases->substation_in_the_fault_section; //故障区段内变电站
  180. $this->substation_type = $AccidentCases->substation_type;
  181. $this->headway = $AccidentCases->headway;
  182. $this->online_trains_number = $AccidentCases->online_trains_number;
  183. $this->incidence = $AccidentCases->incidence;
  184. $this->affect_trains_number = $AccidentCases->affect_trains_number;
  185. $this->emergency_duration = $AccidentCases->emergency_duration;
  186. $this->operation_duration = $AccidentCases->operation_duration;
  187. $this->maximum_delay = $AccidentCases->maximum_delay;
  188. $this->train_delayed_two_minutes = $AccidentCases->train_delayed_two_minutes;
  189. $this->train_delayed_five_minutes = $AccidentCases->train_delayed_five_minutes;
  190. $this->get_off_trains_number = $AccidentCases->get_off_trains_number;
  191. $this->skip_stop_trains_number = $AccidentCases->skip_stop_trains_number;
  192. $this->handle_person_dispatch = $AccidentCases->handle_person_dispatch;
  193. $this->handle_person_leader = $AccidentCases->handle_person_leader;
  194. $this->handle_person_principal = $AccidentCases->handle_person_principal;
  195. $this->handle_person_principal_device = $AccidentCases->handle_person_principal_device;
  196. $this->handle_person_deputy = $AccidentCases->handle_person_deputy;
  197. $this->handle_person_deputy_device = $AccidentCases->handle_person_deputy_device;
  198. $this->command_area = $AccidentCases->command_area;
  199. $this->team_serial_number = $AccidentCases->team_serial_number;
  200. $this->delete_time = $AccidentCases->delete_time;
  201. $this->images = $AccidentCases->images;
  202. $this->images_add = $AccidentCases->images_add;
  203. $this->images_duibi = $AccidentCases->images_duibi;
  204. $this->totalScore = $AccidentCases->totalScore;
  205. $this->update_time = $AccidentCases->update_time;
  206. $this->status = $AccidentCases->status;
  207. $this->create_by = $AccidentCases->create_by;
  208. $this->create_name = $AccidentCases->create_name;
  209. $this->create_remark = $AccidentCases->create_remark;
  210. $this->check_list = $AccidentCases->check_list;
  211. $this->check_name_list = $AccidentCases->check_name_list;
  212. $this->check_by = $AccidentCases->check_by;
  213. $this->check_name = $AccidentCases->check_name;
  214. $this->check_remark = $AccidentCases->check_remark;
  215. }
  216. }