27 lines
1.1 KiB
C#
27 lines
1.1 KiB
C#
using System.Runtime.InteropServices;
|
|
using Fluxor;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.IdentityModel.Tokens;
|
|
|
|
namespace KoogleApp.Model
|
|
{
|
|
[FeatureState]
|
|
public record ThrowPanelState(bool IsStated, bool BellValue,
|
|
bool Pin1Value, bool Pin2Value, bool Pin3Value, bool Pin4Value, bool Pin5Value, bool Pin6Value, bool Pin7Value, bool Pin8Value, bool Pin9Value,
|
|
bool Pin1Disabled, bool Pin2Disabled, bool Pin3Disabled, bool Pin4Disabled, bool Pin5Disabled, bool Pin6Disabled, bool Pin7Disabled, bool Pin8Disabled, bool Pin9Disabled
|
|
)
|
|
{
|
|
// Required for creating initial state
|
|
public ThrowPanelState() : this(BellValue:false, IsStated:false,
|
|
Pin1Value:false, Pin2Value:false, Pin3Value: false, Pin4Value: false, Pin5Value: false, Pin6Value: false, Pin7Value: false, Pin8Value: false, Pin9Value: false,
|
|
Pin1Disabled:false, Pin2Disabled:false, Pin3Disabled: false, Pin4Disabled: false, Pin5Disabled: false, Pin6Disabled: false, Pin7Disabled: false, Pin8Disabled: false, Pin9Disabled: false
|
|
)
|
|
{ }
|
|
}
|
|
|
|
|
|
// Actions
|
|
|
|
|
|
|
|
} |