没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Project
{
class Delivery
{
int deliveryCode; //CODE OF DELIVERY REQUEST
int warehouseCode;
int customerCode;
int vehicleCode;
public Item item;
public Delivery(int NO_OF_DELIVERY_REQUEST, int warehouseCode, int customerCode, int vehicleCode, string itemCode, string itemDescription, int itemQty, float unitCost, int k)
{
this.deliveryCode = NO_OF_DELIVERY_REQUEST;
this.warehouseCode = warehouseCode;
this.customerCode = customerCode;
this.vehicleCode = vehicleCode;
item = new Item(itemCode, itemDescription, itemQty, unitCost);
}
public int GetDeliveryCode()
{
return deliveryCode;
}
public int GetWarehouseCode()
{
return warehouseCode;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Project
{
class Delivery
{
int deliveryCode; //CODE OF DELIVERY REQUEST
int warehouseCode;
int customerCode;
int vehicleCode;
public Item item;
public Delivery(int NO_OF_DELIVERY_REQUEST, int warehouseCode, int customerCode, int vehicleCode, string itemCode, string itemDescription, int itemQty, float unitCost, int k)
{
this.deliveryCode = NO_OF_DELIVERY_REQUEST;
this.warehouseCode = warehouseCode;
this.customerCode = customerCode;
this.vehicleCode = vehicleCode;
item = new Item(itemCode, itemDescription, itemQty, unitCost);
}
public int GetDeliveryCode()
{
return deliveryCode;
}
public int GetWarehouseCode()
{
return warehouseCode;
}
public int GetCustomerCode()
{
return customerCode;
}
public int GetVehicleCode()
{
return vehicleCode;
}
}
class Vehicle
{
string driverName;
string vehicleModel;
string vehicleNo;
public Vehicle()
{
driverName = "N/A";
vehicleModel = "N/A";
vehicleNo = "N/A";
}
public void Update(int code)
{
Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine("Update Vehicle {0}", code);
Console.ResetColor();
do
{
Console.Write("Enter Driver Name (4-8 characters): ");
public int GetCustomerCode()
{
return customerCode;
}
public int GetVehicleCode()
{
return vehicleCode;
}
}
class Vehicle
{
string driverName;
string vehicleModel;
string vehicleNo;
public Vehicle()
{
driverName = "N/A";
vehicleModel = "N/A";
vehicleNo = "N/A";
}
public void Update(int code)
{
Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine("Update Vehicle {0}", code);
Console.ResetColor();
do
{
Console.Write("Enter Driver Name (4-8 characters): ");
剩余15页未读,继续阅读
资源评论
cy19851024
- 粉丝: 1
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功