Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benhar-dev authored May 8, 2024
2 parents d6b234c + 914ed10 commit 6167048
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v0.4.0-alpha

- updated to support mobject-datatypes v0.7.0
- updated to support mobject-deserialization v0.2.0

## v0.3.0-alpha

- updated to support mobject-datatypes v0.6.0
Expand Down
Binary file modified mobject-basic-datatypes.library
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,19 @@
</PlaceholderReference>
</ItemGroup>
<ItemGroup>
<LibraryReference Include="mobject-basic-datatypes,0.3.0,mobject">
<LibraryReference Include="mobject-basic-datatypes,0.4.0,mobject">
<Namespace>mobject_basic_datatypes</Namespace>
</LibraryReference>
<LibraryReference Include="mobject-datatypes,0.6.0,mobject">
<LibraryReference Include="mobject-datatypes,0.7.0,mobject">
<Namespace>mobject_datatypes</Namespace>
</LibraryReference>
<LibraryReference Include="mobject-deserialization,0.1.0,mobject">
<LibraryReference Include="mobject-deserialization,0.2.0,mobject">
<Namespace>mobject_deserialization</Namespace>
</LibraryReference>
<LibraryReference Include="mobject-enumerable,1.1.0,mobject">
<Namespace>mobject_enumerable</Namespace>
</LibraryReference>
<LibraryReference Include="mobject-json,1.4.0,mobject">
<LibraryReference Include="mobject-json,1.5.0,mobject">
<Namespace>mobject_json</Namespace>
</LibraryReference>
<LibraryReference Include="mobject-serialization,0.4.0,mobject">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ TEST_FINISHED();
VAR
_type : _E_TcEventClass(E_TcEventClass.TCEVENTCLASS_NONE);
serializer : JsonSerializer;
expected : STRING(500) := '{"typeName":"ENUM","identifier":"E_TcEventClass","enumerations":["TCEVENTCLASS_ALARM","TCEVENTCLASS_HINT","TCEVENTCLASS_INSTRUCTION","TCEVENTCLASS_MAINTENANCE","TCEVENTCLASS_MESSAGE","TCEVENTCLASS_NONE","TCEVENTCLASS_PARAMERROR","TCEVENTCLASS_STATEINFO","TCEVENTCLASS_WARNING"],"baseType":{"typeName":"UINT","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false}}';
expected : STRING(500) := '{"typeName":"ENUM","identifier":"E_TcEventClass","enumerations":["TCEVENTCLASS_NONE","TCEVENTCLASS_MAINTENANCE","TCEVENTCLASS_MESSAGE","TCEVENTCLASS_HINT","TCEVENTCLASS_STATEINFO","TCEVENTCLASS_INSTRUCTION","TCEVENTCLASS_WARNING","TCEVENTCLASS_ALARM","TCEVENTCLASS_PARAMERROR"],"baseType":{"typeName":"UINT","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false}}';
actual : STRING(500);
END_VAR
]]></Declaration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ TEST_FINISHED();
VAR
_type : _TIMESTRUCT;
serializer : JsonSerializer;
expected : STRING(1000) := '{"typeName":"STRUCT","identifier":"TIMESTRUCT","members":{"wDay":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wDayOfWeek":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wHour":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wMilliseconds":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wMinute":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wMonth":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wSecond":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wYear":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false}}}';
expected : STRING(1000) := '{"typeName":"STRUCT","identifier":"TIMESTRUCT","members":{"wYear":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wMonth":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wDayOfWeek":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wDay":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wHour":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wMinute":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wSecond":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false},"wMilliseconds":{"typeName":"WORD","minValue":0,"maxValue":65535,"isSigned":false,"isFloat":false}}}';
actual : STRING(1000);
END_VAR
]]></Declaration>
Expand All @@ -217,7 +217,7 @@ TEST_FINISHED();
VAR
_type : _TIMESTRUCT;
serializer : JsonSerializer;
expected : STRING(500) := '{"wDay":3,"wDayOfWeek":2,"wHour":4,"wMilliseconds":7,"wMinute":5,"wMonth":1,"wSecond":6,"wYear":2000}';
expected : STRING(500) := '{"wYear":2000,"wMonth":1,"wDayOfWeek":2,"wDay":3,"wHour":4,"wMinute":5,"wSecond":6,"wMilliseconds":7}';
actual : STRING(500);
END_VAR
]]></Declaration>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<TcSmItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.beckhoff.com/schemas/2012/07/TcSmProject" TcSmVersion="1.0" TcVersion="3.1.4024.55" ClassName="CNestedPlcProjDef">
<Project GUID="{3D6D8680-503D-4137-94DC-E523F4583830}" Name="Main" PrjFilePath="..\..\Main\Main.plcproj" TmcFilePath="..\..\Main\Main.tmc" ReloadTmc="true" AmsPort="851" FileArchiveSettings="#x000e" SymbolicMapping="true">
<Instance Id="#x08502000" TcSmClass="TComPlcObjDef" KeepUnrestoredLinks="2" TmcPath="Main\Main.tmc" TmcHash="{1862994F-35D9-8F39-DFF9-88A18CFA92D6}">
<Instance Id="#x08502000" TcSmClass="TComPlcObjDef" KeepUnrestoredLinks="2" TmcPath="Main\Main.tmc" TmcHash="{1CD995F0-525B-016D-33D9-730E62B0C2F2}">
<Name>Main Instance</Name>
<CLSID ClassFactory="TcPlc30">{08500001-0000-0000-F000-000000000064}</CLSID>
<Contexts>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<Company>mobject</Company>
<Released>false</Released>
<Title>mobject-basic-datatypes</Title>
<ProjectVersion>0.3.0</ProjectVersion>
<ProjectVersion>0.4.0</ProjectVersion>
<DefaultNamespace>mobject-basic-datatypes</DefaultNamespace>
<Placeholder>mobject-basic-datatypes</Placeholder>
<Author>mobject dev team</Author>
Expand Down Expand Up @@ -61,10 +61,10 @@
<LibraryReference Include="mobject-constants-datatype-limits,1.0.0,mobject">
<Namespace>mobject_constants_datatype_limits</Namespace>
</LibraryReference>
<LibraryReference Include="mobject-datatypes,0.6.0,mobject">
<LibraryReference Include="mobject-datatypes,0.7.0,mobject">
<Namespace>mobject_datatypes</Namespace>
</LibraryReference>
<LibraryReference Include="mobject-deserialization,0.1.0,mobject">
<LibraryReference Include="mobject-deserialization,0.2.0,mobject">
<Namespace>mobject_deserialization</Namespace>
</LibraryReference>
<LibraryReference Include="mobject-enumerable,1.1.0,mobject">
Expand Down

0 comments on commit 6167048

Please sign in to comment.