@@ -45,7 +45,7 @@ public static string CreateIdShort(string s)
45
45
/// <param name="data">The IEC 61360 data to create the submodel from</param>
46
46
/// <returns>A new submodel with the given data</returns>
47
47
public static Aas . Submodel CreateSubmodel (
48
- Aas . Environment env ,
48
+ Aas . IEnvironment env ,
49
49
Aas . IAssetAdministrationShell adminShell , Iec61360Data data )
50
50
{
51
51
// We need this to ensure that we don't use the same AAS ID twice when importing multiple submodels (as
@@ -73,7 +73,7 @@ public static Aas.Submodel CreateSubmodel(
73
73
/// <param name="data">The IEC 61360 data to create the collection from</param>
74
74
/// <returns>A new submodel element collection with the given data</returns>
75
75
public static Aas . SubmodelElementCollection CreateCollection (
76
- Aas . Environment env , Iec61360Data data )
76
+ Aas . IEnvironment env , Iec61360Data data )
77
77
{
78
78
var collection = new Aas . SubmodelElementCollection (
79
79
idShort : data . IdShort
@@ -90,7 +90,7 @@ public static Aas.SubmodelElementCollection CreateCollection(
90
90
/// <param name="valueType">The value type of the property</param>
91
91
/// <returns>A new property with the given data</returns>
92
92
public static Aas . Property CreateProperty (
93
- Aas . Environment env , Iec61360Data data , string valueType )
93
+ Aas . IEnvironment env , Iec61360Data data , string valueType )
94
94
{
95
95
var property = new Aas . Property (
96
96
idShort : data . IdShort ,
@@ -100,7 +100,7 @@ public static Aas.Property CreateProperty(
100
100
return property ;
101
101
}
102
102
103
- private static void InitSubmodelElement ( Aas . Environment env ,
103
+ private static void InitSubmodelElement ( Aas . IEnvironment env ,
104
104
Aas . ISubmodelElement submodelElement , Iec61360Data data )
105
105
{
106
106
AddDescriptions ( submodelElement , data ) ;
@@ -113,7 +113,7 @@ private static void AddDescriptions(Aas.IReferable r, Iec61360Data data)
113
113
r . AddDescription ( lang , data . PreferredName . Get ( lang ) ) ;
114
114
}
115
115
116
- private static void AddDataSpecification ( Aas . Environment env ,
116
+ private static void AddDataSpecification ( Aas . IEnvironment env ,
117
117
Aas . Submodel submodel , Iec61360Data data )
118
118
{
119
119
var cd = CreateConceptDescription ( env , data ) ;
@@ -130,7 +130,7 @@ private static void AddDataSpecification(Aas.Environment env,
130
130
submodel . SemanticId = cd . GetReference ( ) . Copy ( ) ;
131
131
}
132
132
133
- private static void AddDataSpecification ( Aas . Environment env ,
133
+ private static void AddDataSpecification ( Aas . IEnvironment env ,
134
134
Aas . ISubmodelElement submodelElement , Iec61360Data data )
135
135
{
136
136
var cd = CreateConceptDescription ( env , data ) ;
@@ -148,7 +148,7 @@ private static void AddDataSpecification(Aas.Environment env,
148
148
}
149
149
150
150
private static Aas . ConceptDescription CreateConceptDescription (
151
- Aas . Environment env , Iec61360Data data )
151
+ Aas . IEnvironment env , Iec61360Data data )
152
152
{
153
153
var cd = new Aas . ConceptDescription (
154
154
idShort : data . IdShort , id : data . Irdi ) ;
0 commit comments