예제 #1
0
        public override async Task <DailyOperationModel> GetNewDataAsync()
        {
            var kanbanData = await kanbanDataUtil.GetTestData();

            DailyOperationModel model = new DailyOperationModel
            {
                KanbanId         = kanbanData.Id,
                Type             = "input",
                DateInput        = DateTimeOffset.UtcNow,
                MachineId        = kanbanData.Instruction.Steps.First().MachineId,
                BadOutputReasons = new List <DailyOperationBadOutputReasonsModel>
                {
                    new DailyOperationBadOutputReasonsModel()
                },
                Shift = "shift"
            };

            return(model);
        }
예제 #2
0
        public override async Task <DailyOperationModel> GetNewDataAsync()
        {
            var kanbanData = await kanbanDataUtil.GetTestData();

            DailyOperationModel model = new DailyOperationModel
            {
                KanbanId         = kanbanData.Id,
                MachineId        = kanbanData.Instruction.Steps.First().MachineId,
                BadOutputReasons = new List <DailyOperationBadOutputReasonsModel>
                {
                    new DailyOperationBadOutputReasonsModel()
                }
            };

            return(model);
        }