First project

This commit is contained in:
Jonny007-MKD 2014-05-07 08:36:26 +00:00
parent 8be0ae52ab
commit 29904713c2
7 changed files with 7168 additions and 0 deletions

6952
CanoeTest/Configuration2.cfg Normal file

File diff suppressed because it is too large Load diff

79
CanoeTest/DB.dbc Normal file
View file

@ -0,0 +1,79 @@
VERSION ""
NS_ :
NS_DESC_
CM_
BA_DEF_
BA_
VAL_
CAT_DEF_
CAT_
FILTER
BA_DEF_DEF_
EV_DATA_
ENVVAR_DATA_
SGTYPE_
SGTYPE_VAL_
BA_DEF_SGTYPE_
BA_SGTYPE_
SIG_TYPE_REF_
VAL_TABLE_
SIG_GROUP_
SIG_VALTYPE_
SIGTYPE_VALTYPE_
BO_TX_BU_
BA_DEF_REL_
BA_REL_
BA_DEF_DEF_REL_
BU_SG_REL_
BU_EV_REL_
BU_BO_REL_
SG_MUL_VAL_
BS_:
BU_: BBB AAA
VAL_TABLE_ switch_positions 1 "ON" 0 "OFF" ;
BO_ 443 bbbMsg: 2 BBB
SG_ switch_2B : 4|1@1+ (1,0) [0|1] "" Vector__XXX
SG_ switch_1B : 0|1@1+ (1,0) [0|1] "" Vector__XXX
SG_ Indicator_B : 8|1@1+ (1,0) [0|1] "" Vector__XXX
BO_ 426 aaaMsg: 2 AAA
SG_ Indicator_A : 8|1@1+ (1,0) [0|1] "" Vector__XXX
SG_ switch_2A : 4|1@1+ (1,0) [0|1] "" Vector__XXX
SG_ switch_1A : 0|1@1+ (1,0) [0|1] "" Vector__XXX
EV_ bbbIndicator_B: 0 [0|1] "" 0 1 DUMMY_NODE_VECTOR2 BBB;
EV_ aaaIndicator_A: 0 [0|1] "" 0 2 DUMMY_NODE_VECTOR2 AAA;
EV_ bbbSwitch_2A: 0 [0|1] "" 0 3 DUMMY_NODE_VECTOR1 BBB;
EV_ aaaSwitch_2A: 0 [0|1] "" 0 4 DUMMY_NODE_VECTOR1 AAA;
EV_ bbbSwitch_1A: 0 [0|1] "" 0 5 DUMMY_NODE_VECTOR1 BBB;
EV_ aaaSwitch_1A: 0 [0|1] "" 0 6 DUMMY_NODE_VECTOR1 AAA;
BA_DEF_ "BusType" STRING ;
BA_DEF_DEF_ "BusType" "";
BA_ "BusType" "CAN";
VAL_ 443 switch_2B 1 "ON" 0 "OFF" ;
VAL_ 443 switch_1B 1 "ON" 0 "OFF" ;
VAL_ 443 Indicator_B 1 "ON" 0 "OFF" ;
VAL_ 426 Indicator_A 1 "ON" 0 "OFF" ;
VAL_ 426 switch_2A 1 "ON" 0 "OFF" ;
VAL_ 426 switch_1A 1 "ON" 0 "OFF" ;
VAL_ bbbIndicator_B 1 "ON" 0 "OFF" ;
VAL_ aaaIndicator_A 1 "ON" 0 "OFF" ;
VAL_ bbbSwitch_2A 1 "ON" 0 "OFF" ;
VAL_ aaaSwitch_2A 1 "ON" 0 "OFF" ;
VAL_ bbbSwitch_1A 1 "ON" 0 "OFF" ;
VAL_ aaaSwitch_1A 1 "ON" 0 "OFF" ;

21
CanoeTest/Indi.can Normal file
View file

@ -0,0 +1,21 @@
/*@!Encoding:1252*/
includes
{
}
variables
{
}
on message aaaMsg
{
putValue(aaaIndicator_A, this.switch_1A | this.switch_2A);
write("1A = %d, 2A = %d, A = %d", this.switch_1A, this.switch_2A, this.switch_1A | this.switch_2A);
}
on message bbbMsg
{
putValue(bbbIndicator_B, this.switch_1B | this.switch_2B);
write("1B = %d, 2B = %d, B = %d", this.switch_1B, this.switch_2B, this.switch_1B | this.switch_2B);
}

22
CanoeTest/aaa.can Normal file
View file

@ -0,0 +1,22 @@
/*@!Encoding:1252*/
includes
{
}
variables
{
message aaaMsg aMsg;
}
on envVar aaaSwitch_1A
{
aMsg.switch_1A = getValue(this);
output(aMsg);
}
on envVar aaaSwitch_2A
{
aMsg.switch_2A = getValue(this);
output(aMsg);
}

