private void FillShipmentIndicators(CompositeQuantityIndicators shipment) { shipment.AddIndicators(new CompositeQuantityIndicators(_indicatorsNames[OperationGroups.Shipment])); (( CompositeQuantityIndicators )shipment[_indicatorsNames[OperationGroups.Shipment]]) .AddIndicators(new WeightIndicators("Объём")); (( CompositeQuantityIndicators )shipment[_indicatorsNames[OperationGroups.Shipment]]) .AddIndicators(new CargoIndicators("Места")); }
private void FillGetheringIndicators(CompositeQuantityIndicators gathered) { // gathering gathered.AddIndicators(new CompositeQuantityIndicators(_indicatorsNames[OperationGroups.Gathering])); (( CompositeQuantityIndicators )gathered[_indicatorsNames[OperationGroups.Gathering]]) .AddIndicators(new LineIndicators("Строчки")); (( CompositeQuantityIndicators )gathered[_indicatorsNames[OperationGroups.Gathering]]) .AddIndicators(new VolumeIndicators("Объём")); // // client gathering // gathered.AddIndicators( new CompositeQuantityIndicators( _indicatorsNames[ OperationGroups.ClientGathering ] ) ); // ( ( CompositeQuantityIndicators )gathered[ _indicatorsNames[ OperationGroups.ClientGathering ] ] ) // .AddIndicators( new LineIndicators( "Строчки" ) ); // ( ( CompositeQuantityIndicators )gathered[ _indicatorsNames[ OperationGroups.ClientGathering ] ] ) // .AddIndicators( new VolumeIndicators( "Объём" ) ); // // shopper gathering // gathered.AddIndicators( new CompositeQuantityIndicators( _indicatorsNames[ OperationGroups.ShopperGathering ] ) ); // ( ( CompositeQuantityIndicators )gathered[ _indicatorsNames[ OperationGroups.ShopperGathering ] ] ) // .AddIndicators( new LineIndicators( "Строчки" ) ); // ( ( CompositeQuantityIndicators )gathered[ _indicatorsNames[ OperationGroups.ShopperGathering ] ] ) // .AddIndicators( new VolumeIndicators( "Объём" ) ); //} //private void FillScanningIndicators ( CompositeQuantityIndicators scanned ) //{ // scanned.AddIndicators( new CompositeQuantityIndicators( _indicatorsNames[ OperationGroups.Scanning ] ) ); // ( ( CompositeQuantityIndicators )scanned[ _indicatorsNames[ OperationGroups.Scanning ] ] ) // .AddIndicators( new LineIndicators( "Строчки" ) ); // ( ( CompositeQuantityIndicators )scanned[ _indicatorsNames[ OperationGroups.Scanning ] ] ) // .AddIndicators( new VolumeIndicators( "Объём" ) ); // scanned.AddIndicators( new CompositeQuantityIndicators( _indicatorsNames[ OperationGroups.ClientScanning ] ) ); // ( ( CompositeQuantityIndicators )scanned[ _indicatorsNames[ OperationGroups.ClientScanning ] ] ) // .AddIndicators( new LineIndicators( "Строчки" ) ); // ( ( CompositeQuantityIndicators )scanned[ _indicatorsNames[ OperationGroups.ClientScanning ] ] ) // .AddIndicators( new VolumeIndicators( "Объём" ) ); }