Skip to content

Commit fe1d266

Browse files
Added Pallet and Fixture Asset classes
1 parent 1ae4cae commit fe1d266

32 files changed

Lines changed: 745 additions & 0 deletions
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// Copyright (c) 2024 TrakHound Inc., All Rights Reserved.
2+
// TrakHound Inc. licenses this file to you under the MIT license.
3+
4+
// MTConnect SysML v2.3 : UML ID = _2024x_68e0225_1727793125239_4425_23553
5+
6+
namespace MTConnect.Assets.Fixture
7+
{
8+
/// <summary>
9+
///
10+
/// </summary>
11+
public partial class FixtureAsset : PhysicalAsset, IFixtureAsset
12+
{
13+
public new const string DescriptionText = "";
14+
15+
16+
/// <summary>
17+
/// Actuation type of the Fixture's clamping mechanism.
18+
/// </summary>
19+
public string ClampingMethod { get; set; }
20+
21+
/// <summary>
22+
/// Identifier of the Pallet.
23+
/// </summary>
24+
public string FixtureId { get; set; }
25+
26+
/// <summary>
27+
/// Number or sequence assigned to the Fixture in a group of Fixtures.
28+
/// </summary>
29+
public int FixtureNumber { get; set; }
30+
31+
/// <summary>
32+
/// Actuation type of the Fixture's mounting mechanism.
33+
/// </summary>
34+
public string MountingMethod { get; set; }
35+
}
36+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Copyright (c) 2024 TrakHound Inc., All Rights Reserved.
2+
// TrakHound Inc. licenses this file to you under the MIT license.
3+
4+
namespace MTConnect.Assets.Fixture
5+
{
6+
public static class FixtureAssetDescriptions
7+
{
8+
/// <summary>
9+
/// Actuation type of the Fixture's clamping mechanism.
10+
/// </summary>
11+
public const string ClampingMethod = "Actuation type of the Fixture's clamping mechanism.";
12+
13+
/// <summary>
14+
/// Identifier of the Pallet.
15+
/// </summary>
16+
public const string FixtureId = "Identifier of the Pallet.";
17+
18+
/// <summary>
19+
/// Number or sequence assigned to the Fixture in a group of Fixtures.
20+
/// </summary>
21+
public const string FixtureNumber = "Number or sequence assigned to the Fixture in a group of Fixtures.";
22+
23+
/// <summary>
24+
/// Actuation type of the Fixture's mounting mechanism.
25+
/// </summary>
26+
public const string MountingMethod = "Actuation type of the Fixture's mounting mechanism.";
27+
}
28+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Copyright (c) 2024 TrakHound Inc., All Rights Reserved.
2+
// TrakHound Inc. licenses this file to you under the MIT license.
3+
4+
namespace MTConnect.Assets.Fixture
5+
{
6+
/// <summary>
7+
///
8+
/// </summary>
9+
public partial interface IFixtureAsset : IPhysicalAsset
10+
{
11+
/// <summary>
12+
/// Actuation type of the Fixture's clamping mechanism.
13+
/// </summary>
14+
string ClampingMethod { get; }
15+
16+
/// <summary>
17+
/// Identifier of the Pallet.
18+
/// </summary>
19+
string FixtureId { get; }
20+
21+
/// <summary>
22+
/// Number or sequence assigned to the Fixture in a group of Fixtures.
23+
/// </summary>
24+
int FixtureNumber { get; }
25+
26+
/// <summary>
27+
/// Actuation type of the Fixture's mounting mechanism.
28+
/// </summary>
29+
string MountingMethod { get; }
30+
}
31+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// Copyright (c) 2024 TrakHound Inc., All Rights Reserved.
2+
// TrakHound Inc. licenses this file to you under the MIT license.
3+
4+
namespace MTConnect.Assets
5+
{
6+
/// <summary>
7+
/// Abstract physical Asset.
8+
/// </summary>
9+
public partial interface IPhysicalAsset
10+
{
11+
/// <summary>
12+
/// Date of calibration of the Asset.
13+
/// </summary>
14+
System.DateTime CalibrationDate { get; }
15+
16+
/// <summary>
17+
/// Date of last inspection of the Asset.
18+
/// </summary>
19+
System.DateTime InspectionDate { get; }
20+
21+
/// <summary>
22+
/// Date of creation or built of the Asset.
23+
/// </summary>
24+
System.DateTime ManufactureDate { get; }
25+
26+
/// <summary>
27+
/// Constrained scalar value associated with an Asset.
28+
/// </summary>
29+
MTConnect.Assets.Pallet.IMeasurement Measurement { get; }
30+
31+
/// <summary>
32+
/// Date of next inspection of the Asset.
33+
/// </summary>
34+
System.DateTime NextInspectionDate { get; }
35+
}
36+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Copyright (c) 2024 TrakHound Inc., All Rights Reserved.
2+
// TrakHound Inc. licenses this file to you under the MIT license.
3+
4+
// MTConnect SysML v2.3 : UML ID = _2024x_68e0225_1727795946018_306044_24580
5+
6+
namespace MTConnect.Assets.Pallet
7+
{
8+
/// <summary>
9+
/// Height of the PhysicalAsset.
10+
/// </summary>
11+
public class HeightMeasurement : Measurement, IHeightMeasurement
12+
{
13+
public new const string DescriptionText = "Height of the PhysicalAsset.";
14+
15+
16+
}
17+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Copyright (c) 2024 TrakHound Inc., All Rights Reserved.
2+
// TrakHound Inc. licenses this file to you under the MIT license.
3+
4+
namespace MTConnect.Assets.Pallet
5+
{
6+
/// <summary>
7+
/// Height of the PhysicalAsset.
8+
/// </summary>
9+
public interface IHeightMeasurement : IMeasurement
10+
{
11+
}
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Copyright (c) 2024 TrakHound Inc., All Rights Reserved.
2+
// TrakHound Inc. licenses this file to you under the MIT license.
3+
4+
namespace MTConnect.Assets.Pallet
5+
{
6+
/// <summary>
7+
/// Length of the PhysicalAsset.
8+
/// </summary>
9+
public interface ILengthMeasurement : IMeasurement
10+
{
11+
}
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Copyright (c) 2024 TrakHound Inc., All Rights Reserved.
2+
// TrakHound Inc. licenses this file to you under the MIT license.
3+
4+
namespace MTConnect.Assets.Pallet
5+
{
6+
/// <summary>
7+
/// Loaded height of the PhysicalAsset.
8+
/// </summary>
9+
public interface ILoadedHeightMeasurement : IMeasurement
10+
{
11+
}
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Copyright (c) 2024 TrakHound Inc., All Rights Reserved.
2+
// TrakHound Inc. licenses this file to you under the MIT license.
3+
4+
namespace MTConnect.Assets.Pallet
5+
{
6+
/// <summary>
7+
/// Loaded length of the PhysicalAsset.
8+
/// </summary>
9+
public interface ILoadedLengthMeasurement : IMeasurement
10+
{
11+
}
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Copyright (c) 2024 TrakHound Inc., All Rights Reserved.
2+
// TrakHound Inc. licenses this file to you under the MIT license.
3+
4+
namespace MTConnect.Assets.Pallet
5+
{
6+
/// <summary>
7+
/// Loaded swing of the PhysicalAsset.
8+
/// </summary>
9+
public interface ILoadedSwingMeasurement : IMeasurement
10+
{
11+
}
12+
}

0 commit comments

Comments
 (0)