コード例 #1
0
 public UseCenterPoolCostCommand(string particularYear, decimal currentQuota, CenterCostUse centerCostUses, CenterCostBehaviorRecord centerCostBehaviorRecords, CostSubjectInfo costSubjectInfo)
 {
     _particularYear           = particularYear;
     _currentQuota             = currentQuota;
     CenterCostUses            = centerCostUses;
     CenterCostBehaviorRecords = centerCostBehaviorRecords;
     CostSubjectInfo           = costSubjectInfo;
 }
コード例 #2
0
        public void usecenterpool()
        {
            CostSubjectInfo          info    = new CostSubjectInfo("23", "232", "434");
            CenterCostUse            entity1 = new CenterCostUse(100, "23", "34", "34", CostStaus.Frozen, info);
            CenterCostBehaviorRecord record  = new CenterCostBehaviorRecord(DateTime.Now, 11, "we", 1, "34", "sds", "dsd", "ww", 3);
            var command = new UseCenterPoolCostCommand("2012", 100, entity1, record, info);

            EventBus.TriggerAsync(command);
        }