-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supporting "reuse" and "reuseCode" properties for <message>-s.
- Loading branch information
Showing
7 changed files
with
216 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schema name="Schema32" endian="Big" dslVersion="7"> | ||
<description> | ||
Testing | ||
</description> | ||
<fields> | ||
<string name="Msg1Name" defaultValue="Message 1" /> | ||
<string name="Msg2Name" defaultValue="Message 2" /> | ||
<enum name="MsgId" type="uint8"> | ||
<validValue name="Msg1" val="0" displayName="^Msg1Name" /> | ||
<validValue name="Msg2" val="1" displayName="^Msg2Name" /> | ||
</enum> | ||
</fields> | ||
|
||
<interface name="Message"> | ||
<bitfield name="Flags"> | ||
<set name="M1" bitLength="2"> | ||
<bit name="B0" idx="0" /> | ||
<bit name="B1" idx="1" /> | ||
</set> | ||
<int name="M2" type="uint8" bitLength="3" /> | ||
<int name="M3" type="uint8" bitLength="3" /> | ||
</bitfield> | ||
</interface> | ||
|
||
<message name="Msg1" id="MsgId.Msg1" displayName="^Msg1Name" failOnInvalid="true"> | ||
<fields> | ||
<int name="F1" type="uint8" /> | ||
<int name="F2" type="uint8" /> | ||
</fields> | ||
<validCond> | ||
<and> | ||
<validCond value="%Flags.M2 = 1" /> | ||
<validCond value="$F1 = $F2" /> | ||
</and> | ||
</validCond> | ||
</message> | ||
|
||
<message name="Msg2" reuse="Msg1" reuseCode="true" id="MsgId.Msg2" displayName="^Msg2Name"> | ||
<int name="F3" type="uint8" /> | ||
</message> | ||
|
||
</schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters