35#ifndef _NETSIM_ANIMATION_H_
36#define _NETSIM_ANIMATION_H_
40#ifndef _NETSIM_ANIMATION_CODE_
41#pragma comment (lib,"Animation.lib")
45 typedef unsigned int NETSIM_ID;
48#ifndef MAX_PACKET_TYPE_LEN
49#define MAX_PACKET_TYPE_LEN 100
52 typedef void* ANIM_HANDLE;
54 typedef enum enum_anim_flag
61 typedef enum enum_anim_fileType
70 static char animFileType[][50] = {
"generic",
"table",
"2dplot",
"3dplot",
"graph",
"battery" };
72 typedef enum enum_anim_type
90 static char animType[][50] = {
"EXIT",
113 }MOVENODE,*ptrMOVENODE;
121 char name[MAX_PACKET_TYPE_LEN];
123 }TRANSMITPACKET, *ptrTRANSMITPACKET;
135 _declspec(dllexport) ANIM_FLAG anim_get_anim_flag();
136 _declspec(dllexport)
void anim_set_anim_flag(
char* flag);
147 _declspec(dllexport) ANIM_HANDLE anim_add_new_menu(ANIM_HANDLE handle,
153 ANIMFILETYPE fileType);
156 _declspec(dllexport)
void fn_NetSim_Anim_Init(
char* ioPath);
157 _declspec(dllexport)
void fn_NetSim_Anim_Close();
160 _declspec(dllexport)
void animation_table_new(ANIM_HANDLE animHandle,
162 _declspec(dllexport)
void animation_table_time(ANIM_HANDLE animHandle,
164 _declspec(dllexport)
void animation_table_row(ANIM_HANDLE animHandle,
168 _declspec(dllexport)
void animation_add_new_entry(ANIM_HANDLE animHandle,
174 _declspec(dllexport)
void anim_set_file_name(ANIM_HANDLE handle,
char* name);