예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="OperationData"/> class.
        /// </summary>
        public OperationData()
        {
            Resources = new HashSet<OperationResourceData>();
            DispositionedResources = new HashSet<DispositionedResourceData>();

            Einsatzort = new PropertyLocation();
            Zielort = new PropertyLocation();
            Keywords = new OperationKeywords();
        }
예제 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Operation"/> class and sets the value of the <see cref="P:TimestampIncome"/>-property to <see cref="P:DateTime.Now"/>.
        /// </summary>
        public Operation()
        {
            CustomData    = new Dictionary <string, object>();
            Resources     = new OperationResourceCollection();
            OperationGuid = Guid.NewGuid();
            Loops         = new OperationLoopCollection();

            Einsatzort = new PropertyLocation();
            Zielort    = new PropertyLocation();
            Keywords   = new OperationKeywords();

            TimestampIncome = DateTime.Now;
        }