File

src/app/models/Cell.ts

Index

Properties

Properties

_id
_id: string
Type : string
Optional
accessType
accessType: string
Type : string
Optional
assignedUsers
assignedUsers: _UserLight[]
Type : _UserLight[]
Optional
batchNo
batchNo: string
Type : string
Optional
cellChemistry
cellChemistry: string
Type : string
Optional
cellName
cellName: string
Type : string
Optional
cellQuantity
cellQuantity: Number
Type : Number
Optional
formFactor
formFactor: string
Type : string
Optional
manufacturer
manufacturer: string
Type : string
Optional
maxVolt
maxVolt: Number
Type : Number
Optional
minVolt
minVolt: Number
Type : Number
Optional
nomCap
nomCap: Number
Type : Number
Optional
nomCurr
nomCurr: Number
Type : Number
Optional
nomVolt
nomVolt: Number
Type : Number
Optional
testsPerformed
testsPerformed: literal type[]
Type : literal type[]
Optional
type
type: string
Type : string
Optional
users
users: any[]
Type : any[]
Optional
import { _UserLight } from './../services/user.service';
export interface Cell {
  _id?: string;
  cellName?: string;
  cellQuantity?: Number; //should not be presetn on api schema
  manufacturer?: string;
  batchNo?: string;
  type?: string;
  formFactor?: string;
  cellChemistry?: string;
  nomVolt?: Number;
  nomCap?: Number;
  nomCurr?: Number;
  maxVolt?: Number;
  minVolt?: Number;
  users?: any[];
  accessType?: string;
  assignedUsers?: _UserLight[];
  testsPerformed?: { testConfigChannelId: string }[];
}

export class CellClass implements Cell {
  constructor(
    public _id?: string,
    public cellName?: string,
    public nomVolt?: number,
    public nomCap?: number,
    public manufacturer?: string,
    public cellQuantity?: number,
    public batchNo?: string,
    public type?: string,
    public formFactor?: string,
    public cellChemistry?: string,
    public nomCurr?: number,
    public maxVolt?: number,
    public minVolt?: number
  ) {}
}

results matching ""

    No results matching ""