예제 #1
0
 public Waypoint(WaypointType Type, ConditionalVarType VarType, uint ItemID, ConditionalCheckType CheckType, int Output, string GoToLabel)
 {
     wType = Type;
     wCondVarType = VarType;
     wItemID = ItemID;
     wCondCheckType = CheckType;
     wCondOutput = Output;
     wLabelName = GoToLabel;
 }
예제 #2
0
 private string checkTypeToString(ConditionalCheckType checkType)
 {
     switch (checkType)
     {
         case ConditionalCheckType.Equals:
             return "==";
         case ConditionalCheckType.Bigger:
             return ">";
         case ConditionalCheckType.BiggerorEquals:
             return ">=";
         case ConditionalCheckType.Smaller:
             return "<";
         case ConditionalCheckType.SmallerorEquals:
             return "<=";
         case ConditionalCheckType.Differs:
             return "!=";
         default:
             return "==";
     }
 }
예제 #3
0
 private void uxConditionalCheckType_SelectedIndexChanged(object sender, EventArgs e)
 {
     condCheckType = (ConditionalCheckType)uxConditionalCheckType.SelectedIndex;
 }