1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
| using System;
| using System.Collections.Generic;
| using System.Linq;
| using System.Text;
| using System.Threading.Tasks;
|
| namespace WIDESEAWCS_DTO.PlacedBlockDTO
| {
| /// <summary>
| /// 三维坐标结构体
| /// 表示货物放置位置的左下前角坐标(X,Y,Z)
| /// 坐标系说明:
| /// - X轴:沿容器长度方向
| /// - Y轴:沿容器宽度方向
| /// - Z轴:垂直方向(高度)
| /// </summary>
| public struct Point3D
| {
| /// <summary>X轴坐标(毫米)</summary>
| public int X { get; }
|
| /// <summary>Y轴坐标(毫米)</summary>
| public int Y { get; }
|
| /// <summary>Z轴坐标(毫米)</summary>
| public int Z { get; }
|
| public Point3D(int x, int y, int z)
| {
| X = x;
| Y = y;
| Z = z;
| }
| }
| }
|
|