Пример #1
0
 void SetFormulaBytes()
 {
     Formula = new FormulaBuilder();
     if ((Direction.Zones.Count > 0) && (Direction.DirectionDevices.Count > 0))
         AddFormula();
     else
         Formula.Add(FormulaOperationType.END);
     FormulaBytes = Formula.GetBytes();
 }
Пример #2
0
 void SetFormulaBytes()
 {
     Formula = new FormulaBuilder();
     if (DatabaseType == DatabaseType.Gk)
     {
         InitializeStatesDirections();
         AddGkDeviceFormula();
     }
     else
     {
         Formula.Add(FormulaOperationType.END);
     }
     FormulaBytes = Formula.GetBytes();
 }
Пример #3
0
 public BinaryObjectBase()
 {
     Formula = new FormulaBuilder();
 }
Пример #4
0
 void SetFormulaBytes()
 {
     Formula = new FormulaBuilder();
     if (DatabaseType == DatabaseType.Gk)
     {
         AddGkZoneFormula();
     }
     else
     {
         Formula.Add(FormulaOperationType.END);
     }
     FormulaBytes = Formula.GetBytes();
 }