Vektorkanu - Wie erstellen Sie einen .NET -Testknoten mit mehreren C# -Dateien?C#

Ein Treffpunkt für C#-Programmierer
Anonymous
 Vektorkanu - Wie erstellen Sie einen .NET -Testknoten mit mehreren C# -Dateien?

Post by Anonymous »

Ziele < /strong>

Ich möchte das Vektorkanu C# (.NET) -Schriptzähigkeit verwenden.// With the Vector API directly
IVT2516Channel M4_Ch9 = vts.GetChannel("M4_Ch9");
M4_Ch9.DigitalOutput.Value = true;
< /code>
Ein Objekt könnte dies tun: < /p>
// With an Object that abstract the Vector API
MyECU ecu = utilities.MyECU();
ecu.OpenContactor(True);
< /code>
Um dies zu erreichen, war mein Plan, eine Dienstprogramm zu erstellen.+---------------------------+
| CANoe Test environment |
| |
| +--------+ +--------+ |
| | .NET | | .NET | |
| | test | | test | |
| | module | | module | |
| +--------+ +--------+ |
| | | |
+--------|---------|--------+
| |
+--------v---------v--------+
| |
| CORE UTILITIES (C#) |
| |
+---------------------------+
|
+------------v--------------+
| |
| VECTOR Modules |
| |
+---------------------------+

< /code>
Problem < /strong>

Ich kann den Compiler nicht glücklich machen.System Testmodule 'Test 1': Compilation of tests_wakeup.cs' failed with error(s)
System tests_wakeup.cs(17,7): error CS0246: The type or namespace name 'utilities' could not be found (are you missing a using directive or an assembly reference?)
< /code>
Bei Verwendung des Visual Studio, meiner Lösung, baut meine Lösung ohne Probleme auf.>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post