コード例 #1
0
        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();
        }
コード例 #2
0
        public CUIConsole()
        {
            log           = new CLog();
            log.EnableLog = true;

            mtask = new mAsyncTask();
            mtask.AssignCallBackFunction(ForMtaskCallBack);
            mtask.StartTask();

            lcmsmq = new List <CMsmqIPC>();
            CreateCmsmqObject();
        }