chore: 长草任务ViewModel调整

This commit is contained in:
status102
2025-01-17 10:29:34 +08:00
parent f333c420f0
commit 5eb6737b0b
7 changed files with 7 additions and 24 deletions

View File

@@ -10,17 +10,15 @@
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY
// </copyright>
#nullable enable
using System;
using System.Windows;
using MaaWpfGui.Constants;
using MaaWpfGui.Helper;
using Stylet;
namespace MaaWpfGui.ViewModels.UserControl.TaskQueue;
public class AwardSettingsUserControlModel : PropertyChangedBase
public class AwardSettingsUserControlModel : TaskViewModel
{
static AwardSettingsUserControlModel()
{

View File

@@ -10,26 +10,21 @@
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY
// </copyright>
#nullable enable
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using MaaWpfGui.Constants;
using MaaWpfGui.Helper;
using MaaWpfGui.Services;
using MaaWpfGui.Utilities.ValueType;
using MaaWpfGui.ViewModels.UI;
using Stylet;
namespace MaaWpfGui.ViewModels.UserControl.TaskQueue;
/// <summary>
/// 刷理智
/// </summary>
public class FightSettingsUserControlModel : PropertyChangedBase
public class FightSettingsUserControlModel : TaskViewModel
{
static FightSettingsUserControlModel()
{

View File

@@ -10,7 +10,6 @@
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY
// </copyright>
#nullable enable
using System;
using System.Collections.Generic;
@@ -23,14 +22,13 @@ using MaaWpfGui.Models;
using MaaWpfGui.Utilities.ValueType;
using MaaWpfGui.ViewModels.UI;
using Microsoft.Win32;
using Stylet;
namespace MaaWpfGui.ViewModels.UserControl.TaskQueue;
/// <summary>
/// 基建任务
/// </summary>
public class InfrastSettingsUserControlModel : PropertyChangedBase
public class InfrastSettingsUserControlModel : TaskViewModel
{
static InfrastSettingsUserControlModel()
{

View File

@@ -10,7 +10,6 @@
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY
// </copyright>
#nullable enable
using System;
using System.Collections.Generic;
@@ -19,14 +18,13 @@ using MaaWpfGui.Constants;
using MaaWpfGui.Extensions;
using MaaWpfGui.Helper;
using MaaWpfGui.Utilities.ValueType;
using Stylet;
namespace MaaWpfGui.ViewModels.UserControl.TaskQueue;
/// <summary>
/// 信用购物
/// </summary>
public class MallSettingsUserControlModel : PropertyChangedBase
public class MallSettingsUserControlModel : TaskViewModel
{
static MallSettingsUserControlModel()
{

View File

@@ -10,7 +10,6 @@
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY
// </copyright>
#nullable enable
using System;
using System.Collections.Generic;
@@ -18,11 +17,10 @@ using MaaWpfGui.Constants;
using MaaWpfGui.Helper;
using MaaWpfGui.Utilities.ValueType;
using MaaWpfGui.ViewModels.UI;
using Stylet;
namespace MaaWpfGui.ViewModels.UserControl.TaskQueue;
public class ReclamationSettingsUserControlModel : PropertyChangedBase
public class ReclamationSettingsUserControlModel : TaskViewModel
{
static ReclamationSettingsUserControlModel()
{

View File

@@ -10,7 +10,6 @@
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY
// </copyright>
#nullable enable
using System;
using System.Collections.Generic;
@@ -18,11 +17,10 @@ using System.Linq;
using MaaWpfGui.Constants;
using MaaWpfGui.Helper;
using MaaWpfGui.Utilities.ValueType;
using Stylet;
namespace MaaWpfGui.ViewModels.UserControl.TaskQueue;
public class RecruitSettingsUserControlModel : PropertyChangedBase
public class RecruitSettingsUserControlModel : TaskViewModel
{
static RecruitSettingsUserControlModel()
{

View File

@@ -10,7 +10,6 @@
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY
// </copyright>
#nullable enable
using System;
using System.Collections.Generic;
@@ -23,11 +22,10 @@ using MaaWpfGui.Utilities.ValueType;
using MaaWpfGui.ViewModels.UI;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Stylet;
namespace MaaWpfGui.ViewModels.UserControl.TaskQueue;
public class RoguelikeSettingsUserControlModel : PropertyChangedBase
public class RoguelikeSettingsUserControlModel : TaskViewModel
{
static RoguelikeSettingsUserControlModel()
{