zplCore.comzplCore.com

ZplFaultTrigger

public record ZplFaultTrigger

Trigger of a ZplFaultRule; counts start when the rule is scheduled.

Constructors

SignatureDescription
# ZplFaultTrigger(ZplFaultTriggerKind Kind, long Count = 0, string? Command = default, TimeSpan Time = default, double Probability = 0)Trigger of a ZplFaultRule; counts start when the rule is scheduled.

Properties

PropertyTypeDescription
Command { get; init; }string
Count { get; init; }long
static Immediately { get; }ZplFaultTrigger
Kind { get; init; }ZplFaultTriggerKind
Probability { get; init; }double
Time { get; init; }TimeSpan

Methods

Method SignatureReturnsDescription
static # After(TimeSpan time)ZplFaultTrigger
static # AfterBytes(long bytes)ZplFaultTrigger
static # AfterCuts(long cuts)ZplFaultTrigger
static # AfterLabels(long labels)ZplFaultTrigger
# Deconstruct(out ZplFaultTriggerKind Kind, out long Count, out string Command, out TimeSpan Time, out double Probability)void
static # OnCommand(string command)ZplFaultTriggerA command with prefix, e.g. "~JA", "^RF", "^XZ" (case-insensitive).
static # Random(double probability)ZplFaultTriggerFires before a label with probability probability (0..1).