36
CanoeTest/aaa.xvp Normal file
View file

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<Panel Type="Vector.CANalyzer.Panels.PanelSerializer, Vector.CANalyzer.Panels.Serializer, Version=8.1.92.0, Culture=neutral, PublicKeyToken=null">
<Object Type="Vector.CANalyzer.Panels.Runtime.Panel, Vector.CANalyzer.Panels.Common, Version=8.1.92.0, Culture=neutral, PublicKeyToken=null" Name="Panel" Children="Controls" ControlName="aaa">
<Object Type="Vector.CANalyzer.Panels.Design.SwitchControl, Vector.CANalyzer.Panels.CommonControls, Version=8.1.92.0, Culture=neutral, PublicKeyToken=null" Name="SwitchControl3" ControlName="aaaIndicator_A">
<Property Name="Name">SwitchControl3</Property>
<Property Name="Size">23, 30</Property>
<Property Name="Location">63, 3</Property>
<Property Name="StateCnt">2</Property>
<Property Name="SwitchValues">1;2;0;1</Property>
<Property Name="SymbolConfiguration">4;1;DB;;;aaaIndicator_A;1;;;-1</Property>
<Property Name="TabIndex">2</Property>
<Property Name="ReadOnlyControl">True</Property>
</Object>
<Object Type="Vector.CANalyzer.Panels.Design.SwitchControl, Vector.CANalyzer.Panels.CommonControls, Version=8.1.92.0, Culture=neutral, PublicKeyToken=null" Name="SwitchControl2" ControlName="aaa_2A">
<Property Name="Name">SwitchControl2</Property>
<Property Name="Size">23, 30</Property>
<Property Name="Location">33, 4</Property>
<Property Name="StateCnt">2</Property>
<Property Name="SwitchValues">1;2;0;1</Property>
<Property Name="SymbolConfiguration">4;1;DB;;;aaaSwitch_2A;1;;;-1</Property>
<Property Name="TabIndex">1</Property>
</Object>
<Object Type="Vector.CANalyzer.Panels.Design.SwitchControl, Vector.CANalyzer.Panels.CommonControls, Version=8.1.92.0, Culture=neutral, PublicKeyToken=null" Name="SwitchControl1" ControlName="aaa_1A">
<Property Name="Name">SwitchControl1</Property>
<Property Name="Size">23, 30</Property>
<Property Name="Location">3, 3</Property>
<Property Name="StateCnt">2</Property>
<Property Name="Activation">Left</Property>
<Property Name="SwitchValues">1;2;0;1</Property>
<Property Name="SymbolConfiguration">4;1;DB;;;aaaSwitch_1A;1;;;-1</Property>
<Property Name="TabIndex">0</Property>
</Object>
<Property Name="Name">Panel</Property>
<Property Name="Size">144, 41</Property>
</Object>
</Panel>

22
CanoeTest/bbb.can Normal file
View file

@ -0,0 +1,22 @@
/*@!Encoding:1252*/
includes
{
}
variables
{
message bbbMsg bMsg;
}
on envVar bbbSwitch_1A
{
bMsg.switch_1B = getValue(this);
output(bMsg);
}
on envVar bbbSwitch_2A
{
bMsg.switch_2B = getValue(this);
output(bMsg);
}

36
CanoeTest/bbb.xvp Normal file
View file

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<Panel Type="Vector.CANalyzer.Panels.PanelSerializer, Vector.CANalyzer.Panels.Serializer, Version=8.1.92.0, Culture=neutral, PublicKeyToken=null">
<Object Type="Vector.CANalyzer.Panels.Runtime.Panel, Vector.CANalyzer.Panels.Common, Version=8.1.92.0, Culture=neutral, PublicKeyToken=null" Name="Panel" Children="Controls" ControlName="bbb">
<Object Type="Vector.CANalyzer.Panels.Design.SwitchControl, Vector.CANalyzer.Panels.CommonControls, Version=8.1.92.0, Culture=neutral, PublicKeyToken=null" Name="SwitchControl3" ControlName="bbbIndicator_B">
<Property Name="Name">SwitchControl3</Property>
<Property Name="Size">23, 30</Property>
<Property Name="Location">63, 3</Property>
<Property Name="StateCnt">2</Property>
<Property Name="SwitchValues">1;2;0;1</Property>
<Property Name="SymbolConfiguration">4;1;DB;;;bbbIndicator_B;1;;;-1</Property>
<Property Name="TabIndex">2</Property>
<Property Name="ReadOnlyControl">True</Property>
</Object>
<Object Type="Vector.CANalyzer.Panels.Design.SwitchControl, Vector.CANalyzer.Panels.CommonControls, Version=8.1.92.0, Culture=neutral, PublicKeyToken=null" Name="SwitchControl2" ControlName="bbb_2A">
<Property Name="Name">SwitchControl2</Property>
<Property Name="Size">23, 30</Property>
<Property Name="Location">33, 4</Property>
<Property Name="StateCnt">2</Property>
<Property Name="SwitchValues">1;2;0;1</Property>
<Property Name="SymbolConfiguration">4;1;DB;;;bbbSwitch_2A;1;;;-1</Property>
<Property Name="TabIndex">1</Property>
</Object>
<Object Type="Vector.CANalyzer.Panels.Design.SwitchControl, Vector.CANalyzer.Panels.CommonControls, Version=8.1.92.0, Culture=neutral, PublicKeyToken=null" Name="SwitchControl1" ControlName="bbb_1A">
<Property Name="Name">SwitchControl1</Property>
<Property Name="Size">23, 30</Property>
<Property Name="Location">3, 3</Property>
<Property Name="StateCnt">2</Property>
<Property Name="Activation">Left</Property>
<Property Name="SwitchValues">1;2;0;1</Property>
<Property Name="SymbolConfiguration">4;1;DB;;;bbbSwitch_1A;1;;;-1</Property>
<Property Name="TabIndex">0</Property>
</Object>
<Property Name="Name">Panel</Property>
<Property Name="Size">144, 41</Property>
</Object>
</Panel>