public void Init() { int a = 0; eState = eTestState.initState; ewriststate = eWristState.WristUnknown; log = new CLog(); log.EnableLog = true; Msg("****** APP_START ******"); Msg("LogFilePath : " + log.GetLogFileNamePath()); mserial = new ClassSerial(); mserial.AssignCallBackFunction(ForClassSerialCallBack); mtask = new mAsyncTask(); mtask.AssignCallBackFunction(ForTaskCallBack); mtask.StartTask(); cmsmq = new CMsmqIPC(); cmsmq.AssignCallBackFunction(ForCMsmqCallBack); cmsmq.SetRole(eRole.IamSerialPart); wlogin = new WindowsLoginLib(); wlogin.AssignCallBackFunction(ForWindowsLoginCallBack); wlogin.Init(); }