Ejemplo n.º 1
0
        public CloseShiftResponse ServiceMenu()
        {
            var ans = new AuthAnswer
            {
            };

            PilotNtInterop.ServiceMenu(ref ans);
            return(new CloseShiftResponse
            {
                Checks = ReadCheck(ans.Check),
            });
        }
Ejemplo n.º 2
0
        public CloseShiftResponse GetStatistics(bool detailed = false)
        {
            var ans = new AuthAnswer
            {
                TType = detailed ? PilotNtTransType.StatDetailed : PilotNtTransType.StatShort,
            };

            PilotNtInterop.GetStatistics(ref ans);
            return(new CloseShiftResponse
            {
                Checks = ReadCheck(ans.Check),
            });
        }
Ejemplo n.º 3
0
        public CloseShiftResponse CloseShift()
        {
            var ans = new AuthAnswer
            {
                TType = PilotNtTransType.CloseDay,
            };

            PilotNtInterop.CloseDay(ref ans);
            return(new CloseShiftResponse
            {
                Checks = ReadCheck(ans.Check),
            });
        }