using System; using System.Reflection; using System.Runtime.InteropServices; using System.Text; namespace PACNET { public partial class Sys { /// /// CPU type only XPAC CE6 /// public const int LX800 = 0x1; /// /// CPU type only XPAC CE6 /// public const int ATOM = 0x2; /// /// Get CPU type only XPAC CE6 /// [DllImport("PACSDK.dll", EntryPoint = "_pac_get_CPUtype")] public static extern int get_CPUtype(); ///// ///// //[DllImport("PACSDK.dll", EntryPoint = "pac_GetCPUTempureture")] //public extern static int GetCPUTempureture(); /// /// [DllImport("PACSDK.dll", EntryPoint = "pac_ResetSystemToDefault")] public extern static void ResetSystemToDefault(); } public partial class Sys { /// /// [DllImport("PACSDK.dll", EntryPoint = "_pac_inp")] public extern static byte inp(int map_addr); /// /// [DllImport("PACSDK.dll", EntryPoint = "_pac_outp")] public extern static void outp(int map_addr, int val); /// /// [DllImport("PACSDK.dll", EntryPoint = "_pac_slot_inp")] public extern static byte slot_inp(int addr); /// /// [DllImport("PACSDK.dll", EntryPoint = "_pac_slot_outp")] public extern static void slot_outp(int slot, int addr, int val); } }