diff --git a/README.md b/README.md index ce0c2e7..41fa697 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ -# AX.Angular4PlanPlatform +智能实战指挥平台-前端项目 -上海数字化预案编制管理平台前端项目。此项目在 Angular 框架基础上编写。 - -后续开发都基于此。 + ---广西 演示 项目初始化:npm install diff --git a/src/app/ui/plan-assistance/plan-assistance.component.ts b/src/app/ui/plan-assistance/plan-assistance.component.ts index 07b884c..fdae6ff 100644 --- a/src/app/ui/plan-assistance/plan-assistance.component.ts +++ b/src/app/ui/plan-assistance/plan-assistance.component.ts @@ -27,9 +27,9 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 538.0725371265185, y: 790.8249488152024 }, - Width: 32, + Width: 45, Border: null, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -124,14 +124,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: -854.3835678799273, y: 688.1144590593601 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -265,14 +265,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: -539.9645631808662, y: 271.248256281619 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -367,14 +367,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: -563.1123674185176, y: 272.12837517909185 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -510,14 +510,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: -51.57937113008251, y: 271.9224183841443 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -653,14 +653,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 299.11560093170795, y: 5.1063714995351575 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -796,14 +796,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 500.9012712134421, y: 432.9232113342218 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -939,14 +939,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 88.60901628649833, y: -362.81780743424156 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -1082,14 +1082,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1089.647824545333, y: -680.096209373906 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -1225,14 +1225,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 916.5868780327887, y: -357.72777959563734 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -1368,14 +1368,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1267.7987988964815, y: -374.6945390576514 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -1511,14 +1511,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1507.3371984219418, y: -451.51880641310424 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -1654,14 +1654,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 2114.4400960509874, y: -142.24993442805783 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -1797,14 +1797,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1936.2891216998387, y: 278.525700229893 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -1940,14 +1940,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1656.3375905766052, y: 275.1323483374903 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -2083,14 +2083,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1155.818186447188, y: -8.212534678145914 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -2226,14 +2226,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 2915.2711426580545, y: -347.5477239184288 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -2369,14 +2369,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 2913.5744667118533, y: 185.20852318881538 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -2512,14 +2512,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 2096.1298123494207, y: 649.4948028638328 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -2655,14 +2655,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1901.6453605180648, y: 1239.3597336930006 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -2798,14 +2798,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1354.5242652562279, y: 1235.0853501362674 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -2941,14 +2941,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1160.7655915494565, y: 783.9050578476852 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -3084,14 +3084,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 993.7723947424533, y: 1345.901393255869 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -3227,14 +3227,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 577.8951065403974, y: 1345.9013932558687 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -3370,14 +3370,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 126.55162198821722, y: 1029.7104791062238 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -3513,14 +3513,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: -179.95583881318612, y: 1030.9615299666377 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -3656,14 +3656,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: -435.1702143376199, y: 1028.45942824581 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -3799,14 +3799,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: -5.796097596718141, y: 273.14583520021273 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -3903,14 +3903,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 462.9058952959447, y: 432.54246436208996 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -4007,14 +4007,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1155.2026113881834, y: 36.88757093210626 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -4111,14 +4111,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1218.8312292956107, y: -356.45297613199 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -4215,14 +4215,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1561.5581030242533, y: -469.2491624224295 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -4319,14 +4319,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1046.7447399550688, y: -664.473331002036 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -4423,14 +4423,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 2115.4162998093598, y: -15.172207355788942 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -4527,14 +4527,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 2915.112338509526, y: -292.8243582245628 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -4631,14 +4631,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1988.5158013887126, y: 278.0216677369151 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -4735,14 +4735,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 2975.3868020413206, y: 191.2124158152834 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -4839,14 +4839,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1703.0254066222362, y: 272.97200813738664 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -4943,14 +4943,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 2092.983870088383, y: 819.7323282038833 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -5047,14 +5047,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1951.9378727440935, y: 1239.7359647402122 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -5151,14 +5151,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1408.1271940944434, y: 1236.6016092436726 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -5255,14 +5255,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1160.4571509862274, y: 942.5243236030998 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -5359,14 +5359,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: -592.1952057948927, y: 271.2807226550343 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -5448,14 +5448,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: -97.79605019753274, y: 272.1435484065131 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -5539,14 +5539,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1150.6880828651256, y: -69.45260716773461 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -5630,14 +5630,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1152.4040527919356, y: -333.2077578697689 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -5721,14 +5721,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1456.632463331941, y: -431.236912377104 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -5812,14 +5812,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 2115.794019501953, y: -194.61481529043306 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -5903,14 +5903,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 2918.6189917603, y: -79.68408241976437 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -5994,14 +5994,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1887.6227115969486, y: 278.62937888290867 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -6085,14 +6085,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1609.5189625658177, y: 276.4352097691058 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -6176,14 +6176,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 2095.5215915504127, y: 596.2041604311792 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -6267,14 +6267,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1851.9430767861622, y: 1238.0508628431387 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -6358,14 +6358,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1286.183169018807, y: 1239.7943307666721 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -6449,14 +6449,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1159.3027504423208, y: 738.1954273316667 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -6540,14 +6540,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: -32.3318372843471, y: 1029.7104791062238 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -6631,14 +6631,14 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: -276.2867550650558, y: 1028.4594282458097 }, - Width: 32, + Width: 45, Border: { w: 0, x: 0, y: 0, z: 0 }, - Height: 32, + Height: 45, Enabled: true, FloorId: '5f670bb79e91f4410005f564', DrawMode: 0, @@ -6719,7 +6719,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FloorId: null, Angle: 0, Pipelines: [], - Type: 1, + Type: 3, Color: 0, Enabled: true, FillMode: 0, @@ -6727,8 +6727,8 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FixedSize: false, CanConnection: true, ConnectionObjs: [], - Height: 32, - Width: 32, + Height: 45, + Width: 45, Id: ObjectID.default.generate(), ImageUrl: './assets/images/水罐消防车.png', InteractiveMode: 0, @@ -6773,7 +6773,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FloorId: null, Angle: 0, Pipelines: [], - Type: 1, + Type: 2, Color: 0, Enabled: true, FillMode: 0, @@ -6781,8 +6781,8 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FixedSize: false, CanConnection: true, ConnectionObjs: [], - Height: 32, - Width: 32, + Height: 45, + Width: 45, Id: ObjectID.default.generate(), ImageUrl: './assets/images/泡沫消防车.png', InteractiveMode: 0, @@ -6791,7 +6791,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1295, y: 1237 }, - Name: '水罐泡沫消防车', + Name: '泡沫消防车', FireTeamName: '港北区解放路消防救援站', // 所属消防队 ReachTime: 0, // 到场剩余时间 WaterYield: '10t', // 载水量 @@ -6827,7 +6827,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FloorId: null, Angle: 0, Pipelines: [], - Type: 1, + Type: 2, Color: 0, Enabled: true, FillMode: 0, @@ -6835,8 +6835,8 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FixedSize: false, CanConnection: true, ConnectionObjs: [], - Height: 32, - Width: 32, + Height: 45, + Width: 45, Id: ObjectID.default.generate(), ImageUrl: './assets/images/泡沫消防车.png', InteractiveMode: 0, @@ -6845,7 +6845,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1295, y: 1237 }, - Name: '水罐泡沫消防车', + Name: '泡沫消防车', FireTeamName: '港北区解放路消防救援站', // 所属消防队 ReachTime: 0, // 到场剩余时间 WaterYield: '4t', // 载水量 @@ -6889,10 +6889,10 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FixedSize: false, CanConnection: true, ConnectionObjs: [], - Height: 32, - Width: 32, + Height: 45, + Width: 45, Id: ObjectID.default.generate(), - ImageUrl: './assets/images/压缩空气泡沫消防车.png', + ImageUrl: './assets/images/举高喷射消防车.png', InteractiveMode: 0, MultiPoint: null, Point: { @@ -6935,7 +6935,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FloorId: null, Angle: 0, Pipelines: [], - Type: 1, + Type: 3, Color: 0, Enabled: true, FillMode: 0, @@ -6943,8 +6943,8 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FixedSize: false, CanConnection: true, ConnectionObjs: [], - Height: 32, - Width: 32, + Height: 45, + Width: 45, Id: ObjectID.default.generate(), ImageUrl: './assets/images/水罐消防车.png', InteractiveMode: 0, @@ -6989,7 +6989,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FloorId: null, Angle: 0, Pipelines: [], - Type: 1, + Type: 2, Color: 0, Enabled: true, FillMode: 0, @@ -6997,8 +6997,8 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FixedSize: false, CanConnection: true, ConnectionObjs: [], - Height: 32, - Width: 32, + Height: 45, + Width: 45, Id: ObjectID.default.generate(), ImageUrl: './assets/images/泡沫消防车.png', InteractiveMode: 0, @@ -7007,7 +7007,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1295, y: 1237 }, - Name: '水罐泡沫消防车', + Name: '泡沫消防车', FireTeamName: '八塘消防救援站', // 所属消防队 ReachTime: 249, // 到场剩余时间 WaterYield: '6t', // 载水量 @@ -7043,7 +7043,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FloorId: null, Angle: 0, Pipelines: [], - Type: 1, + Type: 2, Color: 0, Enabled: true, FillMode: 0, @@ -7051,8 +7051,8 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FixedSize: false, CanConnection: true, ConnectionObjs: [], - Height: 32, - Width: 32, + Height: 45, + Width: 45, Id: ObjectID.default.generate(), ImageUrl: './assets/images/泡沫消防车.png', InteractiveMode: 0, @@ -7061,7 +7061,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1295, y: 1237 }, - Name: '水罐泡沫消防车', + Name: '泡沫消防车', FireTeamName: '八塘消防救援站', // 所属消防队 ReachTime: 277, // 到场剩余时间 WaterYield: '3t', // 载水量 @@ -7105,10 +7105,10 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FixedSize: false, CanConnection: true, ConnectionObjs: [], - Height: 32, - Width: 32, + Height: 45, + Width: 45, Id: ObjectID.default.generate(), - ImageUrl: './assets/images/压缩空气泡沫消防车.png', + ImageUrl: './assets/images/举高喷射消防车.png', InteractiveMode: 0, MultiPoint: null, Point: { @@ -7151,7 +7151,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FloorId: null, Angle: 0, Pipelines: [], - Type: 1, + Type: 2, Color: 0, Enabled: true, FillMode: 0, @@ -7159,8 +7159,8 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FixedSize: false, CanConnection: true, ConnectionObjs: [], - Height: 32, - Width: 32, + Height: 45, + Width: 45, Id: ObjectID.default.generate(), ImageUrl: './assets/images/泡沫消防车.png', InteractiveMode: 0, @@ -7169,7 +7169,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1295, y: 1237 }, - Name: '水罐泡沫消防车', + Name: '泡沫消防车', FireTeamName: '龚州消防救援站', // 所属消防队 ReachTime: 666, // 到场剩余时间 WaterYield: '6t', // 载水量 @@ -7205,7 +7205,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FloorId: null, Angle: 0, Pipelines: [], - Type: 1, + Type: 2, Color: 0, Enabled: true, FillMode: 0, @@ -7213,8 +7213,8 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FixedSize: false, CanConnection: true, ConnectionObjs: [], - Height: 32, - Width: 32, + Height: 45, + Width: 45, Id: ObjectID.default.generate(), ImageUrl: './assets/images/泡沫消防车.png', InteractiveMode: 0, @@ -7223,7 +7223,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1295, y: 1237 }, - Name: '水罐泡沫消防车', + Name: '泡沫消防车', FireTeamName: '龚州消防救援站', // 所属消防队 ReachTime: 721, // 到场剩余时间 WaterYield: '5t', // 载水量 @@ -7259,7 +7259,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FloorId: null, Angle: 0, Pipelines: [], - Type: 1, + Type: 2, Color: 0, Enabled: true, FillMode: 0, @@ -7267,8 +7267,8 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FixedSize: false, CanConnection: true, ConnectionObjs: [], - Height: 32, - Width: 32, + Height: 45, + Width: 45, Id: ObjectID.default.generate(), ImageUrl: './assets/images/泡沫消防车.png', InteractiveMode: 0, @@ -7277,7 +7277,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { x: 1295, y: 1237 }, - Name: '水罐泡沫消防车', + Name: '泡沫消防车', FireTeamName: '龚州消防救援站', // 所属消防队 ReachTime: 978, // 到场剩余时间 WaterYield: '3t', // 载水量 @@ -7321,10 +7321,10 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { FixedSize: false, CanConnection: true, ConnectionObjs: [], - Height: 32, - Width: 32, + Height: 45, + Width: 45, Id: ObjectID.default.generate(), - ImageUrl: './assets/images/压缩空气泡沫消防车.png', + ImageUrl: './assets/images/举高喷射消防车.png', InteractiveMode: 0, MultiPoint: null, Point: { @@ -7364,6 +7364,11 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { } ]; + bottomIsShow = false; // 底部车辆信息是否展示 + rightIsShow = true; // 右侧楼层是否展示 + rightSayIsShow = false; // 右侧语音是否展示 + selectCarID = ''; // 选中车辆ID 选中效果css + ngOnInit(): void { const that = this; window.setTimeout(() => { @@ -7382,11 +7387,11 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { this.workingArea.on('select', obj => { // 选中素材属性注入函数 if (obj && obj.assetData && obj.assetData.ReachTime != undefined) { - this.selectCarID = JSON.parse(JSON.stringify( obj.assetData.Id || '' )); //选中样式 赋值ID - let linkCar = this.canvasData.getLinkCarName(obj) //连接车辆 - let waterOccupy = this.canvasData.getWaterOccupyName(obj) //水源占用 - obj.assetData.LinkCar = linkCar //连接车辆 - obj.assetData.WaterOccupy = waterOccupy //水源占用 + this.selectCarID = JSON.parse(JSON.stringify( obj.assetData.Id || '' )); // 选中样式 赋值ID + const linkCar = this.canvasData.getLinkCarName(obj); // 连接车辆 + const waterOccupy = this.canvasData.getWaterOccupyName(obj); // 水源占用 + obj.assetData.LinkCar = linkCar; // 连接车辆 + obj.assetData.WaterOccupy = waterOccupy; // 水源占用 this.canvasData.selectCar = obj.assetData; this.bottomIsShow = true; } @@ -7398,11 +7403,6 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { }); } - bottomIsShow:boolean = false; // 底部车辆信息是否展示 - rightIsShow:boolean = true; // 右侧楼层是否展示 - rightSayIsShow:boolean = false; // 右侧语音是否展示 - selectCarID:string = ''; // 选中车辆ID 选中效果css - // 开始绘制 plot(e) { e == 0 ? this.workingArea.beginPaintingArrows() : this.workingArea.beginPaintPipeline(); diff --git a/src/app/ui/real-cases/real-cases.component.html b/src/app/ui/real-cases/real-cases.component.html index 6c12cd1..7c1fd0f 100644 --- a/src/app/ui/real-cases/real-cases.component.html +++ b/src/app/ui/real-cases/real-cases.component.html @@ -35,13 +35,13 @@